Dear statisticians,
I want to test whether a variable M plays a mediating role in the effect of X on Y. I know it is quite easy to use medeff command in Stata, but the problem is that the response variable Y is a non-negative one, meaning a count model is more appropriate. Thus, medeff command cannot help.
How can I test the (causal) meditation effect in this situation using Stata? Looking forward to your insightful comments. Thank you in advance!
Related Posts with How can I test the meditation effect for count models (i.e. poisson, negative binomial)
Checking for specific string valuesDear Statlist community, Despite being a very simple question, I did not figure how to perform this…
op. sys. refuses to provide memory - Stata 16Hi, I am getting the following error. Is there a line I can add to prevent it? Thanks. Code: join…
Multilevel variance conf. interval is not estimableHello all, I'm examining the association between race of the defendent (5 groups) and the legal pro…
spatial models and variable interactionsHello to this very precious forum, I would like to ask why spatial panel models (e.g by the command …
Add/substract a certain number of WEEKDAYS from a daily dateHi, I would like to add/substract a certain number of WEEKDAYS from a daily date (rdq). minus 10 an…
Subscribe to:
Post Comments (Atom)
0 Response to How can I test the meditation effect for count models (i.e. poisson, negative binomial)
Post a Comment