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

Re: st: Cochran-Armitage test for trend


From   Joseph Coveney <[email protected]>
To   Statalist <[email protected]>
Subject   Re: st: Cochran-Armitage test for trend
Date   Sat, 29 Mar 2003 13:00:36 +0900

Mary Vaughan posted, "Can somebody tell me how to calculate a Cochran-Armitage 
test for trend using STATA?  I don't see it referenced anywhere in the manuals."

Yes.  Take a look at the FAQ, "Does Stata provide a test for trend?" on StataCorp's 
website:  http://www.stata.com/support/faqs/stat/trend.html

Quoting from it, "Qdeparture (=`Chi2(1) for departure1 as [Patrick] Royston's [-ptrend- 
command's] output nicely labels it) is the statistic for the Cochran-Armitage test. But 
Qtrend and Qdeparture are usually performed at the same time, so lumping them 
together under the name 'Cochran-Armitage' is sometimes loosely done."

-findit ptrend- will help you download Patrick' command if you don't have it installed 
already.

Joseph Coveney


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