how to draw a bar like the picture using the following data,thanks!
clear
input int year double(Junior highschool college)
2001 81 13.5 5.6
2002 81 13.1 6
2003 79.5 13.6 6.8
2004 79.4 13.4 7.2
2005 81.1 12.1 6.8
2006 81.5 11.9 6.6
2007 81.2 12.2 6.6
2008 80.4 12.7 6.9
2009 79.8 12.8 7.4
2010 76.1 13.9 10.1
2011 70.3 16.7 12.9
2012 69.3 17.1 13.7
2013 68.3 17.1 14.5
2014 66.7 17.2 16.1
2015 63.9 17.3 18.9
2016 63.4 17.2 19.4
2017 62.6 18 19.4
2018 61.8 18 20.2
end
[/CODE]
Array
Related Posts with how to draw a bar like the picture
Outreg2: export table with marginal effect, standard error and p-valueI would like to use outreg2 to export result of logistic regression as a .xls file with marginal eff…
Bayesian analysis: how to mirror a chi-squared test under the "bayes:" prefixDear Forum Members, I believe Stata 15 provided a rather handy panoply of commands to perform Bayes…
Defining Pseudo PanelHi All, I am currently using the world bank enterprise survey data for my PhD research. This is fir…
Merging variables into one variable after rehapingHi everyone, this is my first post to Statalist so I kindly request some patience as well as welcome…
Syntax for a mixed-effect repeated measures modelDear Statalisters, I am trying to implement a mixed-effet repeated measures model that was describe…
Subscribe to:
Post Comments (Atom)
0 Response to how to draw a bar like the picture
Post a Comment