A researcher is interested in understanding whether the number of people in a room affects how much a person eats. During the experiment, the researcher varies the number of people in the room and records how much each participant eats. This is an example of: