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

Exercise

BEST is robust

The Bayesian model behind BEST assumes that the generative model for the data is a t-distribution; a more flexible distribution than the normal distribution as it assumes that data points might be outliers to some degree. This makes BEST's estimate of the mean difference robust to outliers in the data.

Instructions 1/3

undefined XP
    1
    2
    3

Assume that a super smart mutant zombie (IQ = 150) got into the iq_regular group by mistake. This might mess up the results as you and your colleagues really were interested in how diet affects normal zombies.

  • Replace the last value in iq_regular with 150.
  • Again, calculate the difference in means between the two groups using the mean() function, that is, the mean of iq_brains minus the mean of iq_regular.