select_best_em_run: Select best EM run

View source: R/at_scale_em_algo_functs.R

select_best_em_runR Documentation

Select best EM run

Description

Returns the best run, defined as the run with m_perturbation in a reasonable range and greatest log-likelihood.

Usage

select_best_em_run(em_runs, m_perturbation_range = c(log(0.1), log(2)))

Arguments

em_runs

a list of outputs of run_em_algo_given_init

m_perturbation_range

range of acceptable values for m_perturbation

Value

the best run of the list


timothy-barry/glmeiv documentation built on Jan. 30, 2024, 3:46 p.m.