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.

The data below come from a study titled “The effect of iris color on critical flicker frequency” published in the Journal of General Psychology. The study recorded the critical flicker frequency and iris color (part of the eye) for \(n = 19\) subjects:

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

\(~\)

Question #2

For this question you’ll use “diet” data set provided below. These data come a randomized experiment comparing the efficacy of 3 different weight loss diets. Each subject’s randomly assigned diet (labeled 1, 2 or 3) is stored in the variable Diet. The code below loads these data and creates a categorical variable group indicating the assigned diet.

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