For which of the following situations would a repeated-measures study be appropriate?
A) Compare attitude scores for males versus females.
B) Compare personality scores for individuals diagnosed with an eating disorder and those who are not diagnosed.
C) Compare salary levels for college graduates and those who did not graduate from college.
D) Compare reaction times before and after taking a pain medication.