****************************************************************************** **** Problem Set 2 - Part (a) **** ****************************************************************************** /* Use /* ... */ to inactive the codes. 1. Use -global- to set up your own working dictionary 2. Use "ccode_s" in data folder: 2.a. replace ccode from string to numeric 2.b. generate a new variable "abb" that contains only the first three letters of "country" */ * Show me your do files. (5 mins) ****************************************************************************** **** Problem Set 2 - Part (b) **** ****************************************************************************** /* 3. Use "reshape" in the data folder: make the data to a "long" shape [Hint: Always remember to check duplicates!] 4. System use "lifeexp": a. make some regressions by your own choices b. output them to a table using either esttab or outreg 5. Organize all your codes in a single do file [Hint: do not forget the initial settings!] */ * Show me your final DO file. (15 mins)