Skip to content

GEE df_model definition/testing #3726

Closed

Description

@jbrockmendel

GEE.df_model is defined as:

        # The following are column based, not on rank see #1928
        self.df_model = self.exog.shape[1] - 1  # assumes constant
        self.df_resid = self.nobs - self.exog.shape[1]

The other day I incorrectly changed self.exog.shape[1] to self.exog.shape[0] and did not see any test failures. The test txt files in genmod. Can any of the existing R/Stata-based tests be adapted to check this?

Activity

  1. jbrockmendel commented on May 29, 2017

    @jbrockmendel
    ContributorAuthor

    Related to #1928.

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