BookmarkSubscribeRSS Feed
rohitg
Calcite | Level 5

Hey,

I have access to 9.4 (SAS/ETS 13.2). While correcting heteroscdasticty :

proc panel data=mydata;

model y=x1 x2 x3 x4/FIXONE FIXTWO RANONE RANTWO HAC(BANDWIDTH=NEWEYWEST94);

id firm time;run;

 

The intecept is not appearing in FIXTWO output. 

Based on http://support.sas.com/documentation/cdl/en/etsug/67525/HTML/default/viewer.htm#etsug_panel_details3... , I understand that for the two-way models, the variance and the covariances for the intercept are not corrected.

 

Is there any way I can correct for heroscdsaticity without loosing 'Intercept'

Thanks in advance!

Rohit

1 REPLY 1
bobby_sas
SAS Employee
Dear Rohit,

"Losing the intercept" is not an innate property of a RANTWO model with HAC covariance matrix. The intercept is mostly being dropped because of some other form of collinearity unrelated to HAC. If you can send the data and code to me at Bobby.Gutierrez@sas.com I'd be happy to take a closer look and diagnose why the intercept is being dropped.

--Bobby

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!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 897 views
  • 0 likes
  • 2 in conversation