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
What is the required sample size to use Panel VAR in Stata? Dear researchers, please I would like to ask this question: I have a yearly dataset covering 35 cou…
Obtain very different results using -xtreg- and -margins- / can I store the results from -margins- in a tableWhen I run the interaction between a dummy (0/1) variable (at3) and a categorical variable (vtype), …
Repeatedly obtain values after a certain condition holds and ignore observations inbetweenHi all! I would really appreciate your help with the following: I have obtained buy signals from st…
Calibration plot for logistic regression modelsI want to perform a calibration plot for several logistic regression models like this. But I did not…
Problem with MergingHi, I am trying two merge two datasets using the key ID (Neighborhood_Code). However, Im getting th…
Subscribe to:
Post Comments (Atom)
0 Response to Mediation Analysis with Binary Outcome: Adding Survey Weights
Post a Comment