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 <>
To   Statalist <>
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 

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 

Joseph Coveney

*   For searches and help try:

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