Hi,
I am using the PARAMED package for my mediation analysis for a count DV.
The code is working, but I think a0(), a1(), and m() parts were not correct because my treatment was a continuous variable, ranging from 0-7, and my mediator was a continuous variable, ranging from 1-6.
Below is my code and I appreciated suggestions on how to set a0(0) a1(7) m(1) this part.
paramed CV, avar(pr) mvar(mh) cvars(trigger2 trigger3 trigger4 trigger5 trigger6 trigger7 trigger8) a0(0) a1(7) m(1)yreg(negbin) mreg(linear) nointer boot seed(1234)
Thanks.
Related Posts with PARAMED code for a continuous treatment and a continuous mediator, how to set a0() a1() and m()
How to get the predicted value of each group?Dear all, I want get the predicted value of each regression of each group? Here is an example. Co…
Code help: Monte Carlo simulationI've attached a small Do file for a Monte Carlo Simulation I am running for an economics class. For …
Dropping observations if entity does not exist in both wavesHi, I am new to Stata and trying to undertake a task for a stat class. I have a dataset containing…
Obtaining main results after jwdidHello, I have just started to use jwdid command, however, I cannot see the effect on main coefficien…
Cluster based on string similarityHey Community, I'm quite new to working with Stata and therefore desperately looking for help! I ha…
Subscribe to:
Post Comments (Atom)
0 Response to PARAMED code for a continuous treatment and a continuous mediator, how to set a0() a1() and m()
Post a Comment