Skip to content

Other fixed effect not included in the R2 computation #617

@SwannChelly

Description

@SwannChelly

Dear all,

I am a bit confused by the way R2 are computed. The goal of the within transformation is to add other fixed effects without using dummy variables that would increase a lot the time of the algorithm.

However, when you start controling for several effects using 'other_effects', those controls are not stored in the 'params' attribute and therefore not used for the computation of the different R2.

Maybe I am wrong but, I feel like when you have other fixed effects, you would like to consider them as parameters and include them in the computation of the R2. In https://www.stata.com/manuals/xtxtreg.pdf page 14, this would mean that the fixed effect would be stored in the beta of equation (1'''),(2'''),(3''') and therefore impacting the evaluation of the R2.

I found rsquared_inclusive to be the overall rsquared that fit such requirement. But could it be interesting to adjust also the between and within R2 ? I feel it should be important for the between because the share of the variance captured by the inclusion of other fixed effect should be reflected by the between estimator.

Best regards,
SC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions