Lab7_1 - Econ 346 Lab #7 Regression Using SAS:...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Econ 346 Lab #7 Regression Using SAS: Heteroskedasticity Apr 19 th , 2011 Agenda • Goals for today’s lab session “Use SAS to study the petroleum example in Studenmund's textbook” This is an in-lab assignment! • Get the SAS code and data from http://tigger.uic.edu/~jmlee/econ346/data/GAS1.sas.txt • Don’t forget to sign the attendance sheet! 2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Basic SAS Commands for Variables DATA GAS: You are creating a data set inside of SAS INPUT: Input the variables names you need CARDS: You are inputting data PROC PRINT: You are listing all variables and the entries • Make sure you always end with ; (semicolon) 3 Basic SAS Commands for Regression Commands for Original OLS: PROC REG ; MODEL PCON = REG TAX / R P ; RUN; Commands for WLS: PROC REG ; MODEL IPCON = ICONST ITAX / R P ; RUN; Commands for Per Capita Model: PROC REG ; MODEL PPCON = PREG TAX / R P ; RUN; 4
Background image of page 2
5 OLS Results Estimated Regression Equation PCON i = 551.7 + 0.1861 REG i – 53.59 TAX i (15.88)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/12/2011 for the course FIN 300 taught by Professor Wang during the Spring '11 term at UChicago.

Page1 / 5

Lab7_1 - Econ 346 Lab #7 Regression Using SAS:...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online