PDA

View Full Version : Help!!!



robo_2
02-17-2010, 06:43 AM
Hi, would be very grateful if somebody could please help me!
I need to plot the incidence of a disease in stata and have no idea how to!!!

i have two columns = Disease and Month

i have 0 and 1 in the disease column

i need stata to calulate the number of diseased individuals per month by the total number of people in that month and then plot those numbers against month

please help somebody!!! i am very new to stata!

terzi
02-20-2010, 10:30 PM
Hi robo_2,

If I understood correctly, you can use the command catplot to do that graph. catplot is not within the basic stata commands, you will have to download it with the following line:

ssc install catplot

Some information of this download can be found here:


http://www.stata.com/statalist/archive/2003-02/msg00608.html

After installation just type help catplot in order to read the command's help file.