update_beta: Update function for regression coefficients

Description Usage Arguments Value

View source: R/updates.R

Description

Update function for regression coefficients

Usage

1
update_beta(Y, X, W, Sigma, psi, type)

Arguments

Y

Matrix (n x r) of responses.

X

Matrix (nr x p) of predictors.

W

Matrix (n x r) of expansion points (~predicted latent variables).

Sigma

Covariance matrix(r x r) of the latent vector.

psi

Vector (r x 1) of conditional variance parameters.

type

Vector (r x 1) indicating response types.

Value

Updated vector of regression coefficients.


koekvall/lvmmr documentation built on Dec. 13, 2021, 2:35 p.m.