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

negative binomial regression #25

Open
JJery-web opened this issue Nov 4, 2023 · 2 comments
Open

negative binomial regression #25

JJery-web opened this issue Nov 4, 2023 · 2 comments

Comments

@JJery-web
Copy link

I use model4, where x to mediator m is an ols regression, and x, m to y is a negative binomial regression. How can I modify the code?

I really hope to receive a reply! Thank~

@CrasCris
Copy link

CrasCris commented Jun 5, 2024

idk the last update was 3 years ago

@QuentinAndre
Copy link
Owner

Sorry, I missed your question. You can try to modify the code yourself, but the fix is far from straightforward... and most importantly there is no guarantee that the model can be interpreted in any meaningful way, given that it would imply multiplying linear coefficients with non-linear coefficients.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants