regmixmodel.sel(x, y, w = NULL, k = 2, type = c("fixed",
"random", "mixed"), ...)
x
must NOT include a column of 1's!
Requiring an intercept may be controlled through arguments specified in ...
.type
.regmixmodel.sel
returns a matrix of the AIC, BIC, CAIC, and ICL values along with the winner (i.e., the highest
value given by the model selection criterion) for various types of regression mixtures.regmixEM
, regmixEM.mixed
## Assessing the number of components for NOdata.
data(NOdata)
attach(NOdata)
set.seed(100)
regmixmodel.sel(x = NO, y = Equivalence, k = 3, type = "fixed")
Run the code above in your browser using DataLab