[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Cochran-Armitage test for trend
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
* For searches and help try: