Skip to content

Report Within R2 in pf.etable() #821

Open
@s3alfisc

Description

@s3alfisc

For compatibility with r-fixest, we would like to report adjusted R2 in pf.etable().

In R, we have

Image

In Python, we have

import pyfixest as pf 
data = pf.get_data()

fit = pf.feols("Y ~ X1 | f1", data = data, weights = "weights")
pf.etable(fit)

Image

To do so, we need to populate the r2_within_list here.

We then add it to the model_stats_df here .

And I hope this would be it! (Though not sure, would have to be tested).

@AronNemeth would you be up for this one? Should be relatively small and self-contained.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions