BookmarkSubscribeRSS Feed
Tim_sas_
Obsidian | Level 7

Hello,

 

I would like to apply a regression in SAS using the Newey-West t-stat.

Below I have used a basic regression applying the Proc Reg statement. Is it possible to apply the Newey-West correction of standard errors (for heteroscedasticity and autocorrelation) in this context or do I have to use the Proc Model statement?

My problem is that I currently only have access to the University edition which does not support Proc Model, hence I would like to use Proc Reg.

 

Many thanks for any help,

 

Tim

 

proc reg data=earnings;
	model earn_w = L1_earn_w L1_negE_w L1_NExE_w;
	where 2000 <= year <= 2010;
	ODS OUTPUT parameterestimates = par_est;
run; quit;

 

1 REPLY 1
PaigeMiller
Diamond | Level 26

If you go to https://support.sas.com/en/support-home.html and type Newey West into the search bar, you find that the references are not to PROC REG, but all to PROC MODEL or PROC AUTOREG.

--
Paige Miller

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 798 views
  • 3 likes
  • 2 in conversation