Displaying 1 result from an estimated 1 matches for "studentmodel".
Did you mean:
  student_models
  
2012 Nov 20
0
Multilevel analysis using nlme (lme) . Error using z-scores
...udents_score)
                       ## Estimate a model with random slopes based on IQ
for each municipality.
                       ##Again: z_IQ is plain IQ, money_per_municipiality
does not very between municipialities
                       # THIS runs without an error
                       studentModel<- lme(z_sscore ~ IQ +
money_per_municipality, data=la,random=~IQ|mun,method="ML")
                       # THIS causes an error. The only difference is one
variable (z_IQ instead of IQ)
                       studentModel<- lme(z_sscore ~ z_IQ +
money_per_municipality, data=la,rand...