Return likelihood profiles for binary covariates special case

binary_likelihood_profs(
  best_pars,
  max_loglike,
  mc_samples_summary,
  alpha = 0.05,
  multiple_outside_transmissions = FALSE
)

Arguments

best_pars

vector of MLE

max_loglike

loglike value from MLE

mc_samples_summary

tree summaries, output from sample_mc_binary_cov

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