bic.select.best.mode {netresponse} | R Documentation

## Select best mode with BIC

### Description

Select optimal number of mixture components by adding components until the increase in objective function is below threshold.

### Usage

    bic.select.best.mode(x, max.modes, bic.threshold, min.modes = 1)

### Arguments

`x` | dat vector (for univariate analysis) or a matrix (for multivariate analysis)
`max.modes` | Maximum number of modes to be checked for mixture model selection
`bic.threshold` | BIC threshold which needs to be exceeded before a new mode is added to the mixture.
`min.modes` | Optiomal. Minimum number of modes.

### Value

Fitted latent class model (parameters and free energy)

### Author(s)

Contact: Leo Lahti leo.lahti@iki.fi

### References

See citation("netresponse")

[Package netresponse version 1.40.0 Index]