Here is the form for
a mixed model:
.
In this equation,
y represents
univariate data,
is an unknown vector of fixed effects with known
model matrix
X,
is an unknown vector of random effects with known
model matrix
Z, and
is an unknown random error vector.
Using the Mixed Models
task, you can add fixed, random, and repeated effects to your model.
By default, no effects
are specified, which results in the task fitting an intercept-only
model.
To specify a model effect,
you must assign at least one variable to the
Classification
variables role or the
Continuous variables role.
On the
Model tab, click
to open the
Model Effects Builder.
In the Mixed Models
task, you can create fixed effects, random effects, and repeated effects.
(You can have only one repeated effect.) These effects are added to
the model in the order in which they appear on the Model tab.