Skip to content

ENH: Poisson for continuous regression #1151

Closed

Description

@jseabold

[Edit: I changed the name of the issue to indicate that this is an open ended issue for exploring what results we need the PMLE applications of Poisson.]

For the Poisson model to be consistent requires only that the first moment be correctly specified. We need the second moment to be correctly specified (the equidispersion assumption) for inference. Neither of these assumptions relies on y being an integer. Standard pseudo-maximum likelihood theory applies here (Gourieroux, Monfort, and Trognon 1984). Using this result, Poisson models are sometimes used in place of log-linear models. (See Santos Silva and Tenreyro 2006 and Westerlund and Wilhelmsson 2006 for applications to gravity models.)

So we need to change pdf/cdf not to rely on scipy.stats to avoid the integer truncation. I think.

Activity

  1. jseabold commented on Oct 25, 2013

    @jseabold
    MemberAuthor

    Nevermind. There's a warning about truncation, but it looks like estimation still goes through ok. I should've checked first. Maybe we should intercept the warning and raise our own about non-integer usage of Poisson.

  2. josef-pkt commented on Oct 25, 2013

    @josef-pkt
    Member

    Similar, I tried out discrete.Logit for Logistic regression on continuous variable in [0,1] and it looked fine.

  3. jseabold commented on Oct 25, 2013

    @jseabold
    MemberAuthor

    I think for Logit this is called "fractional logit." I've only seen it in terms of GLMs. Ie., glm with binomial family and logit link and robust standard errors. Cf. Papke and Wooldridge (1996). I haven't checked to see if we "do the right thing" here in the GLM or Logit implementations.

    There are a few other models in stata like beta distribution and dirichlet distribution fit.

  4. josef-pkt commented on Mar 25, 2014

    @josef-pkt
    Member

    playing with Poisson for continuous variables, I don't see a problem so far.

    I bumped now also into Santos Silva and Tenreyro 2006 and related

  5. jseabold commented on Mar 25, 2014

    @jseabold
    MemberAuthor

    Yes, it should be fine. There's just the warning. Close this or catch the warning?

  6. josef-pkt commented on Mar 26, 2014

    @josef-pkt
    Member

    I haven't done much besides estimation and trying to see how to get standard errors. I didn't see a warning yet for this (or I ignored it without paying attention).

    I think we leave the issue open until we figured out what we need for continuous Poisson. I think there is no other open issue for it.

    (BTW: one of my GMM example handles this case also with robust standard errors.)

  7. changed the title [-]Poisson truncates to integer for non-integer endog[/-] [+]ENH: Poisson for continuous regression[/+] on Jan 7, 2015
  8. josef-pkt commented on Feb 3, 2017

    @josef-pkt
    Member

    I'm closing #2712 contains more related information and links to issues
    This works without problems, we also have the sandwich robust cov_types for it.

    Documentation, examples, FAQ are still spread out or missing.

    I'm not sure we have the references collected somewhere, there are many articles on Poisson for continuous non-negative response and Logit for fractional response.

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions