Skip to content

ENH: df_resid for exog with structural zeros #8727

Open

Description

@josef-pkt

What is the appropriate df_resid for models where exog has structural zeros?

example SUR and MANOVA where exog in "long" version is a diagonal block matrix, e.g. eye kronecker exog.
#8722 (comment)
A similar case would be if we vertically stack equations or models, e.g. combine several OLS into one big OLS.

Even if we don't support automatic choices of df_resid, we would need a user option to set or adjust df_resid.
I had already added df_resid_inference for similar cases.

I guess this is related to within and between (repeated measures) anova which I never understood, or looked in details.

Related discussion: df or small sample correction in cluster robust cov_type.

likely related #6564
Issue for general degrees of freedom computation (effective df of exog, not because of penalization)
(It was too difficult to go through without very strong motivation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions