Here there are two variables: your salary and the amount you spend. Independent variables are those which do not depend on other variables. Dependent variables are those which are changed by the independent variables. ... In our example salary is the independent variable and the amount you spend is the dependent variable.