Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supporting offset in poisson #695

Open
apoorvalal opened this issue Nov 4, 2024 · 1 comment
Open

supporting offset in poisson #695

apoorvalal opened this issue Nov 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@apoorvalal
Copy link
Member

this gives the gist; having an offset argument would involve constraining the coefficient to 1 and being able to model rates (in contrast to the regular use to model counts). Statsmodels supports it under an exposure arg.

more bg

@s3alfisc
Copy link
Member

s3alfisc commented Nov 4, 2024

Yes, nice one. Have never used an offset before in my life, so hadn't bothered with this yet 😀 looks like it might not be too hard to add! fixest::feglm() has an "offset" argument, so we should maybe stick with that instead of statsmodels kwarg solution?

@s3alfisc s3alfisc added the enhancement New feature or request label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants