1. Learn
  2. /
  3. Courses
  4. /
  5. Fundamentals of Bayesian Data Analysis in R

Exercise

Take a generative model for a spin

To the right you have the R code that implements the generative model we just developed.

Instructions 1/2

undefined XP
    1
    2
  • Run this code to generate a simulated dataset. Assume the underlying proportion of success of curing a zombie is 42% and that you administer the drug to 100 zombies.