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

innovate-wordmarks-white-horiz.png

SAS is headed back to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team.

Interested in speaking? Content from our attendees is one of the reasons that makes SAS Innovate such a special event!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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