Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

MMAMixedEffects

Guides

  • MMA MixedEffects

Symbols

  • GeneralizedMixedEffectsModelFit
  • MixedEffectsFamily
  • MixedEffectsModelFit
  • MixedEffectsModel
  • NestedGrouping
  • NonlinearMixedEffectsModelFit
MarcoThiel`MMAMixedEffects`
NestedGrouping
​
NestedGrouping[g1,g2,...]
forms an ordered composite level from two or more grouping variables.
​
Details and Options
▪
constructs an explicit composite grouping level.
▪
NestedGrouping is inert until row values are substituted.
▪
To model classrooms nested within schools, include a school random structure and a NestedGrouping[school,classroom] structure.
▪
Argument order is significant and every constituent value must be supplied during prediction.
▪
NestedGrouping has no options.
​
Examples  
(3)
Basic Examples  
(1)
Represent subjects nested within sites explicitly:
In[1]:=
NestedGrouping
[site,subject]
Out[1]=
NestedGrouping[Site 1,Subject A]
​
Visualize the hierarchy represented by the composite keys:
In[1]:=
Out[1]=
Scope  
(1)

Properties & Relations  
(1)

SeeAlso
MixedEffectsModelFit
▪
GeneralizedMixedEffectsModelFit
▪
NonlinearMixedEffectsModelFit
RelatedGuides
▪
MMA MixedEffects
RelatedLinks
▪
MixedEffectsModelFit
​​
▪
​​
NonlinearMixedEffectsModelFit
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com