Can I read SAS to R: Repeated Measures Model on EtoBox?
SAS to R: Repeated Measures Model by woelfert is a document available to read on EtoBox.
What is SAS to R: Repeated Measures Model about?
Here are the key points about converting this repeated measures mixed model from SAS PROC MIXED to R: 1. In SAS, the "repeated" statement specifies a compound symmetry (CS) covariance structure, where the correlations between measurements are the same regardless of time point. In R, this is specified using corCompSymm() in the correlation argument of lme(). 2. In SAS, the "subject" is specified as person, meaning the random intercepts and CS correlations are modeled at the person level. In R, this is spec
- Author
- woelfert
- Language
- EN