Running the Analysis

  1. To fit a random coefficients model using the Linear Mixed Models procedure, from the menus choose:

    Analyze > Mixed Models > Linear...

    Figure 1. Specify Subjects and Repeated dialog box
    Specify Subjects and Repeated dialog box
  2. In the Specify Subjects and Repeated dialog, select Patient ID as a subject variable.

    Click Continue.

    Figure 2. Linear Mixed Models main dialog box
    Linear Mixed Models main dialog box
  3. Select Weight as the dependent variable.
  4. Select Measurements as a covariate.
  5. Click Fixed.
    Figure 3. Fixed Effects dialog box
    Fixed Effects dialog box
  6. In the Fixed Effects dialog, select time in the Factors and Covariates listbox and click Add.
  7. Click Continue.
  8. Click Random in the Linear Mixed Models dialog box.
    Figure 4. Random Effects dialog box
    Random Effects dialog box
  9. Select Unstructured from the Covariance Type dropdown list.
  10. Select Include intercept.
  11. Select time in the Factors and Covariates listbox and click Add.
  12. Select Patient ID as a variable to define subject groupings.
  13. Click Continue.
  14. Click Statistics in the Linear Mixed Models dialog box.
    Figure 5. Statistics dialog box
    Statistics dialog box
  15. In the Statistics dialog, select Parameter estimates, Tests for covariance parameters, and Covariances of random effects in the Model Statistics group.
  16. Click Continue.
  17. Click OK in the Linear Mixed Models dialog box.

Next