back_update_phi: Update for the "g" hyperparameter.

Description Usage Arguments Author(s)

View source: R/backwash.R

Description

Update for the "g" hyperparameter.

Usage

1
back_update_phi(betahat_ols, S_diag, Amat, mubeta, muv, Sigma_v)

Arguments

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 betahat_ols.

Amat

The A matrix for the variational EM.

mubeta

The current means of the betas.

muv

A matrix of one column of numerics. The current mean of v.

Sigma_v

The current covarianc matrix of the latent v.

Author(s)

David Gerard


dcgerard/vicar documentation built on July 7, 2021, 1:08 p.m.