Using Stata for Principles of Econometrics