CommencerCommencer gratuitement

Zombie drugs with prop_model

If we really were interested in the underlying proportion of heads of this coin then prop_model isn't particularly useful. Since it assumes that any underlying proportion of success is equally likely prior to seeing any data it will take a lot of coin flipping to convince prop_model that the coin is fair. This model is more appropriate in a situation where we have little background knowledge about the underlying proportion of success.

Cet exercice fait partie du cours

Fundamentals of Bayesian Data Analysis in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Update the data and rerun prop_model
data = c(1, 0, 0, 1)
prop_model(data)
Modifier et exécuter le code