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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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