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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning 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. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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
  • 762 views
  • 0 likes
  • 2 in conversation