Hi,
I run this four-way interaction model in Stata 14:
xtreg Y c.X1##c.X2##c.X3##X4 Controls i.country i.year,r
Then, I type the following:
margins, dydx(X1) at (X2=(0(0.1)1) X3=(0(0.1)1) X4=(0 1)) saving (predictions,replace)
How can I get the "twoway contour" to view the results for only significant average marginal effects of X1 on Y conditional on X2 and X3 when X4 equals 0 and 1 respectively?
Best,
Lütfi
Related Posts with Twoway contour for significant average marginal effects
Not show "Standard errors in parenthesis *p <0.10, **p<0.05, ***p<0.001" below table, while keeping the significance stars with esttabHey everyone, As in the title, I'd like to save my regression results in a table, however, I can't …
Xtabond2 for system GMM. Please help me for codingDear all, I am working with the xtabond2 command in Stata to solve the endogeneity problem of my es…
how to use stcurve for Cox model after multiple imputation?Hello, Statalist! I have a question about the stcurve after a multiple imputation. So, after the f…
Does gen,sum() and egen,total() work differently when combined with bysort?Hi, Please consider the following data: Code: * Example generated by -dataex-. For more info, type…
How to make a graph that shows reliable and clinically significant change in particular variable?Dear Statalisters, I appreciate if anyone can help with how to make a graph showing reliable and cl…
Subscribe to:
Post Comments (Atom)
0 Response to Twoway contour for significant average marginal effects
Post a Comment