Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: test for trend from table data?


From   Ricardo Ovaldia <[email protected]>
To   [email protected]
Subject   Re: st: test for trend from table data?
Date   Mon, 16 Jun 2003 06:34:50 -0700 (PDT)

--- "Copeland, Laurel" <[email protected]>
wrote:
> A pharmacist asked me if I could do a test for trend
> over time from this
> table:
> 
> Year	Pharm	Clin
> 1997	400	44
> 1998	221	54
> 1999	187	69
> 2000	123	63
> 2001	74	42
> 2002	145	149
> 
> The table represents the number of reports of
> adverse events made by
> pharmacists (Pharm) and by clinicians (Clin),
> respectively.  

You can do a linear test for trend by fitting a linear
regression model with -regress-. I think that to
compare year-to-year,however, you need denominators
for each year. In other words, for 2001 74 adverse
outcomes out of 75 patients is very different than 75
out of 1000 patients. If you can get denominator data,
then you may want to use -tabodds-.

Best,
Ricardo.


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
*
*   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