select_best: Select the best parameters from a set of results

Description Usage Arguments Value Examples

Description

Select the best parameters from a set of results

Return the optimal model based on BIC scores

Usage

1
2
3

Arguments

small.em

A 'small.em' object

Value

The parameters of the best model, as judged by log-likelihood.

Examples

1
2
3
4
5
6
x <- model.matrix(~ factor(wool) + factor(tension), warpbreaks)
y <- warpbreaks$breaks

warm_up <- small.em(x = x, y = y, K = 2, b.init = "random", sample.size = 20)

select_best(warm_up)

emax.glm documentation built on July 4, 2019, 5:04 p.m.