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.
Bootstrapping more descriptive of more than one variable in extreme groups of a sample - how to code/program in a smart way?Dear members I am trying hard to code a program that than boostrap descriptives (mean and CV) in eks…
Clustering SEs in Panel IVFE regression eliminates significanceHello, I am studying country structural transformation by regressing log(manufacturing value added …
cleaning the dataset for diff and diff modelHi, I have the following unbalanced data. I want to clean my data to apply simple diff-in-diff model…
Measuring dynamicsHello, I'm doing a relatively simple analysis for a large group of banks for years 2011-2020. In pa…
Getting File Ready For Stata AnalysisGreetings Everyone! Dear All, I have Raw Form of data of more the 400 firms as shown below how can …
Subscribe to:
Post Comments (Atom)
0 Response to Margins for maximum value of independent variable.
Post a Comment