Dears,
I want to generate linear plots for 18 countries' panel data in one graph.
I use the command xtline but it gives of every country plots separately. when I add overlay, it overlays all together. however, what I need is if I want to see the debt-GDP ratio of some SSA countries, can I see it in a single plot sothat I can say the average debt-GDP ratio of SSA countries is increasing/decreasing and so forth.
May you please drop me the syntax for that. Thanks
* xtline credit_gdp
* xtline credit_gdp, overlay
Related Posts with Graph for panel data that combines and plots average
Codes gets highlighted in yellow when executed in Stata console - Execution impactHi, Array Some part of codes gets highlighted in yellow when executed in Stata console. It seems l…
Caculate proximity between two variablesHi all, I have dataset with patent, patent class, inventor and firm. Example as follows: firm_id yea…
Clustered standard errors with cross-sectional dataI am using census data which I read is typically clustered by neighborhood. Would it be acceptable t…
Longitudinal Poisson count models - xtmepoissonDear all, I am struggling in how to model at its best the following situation: I have different subj…
Global macro with `var'Dear Statalisters, I am trying to use a global macro that contains a reference to a loop (`var'). T…
Subscribe to:
Post Comments (Atom)
0 Response to Graph for panel data that combines and plots average
Post a Comment