find_congruent_models.Rd
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
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