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.

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

10.3.1 Sexual Milestone Times<br />

In the sexual milestone times study, the event <strong>of</strong> interest is the time <strong>of</strong><br />

first sexual intercourse and so the survival times are the ages at first sex.<br />

For some women these times are censored since, at the time <strong>of</strong> the study,<br />

they had not experienced intercourse; all that is then known is that the<br />

time <strong>of</strong> first sex is greater than their age at the time <strong>of</strong> the study.<br />

The format <strong>of</strong> the Data View spreadsheet for the times to first sexual<br />

intercourse is very similar to that <strong>of</strong> Table 10.1. The rows <strong>of</strong> the spreadsheet<br />

refer to women and the columns provide information on diagnostic group<br />

(factor diagnos), the women’s age at first sex (agesex) (possibly censored),<br />

the women’s age at the time <strong>of</strong> the study (age), and an event identifier<br />

(sexstat). The latter takes the value “1” when the event <strong>of</strong> interest, here<br />

first sex, has occurred by the time <strong>of</strong> the study (survival time not censored).<br />

Otherwise the value is “0,” indicating censoring so that age and agesex<br />

will have the same value and we know only that age at first sex is greater<br />

than this value.<br />

For this study, the main interest lies in comparing ages at first sex<br />

between the cases and the controls. Before undertaking a formal test, it<br />

might be useful to display the survival times graphically. One possibility<br />

is to display individual survival times and indicate the censoring in the<br />

plot in some way. Such a plot can be created in <strong>SPSS</strong> by constructing a<br />

drop line chart. The necessary instructions are as follows:<br />

Rearrange the spreadsheet rows in ascending order <strong>of</strong> sexstat and<br />

agesex by <strong>using</strong> the commands Data – Sort Cases – Sort by: sexstat (A)<br />

agesex (A) – Sort Order Ascending – OK.<br />

Use the Compute command (see Chapter 1, Display 1.13) to generate<br />

a new variable (labeled start) that contains zero values.<br />

Employ the Split File command to organize all further output by<br />

diagnostic groups (see Chapter 1, Display 1.10).<br />

The commands Graphs – Line… – Drop-line – Values <strong>of</strong> individual cases –<br />

Define open the Define Drop-line: Values <strong>of</strong> Individual Cases dialogue box<br />

where the variables agesex, and start need to be listed under the<br />

Points Represent list and the variable sexstat as the Category Labels<br />

Variable.<br />

The resulting charts are shown in Display 10.1. It is apparent that<br />

almost all censoring occurs among the cases. Although ages at first sex<br />

appear younger in the control group based on the uncensored data, such<br />

comparisons can be misleading when differential censoring is present. It<br />

would help if we could display the distributions <strong>of</strong> the survival times in<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!