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
different 'Beta' values in the same Effect coding in regressionI have entered a categorial variable (country) to a regression and I coded their values in Effect co…
Reshaping multiple variables at onceHi All, I have data that resembles the following: Code: * Example generated by -dataex-. To insta…
Multiple imputation when there is a certain group that did not answer a certain questionHello Statalist, I have a general question about multiple imputations method in Stata. There are mu…
Collapse by what?Hi everyone, I have the following database which I describe quickly. Basically it is a escalation o…
Finding the values behind encodeHi All, I am working with two rounds of survey data, that interviews individuals across different s…
Subscribe to:
Post Comments (Atom)
0 Response to Twoway contour for significant average marginal effects
Post a Comment