In a study to determine if the age of residents affected their voting preferences, age in this study
1. Dependent variable because age does not change.
2. Independent variable because each voter has their own age.
3. Dependent variable because voter preference tend to be affected by the age of the
political party leaders.
4. Both dependent and independent because age is not useful in this study.
An independent variable is the variable you think is the cause, while a dependent variable is the effect. Age is independent variable, and voting preference is dependent variable.
So, the correct answer is 2.