Model1 is the simple linear regressionModel2 is a random-intercept linear mixed modelwith the random intercepts and errors mutually independent.
Repeated measurements from one person can share persistent unobserved spending tendencies, violating model1's independent-error assumption and shifting that person's baseline. Model2 represents this clustered data through a common random intercept , which induces within-person covariance for .
The residual deviance of a Gaussian GLM is its residual sum of squares, . Thus the empirical training error for squared-error loss isIf training error is defined as the unnormalized total loss, its value is .
The second cross-product entry is . Regressing earned on the ten person indicators without an intercept makes the mean of that person's ten earned values. Therefore
Let , letand recover the sufficient cross-products from the model1 normal equations by setting and . Thenis the total squared residual about the fixed line. The squared sum of the ten residuals within each person, summed across people, isFor one person's ten observations, the marginal covariance matrix is . The matrix determinant lemma and Sherman–Morrison formula therefore give, up to an additive constant, twice the negative marginal log-likelihoodBecause the model was fitted with
REML = FALSE, it minimizes this ordinary marginal maximum-likelihood objective. Thus belongs to the stated argmin over and . Articles by others on the same topic
There are currently no matching articles.