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
Putexcel, Save Multiple Tables into One ExcelHello everyone, I am a beginner in Stata and encountered a problem while using putexcel. I ran: bys…
How to draw Chinese map in stata?Dear statalisits, I recently puzzeled by using stata to draw Chinese map. "How to draw Chinese map i…
generating a count using stratified dataI am working with a stratified dataset involving clinic data, specifically, patient characteristics …
multiple regression when significant difference between groups within 1 regression?Hi there, I am studying the effect of becoming a parent on the earnings of fathers versus mothers. …
Merging two panel datasetI am facing problem to merge the individual data set e.g Dataset 1: prepaid data for location 1 has…
Subscribe to:
Post Comments (Atom)
0 Response to Visualizing an interaction term
Post a Comment