Learn R Programming

lame (version 1.3.4)

rZ_ord_sym_explicit_fc: Symmetric ordinal Z sample given explicit cutpoints (R >= 0 safe)

Description

Mirror image of rZ_ord_sym_fc (variance 1 on the upper triangle, mirrored to the lower) parameterised by an explicit alpha vector instead of data-induced cutpoints.

Usage

rZ_ord_sym_explicit_fc(Z, EZ, Y_int, alpha)

Value

updated symmetric Z (diagonal sampled from unconstrained prior)

Arguments

Z

current symmetric latent matrix

EZ

expected value of Z

Y_int

integer ordinal Y (symmetric)

alpha

length-(K-1) cutpoints with alpha[1] = 0