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]

Re: st: How to plot line graphs of monthly counts


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: How to plot line graphs of monthly counts
Date   Sun, 20 May 2012 23:33:34 +0100

Read the help for -egen- for helper functions to calculate totals.

Nick

On Sun, May 20, 2012 at 6:53 PM, Shittu, Aminu <[email protected]> wrote:

> I need your help in plotting this kind of data on line graphs. We collected and identified tick species from animal body regions. We visited various farms ten times per month for 2 years (var month = Jan - Dec, and var year = 2008 & 2009). We have identified 5 different tick species so each exists as a separate var (tick1 - tick5) of counts in the data set. I am trying to plot line graphs showing monthly and annual counts for each of the species but not familiar considering the repetition of entries (ten times) per month. In Excel, I can manually sum up all counts of tick1, for example, by month before transferring to Stata v.10 to plot my line graph, but the manual approach is time-consuming.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index