Update for the variance scaling parameter.
1 2 3 4 5 6 7 8 9 10 11 12 13 | back_update_xi(
betahat_ols,
S_diag,
Amat,
mubeta,
mubeta_matrix,
sig2beta_matrix,
gamma_mat,
muv,
Sigma_v,
phi,
var_inflate_pen = 0
)
|
betahat_ols |
A vector of numerics. The ordinary least squares estimates of the regression coefficients. |
S_diag |
A vector of positive numerics. The standard errors of
|
Amat |
The A matrix for the variational EM. |
mubeta |
The current means of the betas |
mubeta_matrix |
The current mixing means of the variational densities of the betas. |
sig2beta_matrix |
The current mixing variances of the variational densities of the betas. |
gamma_mat |
The current mixing proportions of the variational densities of the betas. |
muv |
A matrix of one column of numerics. The current mean of v. |
Sigma_v |
The current covariance matrix of the latent v. |
phi |
The current "g" hyperparameter. |
var_inflate_pen |
The penalty to apply on the variance inflation parameter.
Defaults to 0, but should be something non-zero when |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.