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.
Latihan ini adalah bagian dari kursus
Fundamentals of Bayesian Data Analysis in R
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Update the data and rerun prop_model
data = c(1, 0, 0, 1)
prop_model(data)