composite.llike: Compute the composite likelihood

Description Usage Arguments

View source: R/composite.llike.R

Description

This internal function computes the composite likelihood for a given latent class model and a collection of margins.

Usage

1
composite.llike(dat, param, n.class = 2, margin.size = 3)

Arguments

dat

The data array of the format (r[1],...,r[m])

param

The vector of parameters of the model. It represents elements of each transition matrix apart from the last column.

n.class

The number of hidden classes

margin.size

The size of the margins that are used to compute the composite lieklihood.


pzwiernik/LatentClass documentation built on May 26, 2019, 11:35 a.m.