27.03.2013 Views

Brian S. Everitt A Handbook of Statistical Analyses using SPSS

Brian S. Everitt A Handbook of Statistical Analyses using SPSS

Brian S. Everitt A Handbook of Statistical Analyses using SPSS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

(2) Odds ratio<br />

The odds <strong>of</strong> Variable 2 falling into category “1” when Variable<br />

a<br />

1 takes category “1” is estimated by o1 =<br />

b<br />

Similarly, the odds <strong>of</strong> Variable 2 falling into category “1” when<br />

c<br />

Variable 1 takes category “2” is estimated by o2 =<br />

d<br />

The odds ratio (OR) <strong>of</strong> Variable 2 falling into category “1”<br />

comparing Variable 1 category “1” with category “2” is estimated<br />

ab<br />

by OR =<br />

cd<br />

The odds ratio <strong>of</strong> a disease comparing individuals exposed to<br />

a risk factor with nonexposed individuals can be estimated<br />

from both prospective and retrospective studies. (Again, see<br />

Dunn and <strong>Everitt</strong>, 1993.)<br />

When the disease is rare (say, less than 5% <strong>of</strong> the population<br />

are affected), the population RR can be approximated by the<br />

OR (Dunn and <strong>Everitt</strong>, 1993).<br />

3.3 Analysis Using <strong>SPSS</strong><br />

It is common in many areas <strong>of</strong> research for continuous variables to be<br />

converted to categorical variables by grouping them, prior to analysis,<br />

into two or more categories, although it is well known that this is not<br />

always a wise procedure (see Altman, 1998). In the next two sections we<br />

use continuous variables from the data sets introduced in the previous<br />

chapter to illustrate how continuous variables can be categorized in <strong>SPSS</strong><br />

and how, once categorical outcomes are available, these can be easily<br />

summarized <strong>using</strong> cross-tabulations.<br />

3.3.1 Husbands and Wives Revisited<br />

A fairly broad categorization <strong>of</strong> the ages at marriage (Table 2.2) is given<br />

by the three categories “Early marriage” (before the age <strong>of</strong> 30 years),<br />

“Marriage in middle age” (at an age between 30 and 49 years inclusive),<br />

and “Late marriage” (at the age <strong>of</strong> 50 or later). The Recode command in<br />

<strong>SPSS</strong> is useful for creating such a grouping. To categorize both age<br />

variables, we can use the following steps:<br />

© 2004 by Chapman & Hall/CRC Press LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!