This is a little vague, and I have high probability
of answering a question different from what you have in mind.
I infer data like this:
id service date
== ======= =====
Arup data analysis 8 Dec
Arup debugging 9 Dec
Bill debugging 1 Dec
Bill debugging 8 Dec
Bill graphics 25 Dec
How many distinct people wanted each service?
egen tag = tag(id service)
egen people = total(tag), by(service)
etc.
There is a paper coming out on counting groups, especially panels, in
Stata Journal 7(4) 2007.
Nick
[email protected]
Mr. Arup Kumar Das wrote:
> 2. Repeated count: If the clients visits the center for same services
more
> than one times during a reporting period (month, quarter etc). How can
I can
> I calculate
> a. number of individuals visited for same services &
> b. number of visits for the same service.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/