View source: R/unbalanced_EM.R
alpha_cond_params | R Documentation |
Given the model
y[ij] | alpha[i] ~ N(alpha[i], Sigma[E]) alpha[i] ~ N(0, Sigma[A]),
computes the parameters of the Gaussian conditional distribution
alpha[i] | y[i].
alpha_cond_params(y_data, Sigma_E, Sigma_A, mu = rep(0, nrow(Sigma_E)))
y_data |
Observed data that inherits " |
Sigma_E |
Between-individuals covariance matrix |
Sigma_A |
Between-sires covariance matrix |
mu |
Global mean |
A list of multivariate Gaussian parameters for the conditional
distribution of the sires random effect. Each entry is a list with entries
mean
and cov
, which are the mean vector and covariance matrix respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.