FixedEffectModel icon indicating copy to clipboard operation
FixedEffectModel copied to clipboard

Storing absorbed fixed effects

Open sdarougheh opened this issue 4 years ago • 6 comments

Can the absorbed fixed effects be recovered/stored, as in the STATA version of reghdfe?

sdarougheh avatar May 28 '21 14:05 sdarougheh

yes, we will be uploading a new version soon with a bunch of new functionalities, stay tuned.

schouxy53 avatar May 31 '21 06:05 schouxy53

Hi, we just released version 0.0.3, and you can use getfe(result) to recover fixed effect.

schouxy53 avatar Jun 30 '21 03:06 schouxy53

Is it possible to have clustering but no fixed effects with this package? I tried one with no fixed effects (category_input) and one cluster input but the regression seems to think I want the cluster as a fixed effect.

yelinhu avatar Oct 15 '21 17:10 yelinhu

Yes you can.

consist_input = ['x_1','x_2'] out_input = ['y'] category_input = [] cluster_input = ['id','time'] result1 = ols_high_d_category(data_df, consist_input, out_input, category_input, cluster_input) result1.summary()

Code above allow you cluster on ['id','time'] level but no fixed effect.

Is it possible to have clustering but no fixed effects with this package? I tried one with no fixed effects (category_input) and one cluster input but the regression seems to think I want the cluster as a fixed effect.

schouxy53 avatar Oct 20 '21 02:10 schouxy53

Hi! Is there a way to store the summary results of the OLS into a csv/excel file? Thanks!

yelinhu avatar Dec 02 '21 23:12 yelinhu

Hi, currently the summary table cannot be saved into the excel file, but you can extract the information from the result class: “result.params” is beta, “result.bse” is standard error, etc.

schouxy53 avatar Dec 03 '21 02:12 schouxy53