The independent variable in one experiment may function as the dependent variable in another. Whether a particular variable is an independent variable, a dependent variable, or neither depends on the hypothesis being tested. In Schachter’s experiment, the independent variable was anxiety, and the dependent variable was affiliation. Schachter found that subjects who were anxious wanted to wait for the next part of the experiment with others.