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
Pooled Regression with time variableHi All, I have annual data, and I want to run a pooled OLS regression and include a time variable a…
Reading fixed-format text files into STATAHi everyone, I want to read multiple fixed format-text files for multiple years into Stata. I have …
Generating missing observations with the next available observationHello, here is a small part of my dataset. The full dataset is about 50million observations: You ca…
Heckman selection model instrument validityHello I have a question about instrument validity in Heckman's selection model. For this purpose, I …
Putdocx decimal issueHello all: I wanted to get the median, and IQR numbers to show only 1 decimal but I am seeing 10. Al…
Subscribe to:
Post Comments (Atom)
0 Response to Mediation Analysis with Binary Outcome: Adding Survey Weights
Post a Comment