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
Commands to summarize a dataset (i.e., alternatives to codebook, describe, and sum, or ones that combine several of these outputs)Hi, I once saw either a Stata conference presentation or a Stata Journal article that had a series o…
How to create a new variable based on household compositionHello, For my research, I have a demographic survey with different households and different observa…
Issues on replicating contrasts with margins commandHi all, I've read the manual and Richard's guide about margins command, but could not understand so…
Industry dummy is omitted in probit regressionDear members, This is an example from my data. I have firms and some information about them. The la…
Model with Independent lagged variables: FE, RE or POLS?Dear all, i am running a regression using panel data and looking at the effect of company financial…
Subscribe to:
Post Comments (Atom)
0 Response to Plotting marginal effects of interactions (containing factor variables) with the grinter command
Post a Comment