I am trying to analyze a longitudinal data with binary response using 3-level logistic regression. Hierarchical structure of my data looks like this example- students (level 1) are nested within a class(level 2) and the classes are nested within a school (level 3).
Can anyone suggest me some appropriate readings on the SAS
or R
codes for performing 3-level mixed effects logistic regression? I am not requesting helps regarding the theory behind 3-level logistic regression. Any examples with SAS
or R
codes would be of great help.
R
, this looks like it might be useful?: cran.r-project.org/doc/contrib/Bliese_Multilevel.pdf – Scott RitchieSAS
withPROC NLMIXED
orPROC GLIMMIX
or inR
withlme4
package but I were looking for code examples here. – longleaf