The difference between endogenous and exogenous varaibles