The independent variable is the amount of caffeine in the coffee the participants drink. The caffeine amount is being changed throughout the experiment and it is being measured, so it qualifies as an independent variable. An independent variable is changed to see how they affect the dependent variables.