You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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.
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.
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.
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.)
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.
Activity
jseabold commentedon Oct 25, 2013
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.
josef-pkt commentedon Oct 25, 2013
Similar, I tried out discrete.Logit for Logistic regression on continuous variable in [0,1] and it looked fine.
jseabold commentedon Oct 25, 2013
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.
josef-pkt commentedon Mar 25, 2014
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
jseabold commentedon Mar 25, 2014
Yes, it should be fine. There's just the warning. Close this or catch the warning?
josef-pkt commentedon Mar 26, 2014
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.)
[-]Poisson truncates to integer for non-integer endog[/-][+]ENH: Poisson for continuous regression[/+]josef-pkt commentedon Feb 3, 2017
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.