computes the number of free parameters of a model, depending in the number of classes, the type of parameter optimization and the used of familial dependence, to be used in BIC model selection. This is an internal function not meant to be called by the user.

1 2 |

` y ` |
a matrix of measurements, |

` K ` |
an integer, the number of latent classes of a candiate model, |

` trans.const ` |
a logical variable indicating if the parental constraint is used. Parental constraint means that the class of a subject can be only one
of his parents classes. Default is |

` optim.param ` |
a function used for parameter optimization, see |

` optim.probs.indic ` |
a vector of logical values indicating which probability parameters to be updated, see |

` famdep ` |
a logical variable indicating if familial dependence model is used or not. Default is |

The function returns the number of free parameters (of the measurement distribution and the probabilities of the latent classes).

See also `model.select`

.

1 2 3 4 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.