Chapter 5: Models for Repeated Measures Data
Note: If given the option, right-click on the files, and choose "Save Link/Target As".
Data Sets
The Rat Brain Data (Horizontal Format)
The Rat Brain Data (Vertical Format)
Level 1 SPSS Data Set for HLM
Level 2 SPSS Data Set for HLM
MDM Data File for HLM
Syntax for Mixed Model Analyses
SAS Syntax
SPSS Syntax (Version 28; includes syntax for descriptives and diagnostics)
R Syntax: lme()
R Syntax: lmer()
Stata .do file (Version 17)
Syntax for Descriptive Statistics
SAS Syntax for Descriptive Statistics
R Syntax for Descriptive Statistics
Stata Do-file for Descriptive Statistics
HLM Steps for obtaining Descriptive Statistics
Syntax for Final Model Diagnostics
SAS Syntax for Final Model Diagnostics
R Syntax for Final Model Diagnostics
Stata Do-File for Final Model Diagnostics
Chapter 4 in the book describes how residual files can be saved and processed using the HLM software.
Last updated 11/5/21.