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.
Questo esercizio fa parte del corso
Fundamentals of Bayesian Data Analysis in R
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Update the data and rerun prop_model
data = c(1, 0, 0, 1)
prop_model(data)