genmodm output for herat disease example, Agresti, p. 221 1 15:18 Sunday, July 27, 2008 The GENMOD Procedure Model Information Data Set WORK.HD Distribution Binomial Link Function Logit Response Variable (Events) disease Response Variable (Trials) n Number of Observations Read 8 Number of Observations Used 8 Number of Events 92 Number of Trials 1329 Criteria For Assessing Goodness Of Fit Criterion DF Value Value/DF Deviance 6 5.9092 0.9849 Scaled Deviance 6 5.9092 0.9849 Pearson Chi-Square 6 6.2899 1.0483 Scaled Pearson X2 6 6.2899 1.0483 Log Likelihood -322.3590 Algorithm converged. Analysis Of Parameter Estimates Standard Wald 95% Chi- Parameter DF Estimate Error Confidence Limits Square Pr > ChiSq Intercept 1 -6.0820 0.7243 -7.5017 -4.6624 70.51 <.0001 bp 1 0.0243 0.0048 0.0148 0.0338 25.25 <.0001 Scale 0 1.0000 0.0000 1.0000 1.0000 NOTE: The scale parameter was held fixed. Observation Statistics Observation Resraw Reschi Resdev StResdev StReschi Reslik 1 -2.194866 -0.979434 -1.061683 -1.198648 -1.105788 -1.179257 2 6.3932374 2.0057053 1.8501072 2.1903838 2.3745999 2.2447199 3 -3.072737 -0.813338 -0.841966 -0.978546 -0.945274 -0.970016 4 -2.081617 -0.50673 -0.51623 -0.583485 -0.572747 -0.581169 genmodm output for herat disease example, Agresti, p. 221 2 15:18 Sunday, July 27, 2008 The GENMOD Procedure Observation Statistics Observation Resraw Reschi Resdev StResdev StReschi Reslik 5 0.3836399 0.1175816 0.1170016 0.1254648 0.1260868 0.1255461 6 -0.856987 -0.304247 -0.308775 -0.330927 -0.326074 -0.330303 7 1.791237 0.5134723 0.5049657 0.6411542 0.651955 0.6452766 8 -0.361958 -0.139464 -0.140243 -0.178337 -0.177346 -0.177959 To check the residual and X-square for chi-square test 3 15:18 Sunday, July 27, 2008 Obs bp n disease np x 1 111.5 156 3 5.1737 -0.97189 2 121.5 252 17 10.5600 2.02466 3 131.5 284 12 15.0016 -0.79628 4 141.5 271 16 17.9911 -0.48582 5 151.5 139 12 11.5552 0.13666 6 161.5 85 8 8.8084 -0.28768 7 176.5 99 16 14.1272 0.53814 8 191.5 43 8 8.3130 -0.12086 To check the residual and X-square for chi-square test 4 15:18 Sunday, July 27, 2008 The MEANS Procedure Analysis Variable : x N USS ----------------- 8 6.3195140 ----------------- GLM output with logit tranformation 15:18 Sunday, July 27, 2008 5 The GLM Procedure Number of Observations Read 8 Number of Observations Used 8 GLM output with logit tranformation 15:18 Sunday, July 27, 2008 6 The GLM Procedure Dependent Variable: y Sum of Source DF Squares Mean Square F Value Pr > F Model 1 3.74772022 3.74772022 36.01 0.0010 Error 6 0.62436760 0.10406127 Corrected Total 7 4.37208782 R-Square Coeff Var Root MSE y Mean 0.857192 -12.77972 0.322585 -2.524196 Source DF Type I SS Mean Square F Value Pr > F bp 1 3.74772022 3.74772022 36.01 0.0010 Source DF Type III SS Mean Square F Value Pr > F bp 1 3.74772022 3.74772022 36.01 0.0010 Standard Parameter Estimate Error t Value Pr > |t| Intercept -6.489659819 0.67054748 -9.68 <.0001 bp 0.026725954 0.00445343 6.00 0.0010 GLM output with logit tranformation 15:18 Sunday, July 27, 2008 7 The GLM Procedure Observation Observed Predicted Residual 1 -3.93182563 -3.50971591 -0.42210972 2 -2.62637217 -3.24245637 0.61608420 3 -3.12089542 -2.97519682 -0.14569859 4 -2.76867482 -2.70793728 -0.06073754 5 -2.35928044 -2.44067774 0.08139730 6 -2.26436388 -2.17341820 -0.09094569 7 -1.64625189 -1.77252888 0.12627699 8 -1.47590652 -1.37163957 -0.10426695 Sum of Residuals -0.00000000 Sum of Squared Residuals 0.62436760 Sum of Squared Residuals - Error SS 0.00000000 First Order Autocorrelation -0.60535785 Durbin-Watson D 2.90793218 GLM output with arc sine tranformation 15:18 Sunday, July 27, 2008 8 The GLM Procedure Number of Observations Read 8 Number of Observations Used 8 GLM output with arc sine tranformation 15:18 Sunday, July 27, 2008 9 The GLM Procedure Dependent Variable: z Sum of Source DF Squares Mean Square F Value Pr > F Model 1 0.02101278 0.02101278 51.81 0.0004 Error 6 0.00243330 0.00040555 Corrected Total 7 0.02344608 R-Square Coeff Var Root MSE z Mean 0.896217 22.43052 0.020138 0.089781 Source DF Type I SS Mean Square F Value Pr > F bp 1 0.02101278 0.02101278 51.81 0.0004 Source DF Type III SS Mean Square F Value Pr > F bp 1 0.02101278 0.02101278 51.81 0.0004 Standard Parameter Estimate Error t Value Pr > |t| Intercept -.2071480128 0.04186075 -4.95 0.0026 bp 0.0020012042 0.00027802 7.20 0.0004 GLM output with arc sine tranformation 15:18 Sunday, July 27, 2008 10 The GLM Procedure Observation Observed Predicted Residual 1 0.01923195 0.01598625 0.00324570 2 0.06751159 0.03599830 0.03151329 3 0.04226610 0.05601034 -0.01374423 4 0.05907494 0.07602238 -0.01694744 5 0.08643853 0.09603442 -0.00959589 6 0.09425715 0.11604646 -0.02178931 7 0.16232813 0.14606453 0.01626360 8 0.18713686 0.17608259 0.01105427 Sum of Residuals -0.00000000 Sum of Squared Residuals 0.00243330 Sum of Squared Residuals - Error SS -0.00000000 First Order Autocorrelation 0.04077152 Durbin-Watson D 1.86390898