\HeaderA{Exam}{Exam scores from inner London}{Exam}
\keyword{datasets}{Exam}
\begin{Description}\relax
Exam scores of 4,059 students from 65 schools in Inner London.
\end{Description}
\begin{Usage}
\begin{verbatim}data(Exam)\end{verbatim}
\end{Usage}
\begin{Format}\relax
A data frame with 4059 observations on the following 9 variables.
\describe{
\item[school] School ID - a factor.
\item[normexam] Normalized exam score.
\item[schgend] School gender - a factor.  Levels are \code{mixed},
\code{boys}, and \code{girls}.
\item[schavg] School average of intake score.
\item[vr] Student level Verbal Reasoning (VR) score band at intake -
a factor.  Levels are \code{bottom 25\%}, \code{mid 50\%}, and
\code{top 25\%}.
\item[intake] Band of student's intake score - a factor.
Levels are \code{bottom 25\%}, \code{mid 50\%} and \code{top
        25\%}./
\item[standLRT] Standardised LR test score.
\item[sex] Sex of the student - levels are \code{F} and \code{M}.
\item[type] School type - levels are \code{Mxd} and \code{Sngl}.
\item[student] Student id (within school) - a factor
}
\end{Format}
\begin{Source}\relax
\url{http://multilevel.ioe.ac.uk/softrev/exam.html}
\end{Source}
\begin{References}\relax
Goldstein, H., Rasbash, J., et al (1993). A multilevel analysis of
school examination results. \emph{Oxford Review of Education} 19: 425-433
\end{References}
\begin{Examples}
\begin{ExampleCode}
str(Exam)
summary(Exam)
(fm1 <- lmer(normexam ~ standLRT + sex + schgend + (1|school), Exam))
(fm2 <- lmer(normexam ~ standLRT*sex + schgend + (1|school), Exam))
(fm3 <- lmer(normexam ~ standLRT*sex + schgend + (1|school), Exam))
\end{ExampleCode}
\end{Examples}

