01.06.2013 Views

Statistical Methods in Medical Research 4ed

Statistical Methods in Medical Research 4ed

Statistical Methods in Medical Research 4ed

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.

where<br />

and<br />

b 0 0<br />

Y ˆ b 0 0 ‡ b0 1 x 1 ‡ b0 2 x 2 ‡ ...‡ b0 pxp,<br />

b 0 j ˆ bj<br />

ˆ 1<br />

2 ‰b0 1 …xA1 ‡ xB1†‡...‡ b 0 p …xAp ‡ xBp†Š ‡ ln…nA=nB†: …14:8†<br />

In Example 13.2, us<strong>in</strong>g the discrim<strong>in</strong>ant function coefficients b1 and b2 given<br />

there, we f<strong>in</strong>d<br />

b 0 0<br />

b 0 1<br />

b 0 2<br />

ˆ 4 135,<br />

ˆ 0 6541,<br />

ˆ 0 3978,<br />

14.2 Logistic regression 493<br />

which lead to values of Y not differ<strong>in</strong>g greatly from those obta<strong>in</strong>ed from (14.7),<br />

except for extreme values of x1 and x2.<br />

An example of the use of the l<strong>in</strong>ear discrim<strong>in</strong>ant function to predict the<br />

probability of coronary heart disease is given by Truett et al. (1967). The po<strong>in</strong>t<br />

should be emphasized that, <strong>in</strong> situations <strong>in</strong> which the distributions of xs are far<br />

from multivariate normal, this method may be unreliable, and the maximum<br />

likelihood solution will be preferable.<br />

To test the adequacy of the logistic regression model (14.6), after fitt<strong>in</strong>g by<br />

maximum likelihood, an approximate x 2 test statistic is given by the deviance.<br />

This was the approach <strong>in</strong> Example 14.1, where the deviance after fitt<strong>in</strong>g the four<br />

ma<strong>in</strong> effects was 13 59 with 11 DF (s<strong>in</strong>ce four ma<strong>in</strong> effects and a constant term<br />

had been estimated from 16 groups). The fit is clearly adequate, suggest<strong>in</strong>g that<br />

there is no need to postulate <strong>in</strong>teractions, although, as was done <strong>in</strong> the example,<br />

a further ref<strong>in</strong>ement to test<strong>in</strong>g the goodness of fit is to try <strong>in</strong>teractions, s<strong>in</strong>ce a<br />

s<strong>in</strong>gle effect with 1 DF could be undetected when tested with other effects<br />

contribut<strong>in</strong>g 10 DF.<br />

In general terms, the adequacy of the model can be assessed by <strong>in</strong>clud<strong>in</strong>g<br />

terms such as x 2 i , to test for l<strong>in</strong>earity <strong>in</strong> xi, and xixj, to test for an <strong>in</strong>teraction<br />

between xi and xj.<br />

The approximation to the distribution of the deviance by x 2 is unreliable for<br />

sparse dataÐthat is, if a high proportion of the observed counts are small. The<br />

extreme case of sparse data is where all values of n are 1. Differences between<br />

deviances can still be used to test for the <strong>in</strong>clusion of extra terms <strong>in</strong> the model.<br />

For sparse data, tests based on the differences <strong>in</strong> deviances are superior to the<br />

correspond<strong>in</strong>g Wald test (Hauck & Donner, 1977). Goodness-of-fit tests should<br />

be carried out after form<strong>in</strong>g groups of <strong>in</strong>dividuals with the same covariate<br />

patterns. Even for a case of <strong>in</strong>dividual data, it may be that the f<strong>in</strong>al model results

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

Saved successfully!

Ooh no, something went wrong!