Displaying 1 result from an estimated 1 matches for "z_sscore".
Did you mean:
p_score
2012 Nov 20
0
Multilevel analysis using nlme (lme) . Error using z-scores
...[1] 0.6202439
## convert factor/string to integer:
la$mun <- as.integer(factor(la$municipality))
### Z SCORES for IQ and achievements
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...