This is perhaps a mundane question (compared to some posts), but
important to me nonetheless:
My data looks like this:
ProviderID Hospital
A 1
A 1
A 1
A 1
B 1
B 1
B 2
I would like to create a variable with the number of hospitals that each
provider has worked at. For provider A it would be 1, for provider B it
would be 2.
Any help would be greatly appreciated.
JSM
Jesse Moore, MD
General Surgery Resident
Fletcher Allen Healthcare
University of Vermont
802-847-5097
Confidentiality Notice:
This message, and any attachments, may contain information that is confidential, privileged, and/or protected from disclosure under state and federal laws that deal with the privacy and security of medical information. If you received this message in error or through inappropriate means, please reply to this message to notify the Sender that the message was received by you in error, and then permanently delete this message from all storage media, without forwarding or retaining a copy.
*
* 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/