Directions:

Question #1

For this question you should use the “diet” data set provided below. These data come from a randomized experiment seeking to compare the efficacy of three different weight loss diets. A subject’s assigned diet is encoded as either 1, 2, or 3, and is recorded in the variable Diet. The provided code coerces this variable to a factor (categorical variable).

diet_data = read.csv("https://remiller1450.github.io/data/diet.csv")
diet_data$Diet = factor(diet_data$Diet)

\(~\)

Question #2

In an experiment conducted in 1982, researchers had 12 subjects perform a visual motor task where they had to steer a pencil along a moving track. Each subject was tested on two different tracks: a straight track and an oscillating one. The researchers were not interested in how well the participants kept their pencil on the track, but rather their blink rate (measured in blinks per minute) under each condition. The columns Straight and Oscillating record each subject’s blink rate in each of these conditions.

blink = read.csv("https://remiller1450.github.io/data/blink.csv")

\(~\)

Question #3

In an educational study aimed at informing people of the problems associated with multiple comparisons, Canadian researchers performed a study looking at various reasons for hospitalization and their potential associations with astrological signs. They performed a total of 24 different hypothesis tests.