Return likelihood profiles

likelihood_profs(
  best_pars,
  max_loglike,
  mc_trees,
  covariate_names,
  alpha = 0.05,
  multiple_outside_transmissions = FALSE
)

Arguments

best_pars

vector of MLE

max_loglike

loglike value from MLE

mc_trees

trees, output from sample_mc_trees)

covariate_names

names of covariates

alpha

\(alpha\)-value to make a (1-\(alpha\))% CI

multiple_outside_transmissions

logical indicating to use base model or multiple outside transmissions model.

Value

matrix of dimension (length of best_pars) x 3 where the columns are the best parameter estimate, the lower CI (lower) and upper CI (upper) @export