Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Chi-square test for linear trend with summary data


From   Richard Herrell <rherre2@uic.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Chi-square test for linear trend with summary data
Date   Wed, 9 Oct 2002 08:49:17 -0500 (CDT)

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:   richard.herrell@nih.gov
 




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
> n.j.cox@durham.ac.uk 
> *
> *   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/



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