Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Counting duplicates and assigning unique values


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Counting duplicates and assigning unique values
Date   Fri, 21 Sep 2007 21:35:29 +0100

Perhaps I am missing some clue, but I am in a total
fog here about what you are trying to plot and how. 

Nick 
[email protected] 

[email protected]
 
> I would like to count and plot the number of patients 
> addmitted to each
> hospital, sorted by volume group.  Patients (variable name 
> key, n=31818
> observations) are assigned a numbered ID ranging from 20000-40000. 
> Hospitals (variable name hospid, n=2000) are also assigned a 
> numbered ID
> ranging from 2000-5000.  Each hospid likely has many key observations
> associated with it.  But when I plot it the program plots it 
> based on the
> numbered ID, instead of a unique values ie. 1-2000.  Any 
> thoughts on what
> commands to use and how to plot this?

*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index