Skip to content

everything GMM, GLMGMM #1790

Open
Open

Description

@josef-pkt

Similar to GLMMLE #1788 I think we can get generic GMM for GLM families and links

Score_obs are moment conditions, and we should be able to just plug them into IVGMM, similar to the examples for Poisson.

Essentially, all we are doing is using the estimating equations from the families, similar to GEE but without the GEE covariance modeling, but with instrumental variables under the assumption of some orthogonality conditions.

see #1742 for IVPoisson or GMMPoisson as already worked out special case.

Activity

  1. josef-pkt commented on Oct 23, 2014

    @josef-pkt
    MemberAuthor

    The IV idea might not work in many non-linear models. There is an additive error assumption in there to use standard IV, see Wooldridge "Quasi-maximum likelihood estimation and testing for nonlinear models with endogenous explanatory variables", Journal of Econometrics 2014
    or something else I don't remember about endogeneity in Poisson and why it works with multiplicative errors.

    another idea: reuse GMM as tool for conditional moment tests exploiting the similarity between score/LM tests and tests of overidentifying restrictions (with parameters estimated under the null)
    (main implementation question: how much structure do we want to assume about the covariance matrix of estimation moments and conditional moment restrictions)
    see #2041 and #1756

  2. josef-pkt commented on Oct 23, 2014

    @josef-pkt
    MemberAuthor

    related to last point: GMM sandwiches haven't been updated since I wrote the cov_type for the (Q)MLE models, specifically there is no cluster options.
    see GMM.calc_weightmatrix

  3. josef-pkt commented on Nov 22, 2014

    @josef-pkt
    MemberAuthor

    see also #2096 for conditional moment tests and comment in description.
    uses GMM replication of OLS as unit test.

  4. josef-pkt commented on Feb 4, 2015

    @josef-pkt
    MemberAuthor

    see also #1777 for just the estimating equation approach, IRLS with "foreign" variance function.

    This could be done clean with GLMGMM, similar to GEE. (without IV and endogenous explanatory variables) And it would also be easy to extend to non-linear mean function (not just index function for mean), and more complicated data dependent variance functions.

    And it should be easy to unit test by comparing to GLM.

  5. josef-pkt commented on Feb 4, 2015

    @josef-pkt
    MemberAuthor

    bump to 0.8 since it might not be a huge amount of work

  6. added this to the 0.8 milestone on Feb 4, 2015
  7. modified the milestones: 0.8, 0.14 on Dec 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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions