Skip to content

enh: fractional Logit, Probit #2040

Closed

Description

@josef-pkt

http://onlinelibrary.wiley.com/doi/10.1002/%28SICI%291099-1255%28199611%2911:6%3C619::AID-JAE418%3E3.0.CO;2-1/abstract

we need to replace the check for set (0, 1) with interval [0, 1]

partial skimming of the paper only:

uses QuasiMLE with Logit/Bernoulli and sandwich covariance for robust.
this means Logit with cov_type="white" or "H0" should already do everything.

They have a 2008 paper that uses Probit. in panel setting
http://www.sciencedirect.com/science/article/pii/S030440760800050X

the first article has 1417 citations in Google so there is a lot more similar.

Activity

  1. added this to the 0.6 milestone on Oct 10, 2014
  2. josef-pkt commented on Oct 11, 2014

    @josef-pkt
    MemberAuthor
    "
    Interestingly, the robust standard errors from equation (9) in the context of ordinary logit
    and probit are computed almost routinely by certain statistics and econometrics packages,
    such as STATA@ and SST@. Unfortunately, the packages with which we are familiar
    automatically transform the dependent variable used in logit or probit into a binary variable
    before estimation, or do not allow non-binary variables at all (STATA@ and SST@ fall into
    the first category). With the minor change of allowing for fractional y in so-called binary
    response analysis, standard software packages could be used to estimate the parameters in
    equation (4) and to perform asymptotically valid inference. Alternatively, programming the
    estimator in a language such as GAUSS@, as we do for our application in Section 4, is fairly
    straightforward.
    "
    

    Papke and Wooldridge 1996

    GLM in Stata has been updated since then
    http://www.stata.com/support/faqs/statistics/logit-transformation/

  3. josef-pkt commented on Oct 11, 2014

    @josef-pkt
    MemberAuthor

    @kshedden Does GEE work with fractional data in a logit or probit binary/binomial model?

    I haven't looked at the example yet, it has panel data for a response variable that is a proportion

    in the Papke Wooldrige 2008 article they use just GLM and GEE (among others)

    for example

    glm math4 lavgrexp alavgrexp lunch alunch lenroll alenroll y96-y01 if year>1994, fa(bin) link(probit) cluster(distid)
    mat b = e(b)
    xtgee math4 lavgrexp lunch lenroll alavgrexp alunch alenroll y96-y01, fa(bi) link(probit) corr(exch) robust from(b,skip)
    

    Papke has the replication files on her (departmental) web page (her personal page gives me a permission error) http://www.econ.msu.edu/faculty/papke/

  4. kshedden commented on Oct 11, 2014

    @kshedden
    Contributor

    It seems to work fine, I made a notebook:

    http://nbviewer.ipython.org/urls/umich.box.com/shared/static/y0azjuau3t21b7p11m56.ipynb

    On Sat, Oct 11, 2014 at 9:19 AM, Josef Perktold [email protected]
    wrote:

    @kshedden https://github.com/kshedden Does GEE work with fractional
    data in a logit or probit binary/binomial model?

    I haven't looked at the example yet, it has panel data for a response
    variable that is a proportion

    in the Papke Wooldrige 2008 article they use just GLM and GEE (among
    others)

    for example

    glm math4 lavgrexp alavgrexp lunch alunch lenroll alenroll y96-y01 if year>1994, fa(bin) link(probit) cluster(distid)
    mat b = e(b)
    xtgee math4 lavgrexp lunch lenroll alavgrexp alunch alenroll y96-y01, fa(bi) link(probit) corr(exch) robust from(b,skip)

    Papke has the replication files on her (departmental) web page (her
    personal page gives me a permission error)
    http://www.econ.msu.edu/faculty/papke/

    —
    Reply to this email directly or view it on GitHub
    #2040 (comment)
    .

  5. jseabold commented on Oct 15, 2014

    @jseabold
    Member

    PR?

  6. added a commit that references this issue on Oct 15, 2014
    3a6fd4e
  7. added a commit that references this issue on Oct 15, 2014
    62c7983
  8. added a commit that references this issue on Oct 23, 2014
    21f6bc3
  9. added a commit that references this issue on Nov 17, 2014
    90cbfc3
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