classify.modes {lca}R Documentation

Find indentical posterior modes in Latent Class Model

Description

Classify modes which are the same (up to switching of latent class labels).

Usage

classify.modes(par.list, H, J, K, tol = 0.001)

Arguments

par.list numeric matrix of modes. Each row should be formatted as an object of class lcm.paramvec.
H number of hidden classes.
J number of items.
K numberic vector containing number of possible responses to each item.
tol maximum distance between and two parameters in two modes considered to be the same.

Details

Checks whether modes are identical, including by switching the order of latent classes. Modes are considered identical if the L-infinity distance between all their parameters is less than tol under some ordering of the latent classes.

Value

A numeric vector with an entry for each mode, with equal entries indicating identical modes.

Author(s)

Robin Evans


[Package lca version 0.2 Index]