xc: Examination scores of 16-year olds in Fife, Scotland.
Description
A dataset of examination scores of 16-year olds in Fife, Scotland, in which the secondary school the pupil attended is cross-classified by the primary school the pupil attended.
Arguments
Format
A data frame with 3435 observations on the following 11 variables:
vrq
A verbal reasoning score resulting from tests pupils took when they entered secondary school.
attain
Attainment score of pupils at age sixteen.
pid
Primary school identifying code.
sex
Pupils' gender: a factor with levels Male and Female.
sc
Pupils' social class (scaled from low to high).
sid
Secondary school identifying code.
fed
Fathers' education.
choice
Choice number of secondary school attended (where 1 is first choice, etc.)
med
Mothers' education.
cons
A column of ones. If included as an explanatory variable in a regression model (e.g. in MLwiN), its coefficient is the intercept.
pupil
Pupil identifying code.
Details
The xc dataset is one of the sample datasets provided with the multilevel-modelling software package MLwiN (Rasbash et al., 2009), analysed by Paterson (1991). The data are cross-classified in that not all children who attended the same primary school subsequently entered the same secondary school. See also Rasbash et al. (2012).
See Also
See mlmRev package for an alternative format of the same dataset.