Codes in Stata

Click Chapter#3.do link to view the file.