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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1062 views
  • 3 likes
  • 2 in conversation