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
Binary Variable GraphHi All; I need help about binaries. I reviewed the topics but i couldn't find solution. I have five…
Refering to factor variables post estimationDear All, I want to use lincom to estimate total effect after running a regression of the form: C…
Creating panel data from cross sectional dataHi everyone, I am trying to create a panel dataset starting from cross-sectional data. Code: * Ex…
Find out what variables in .dta file are used in .do fileI am reviewing an old project by someone who is no longer reachable. I have her .dta file with inpu…
Statistical powerI want to run a linear regression I have a 94 observations with 11 independent variables. I have the…
Subscribe to:
Post Comments (Atom)
0 Response to Mediation Analysis with Binary Outcome: Adding Survey Weights
Post a Comment