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
Using estpost and esttab for mutli-level data summary statisticsHello, I want to complete summary statistics for my multilevel data - countries (level 2) households…
Painel dataHi I'm with a doubt when I do a painel data. The estimations of my B's in re and fe aren't differen…
ologit or melogit or just regress?I have a continuous variable 90-day death rate at the hospital level. In the database, there are 100…
summarizing multiple variables for each observation -- ties broken randomlyI have 16 variables, each is continuous with values ranging from 0 to 10. I want to reduce it to a s…
Can I control for covariates with a pca analysis?I am performing a principle component analysis with the between subject variable of fall status (non…
Subscribe to:
Post Comments (Atom)
0 Response to Plotting marginal effects of interactions (containing factor variables) with the grinter command
Post a Comment