find_congruent_models: Find congruent models to a simple binomial model This will...

Description Usage Arguments Value

View source: R/flipped.R

Description

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

Usage

1
2
3
4
5
6
find_congruent_models(
  nheads,
  nflips,
  slopes = c(0, 0.1, -0.05),
  stopval = 1e-04
)

Arguments

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

Value

A list containing the parameter estimates with likelihoods for each model and the probabilities for heads at each model


bomeara/flipped documentation built on Dec. 19, 2021, 10:47 a.m.