Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
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
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
MMAMixedEffects
Guides
MMAMixedEffects
Symbols
GeneralizedMixedEffectsModelFit
MixedEffectsFamily
MixedEffectsModelFit
MixedEffectsModel
NestedGrouping
NonlinearMixedEffectsModelFit
New in:
1
.
0
| Modified in:
1
.
2
.
4
| Obsolete in:
C
a
t
e
g
o
r
i
z
a
t
i
o
n
K
e
y
w
o
r
d
s
S
y
n
t
a
x
T
e
m
p
l
a
t
e
s
NestedGrouping
N
e
s
t
e
d
G
r
o
u
p
i
n
g
[
g
1
,
g
2
,
.
.
.
]
forms an ordered composite level from two or more grouping variables.
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.
See Also
M
i
x
e
d
E
f
f
e
c
t
s
M
o
d
e
l
F
i
t
▪
G
e
n
e
r
a
l
i
z
e
d
M
i
x
e
d
E
f
f
e
c
t
s
M
o
d
e
l
F
i
t
▪
N
o
n
l
i
n
e
a
r
M
i
x
e
d
E
f
f
e
c
t
s
M
o
d
e
l
F
i
t
Related Guides
M
M
A
M
i
x
e
d
E
f
f
e
c
t
s
Related Links
M
i
x
e
d
E
f
f
e
c
t
s
M
o
d
e
l
F
i
t
▪
N
o
n
l
i
n
e
a
r
M
i
x
e
d
E
f
f
e
c
t
s
M
o
d
e
l
F
i
t
Examples Initialization
N
e
e
d
s
[
"
M
a
r
c
o
T
h
i
e
l
`
M
M
A
M
i
x
e
d
E
f
f
e
c
t
s
`
"
]
;
E
x
a
m
p
l
e
s
M
o
r
e
E
x
a
m
p
l
e
s
⊳
Represent subjects nested within sites explicitly:
N
e
s
t
e
d
G
r
o
u
p
i
n
g
[
s
i
t
e
,
s
u
b
j
e
c
t
]
N
e
s
t
e
d
G
r
o
u
p
i
n
g
[
S
i
t
e
1
,
S
u
b
j
e
c
t
A
]
Visualize the hierarchy represented by the composite keys:
More Examples
S
c
o
p
e
Inspect composite levels:
f
i
t
[
"
G
r
o
u
p
L
e
v
e
l
s
B
y
F
a
c
t
o
r
"
]
N
e
s
t
e
d
G
r
o
u
p
i
n
g
[
s
i
t
e
V
a
l
u
e
,
s
u
b
j
e
c
t
V
a
l
u
e
]
k
e
y
s
.
P
r
o
p
e
r
t
i
e
s
&
R
e
l
a
t
i
o
n
s
Crossed factors use the factor directly rather than NestedGrouping:
M
i
x
e
d
E
f
f
e
c
t
s
M
o
d
e
l
F
i
t
[
d
a
t
a
,
{
1
,
x
}
,
{
{
{
1
}
,
s
u
b
j
e
c
t
}
,
{
{
1
}
,
i
t
e
m
}
}
,
{
x
,
s
u
b
j
e
c
t
,
i
t
e
m
}
]
C
r
o
s
s
e
d
s
u
b
j
e
c
t
a
n
d
i
t
e
m
e
f
f
e
c
t
s
.