Skip to content

GEE: question behavior with singular exog, k_exog versus rank #1928

Closed

Description

@josef-pkt

I don't know what the behavior is, or what it should be.
followup question to defining df_resid #1918

in several other models that don't have panel structure, we define df_resid using the rank(exog) and not exog.shape[1]

GEE uses as denominator for the scale estimate nobs - exog[0].shape[1].
Stata has df_m and df_pearson

I'm adding df_resid to GEE, with df_resid = nobs - exog[0].shape[1] so it corresponds to the scale calculation.

Activity

  1. added this to the 0.7 milestone on Aug 22, 2014
  2. removed this from the 0.7 milestone on Apr 6, 2021
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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions