Results: birdlung.sas

Logistic Regression on Bird Lung Data

The FREQ Procedure

The FREQ Procedure

Table cancer

One-Way Frequencies

cancer Frequency Percent Cumulative
Frequency
Cumulative
Percent
No 98 66.67 98 66.67
Yes 49 33.33 147 100.00

Table sex

One-Way Frequencies

sex Frequency Percent Cumulative
Frequency
Cumulative
Percent
Male 111 75.51 111 75.51
Female 36 24.49 147 100.00

Table ses

One-Way Frequencies

ses Frequency Percent Cumulative
Frequency
Cumulative
Percent
Low 102 69.39 102 69.39
High 45 30.61 147 100.00

Table birdkeep

One-Way Frequencies

birdkeep Frequency Percent Cumulative
Frequency
Cumulative
Percent
No 80 54.42 80 54.42
Yes 67 45.58 147 100.00

Table cigday

One-Way Frequencies

cigday Frequency Percent Cumulative
Frequency
Cumulative
Percent
0 17 11.56 17 11.56
1 2 1.36 19 12.93
2 2 1.36 21 14.29
3 1 0.68 22 14.97
4 2 1.36 24 16.33
5 2 1.36 26 17.69
6 3 2.04 29 19.73
8 2 1.36 31 21.09
10 15 10.20 46 31.29
12 5 3.40 51 34.69
15 27 18.37 78 53.06
16 1 0.68 79 53.74
18 2 1.36 81 55.10
20 38 25.85 119 80.95
25 15 10.20 134 91.16
30 7 4.76 141 95.92
37 1 0.68 142 96.60
40 4 2.72 146 99.32
45 1 0.68 147 100.00

Logistic Regression on Bird Lung Data

The MEANS Procedure

The MEANS Procedure

Summary statistics

Variable N Mean Std Dev Minimum Maximum
age
yrsmoke
cigday
147
147
147
56.9659864
27.8503401
15.7482993
7.3488560
13.9756901
9.7037230
37.0000000
0
0
67.0000000
50.0000000
45.0000000

Logistic Regression on Bird Lung Data

The LOGISTIC Procedure

The LOGISTIC Procedure

Model Information

Model Information
Data Set WORK.TWEET
Response Variable cancer
Number of Response Levels 2
Model binary logit
Optimization Technique Fisher's scoring

Observations Summary

Number of Observations Read 147
Number of Observations Used 147

Response Profile

Response Profile
Ordered
Value
cancer Total
Frequency
1 Yes 49
2 No 98

Probability modeled is cancer='Yes'.

Convergence Status

Model Convergence Status
Convergence criterion (GCONV=1E-8) satisfied.

Fit Statistics

Model Fit Statistics
Criterion Intercept Only Intercept and Covariates
AIC 189.135 168.198
SC 192.126 189.131
-2 Log L 187.135 154.198

Global Tests

Testing Global Null Hypothesis: BETA=0
Test Chi-Square DF Pr > ChiSq
Likelihood Ratio 32.9367 6 <.0001
Score 27.9620 6 <.0001
Wald 22.5697 6 0.0010

Parameter Estimates

Analysis of Maximum Likelihood Estimates
Parameter DF Estimate Standard
Error
Wald
Chi-Square
Pr > ChiSq
Intercept 1 -1.9375 1.8042 1.1531 0.2829
sex 1 0.5613 0.5312 1.1166 0.2907
ses 1 0.1054 0.4688 0.0506 0.8221
birdkeep 1 1.3626 0.4113 10.9766 0.0009
age 1 -0.0398 0.0355 1.2552 0.2626
yrsmoke 1 0.0729 0.0265 7.5677 0.0059
cigday 1 0.0260 0.0255 1.0390 0.3081

Odds Ratios

Odds Ratio Estimates
Effect Point Estimate 95% Wald
Confidence Limits
sex 1.753 0.619 4.964
ses 1.111 0.443 2.785
birdkeep 3.906 1.745 8.747
age 0.961 0.896 1.030
yrsmoke 1.076 1.021 1.133
cigday 1.026 0.976 1.079

Association Statistics

Association of Predicted Probabilities and Observed Responses
Percent Concordant 77.4 Somers' D 0.549
Percent Discordant 22.5 Gamma 0.550
Percent Tied 0.0 Tau-a 0.246
Pairs 4802 c 0.775

Test Statement Results

Linear Hypotheses Testing Results
Label Wald
Chi-Square
DF Pr > ChiSq
smoke 11.9058 2 0.0026