Date: Fri, 27 Nov 1998 00:49:18 -0600
Reply-To: "Nichols, David" <nichols@SPSS.COM>
Sender: "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU>
From: "Nichols, David" <nichols@SPSS.COM>
Subject: Re: Mantel-Haenszel and test for trend
For the Mantel-Haenszel, use the mh.sps macro available from
http://www.spss.com/tech/macros. Mantel-Haenszel and Cochran-Mantel-Haenszel
tests will be added to CROSSTABS for Release 9.0.
The linear by linear association chi^2 statistic in CROSSTABS is one version
of a trend test. A logistic regression is another option. SPSS doesn't offer
specifically the Cochran-Armitage trend test, which is based on a linear
probability model rather than a linear logistic model, but running a linear
regression will produce a p-value that's reasonably close to what you'd get
if you went to the trouble of calculating that statistic.
David Nichols
Principal Support Statistician and
Manager of Statistical Support
SPSS Inc.
> -----Original Message-----
> From: Robert Hawkins [SMTP:robert.hawkins@utoronto.ca]
> Sent: Tuesday, November 24, 1998 5:14 PM
> To: SPSSX-L@UGA.CC.UGA.EDU
> Subject: Mantel-Haenszel and test for trend
>
> Two brief questions:
>
> (1) How do you perform a Mantel-Haenszel test using SPSS version
> 8?
>
> (2) How do you perform a "test for trend" using SPSS when the
> dependent variable is dichotomous (e.g., disease present or not)
> and the independent variable has 4 values (e.g., 4 age groups)?
>
> Thank you,
> Robert Hawkins
> Faculty of Dentistry
> University of Toronto
|