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.
This exercise is part of the course
Fundamentals of Bayesian Data Analysis in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Update the data and rerun prop_model
data = c(1, 0, 0, 1)
prop_model(data)