search for: money_per_municipi

Displaying 1 result from an estimated 1 matches for "money_per_municipi".

2012 Nov 20
0
Multilevel analysis using nlme (lme) . Error using z-scores
...la$z_IQ <- (la$IQ-mean(la$IQ))/sd(la$IQ) la$z_sscore <- (la$students_score-mean(la$students_score))/sd(la$students_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 o...