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
Related Posts with Mediation Analysis with Binary Outcome: Adding Survey Weights
Loop with missing valuesDear all, I want to estimate betas of the Fama French Model for every year. I have got weekly retur…
variable renaming with valuesHello, I have a series of variable names PID3, PID4, PID5...PIDn that I want to rename PID1, PID2, …
Moderated Mediation using Model 15 from HayesDear all, I am trying to do a moderated mediation analysis using Model 15 of Hayes SPSS Process. I …
Issues with switching date as a string variable in order to convert my data into a time series data Code: gen time=date(date, "qy") variable name: date storage type: str7 display format: %9s Code…
Import delimited not importing all observationsMy colleagues and I are having issues importing a number of pipe (“|”) delimited .txt files of 5-10G…
Subscribe to:
Post Comments (Atom)
0 Response to Mediation Analysis with Binary Outcome: Adding Survey Weights
Post a Comment