|
|

|

|
PPOL 509 Regression Methods for Policy Analysis
Spring, 2007
-
Meets: 3:15 - 5:45 pm Thursdays Car Barn 315
-
Office Hours:
Tuesdays 6:30 - 7:30 pm (Car Barn 417), or by appointment
-
Syllabus
-
Regression in the News
-
Final Project
-
Problem Sets
Problem Set 1
Problem Set 1 SOLUTIONS  
Problem Set 2
Problem Set 2 SOLUTIONS
Problem Set 3
Problem Set 3 SOLUTIONS
Problem Set 4
Problem Set 4 SOLUTIONS
Problem Set 5
Problem Set 5 SOLUTIONS
Problem Set 6
Problem Set 6 SOLUTIONS
Problem Set 7
Problem Set 7 SOLUTIONS
Problem Set 8
Problem Set 8 SOLUTIONS
Problem Set 9
Problem Set 9 SOLUTIONS
Problem Set 10
Problem Set 10 SOLUTIONS
Announcements:
1. Accessing .raw datasets for problem sets
When I ask you to use a .raw dataset for your problem set, you can access that information in one of two ways.
GPPI has downloaded all of the Wooldridge's datasets to the h:\ drive.
Alternatively, you can access them on the web through the Wooldridge/1pass website. I found the login information in the front copy of my Wooldridge text. Follow the links to Wooldridge datasets--you want to download thh zip file for "ASCII (text) files."
2. Example of importing .RAW text files into SAS
The following code is sample code I used to import a .RAW file from the Wooldridge datasets. Obviously, you will need to change the path and the dataset name (and maybe the lrecl length) and the variable names when you do your assignment.
data q2.card;
infile 'c:\Documents and Settings\My Documents\Quant_II\card.raw' missover lrecl=30000;
input id nearc2 nearc4 educ age fatheduc motheduc weight momdad14 sinmom14 step14 reg661 reg662 reg663 reg664 reg665 reg666 reg667 reg668 reg669 south66 black smsa south smsa66 wage enroll KWW IQ married libcrd14 exper lwage expersq;
run;
This code is provided as an example if you get stuck--I find the best way to write programs is to rely on code I have already written! You might want to make some notes of where helpful procedures are in your notes, problem set solutions, etc. Also, remember to check your input. I do a proc contents, a proc means, and maybe a proc print (of 10 observations or so) to double check that everything input correctly.
| |