Learn R Programming

eigenmodel (version 1.11)

rZ_fc: Sample from the full conditional distribution of the probit latent variables

Description

Sample from the full conditional distribution of the latent variables in the ordered probit model

Usage

rZ_fc(EZ = XB(X, b) + ULU(UL), MH = TRUE)

Arguments

EZ

a symmetric matrix with elements equal to the expected values of the latent variables

MH

whether or not to do a Metropolis update in addition to the Gibbs sampling

Value

a symmetric matrix