{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lab7_1

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

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

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

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

View Full Document
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
5 OLS Results Estimated Regression Equation PCON i = 551.7 + 0.1861 REG i – 53.59 TAX i (15.88) (-3.18) F = 152.36 R 2 = 0.8664; R 2 = 0.8664 Economic meanings: Petroleum consumption in the state will rise by 0.1861

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

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
Ask a homework question - tutors are online