how to choose the dependent variable and independent variables code example Example: what is a dependent variable It is something that depends on other factors