Description Usage Arguments Details Value
View source: R/likelihood-profiling.R
Wrapper to optimize over a single variable for likelihood profiling
1 2 3 4 5 6 7 8 9 10 | loglike_wrapper(
x,
max_loglike,
best_pars,
mc_trees,
covariate_names,
alpha = 0.05,
beta_index = 1,
multiple_outside_transmissions = FALSE
)
|
x |
parameter to optimize over |
max_loglike |
maximum loglike value from output |
best_pars |
vector of best parameters |
mc_trees |
output of |
covariate_names |
covariate names to look over |
alpha |
α-value for computing confidence intervals. |
beta_index |
which parameter to optimize over. |
multiple_outside_transmissions |
whether to use base model or not |
internal function only. This is for the general case
zeros of likelihood profiling for given alpha
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.