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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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