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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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