I am currently working on a multilevel model, which shows the relationship between education and prejudice, interacted by regimescore.
mixed socialdistance c.Education##c.regimescore unemployment GDP Migration5y GINI ||Nations:, covariance(independent) reml
Now i want to show the marginal effects of education on prejudice at different levels of regimescore, and report the marginal effects graphically.
However, i get that when you make the margins command, it only computes the effects of an increase in the independent variable, from 0 to 1 across different levels of the moderator. What i want to do is show the marginals effects of going from 0 to the maximum value on my independent variabel (Education).
Is that possible? So far i have used:
margins, dydx(Eduref) at(DemSc=(1/7)) vsquish
marginsplot
Related Posts with Margins for maximum value of independent variable.
Goodness of fit indices unavailable when using SEM with vce(robust), what's the reason?Hello All, I was able to find several posts asking why we can't get goodness of fit indices (RMSEA,…
Calculating month between two datesDear All, May data set contains a variable named month1 for the first month and year1 for the first …
Minimum distance function / Stochastic Frontier AnalysisHi there: Does anyone know how to estimate a minimum distance function in Stata? I have the paramete…
Stata module tstfHello, Do folks have experience using the Stata module tstf to compute intervention time-series mod…
xtpoisson with fixed effectsHello all, I have a panel dataset of 3 million observations, with each observation detailing the an…
Subscribe to:
Post Comments (Atom)
0 Response to Margins for maximum value of independent variable.
Post a Comment