Skip to content

REF naming IV, IV2SLS use regressor not exog #2248

Open

Description

@josef-pkt

I'm still thinking about naming for endog on right hand side y = b1 y + b2 x

suggestion

signature has IV2SLS(endog, regressor, instruments, ...)

but docstring says regressors are stored and attached asexog``

not very nice but at least the signature is better, and we can still reuse all existing automatic data handling

Activity

  1. added this to the 0.8 milestone on Feb 11, 2015
  2. josef-pkt commented on Feb 11, 2015

    @josef-pkt
    MemberAuthor

    then IV2SLS and GMM can go out of sandbox.
    test coverage is pretty good

    still some data handling and from_formula work is required

  3. bashtage commented on Feb 11, 2015

    @bashtage
    Member

    The use of endog and exog was alwasy going to be problematic in the context of endogenous/exogenous regressors/IV.

  4. josef-pkt commented on Feb 11, 2015

    @josef-pkt
    MemberAuthor

    The alternative would be to separate the regressors
    (endog, endog_included, exog_included, exog_excluded)
    which IIRC ivregress2 or some other function in Stata uses.

    But this doesn't work well with our automatic data handling, and the current implementation doesn't separate between the two kinds of regressors.

  5. josef-pkt commented on Sep 6, 2021

    @josef-pkt
    MemberAuthor

    Handling extra arrays is much better supported now, e.g. exog_xxx for multipart models. So we can be more flexible now in names for data arrays.

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