Session Ready
Exercise

The BEST models and zombies on a diet

The t-test is a classical statistical procedure used to compare the means of two data sets. In 2013 John Kruschke developed a souped-up Bayesian version of the t-test he named BEST (standing for Bayesian Estimation Supersedes the t-test). Let's try out BEST as implemented in the BEST package.

Instructions 1/4
undefined XP
  • 1
  • 2
  • 3
  • 4

Zombies are stupid, but you and your colleagues at the National Zombie Research Laboratory are interested in how diet affects zombie intelligence. You have done a small experiment where you measured the IQ of 10 zombies on a regular diet and 10 zombies on a brain-based diet. The hypothesis is that zombies that eat more brains perform better on IQ tests. To the right, the data from the experiment is put into the variables iq_brains and iq_regular.

  • Calculate the mean difference in IQ between the two groups by taking the mean of iq_brains minus the mean of iq_regular. Remember that mean(iq_brains) calculates the sample mean of iq_brains.