BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
lior
Calcite | Level 5

Hello,

I run the following panel regression:

proc panel data=invest.table_regressionfinal ;

id GVKEY DATADATE;

   model r_tmw=eps_deflate deltaeps_deflate/fixone ;

 

run;

now I want to run the same regression in "pooled" method.

Anyone happen to know how  to formulate the pooled procedure and what are the implications of  switching from panel regression to pooled regression ?

thanks,

Lior

1 ACCEPTED SOLUTION

Accepted Solutions
ets_kps
SAS Employee

Hi Lior,

This link explains the "pooled" regression model.SAS/ETS(R) 13.2 User's Guide

In short, pooled regression is just another way of saying that you are assuming no id or time fixed effects.  In essence, you are "pooling" the data together and running one big regression and assuming each observation, wrt both time and id are independent.  Probably not a realistic assumption.

For your model, you would write...

proc panel data=invest.table_regressionfinal ;

id GVKEY DATADATE;

   model r_tmw=eps_deflate deltaeps_deflate/ pooled neweywest ;

run;

You likely would want to do some sort of SE correction using NEWEYWEST or similar on the model statement.

Hope this helps. -Ken

View solution in original post

2 REPLIES 2
ets_kps
SAS Employee

Hi Lior,

This link explains the "pooled" regression model.SAS/ETS(R) 13.2 User's Guide

In short, pooled regression is just another way of saying that you are assuming no id or time fixed effects.  In essence, you are "pooling" the data together and running one big regression and assuming each observation, wrt both time and id are independent.  Probably not a realistic assumption.

For your model, you would write...

proc panel data=invest.table_regressionfinal ;

id GVKEY DATADATE;

   model r_tmw=eps_deflate deltaeps_deflate/ pooled neweywest ;

run;

You likely would want to do some sort of SE correction using NEWEYWEST or similar on the model statement.

Hope this helps. -Ken

lior
Calcite | Level 5

Hi Ken,

Thank you very much. it is very helpfull.

Do you also farmiliar with fama macbeth regression? (meaning how to formulate the procesdure and what are the implications of switching to this regression)?

Thanks,

Lior

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