Formula: Y = X beta + Z b + eps (eq. 5.1) with b ~ N(0, D), eps ~ N(0, R) and Cov(eps, b) = 0, so E(Y) = X beta and Var(Y) = Z D Z' + R. Returns the GLS/BLUE of beta, the BLUP of b and the marginal variance.
Formula: Y = X beta + Z b + eps (eq. 5.1) with b ~ N(0, D), eps ~ N(0, R) and Cov(eps, b) = 0, so E(Y) = X beta and Var(Y) = Z D Z' + R. Returns the GLS/BLUE of beta, the BLUP of b and the marginal variance.