Your professor wants to study the effects of eating
chocolate on test grades. They decided to recruit the
current introduction to psychology students, which is
about 120 students. 60 of them are randomly assigned to
the chocolate bar condition, and the other 60 are
randomly assigned to not have chocolate. They then take
their midterm exam.
What is the independent variable in this example?
Chocolate
Midterm exam grades