Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: chi squared test for trend


From   Neil Shephard <[email protected]>
To   [email protected]
Subject   Re: st: chi squared test for trend
Date   Thu, 23 Jul 2009 09:28:38 +0100

On Thu, Jul 23, 2009 at 9:11 AM, Rune Nielsen<[email protected]> wrote:
> Dear all!
> I've tried searching the archives concerning this without finding it
> explicitly.
>
> I've got two categorical variables, one ordered with three groups, and the
> other as an dichotomous outcome. Can I use the nptrend command to test for
> trend of proportion over the three (ordered) groups?
>

Yes you can.  You may find the Wikipedia article and the references it
cites informative...

http://en.wikipedia.org/wiki/Cochran-Armitage_test_for_trend

Neil
-- 
"The combination of some data and an aching desire for an answer does
not ensure that a reasonable answer can be extracted from a given body
of data." ~ John Tukey (1986), "Sunset salvo". The American
Statistician 40(1).

Email - [email protected]
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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