To calculate the instrumental variable estimator, when the number of instruments is equal to the number of endogenous variables. In addition, we calculate the covariance matrix of the estimator.
- The chosen database is "Cigarette Consumption Panel Data"
- Independent variable (x): packs
- Dependent variable (y): real pack price and
- Instrumental variable (z): real sales tax.