Hi all,
I used medeff comand to see mediation effects. Because my outcome variable and mediator variable are binary, I used probit model in the medeff as below.
medeff (regress M T X1 X2 X3)(probit Y M T X1 X2 X3), mediate(M) treat(T) vce(cluster X1)
margins, dydx (M T)
*X1, X2 and X3 are control varables.
Then, I got the following result. (edyrtotal=T, and wealthq=M)
Array
How should I interpret this result?
Is my understanding correct that the dy/dx for T (edyrtotal) is direct effect and M (wealthq) is the indirect effect?
Any help on the topic is appreciated!
Thank you in advance.
Regards,
Related Posts with Using margins command after medeff
summary statistics with standard error in parenthesesI want to make a table of summary statistics with standard error in parentheses, as well as the obse…
Merging DatasetsCan I merge two datasets one in long format and one in wide format with each other? Thanks …
How to assign the same value to all members of a group if a condition on a certain variable occures AT LEAST once in the same groupHi Statalist experts, I would need a little help. I'm working with a dataset containing the followi…
Any precise way to convert dialy to monthly: string 1/1/2019 to numeric 20190101?I have daily data in string format as 1/1/ 2019. The string length is different as there as values e…
File Association problem when changing from Stata 15 to 16 on WIndows 10Hello Stata fellows, I just recently tried to upgrade my Stata 15 to Stata 16 (both installed on a …
Subscribe to:
Post Comments (Atom)
0 Response to Using margins command after medeff
Post a Comment