pyprocessmacro icon indicating copy to clipboard operation
pyprocessmacro copied to clipboard

negative binomial regression

Open JJery-web opened this issue 2 years ago • 2 comments

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~

JJery-web avatar Nov 04 '23 05:11 JJery-web

idk the last update was 3 years ago

CrasCris avatar Jun 05 '24 21:06 CrasCris

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.

QuentinAndre avatar Jun 06 '24 03:06 QuentinAndre