pyprocessmacro
pyprocessmacro copied to clipboard
negative binomial regression
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~
idk the last update was 3 years ago
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.