Dear Statalist,
I have just recently started using Stata, so this might be a rookie question.
I have the following regression:
xtreg mean_reg c.lag_attitude##c.lag_salience control1 control2 control3, re r
Now, I am trying to visualize my interaction term. I am trying to get a graph that shows the average marginal effects of lag_attitude on the dependent variable for various values of lag_salience (with 90% or 95% confidence intervals). My expectation is that the effect increases with increasing values of lag_salience. I have tried different things but nothing has done the trick yet. Can someone help?
Thank you in advance,
Fabian
Related Posts with Visualizing an interaction term
User-written KHB command: How do I Interpret Indirect Effects and Determine Significance?Hello everyone, I'm using the user-written KHB command in Stata to conduct mediation analyses using…
help with making automated tables in stataI am working on a project running regression models for 10 dependent variables and I need to do subg…
creating a categorical variable from multiple dummy variablesI want to create a categorical variable called 'climateshock' from ten dummy variables. The each dum…
Psm-ddHi Everyone, I am not sure that this question may or may not asked on this forum. I would like to k…
Replacing missing value with average of selected responsesHello, I am trying to replace a missing value with the average several other responses. I am running…
Subscribe to:
Post Comments (Atom)
0 Response to Visualizing an interaction term
Post a Comment