Looking at samples from prop_model
Here again is the prop_model
function which has been given the data from our zombie experiment where two out of 13 zombies got cured. In addition to producing a plot, prop_model
also returns a large random sample from the posterior over the underlying proportion of success.
Diese Übung ist Teil des Kurses
Fundamentals of Bayesian Data Analysis in R
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
data = c(1, 0, 0, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0)
# Extract and explore the posterior