CommencerCommencez 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

<cours>Fundamentals of Bayesian Data Analysis in R</cours>
Voir le cours

Exercice interactif pratique

Essayez cet exercice en complétant ce code d’exemple.

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