Measures of cholesterol concentration in 72 participants treated with three different drugs. The aim is to examine the potential of new class of drugs in lowering the cholesterol concentration and consequently reducing heart attack.

A pharmaceutical company tested three treatments for migraine headache sufferers. 72 participants were enrolled in the experiments. The aim is to examine the potential of new class of treatments in lowering the pain score associated with the migraine headache episode.

The participants include 36 males and 36 females. Males and females were further (equally) subdivided into whether they were at low or high risk of migraine headache.

This data set is suited for three way Anova test.

It contain the following variables:

  • gender, which has two categories: "male" and "female";

  • risk which has two levels: "low" and "high"

  • treatment, which has three categories: "X", "Y" and "Z".



A data frame with 72 rows and 4 columns.


data(headache) head(
#> id gender risk treatment pain_score #> 1 1 male low X 79.31170 #> 2 2 male low X 76.84340 #> 3 3 male low X 70.83242 #> 4 4 male low X 81.16394 #> 5 5 male low X 75.05221 #> 6 6 male low X 73.10703