dataclass: Finmix 'dataclass' constructor

Description Usage Arguments Value References See Also

Description

Calling dataclass() classifies data using a fully specified mixture model. Henceforth, the finite mixture model model must be fully specified, i.e. containing parameters in slot par, weights in slot weight and indicators in slot S of the corresponding fdata object.

Usage

1

Arguments

fdata

An fdata object containing observations in slot y and indicators in slot S.

model

A model object containing parameters in slot par and and weights in slot weight.

simS

A logical defining, if the indicators S should be simulated.

Value

A dataclass object containing the classification matrix, model log-likelihood, entropy and indicators, if the latter have been simulated.

References

See Also


simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.