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
Selecting a subset of a large datasetI'm attempting to utilize HSLS:09 data in Stata. However, the entire dataset is too large for my ver…
count the number of distinct observations across variablesHello Stata folks, I am working on a dataset that each school ID has 7 years of data capturing princ…
GraphHello, any guidance or where to start if I want to build a graph similar to this one? Thanks …
fracregI am using fracreg logit to model a proportion. My data set is a time series. Do I need to test for …
Rounding, multiple decimals off and LocalsI have been trying to get the round function to feed some locals that I use to create graphs labels,…
Subscribe to:
Post Comments (Atom)
0 Response to Visualizing an interaction term
Post a Comment