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()
Lineear mixed model/Repeated measure modelHi all, Can we add "timepoint" as a random slope or covariate in Linear mixed model? Here we have 8…
help in generating count variableI am working on World Value Survey dataset. It consists of 5 waves and multiple countries in each wa…
Import multiple CSV filesHi I am trying to import multiple CSV files in a foreach loop. I saved the filenames in the local n…
How to drop the mtitle row in esttab ?In esttab, when I did not specify mtitle, STATA will automatically create a row for title similar to…
Reproducing "estat trendplots" linear-trends modelHello Statalist community, I am doing an analysis using a diff in diff methodology. As I use Stata …
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