Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: staked area graph


From   Marco Ercolani <m.g.ercolani@bham.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: staked area graph
Date   Wed, 19 Jun 2013 10:09:17 +0100

[apologies, I meant: sta"c"ked area graph]

Yes, I wish to illustrate the cumulated population proportions of disability types 
for a sub-population of disabled workers. Years are on the horizontal axis so I wish
to see how these proportions evolve in time.

To abstract from my own specific example; 
The user-written program -proprcspline- does a wonderful job of illustrating these 
proportions and placing labels in appropriate places. Unfortunately, for me, it also
applies cubic spline smoothing. For example:

 net install proprcspline.pkg
 sysuse nlsw88, clear
 proprcspline race industry, xlab(1(1)12)


It seems that I am asking for something much simpler than what -proprcspline- does. 
If I were to generate these graphs myself I would do so by using the -collapse-
command to generate population proportions and would then adapt the commands:
www.survey-design.com.au/Stata Graphs.html in the plot labelled "// Area Plot" .
(I seem unable to achieve this using the user-written program -catplot-)


sincerely,
 Marco.

Dr Marco G. Ercolani
Department of Economics
University of Birmingham
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index