17.01.2015 Views

LibraryPirate

LibraryPirate

LibraryPirate

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

11.4 LOGISTIC REGRESSION 571<br />

Standard<br />

Wald<br />

Parameter DF Estimate Error Chi-Square Pr > ChiSq<br />

Intercept 1 1.8744 0.9809 3.6518 0.0560<br />

age 1 0.0379 0.0146 6.7083 0.0096<br />

FIGURE 11.4.2<br />

Table 11.4.3.<br />

Partial SAS ® printout of the logistic regression analysis of the data in<br />

documentation for further details.) A partial printout of the analysis is shown<br />

in Figure 11.4.2.<br />

The slope of our regression is -.0379, and the intercept is 1.8744. The<br />

regression equation, then, is<br />

yN i = 1.8744 - .0379x i<br />

where yN i = ln3pN i >11 - pN i 24 and pN i is the predicted probability of attending<br />

cardiac rehabilitation for a woman aged x i .<br />

Test of H 0 that B 1 0<br />

We reach a conclusion about the adequacy of the logistic model by testing the null<br />

hypothesis that the slope of the regression line is zero. The test statistic is z = bN 1>sb<br />

N 1<br />

where z is the standard normal statistic, bN<br />

1 is the sample slope 1-.03792, and s b N 1<br />

is its<br />

standard error (.0146) as shown in Figure 11.4.2. From these numbers we compute<br />

z = -.0379>.0146 = -2.5959, which has an associated two-sided p value of .0094. We<br />

conclude, therefore, that the logistic model is adequate. The square of z is chi-square with<br />

1 degree of freedom, a statistic that is shown in Figure 11.4.2.<br />

Using the Logistic Regression to Estimate p<br />

We may use Equation 11.4.5 and the results of our analysis to estimate p, the probability<br />

that a woman of a given age (within the range of ages represented by the data) will<br />

attend a cardiac rehabilitation program. Suppose, for example, that we wish to estimate<br />

the probability that a woman who is 50 years of age will participate in a rehabilitation<br />

program. Substituting 50 and the results shown in Figure 11.4.2 into Equation 11.4.5<br />

gives<br />

pN =<br />

exp31.8744 - 1.0379215024<br />

1 + exp31.8744 - 1.0379215024 = .49485<br />

SAS ® calculates the estimated probabilities for the given values of X. We can see the<br />

estimated probabilities of attending cardiac rehabilitation programs for the age range<br />

of the subjects enrolled in the study in Figure 11.4.3. Since the slope was negative,<br />

we see a decreasing probability of attending a cardiac rehabilitation program for older<br />

women.

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

Saved successfully!

Ooh no, something went wrong!