Researchers hypothesize that the effect of several medicines on reducing pain depends on the time the medicines are taken (morning, afternoon, or evening). To test this hypothesis, ______ is needed.
a. one-way ANOVA
b. repeated-measures ANOVA
c. independent-samples t-test
d. factorial ANOVA