Skip to content

REF: update conventions in GMM, API changes #4425

Open

Description

@josef-pkt

#2640 there is already a general GMM round 3 issue

GMM needs another round also in small things
e.g. non-intuitive or not standard pattern (where I had to read the docstring or code to get it right)

  • rename optim_args to optim_kwds: it's a dict for kwargs, not a list or args
  • maybe: take disp out of optim_kwds into a separate keyword option
    (but optim_args is used in all fitxxx methods, so we would need extra disp everywhere, unless we only add it to fit as convenient override but keep it in optim_kwds)

missing test coverage for GMM class itself, currently only subclasses have unit tests.

ENH: (I don't know if there is an issue for this already)

IV currently has only one mom/residual that is multiplied by instruments.
example in #4340 has two IV and two mom that are multiplied by each IV, i.e. like kronecker product on rows. Moment conditions are for mean and variance multiplied by the same instruments.
Is this case common enough to support it in the IV-GMM classes? or do we require using GMM for this case?

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