This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Type: gen time=_n+1958 “n” is an index that rolls with the observations (n goes from 1 to 49 in this case) First year was 1959 When n = 1 and you add it to 1958, you get 1959 Type: gen dumrec=0 Always use extremely short names for your variables Always use lowercase letters dumrec = dummy variable for recession We use 0’s because that’s what a dummy variable is by default (default value) Go to the Data editor and replace all of the dumrec values of 0 with a 1 for all of the years there was a recession Hit pageup to bring your previous command up Type: Regress congro gdpgro dumrec • THE EXERCISE IS DUE FRIDAY:...
View Full Document
- Spring '09
- Econometrics, dummy variable, Greek alphabet, Regress congro gdpgro, recession Hit pageup