Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Is it possible to produce time-series stacked bar-charts?


From   "Simon Cottrell (Public Health Wales - Health Protection)" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Is it possible to produce time-series stacked bar-charts?
Date   Mon, 22 Jul 2013 16:16:37 +0100

Hi,

Could anyone point me in the right direction for tips on plotting outbreak/ epidemic charts in Stata? 
I need to represent the distribution in time of numbers of cases of illness due to four different genotypes of an organism, as a stacked bar using onset-date as the x-axis. The time-series bar-chart option doesn't let me stack the numbers of cases due to each different genotype. I have also tried using the 'Stack bars on y variables' option in the bar graph menu, but am struggling with achieving a good format for an onset-date categorical axis using this chart. 
I saw an earlier post on a similar subject which recommended summing variables to achieve the same effect with an overlay time-series bar chart, but I don't think this would be an option with my data (because for a number of onset dates there is only 1 genotype variable present). 

Any advice appreciated.

Simon.

S Cottrell
Epidemiologist, Public Health Wales Vaccine Preventable Disease Programme
[email protected]   




*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index