Solved – Panel data visualization

data visualizationpanel data

Does anyone know how to graph changes in a dependent variable over time, based on changes in several independent variables (i.e., graphs for panel data regressions)?

Best Answer

If you are using Stata you could use "margins" after the regression and then the "marginsplot" command.

So, your command can look like this:

 xtreg y x1 x2 x3... , fe 
 margins, over (x1) at (x2 = (20 30 40 50)) 
 marginsplot
Related Question