Chapter 6: Random Coefficient Models for Longitudinal Data
Note: If given the option, right-click on the files, and choose "Save Link/Target As".
Data Sets
The Autism Data
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
R Syntax (includes syntax for descriptives and diagnostics)
Stata .do file (Updated using Stata 11)
Syntax for Descriptive Statistics
SAS Syntax for Descriptive Statistics
SPSS 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
SPSS 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.
Additional Files
lmer() syntax for R
Syntax for calculating the implied marginal variance-covariance matrix using a gls() object (NOTE: This is in response to a bug reported in R 2.5 for the getVarCov.gls() function)
Last updated 9/1/09.