View source: R/composite.llike.R
This internal function computes the composite likelihood for a given latent class model and a collection of margins.
1 | composite.llike(dat, param, n.class = 2, margin.size = 3)
|
dat |
The data array of the format |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.