1. 学习
  2. /
  3. 课程
  4. /
  5. Fundamentals of Bayesian Data Analysis in R

Connected

练习

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.

说明 1 / 共 3 个

undefined XP
    1
    2
    3
  • Assign the return value of prop_model to a variable called posterior and take a look at the first number of samples using the command head(posterior).