Depress Example 1 Obs obs age educ income score isdep 1 181 58 3 15 1 0 2 182 59 3 13 33 1 3 183 26 3 9 8 0 4 184 21 3 19 5 0 5 185 83 2 6 7 0 6 186 34 2 7 16 1 7 187 42 3 23 5 0 8 188 42 3 7 16 1 9 189 24 3 13 39 1 10 190 80 2 5 9 0 11 191 18 2 15 8 0 12 192 58 2 9 3 0 13 193 54 3 2 2 0 14 194 47 4 45 1 0 15 195 61 2 4 3 0 16 196 18 2 24 5 0 17 197 51 5 45 4 0 18 198 28 2 9 0 0 19 199 44 3 26 0 0 20 200 50 3 23 8 0 Depress Example 2 The FREQ Procedure Is Patient Depressed? Cumulative Cumulative isdep Frequency Percent Frequency Percent ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ 0 16 80.00 16 80.00 1 4 20.00 20 100.00 Depress Example 3 The LOGISTIC Procedure Model Information Data Set WORK.DEPRESS Response Variable isdep Is Patient Depressed? Number of Response Levels 2 Model binary logit Optimization Technique Fisher's scoring Number of Observations Read 20 Number of Observations Used 20 Response Profile Ordered Total Value isdep Frequency 1 0 16 2 1 4 Probability modeled is isdep=1. Model Convergence Status Convergence criterion (GCONV=1E-8) satisfied. Model Fit Statistics Intercept Intercept and Criterion Only Covariates AIC 22.016 23.861 SC 23.012 27.844 -2 Log L 20.016 15.861 Testing Global Null Hypothesis: BETA=0 Test Chi-Square DF Pr > ChiSq Likelihood Ratio 4.1555 3 0.2452 Score 3.9249 3 0.2697 Wald 3.0926 3 0.3776 Depress Example 4 The LOGISTIC Procedure Analysis of Maximum Likelihood Estimates Standard Wald Parameter DF Estimate Error Chi-Square Pr > ChiSq Intercept 1 -1.5780 3.6236 0.1896 0.6632 age 1 -0.0375 0.0385 0.9533 0.3289 educ 1 1.4567 1.3044 1.2472 0.2641 income 1 -0.1627 0.1018 2.5549 0.1100 Odds Ratio Estimates Point 95% Wald Effect Estimate Confidence Limits age 0.963 0.893 1.039 educ 4.292 0.333 55.332 income 0.850 0.696 1.037 Association of Predicted Probabilities and Observed Responses Percent Concordant 84.4 Somers' D 0.688 Percent Discordant 15.6 Gamma 0.688 Percent Tied 0.0 Tau-a 0.232 Pairs 64 c 0.844 prob output dataset 5 Predicted Probability of Depression Obs age educ income score isdep phat 1 58 3 15 1 0 0.13868 2 59 3 13 33 1 0.17677 3 26 3 9 8 0 0.58698 4 21 3 19 5 0 0.25198 5 83 2 6 7 0 0.05969 6 34 2 7 16 1 0.25348 7 42 3 23 5 0 0.07396 8 42 3 7 16 1 0.51905 9 24 3 13 39 1 0.44415 10 80 2 5 9 0 0.07715 11 18 2 15 8 0 0.14415 12 58 2 9 3 0 0.09057 13 54 3 2 2 0 0.60810 14 47 4 45 1 0 0.00786 15 61 2 4 3 0 0.16719 16 18 2 24 5 0 0.03748 17 51 5 45 4 0 0.02842 18 28 2 9 0 0 0.23499 19 44 3 26 0 0 0.04349 20 50 3 23 8 0 0.05584