Description Usage Arguments Value
Find congruent models to a simple binomial model This will find the parameter values for other models that equal the likelihood for a simple binomial model. This may not be the MLE for these other models
1 2 3 4 5 6 | find_congruent_models(
nheads,
nflips,
slopes = c(0, 0.1, -0.05),
stopval = 1e-04
)
|
nheads |
Number of heads |
nflips |
Total number of flips (heads and tails) |
slopes |
Vector of slopes to use |
stopval |
How large a difference in probability is considered close enough between the flat model and others |
A list containing the parameter estimates with likelihoods for each model and the probabilities for heads at each model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.