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: time series graph showing cumulative frequency
From
Adeel Yousaf <[email protected]>
To
[email protected]
Subject
st: time series graph showing cumulative frequency
Date
Wed, 20 Mar 2013 09:56:17 +0800
Hi Statalist,
Thanks for previous reply regarding summarizing activity duration.
Another problem for me, I want to generate a time series graph showing
cumulative frequency of a given categorical variable across time in
panel dataset. e.g. in table below how many persons at a time engage
in an activity "11" across time (at 4 am, 5 am, 6 am ...and so on)?
id start end activity
100003 4:00 4:30 11
100003 4:30 5:00 12
100003 5:00 5:30 13
100003 5:30 5:45 11
100004 5:45 6:00 12
100004 6:00 6:30 13
100004 6:30 7:00 11
100004 7:00 7:15 12
100005 7:15 7:30 13
100005 7:30 8:00 11
100005 8:00 8:15 16
100005 8:15 8:30 13
100005 8:30 8:45 11
thanks
*
* 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/