Hello everyone,
I have a panel of 68 countries that are observed from 1989-2012. I am trying to make a graphical illustration of my variables of interest "market capitalization, turnover ratio and value traded". I have put these variables separately in an excel file (+ the years). I am typing the following 4 commands however, I am not obtaining the graph that I excepted to see (attached file). Maybe the reason is that sometimes these variables are not observed in some years. Nevertheless, i do not know how to overcome this problem. Any help would be highly appreciated.
egen TRatio=mean( Tratio ), by(year)
egen VTraded=mean( Vtraded ), by(year)
egen MCap=mean( Mcap ), by(year)
twoway (line Tratio year , sort)(line VTraded year, sort ) (line VTraded year, sort clpattern(dash)), ytitle("Finance/GDP") xtitle("Year") title("Mean")
Related Posts with Twoway Graph in Stata
Graph sizing and ylabel(...) specificationColleagues: I'm stumped on how/why my graph is resized in what strikes me as a counterintuitive way…
System GMM - TestsDear Stata Users, I am attempting to apply GMM (xtabond2) to treat endogeneity and reverse causali…
Create panel dataHi, I have some troubles with this data set to transform it into standard panel form with observatio…
Not nested Panel dataI am using an unbalanced firm-level panel data. I am regressing the market share of the firms on a s…
Trying to get same results from Book: Logistic Regression Models. Hilbe J, 2009.Hi all, I am I am trying to replicate some results from book: Logistic Regression Models. Hilbe J, …
Subscribe to:
Post Comments (Atom)
0 Response to Twoway Graph in Stata
Post a Comment