Skip to content

ENH: GMM with observation weights, heteroscedasticity #2646

Open

Description

@josef-pkt

followup to my comments here and related comments #2640 (comment)

GMMW would be an analog to WLS. It is a relatively trivial extension, since weights can already be incorporated into the moment conditions, and it is implicitly used for example in GMMGLM.
This makes it also possible to write a unit test directly against WLS and GMM.

extensions for this would be pre- or simultaneously calculating the weights like in GLSHet given a model for the variances, or as in GLM as a function of the mean.
Calculating variances as additional moment condition would go into the direction of 2-parameter GLM/LEF and further for the GEE usecase into QIF (quadratic inference function)

And it would be a simple case to work towards more general whitening of correlation from the moments.

One possible complication is that we might want to use nonrobust GMM-weight matrix and cov_params as special case.
Some of this might only work for GMM with IV structure (models with elementary zero function in Davidson, MacKinnon, which are generalization of residuals in least squares models and GLM)

main direct applications

  • IV with heteroscedasticity
  • generic observation weights to use in robust RLM equivalents (downweight outliers or influential observations, just a possible connection: truncated regression for heavy tailed distributions or infinite variance distributions Eric Renault ?)

Activity

  1. added this to the 0.8 milestone on Oct 8, 2015
  2. josef-pkt commented on Mar 29, 2016

    @josef-pkt
    MemberAuthor

    With weights we can cover several different use cases directly like IPW (#2455), outlier down weighting (#2873) and general variance functions. (from duplicat #2874

  3. modified the milestones: 0.8, 0.9 on Aug 10, 2016
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions