Hello,
I run proc panel procedure (I have panel data and I want to consider fixed effects). and its work fine.
but I don't know how to enter white's (1980) correction to this procedure.
(all the examples to white's correction are in proc model procedure).
anyone happens to know how to do this?
Thanks,
Lior
Why not:
proc panel data=invest.table_regressionfinal ;
id GVKEY DATADATE;
model shareprice_ending_of_tm_f_qtr= bv EPSPXQ/fixone hccme=4;
run;
This should work (at least based on the documentation).
Steve Denham
Look up the HCCME= option for the MODEL statement in PROC PANEL. HCCME=4 uses the Arellano version of the White correction.
Steve Denham
Hi,
Thanks, I found this statement in the web but I havn't found statement that combined both fixed Effect and White's correction.
The statement with fixed effect is:
proc panel data=invest.table_regressionfinal ;
id GVKEY DATADATE;
model shareprice_ending_of_tm_f_qtr= bv EPSPXQ/fixone ;
run;
And the statement with HCCME is:
proc panel data=invest.table_regressionfinal ;
id GVKEY DATADATE;
model shareprice_ending_of_tm_f_qtr= bv EPSPXQ/pooled hccme=4;
run;
Do you happen to know how to combine those two in a way it will make sense ?
Thanks,
Lior
Why not:
proc panel data=invest.table_regressionfinal ;
id GVKEY DATADATE;
model shareprice_ending_of_tm_f_qtr= bv EPSPXQ/fixone hccme=4;
run;
This should work (at least based on the documentation).
Steve Denham
Yes, its working.
Thank you very much,
Lior
Steve thanks for the answer here. One additional piece of information might be useful for you loir.
Within the PANEL procedure, a new feature implements a more general form of the sandwich estimator for consistent SE's.
These options are under the HAC= option (Hetero and Autocorrelated SE's). For a super quick and dirty robust SE, add HAC=neweywest to the model statement.
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.