diag1 | R Documentation |
Examination data for 907 students within 18 schools.
diag1
A data frame with 907 observations on the following 9 variables:
School identifier.
Pupil gender.
Verbal Reasoning quotient.
O-level/CSE examination results.
School type: a factor with levels Comprehensive
and
Grammar
.
Pupil identifier.
Constant (=1).
O-level/CSE examination results (normal scores).
Verbal Reasoning quotient (normal scores).
The diag1
dataset is one of the sample datasets provided with the
multilevel-modelling software package MLwiN (Rasbash et al., 2009),
originally analysed in Aitkin & Longford (1986), and described further in
Rasbash et al. (2012).
Rasbash, J., Charlton, C., Browne, W.J., Healy, M. and Cameron, B. (2009) MLwiN Version 2.1. Centre for Multilevel Modelling, University of Bristol.
Rasbash, J., Steele, F., Browne, W.J., Goldstein, H. (2012) A User's Guide to MLwiN v2.26. University of Bristol: Centre for Multilevel Modelling.
Aitkin, M. & Longford, N. (1986). Statistical modelling in school effectiveness studies (with discussion). Journal of the Royal Statistical Society, Series A, 149:1-43.
## Not run:
data(diag1, package = "R2MLwiN")
(mymodel <- runMLwiN(n_ilea ~ 1 + n_vrq + (1 + n_vrq | school) + (1 | pupil),
estoptions = list(resi.store = TRUE, resioptions = c("standardised",
"leverage", "influence", "deletion")), data = diag1))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.