To run a Linear Mixed Models analysis,
from the menus choose:
Analyze > Mixed Models > Linear...
Figure 1. Specify Subjects
and Repeated dialog box
In the Specify Subjects and Repeated dialog,
select Market ID and Location ID as subject variables.
Select Week as the repeated effects variable.
Select AR(1) from the
Repeated Covariance type dropdown list, and click Continue.
Figure 2. Linear
Mixed Models main dialog box
Select Units sold in thousands as the dependent variable.
Select Promotion as a
factor.
Click Fixed.
Figure 3. Fixed Effects
dialog box
In the Fixed Effects dialog,
select promo in the Factors
and Covariates listbox and click Add.
Click Continue.
Click Random in the Linear Mixed Models dialog box.
Figure 4. Random
Effects dialog box
Select Scaled Identity as the Covariance type.
Select Include Intercept in the Random Effects
group.
Select Market ID as a subject identification variable in the Subjects Groupings group.
Click Continue.
Click Statistics in the Linear Mixed Models dialog box.
Figure 5. Statistics dialog
box
In the Statistics dialog, select Parameter estimates, Tests for covariance parameters, Covariances of random effects, and Covariances of residuals in the Model Statistics group.