Learn R Programming

lame (version 1.3.4)

rZ_ord_explicit_fc: Sample Z given explicit cutpoints alpha (asymmetric ordinal)

Description

Rectangular / square truncated-normal sample on observed cells. This is the explicit-cutpoint version of rZ_ord_fc, parameterised by the explicit alpha vector rather than deriving cutpoints from Z order statistics.

Usage

rZ_ord_explicit_fc(Z, EZ, Y_int, alpha)

Value

updated Z

Arguments

Z

current latent matrix

EZ

expected value of Z (linear predictor)

Y_int

integer-recoded ordinal Y (1..K)

alpha

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