Hello,
I am stuck at plotting the marginal effect of the factor variable i.Left_right_placement regarding the following regression:
xi: reg index_EU_support budgetbalance15 membership_length Political_discussions_index i.Gender Age Education i.Left_right_placement i.Community c.budgetbalance15#i.Left_right_placement i.country, vce(robust)
I tried this using the grinter command
grinter budgetbalance15, inter(c.budgetbalance15#i.Left_right_placement) const02(i.Left_right_placement)
but I am having trouble as i.Left_right_placement is coded
1: being politically orientated toward the left-wing,
2: being orientated politically toward the center and
3: being orientated politically toward the right-wing.
The prefix i. is causing trouble. (Regarding my interaction with dummies and continous variables, the grinter command worked perfectly!)
Does anyone have a hint for me how to do this? I am grateful for any advice.
Thank you
Clara
Related Posts with Plotting marginal effects of interactions (containing factor variables) with the grinter command
Interaction variable (using dummy and date variables)Hello everyone, I am trying to create an interaction variable by multiplying a dummy variable (0,1)…
regress help requestedI have a dataset in which all the dependent variables are for the years 2020 & 2021. I have 4 de…
Subgroup analysis using Metan commandDear group, Stata novice here trying to create meta-analysis forest plots using Stata. I am really …
Need help with i.year output in aregHello, Thanks for all the help I've received through this forum. I wanted to understand why I got 2 …
Keep only first part of string up until any number, comma, or before the state nameHi All, I am trying to separate an area name in a dataset so I just have the particular city and no…
Subscribe to:
Post Comments (Atom)
0 Response to Plotting marginal effects of interactions (containing factor variables) with the grinter command
Post a Comment