I am using paramed in Stata 15.1 to do mediation with a continuous mediator and a binary outcome. I would like to incorporate survey weights, but when using svy with paramed, I get the following error: paramed is not supported by svy with vce(linearized).
This is my syntax:
svy: paramed Y, avar(A) mvar(M) a0(0) a1(1) m(0) yreg(logistic) mreg(linear) nointer cvars(SEX AGE INCOME)
Is there another way to incorperate survey weights with paramed instead of using svy? Or is there a different package that will do this type of mediation with survey weights?
Any assistance would be greatly appreciated. Thank you!
Dan
0 Response to Mediation Analysis with Binary Outcome: Adding Survey Weights
Post a Comment