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/