Dear Stata users,
I am new to Stata and have been trying to run a mediation analysis using gsem because the 'mediate' command does not seem to work with svy.
I was able to run the analysis using svy:gsem (var), but when it comes to obtaining the indirect effect using nlcom as mentioned in the manual (link attached), I received an error message 'svy' not allowed.
https://www.stata.com/manuals/semexample42g.pdf
Could anyone help me with this problem?
Thank you.
I am new to Stata and have been trying to run a mediation analysis using gsem because the 'mediate' command does not seem to work with svy.
I was able to run the analysis using svy:gsem (var), but when it comes to obtaining the indirect effect using nlcom as mentioned in the manual (link attached), I received an error message 'svy' not allowed.
https://www.stata.com/manuals/semexample42g.pdf
Could anyone help me with this problem?
Thank you.
