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
Print excel after calculating Shannon entropyDear Statalists, I have a problem since I am calculating the Shannon entropy for a very huge number …
LATE Difference-in-DifferencesHi all, I'm trying to estimate a generalized DID (two periods three groups)'s local average treatme…
reshape wide to longDear All, How can I reshpae the following wide data into long data format? Thanks. Code: * Example …
Creation of panel of 16 months by linking monthly samples from CPSMy main purpose is to see how a person changes job and how it affects the wage in few selective stat…
Merging datasets with same variable but different values for the variableHi. I wanted to understand the finer working of the -merge- command and it isn't clear to me from re…
Subscribe to:
Post Comments (Atom)
0 Response to Plotting marginal effects of interactions (containing factor variables) with the grinter command
Post a Comment