Displaying 1 result from an estimated 1 matches for "students_score".
2012 Nov 20
0
Multilevel analysis using nlme (lme) . Error using z-scores
...icipality[601:900] <- 200
#"Gniezno" #
# In my model, i want to estimate student's
achievments,
#so i pick some random data, but I also want to
#differentiate between the municipalities
la$students_score[la$municipality=="Warszawa"] <-
rnorm(n=nrow(la[la$municipality=="Warszawa",]),mean=33,sd=4)
la$students_score[la$municipality=="Płock"] <-
rnorm(n=nrow(la[la$municipality=="Płock",]),mean=22,sd=4)
la$stud...