It is also possible to do this with tabodds (see the epitab section),
which will also calculate the odds ratios and give the test for trend
adjusted for other factors.
=============================================
Richard Herrell, Ph.D.
Section on Developmental Genetic Epidemiology
Mood and Anxiety Disorders Program
National Institute of Mental Health
National Institutes of Health
15K North Drive, Rm. 208 (MSC 2670)
Bethesda, MD 20892-2670
Office: 301/496-3459
Fax: 301/402-6100
email: [email protected]
On Wed, 9 Oct 2002, Nick Cox wrote:
> Paul O'Brien
>
> > I am unable to find a simple chi square test for
> > linear trend with summary data.
> > Is it available in Stata?
>
> Enter your summary data using -tabi-.
> Then use e.g. -nptrend- on the variables
> created.
>
> Nick
> [email protected]
> *
> * 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/
>
*
* 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/