Calculations derived using maximum likelihood estimation.
expectedScores(Y, mu, psi, theta, theta_quad)
A list with expected score mean and variance for the current subject.
vector of observations for the current subject.
vector of spline coefficients for the population mean.
matrix of spline coefficients for the principal component basis functions.
spline basis functions for the current subject.
quadratic form of theta for the current subject.