causal-curve icon indicating copy to clipboard operation
causal-curve copied to clipboard

Distribution for Count Data

Open athammad opened this issue 2 years ago • 1 comments

Hi, Currently, the library allows modelling the GPS only assuming a Normal, Lognormal or Gamma distributed Treatment. Is it possible to include the Poisson and Negative-binomial distribution for Count Data?

Thank you

athammad avatar Jun 07 '22 04:06 athammad

Hi @athammad , it should be possible! The GPS is just a conditional prob density function of the exposure given a set of covariates, and it shouldn't matter if you arrive at that through a normal, lognormal, gamma, or any other type of model.

If you're up for it, it would be great to get your help with it. You could fork the repo, create a branch on your forked repo, and then open a pull request. I'll review it and work with you.

ronikobrosly avatar Jun 08 '22 03:06 ronikobrosly