Kate wrote:
> I have about 200 measures of creatinine but they are
> from only 25 animals. How do I calculate the mean and
> the median creatinine values in Stata?
Use the -collapse- command, e.g.:
collapse creatinine, by(animal)
and save them inside a different data file.
Alternatively you can use the -egen- command to generate new mean variables.
Ada Ma
[email protected]
*
* 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/