Solver for Gaussian mixed model with known covariance structure.
Solver for Gaussian mixed model with known covariance structure.
This function estimates the parameters of the model [REMOVE_ME]y=Xβ+Zu+e[REMOVEME2] where y is the n vector of response variable, X is a nxq known design matrix of fixed effects, Z is a nxl known design matrix of random effects, β is qx1 vector of fixed effects coefficients and u and e are independent variables with Nl(0,σu2K) and Nn(0,σe2In) correspondingly. It also produces the BLUPs and some other useful statistics like large sample estimates of variances and PEV.
Description
This function estimates the parameters of the model
y=Xβ+Zu+e
where y is the n vector of response variable, X is a nxq known design matrix of fixed effects, Z is a nxl known design matrix of random effects, β is qx1 vector of fixed effects coefficients and u and e are independent variables with Nl(0,σu2K) and Nn(0,σe2In) correspondingly. It also produces the BLUPs and some other useful statistics like large sample estimates of variances and PEV.
Xsqtestbeta: χ2 test statistics for testing whether the fixed effect coefficients are equal to zero.
pvalbeta: pvalues obtained from large sample theory for the fixed effects. We report the pvalues adjusted by the "padjust" function for all fixed effect coefficients.
Xsqtestu: χ2 test statistic values for testing whether the BLUPs are equal to zero.
pvalu: pvalues obtained from large sample theory for the BLUPs. We report the pvalues adjusted by the "padjust" function.
varuhat: Large sample variance for the BLUPs.
varbetahat: Large sample variance for the β's.
PEVuhat: Prediction error variance estimates for the BLUPs.