Skip to content

REF: robust_covariance normalizations #1109

Open

Description

@josef-pkt

The inner S matrix does not divide by nobs in the current implementation.
This is not a bug, since the nobs cancel or are handled in the outer part of the sandwiches.

robust_covariance uses results.normalized_cov_params in the outer part which also doesn't have division by nobs.

However, it is easy to get inconsistent handling of the nobs or (nobs - k_vars) normalization.
(I didn't check and didn't have the nobs for GMM HAC, while I use the nobs normalized S in the other cases in GMM.)

Check for general use of the pieces in robust_covariances and decide on one definition.

Activity

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