Description Usage Arguments Value
View source: R/hmi_smallfunctions_2016-07-21.R View source: R/hmi_smallfunctions_2016-07-14.R
The function updates the cluster specific random effects by drawing from a multivariate normal distribution (with a unique distribution for every cluster).
The function updates the cluster specific random effects by drawing from a multivariate normal distribution (with a unique distribution for every cluster).
1 2 3 4 5 6 7 |
Z_obs |
The random effects data matrix of those observations with an observed value of y. |
y_obs |
The target variable of those observations with an observed value of y. |
X_obs |
The fixed effects data matrix of those observations with an observed value of y. |
beta.new |
The vector of fixed effects parameters. |
clID_obs |
The cluster ID vector of those observations with an observed value of y. |
sigma.y.new |
The numeric residual variance. |
sigma.alpha.new.inv |
The inverse random effects covariance matrix. |
Z_obs |
The random effects data matrix of those observations with an observed value of y. |
y_obs |
The target variable of those observations with an observed value of y. |
X_obs |
The fixed effects data matrix of those observations with an observed value of y. |
beta.new |
The vector of fixed effects parameters. |
clID_obs |
The cluster ID vector of those observations with an observed value of y. |
sigma.y.new |
The numeric residual variance. |
sigma.alpha.new.inv |
The inverse random effects covariance matrix. |
It returns cluster specific random effects.
It returns cluster specific random effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.