Directions:

Question #1

An individual’s critical flicker frequency is the highest frequency at which a flickering light source can be detected. At frequencies above the critical frequency, the light source appears to be continuous even though it is actually flickering.

In this question you’ll analyze data from a study titled “The effect of iris color on critical flicker frequency” published in the Journal of General Psychology. The study measured the critical flicker frequency and iris color (part of the eye) of \(n=19\) subjects.

flicker = read.csv('https://remiller1450.github.io/data/flicker.csv')

\(~\)

Question #2

The data provided below come from a randomized experiment comparing the efficacy of three weight loss diets. Each subject was randomly assigned to a diet (labeled 1, 2 or 3), which is stored in the variable Diet. Because this variable was coded numerically, the code below converts it to a categorical variable for you.

diet = read.csv('https://remiller1450.github.io/data/diet.csv')
diet$group = factor(diet$Diet, labels = c("Diet1", "Diet2", "Diet3"))