Description Usage Arguments Value
View source: R/hmi_smallfunctions_2016-07-21.R View source: R/hmi_smallfunctions_2016-07-14.R
It (basically) calculates (Z'Z + sigma.e * sigma.b^-1)^-1 * z' resid.
It (basically) calculates (Z'Z + sigma.e * sigma.b^-1)^-1 * z' resid.
1 2 3 |
x |
A data.frame which is basically cbind(Z_obs, y_obs - X_obs * beta.new). |
sigma.y.new |
The numeric residual variance. |
sigma.alpha.new.inv |
The inverse random effects covariance matrix. |
x |
A data.frame which is basically cbind(Z_obs, y_obs - X_obs * beta.new). |
sigma.y.new |
The numeric residual variance. |
sigma.alpha.new.inv |
The inverse random effects covariance matrix. |
It returns (for this given cluster) a (cluster specific) random intercept and random slope.
It returns (for this given cluster) a (cluster specific) random intercept and random slope.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.