---------------------------------------------------------------------------------------- log: C:\AAA Miker Files\current class files\methods tabular arrays\class 10_2002 > .log log type: text opened on: 4 Nov 2002, 13:28:13 . use "C:\AAA Miker Files\current class files\methods tabular arrays\HW3 data with resid > uals.dta", clear . * starting with model 8 from homework 3, and attempting to figure out some things abou > t residuals and goodness of fit. . desmat: poisson count year*meth*mgen year*feth*fgen ethintct*year BW MOh ------------------------------------------------------------------------------- poisson ------------------------------------------------------------------------------- Dependent variable count Number of observations: 225 Initial log likelihood: -2252613.647 Log likelihood: -2267.900 LR chi square: 4500691.495 Model degrees of freedom: 73 Pseudo R-squared: 0.999 Prob: 0.000 ------------------------------------------------------------------------------- nr Effect Coeff s.e. ------------------------------------------------------------------------------- count year 1 80 4.768** 0.369 2 90 5.859** 0.370 meth 3 Mex_Am 2.925** 0.227 4 Oth_H 2.805** 0.230 5 Oth_NH 2.270** 0.264 6 Wht_NH 3.630** 0.213 year.meth 7 80.Mex_Am -0.595* 0.232 8 80.Oth_H -0.026 0.235 9 80.Oth_NH -0.368 0.270 10 80.Wht_NH -1.045** 0.221 11 90.Mex_Am -0.784** 0.233 12 90.Oth_H -0.569* 0.236 13 90.Oth_NH -0.713** 0.271 14 90.Wht_NH -1.450** 0.222 mgen 15 US native 5.023** 0.180 year.mgen 16 80.US native -0.945** 0.186 17 90.US native -1.511** 0.187 meth.mgen 18 Mex_Am.US native -2.956** 0.203 19 Oth_H.US native -2.569** 0.206 20 Oth_NH.US native -2.830** 0.245 21 Wht_NH.US native -0.794** 0.184 year.meth.mgen 22 80.Mex_Am.US native 0.438* 0.210 23 80.Oth_H.US native -0.843** 0.214 24 80.Oth_NH.US native 0.335 0.254 25 80.Wht_NH.US native 0.716** 0.190 26 90.Mex_Am.US native 0.642** 0.211 27 90.Oth_H.US native -0.353 0.215 28 90.Oth_NH.US native 0.754** 0.254 29 90.Wht_NH.US native 1.178** 0.191 feth 30 Mex_Am 4.156** 0.314 31 Oth_H 4.028** 0.317 32 Oth_NH 4.869** 0.313 33 Wht_NH 5.355** 0.302 year.feth 34 80.Mex_Am -1.110** 0.321 35 80.Oth_H -0.187 0.324 36 80.Oth_NH -0.643* 0.320 37 80.Wht_NH -1.362** 0.311 38 90.Mex_Am -1.414** 0.322 39 90.Oth_H -0.763* 0.325 40 90.Oth_NH -1.319** 0.321 41 90.Wht_NH -2.039** 0.312 fgen 42 US native 5.806** 0.268 year.fgen 43 80.US native -1.537** 0.273 44 90.US native -2.018** 0.274 feth.fgen 45 Mex_Am.US native -3.704** 0.285 46 Oth_H.US native -3.201** 0.288 47 Oth_NH.US native -4.596** 0.287 48 Wht_NH.US native -1.906** 0.269 year.feth.fgen 49 80.Mex_Am.US native 1.536** 0.291 50 80.Oth_H.US native -0.090 0.295 51 80.Oth_NH.US native 1.097** 0.294 52 80.Wht_NH.US native 1.605** 0.275 53 90.Mex_Am.US native 1.740** 0.292 54 90.Oth_H.US native 0.204 0.297 55 90.Oth_NH.US native 1.536** 0.295 56 90.Wht_NH.US native 2.046** 0.277 ethintct 57 1 6.418** 0.164 58 2 4.164** 0.111 59 3 3.734** 0.105 60 4 3.586** 0.134 61 5 2.604** 0.093 ethintct.year 62 1.80 -0.608** 0.165 63 1.90 -1.375** 0.165 64 2.80 -0.269* 0.112 65 2.90 -0.564** 0.113 66 3.80 -0.746** 0.109 67 3.90 -0.614** 0.110 68 4.80 -1.032** 0.139 69 4.90 -1.187** 0.140 70 5.80 -0.558** 0.094 71 5.90 -0.819** 0.094 BW 72 1 -1.090** 0.043 MOh 73 1 0.645** 0.042 74 _cons -8.816** 0.361 ------------------------------------------------------------------------------- * p < .05 ** p < .01 . poisgof Goodness-of-fit chi2 = 3203.8 Prob > chi2(151) = 0.0000 . *There is another version of the chisquare goodness of fit statistic, which is the > Pearson statistic.. . poisgof, pearson Goodness-of-fit chi2 = 3926.09 Prob > chi2(151) = 0.0000 . predict Model8pred (option n assumed; predicted number of events) . *OK, so that's the actual predicted values from model 8 . table meth feth, by (year mgen fgen) contents (sum count sum Model8pred) ------------------------------------------------------------ year, | mgen, | fgen and | feth meth | Blk_NH Mex_Am Oth_H Oth_NH Wht_NH ----------+------------------------------------------------- 70 | foreign | foreign | Blk_NH | | | Mex_Am | | | Oth_H | | | Oth_NH | | | Wht_NH | | ----------+------------------------------------------------- 70 | foreign | US native | Blk_NH | 25 0 3 0 3 | 30.22297 .0775053 .1128019 .0648227 .5218946 | Mex_Am | 0 85 8 2 33 | .9195067 92.93209 4.007136 1.208471 28.9328 | Oth_H | 6 3 35 0 64 | .8150898 2.440619 78.02579 1.07124 25.64726 | Oth_NH | 0 5 1 14 20 | .4775918 .750486 1.092263 22.65196 15.02769 | Wht_NH | 3 8 12 5 773 | .6253946 2.922392 4.253272 2.444185 790.7548 ----------+------------------------------------------------- 70 | US native | foreign | Blk_NH | 12 1 6 5 6 | 13.80752 1.438248 1.265671 2.933976 1.603919 | Mex_Am | 0 76 3 3 9 | .0218613 89.74519 2.339818 2.846485 4.62736 | Oth_H | 1 7 12 3 14 | .0285363 3.470695 67.08991 3.715613 6.040249 | Oth_NH | 1 1 1 15 2 | .0128699 .8214579 .7228905 60.47498 2.724159 | Wht_NH | 0 35 71 94 1083 | .1292084 24.52441 21.58171 50.02895 1099.004 ----------+------------------------------------------------- 70 | US native | US native | Blk_NH | 4596 5 23 7 67 | 4588.97 11.76819 17.12751 9.842494 79.24297 | Mex_Am | 0 756 27 5 232 | 7.265678 734.3227 31.66324 9.548991 228.6187 | Oth_H | 16 26 1006 6 246 | 9.484136 28.3983 907.8843 12.46462 298.4236 | Oth_NH | 2 7 7 257 130 | 4.277356 6.721421 9.782409 202.8731 134.5894 | Wht_NH | 38 186 224 134 54331 | 42.94277 200.6663 292.0513 167.8302 54297.24 ----------+------------------------------------------------- 80 | foreign | foreign | Blk_NH | | | Mex_Am | | | Oth_H | | | Oth_NH | | | Wht_NH | | ----------+------------------------------------------------- 80 | foreign | US native | Blk_NH | 381 5 3 2 50 | 416.4249 3.003767 2.164506 2.581611 16.82522 | Mex_Am | 5 1586 68 41 413 | 12.83087 1516.916 42.39748 26.5377 514.3182 | Oth_H | 66 147 628 21 789 | 20.09761 92.15854 691.5756 41.56726 805.601 | Oth_NH | 21 33 10 132 405 | 8.367654 20.1366 14.51038 222.5728 335.4126 | Wht_NH | 11 105 50 56 5020 | 5.567803 39.84418 28.7116 34.2444 5133.632 ----------+------------------------------------------------- 80 | US native | foreign | Blk_NH | 329 12 68 138 96 | 343.7769 21.68612 47.99865 70.5154 18.77826 | Mex_Am | 2 919 78 45 78 | .8543079 883.2736 75.8278 58.46212 46.29613 | Oth_H | 5 22 401 26 61 | .5470341 21.9372 505.6383 37.43472 29.64454 | Oth_NH | 2 13 12 148 40 | .56958 11.98706 26.53139 501.2751 30.86633 | Wht_NH | 12 239 686 1176 5151 | 4.252206 266.116 589.0038 865.3126 5300.415 ----------+------------------------------------------------- 80 | US native | US native | Blk_NH | 24628 126 129 91 914 | 24577.8 177.2852 127.7512 152.3692 993.0408 | Mex_Am | 29 7116 156 144 2556 | 61.07743 7220.811 201.8201 126.3246 2448.253 | Oth_H | 80 139 1514 68 1492 | 39.10936 179.3378 1345.786 80.88869 1567.676 | Oth_NH | 33 95 81 1527 1545 | 40.72124 97.99489 70.61484 1083.152 1632.287 | Wht_NH | 232 2171 1454 1558 280562 | 304.0049 2175.513 1567.668 1869.762 280299 ----------+------------------------------------------------- 90 | foreign | foreign | Blk_NH | | | Mex_Am | | | Oth_H | | | Oth_NH | | | Wht_NH | | ----------+------------------------------------------------- 90 | foreign | US native | Blk_NH | 315 7 11 5 54 | 355.7704 5.002127 3.003251 3.747332 24.4769 | Mex_Am | 14 1653 85 43 482 | 19.53531 1557.525 48.6953 31.88664 619.3577 | Oth_H | 46 131 627 19 640 | 21.47898 89.17509 636.3056 35.05922 680.9811 | Oth_NH | 14 42 20 123 391 | 10.89251 23.7328 14.24905 195.7838 345.3419 | Wht_NH | 20 88 47 40 3752 | 6.827479 44.23642 26.55932 33.13962 3836.237 ----------+------------------------------------------------- 90 | US native | foreign | Blk_NH | 230 26 60 79 65 | 270.0114 27.05241 45.63229 60.64233 16.1497 | Mex_Am | 1 878 66 43 60 | 1.465472 832.5901 73.13287 51.00437 40.39191 | Oth_H | 12 36 481 35 38 | .8776288 25.96449 520.5126 30.54504 24.18955 | Oth_NH | 2 17 20 158 34 | 1.03669 16.09567 27.15035 397.3189 28.57368 | Wht_NH | 36 296 632 1012 3629 | 7.6088 351.2973 592.572 787.4893 3716.695 ----------+------------------------------------------------- 90 | US native | US native | Blk_NH | 12005 109 109 66 809 | 11924.22 167.6543 100.6588 125.5979 820.3826 | Mex_Am | 43 5019 121 107 2204 | 64.71803 5159.885 161.3214 105.6364 2051.854 | Oth_H | 78 122 1197 80 1163 | 38.75776 160.912 1148.182 63.26262 1228.797 | Oth_NH | 26 104 62 1135 1392 | 45.78223 99.75115 59.89008 822.8973 1451.504 | Wht_NH | 263 2210 1227 1430 188975 | 336.0191 2177.126 1307.135 1630.989 188803.1 ------------------------------------------------------------ . gen M8_resid= count- Model8pred . table meth feth, by (year mgen fgen) contents (sum count sum Model8pred sum M8_re > sid) ----------------------------------------------------------------- year, | mgen, | fgen and | feth meth | Blk_NH Mex_Am Oth_H Oth_NH Wht_NH ----------+------------------------------------------------------ 70 | foreign | foreign | Blk_NH | | | | Mex_Am | | | | Oth_H | | | | Oth_NH | | | | Wht_NH | | | ----------+------------------------------------------------------ 70 | foreign | US native | Blk_NH | 25 0 3 0 3 | 30.22297 .0775053 .1128019 .0648227 .5218946 | -5.222975 -.0775053 2.887198 -.0648227 2.478106 | Mex_Am | 0 85 8 2 33 | .9195067 92.93209 4.007136 1.208471 28.9328 | -.9195067 -7.932091 3.992864 .7915291 4.067204 | Oth_H | 6 3 35 0 64 | .8150898 2.440619 78.02579 1.07124 25.64726 | 5.18491 .559381 -43.02579 -1.07124 38.35275 | Oth_NH | 0 5 1 14 20 | .4775918 .750486 1.092263 22.65196 15.02769 | -.4775918 4.249514 -.0922632 -8.651964 4.972305 | Wht_NH | 3 8 12 5 773 | .6253946 2.922392 4.253272 2.444185 790.7548 | 2.374605 5.077608 7.746728 2.555815 -17.75476 ----------+------------------------------------------------------ 70 | US native | foreign | Blk_NH | 12 1 6 5 6 | 13.80752 1.438248 1.265671 2.933976 1.603919 | -1.807524 -.438248 4.734328 2.066024 4.396081 | Mex_Am | 0 76 3 3 9 | .0218613 89.74519 2.339818 2.846485 4.62736 | -.0218613 -13.74519 .6601818 .1535153 4.37264 | Oth_H | 1 7 12 3 14 | .0285363 3.470695 67.08991 3.715613 6.040249 | .9714637 3.529305 -55.08991 -.7156126 7.959751 | Oth_NH | 1 1 1 15 2 | .0128699 .8214579 .7228905 60.47498 2.724159 | .98713 .1785421 .2771095 -45.47498 -.7241592 | Wht_NH | 0 35 71 94 1083 | .1292084 24.52441 21.58171 50.02895 1099.004 | -.1292084 10.47559 49.41829 43.97105 -16.00427 ----------+------------------------------------------------------ 70 | US native | US native | Blk_NH | 4596 5 23 7 67 | 4588.97 11.76819 17.12751 9.842494 79.24297 | 7.030273 -6.768188 5.872488 -2.842494 -12.24297 | Mex_Am | 0 756 27 5 232 | 7.265678 734.3227 31.66324 9.548991 228.6187 | -7.265678 21.67731 -4.663244 -4.548991 3.381348 | Oth_H | 16 26 1006 6 246 | 9.484136 28.3983 907.8843 12.46462 298.4236 | 6.515864 -2.398296 98.11572 -6.464621 -52.42365 | Oth_NH | 2 7 7 257 130 | 4.277356 6.721421 9.782409 202.8731 134.5894 | -2.277356 .2785792 -2.782409 54.12694 -4.589401 | Wht_NH | 38 186 224 134 54331 | 42.94277 200.6663 292.0513 167.8302 54297.24 | -4.942772 -14.66628 -68.05127 -33.83015 33.75781 ----------+------------------------------------------------------ 80 | foreign | foreign | Blk_NH | | | | Mex_Am | | | | Oth_H | | | | Oth_NH | | | | Wht_NH | | | ----------+------------------------------------------------------ 80 | foreign | US native | Blk_NH | 381 5 3 2 50 | 416.4249 3.003767 2.164506 2.581611 16.82522 | -35.4249 1.996233 .835494 -.5816114 33.17478 | Mex_Am | 5 1586 68 41 413 | 12.83087 1516.916 42.39748 26.5377 514.3182 | -7.830874 69.08423 25.60252 14.4623 -101.3182 | Oth_H | 66 147 628 21 789 | 20.09761 92.15854 691.5756 41.56726 805.601 | 45.90239 54.84146 -63.57562 -20.56726 -16.60101 | Oth_NH | 21 33 10 132 405 | 8.367654 20.1366 14.51038 222.5728 335.4126 | 12.63235 12.8634 -4.510376 -90.5728 69.58743 | Wht_NH | 11 105 50 56 5020 | 5.567803 39.84418 28.7116 34.2444 5133.632 | 5.432197 65.15582 21.2884 21.7556 -113.6318 ----------+------------------------------------------------------ 80 | US native | foreign | Blk_NH | 329 12 68 138 96 | 343.7769 21.68612 47.99865 70.5154 18.77826 | -14.77689 -9.686119 20.00135 67.4846 77.22173 | Mex_Am | 2 919 78 45 78 | .8543079 883.2736 75.8278 58.46212 46.29613 | 1.145692 35.72638 2.172203 -13.46212 31.70387 | Oth_H | 5 22 401 26 61 | .5470341 21.9372 505.6383 37.43472 29.64454 | 4.452966 .0627956 -104.6383 -11.43472 31.35546 | Oth_NH | 2 13 12 148 40 | .56958 11.98706 26.53139 501.2751 30.86633 | 1.43042 1.012938 -14.53139 -353.2751 9.133669 | Wht_NH | 12 239 686 1176 5151 | 4.252206 266.116 589.0038 865.3126 5300.415 | 7.747794 -27.11597 96.99615 310.6874 -149.4146 ----------+------------------------------------------------------ 80 | US native | US native | Blk_NH | 24628 126 129 91 914 | 24577.8 177.2852 127.7512 152.3692 993.0408 | 50.20117 -51.28522 1.248779 -61.3692 -79.04083 | Mex_Am | 29 7116 156 144 2556 | 61.07743 7220.811 201.8201 126.3246 2448.253 | -32.07743 -104.8105 -45.82013 17.67544 107.7468 | Oth_H | 80 139 1514 68 1492 | 39.10936 179.3378 1345.786 80.88869 1567.676 | 40.89064 -40.33784 168.214 -12.88869 -75.67615 | Oth_NH | 33 95 81 1527 1545 | 40.72124 97.99489 70.61484 1083.152 1632.287 | -7.721245 -2.994888 10.38516 443.848 -87.28748 | Wht_NH | 232 2171 1454 1558 280562 | 304.0049 2175.513 1567.668 1869.762 280299 | -72.00488 -4.512695 -113.6682 -311.7617 263.0313 ----------+------------------------------------------------------ 90 | foreign | foreign | Blk_NH | | | | Mex_Am | | | | Oth_H | | | | Oth_NH | | | | Wht_NH | | | ----------+------------------------------------------------------ 90 | foreign | US native | Blk_NH | 315 7 11 5 54 | 355.7704 5.002127 3.003251 3.747332 24.4769 | -40.77039 1.997873 7.996749 1.252668 29.5231 | Mex_Am | 14 1653 85 43 482 | 19.53531 1557.525 48.6953 31.88664 619.3577 | -5.535309 95.47498 36.3047 11.11336 -137.3577 | Oth_H | 46 131 627 19 640 | 21.47898 89.17509 636.3056 35.05922 680.9811 | 24.52102 41.82491 -9.305603 -16.05922 -40.98108 | Oth_NH | 14 42 20 123 391 | 10.89251 23.7328 14.24905 195.7838 345.3419 | 3.107491 18.2672 5.75095 -72.78377 45.65811 | Wht_NH | 20 88 47 40 3752 | 6.827479 44.23642 26.55932 33.13962 3836.237 | 13.17252 43.76358 20.44068 6.860382 -84.23706 ----------+------------------------------------------------------ 90 | US native | foreign | Blk_NH | 230 26 60 79 65 | 270.0114 27.05241 45.63229 60.64233 16.1497 | -40.01141 -1.052414 14.36771 18.35767 48.8503 | Mex_Am | 1 878 66 43 60 | 1.465472 832.5901 73.13287 51.00437 40.39191 | -.4654719 45.40991 -7.132866 -8.004368 19.60809 | Oth_H | 12 36 481 35 38 | .8776288 25.96449 520.5126 30.54504 24.18955 | 11.12237 10.03551 -39.51257 4.454956 13.81045 | Oth_NH | 2 17 20 158 34 | 1.03669 16.09567 27.15035 397.3189 28.57368 | .9633095 .9043255 -7.150349 -239.3189 5.426325 | Wht_NH | 36 296 632 1012 3629 | 7.6088 351.2973 592.572 787.4893 3716.695 | 28.3912 -55.2973 39.42804 224.5107 -87.69507 ----------+------------------------------------------------------ 90 | US native | US native | Blk_NH | 12005 109 109 66 809 | 11924.22 167.6543 100.6588 125.5979 820.3826 | 80.78223 -58.65434 8.341194 -59.59787 -11.38263 | Mex_Am | 43 5019 121 107 2204 | 64.71803 5159.885 161.3214 105.6364 2051.854 | -21.71803 -140.8848 -40.32143 1.363556 152.1455 | Oth_H | 78 122 1197 80 1163 | 38.75776 160.912 1148.182 63.26262 1228.797 | 39.24224 -38.91202 48.81812 16.73738 -65.79651 | Oth_NH | 26 104 62 1135 1392 | 45.78223 99.75115 59.89008 822.8973 1451.504 | -19.78223 4.248848 2.109921 312.1027 -59.50391 | Wht_NH | 263 2210 1227 1430 188975 | 336.0191 2177.126 1307.135 1630.989 188803.1 | -73.0191 32.87378 -80.13538 -200.9891 171.9375 ----------------------------------------------------------------- . summarize count Model8pred M8_resid Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- count | 225 2888.093 22804.69 0 280562 Model8pred | 225 2888.093 22783.63 .0128699 280299 M8_resid | 225 -.0000496 75.65425 -353.2751 443.848 . gsort - M8_resid . list meth feth year mgen fgen count M8_resid in 1/25 meth feth year mgen fgen count M8_resid 1. Oth_NH Oth_NH 80 US native US native 1527 443.848 2. Oth_NH Oth_NH 90 US native US native 1135 312.1027 3. Wht_NH Oth_NH 80 US native foreign 1176 310.6874 4. Wht_NH Wht_NH 80 US native US native 280562 263.0313 5. Wht_NH Oth_NH 90 US native foreign 1012 224.5107 6. Wht_NH Wht_NH 90 US native US native 188975 171.9375 7. Oth_H Oth_H 80 US native US native 1514 168.214 8. Mex_Am Wht_NH 90 US native US native 2204 152.1455 9. Mex_Am Wht_NH 80 US native US native 2556 107.7468 10. Oth_H Oth_H 70 US native US native 1006 98.11572 11. Wht_NH Oth_H 80 US native foreign 686 96.99615 12. Mex_Am Mex_Am 90 foreign US native 1653 95.47498 13. Blk_NH Blk_NH 90 US native US native 12005 80.78223 14. Blk_NH Wht_NH 80 US native foreign 96 77.22173 15. Oth_NH Wht_NH 80 foreign US native 405 69.58743 16. Mex_Am Mex_Am 80 foreign US native 1586 69.08423 17. Blk_NH Oth_NH 80 US native foreign 138 67.4846 18. Wht_NH Mex_Am 80 foreign US native 105 65.15582 19. Oth_H Mex_Am 80 foreign US native 147 54.84146 20. Oth_NH Oth_NH 70 US native US native 257 54.12694 21. Blk_NH Blk_NH 80 US native US native 24628 50.20117 22. Wht_NH Oth_H 70 US native foreign 71 49.41829 23. Blk_NH Wht_NH 90 US native foreign 65 48.8503 24. Oth_H Oth_H 90 US native US native 1197 48.81812 25. Oth_H Blk_NH 80 foreign US native 66 45.90239 . *next key step is standardized residuals. . *standardized residuals are residual divided by square root of predicted value . gen M8stdres= M8_resid/ (Model8pred^.5) . list meth feth year mgen fgen count M8stdres in 1/25 meth feth year mgen fgen count M8stdres 1. Oth_NH Oth_NH 80 US native US native 1527 13.4862 2. Oth_NH Oth_NH 90 US native US native 1135 10.87989 3. Wht_NH Oth_NH 80 US native foreign 1176 10.56178 4. Wht_NH Wht_NH 80 US native US native 280562 .4968172 5. Wht_NH Oth_NH 90 US native foreign 1012 8.000455 6. Wht_NH Wht_NH 90 US native US native 188975 .3957 7. Oth_H Oth_H 80 US native US native 1514 4.585367 8. Mex_Am Wht_NH 90 US native US native 2204 3.358813 9. Mex_Am Wht_NH 80 US native US native 2556 2.177591 10. Oth_H Oth_H 70 US native US native 1006 3.256292 11. Wht_NH Oth_H 80 US native foreign 686 3.996644 12. Mex_Am Mex_Am 90 foreign US native 1653 2.419201 13. Blk_NH Blk_NH 90 US native US native 12005 .7397771 14. Blk_NH Wht_NH 80 US native foreign 96 17.82017 15. Oth_NH Wht_NH 80 foreign US native 405 3.799629 16. Mex_Am Mex_Am 80 foreign US native 1586 1.773774 17. Blk_NH Oth_NH 80 US native foreign 138 8.036422 18. Wht_NH Mex_Am 80 foreign US native 105 10.32217 19. Oth_H Mex_Am 80 foreign US native 147 5.712698 20. Oth_NH Oth_NH 70 US native US native 257 3.800155 21. Blk_NH Blk_NH 80 US native US native 24628 .3202155 22. Wht_NH Oth_H 70 US native foreign 71 10.63763 23. Blk_NH Wht_NH 90 US native foreign 65 12.15584 24. Oth_H Oth_H 90 US native US native 1197 1.440707 25. Oth_H Blk_NH 80 foreign US native 66 10.23913 . gsort - M8stdres . list meth feth year mgen fgen count M8stdres in 1/25 meth feth year mgen fgen count M8stdres 1. Blk_NH Wht_NH 80 US native foreign 96 17.82017 2. Oth_NH Oth_NH 80 US native US native 1527 13.4862 3. Blk_NH Wht_NH 90 US native foreign 65 12.15584 4. Oth_H Blk_NH 90 US native foreign 12 11.87249 5. Oth_NH Oth_NH 90 US native US native 1135 10.87989 6. Wht_NH Oth_H 70 US native foreign 71 10.63763 7. Wht_NH Oth_NH 80 US native foreign 1176 10.56178 8. Wht_NH Mex_Am 80 foreign US native 105 10.32217 9. Wht_NH Blk_NH 90 US native foreign 36 10.29261 10. Oth_H Blk_NH 80 foreign US native 66 10.23913 11. Oth_NH Blk_NH 70 US native foreign 1 8.701344 12. Blk_NH Oth_H 70 foreign US native 3 8.596436 13. Blk_NH Wht_NH 80 foreign US native 50 8.087749 14. Blk_NH Oth_NH 80 US native foreign 138 8.036422 15. Wht_NH Oth_NH 90 US native foreign 1012 8.000455 16. Oth_H Wht_NH 70 foreign US native 64 7.57314 17. Wht_NH Mex_Am 90 foreign US native 88 6.579953 18. Oth_H Blk_NH 80 US native US native 80 6.538581 19. Oth_H Blk_NH 90 US native US native 78 6.303393 20. Wht_NH Oth_NH 70 US native foreign 94 6.216647 21. Oth_H Blk_NH 80 US native foreign 5 6.020633 22. Blk_NH Wht_NH 90 foreign US native 54 5.967382 23. Oth_H Wht_NH 80 US native foreign 61 5.758917 24. Oth_H Blk_NH 70 US native foreign 1 5.750788 25. Oth_H Blk_NH 70 foreign US native 6 5.742996 . *What I'm going to do now is to square the standardized residuals in order to get t > he pearson residuals, or each cell's contribution to the Pearson GOF test. . gen M8pearson= M8stdres^2 M8pearson already defined r(110); . drop M8pearson . gen M8pearson= M8stdres^2 . gsort - M8pearson . list meth feth year mgen fgen count M8pearson meth feth year mgen fgen count M8pearson 1. Blk_NH Wht_NH 80 US native foreign 96 317.5584 2. Oth_NH Oth_NH 80 US native foreign 148 248.9717 3. Oth_NH Oth_NH 80 US native US native 1527 181.8776 4. Blk_NH Wht_NH 90 US native foreign 65 147.7645 5. Oth_NH Oth_NH 90 US native foreign 158 144.1501 6. Oth_H Blk_NH 90 US native foreign 12 140.9561 7. Oth_NH Oth_NH 90 US native US native 1135 118.3721 8. Wht_NH Oth_H 70 US native foreign 71 113.1591 9. Wht_NH Oth_NH 80 US native foreign 1176 111.5512 10. Wht_NH Mex_Am 80 foreign US native 105 106.5471 11. Wht_NH Blk_NH 90 US native foreign 36 105.9379 12. Oth_H Blk_NH 80 foreign US native 66 104.8398 13. Oth_NH Blk_NH 70 US native foreign 1 75.71339 14. Blk_NH Oth_H 70 foreign US native 3 73.8987 15. Blk_NH Wht_NH 80 foreign US native 50 65.41167 16. Blk_NH Oth_NH 80 US native foreign 138 64.58408 17. Wht_NH Oth_NH 90 US native foreign 1012 64.00728 18. Oth_H Wht_NH 70 foreign US native 64 57.35245 19. Wht_NH Oth_NH 80 US native US native 1558 51.98276 20. Oth_H Oth_H 70 US native foreign 12 45.23628 21. Wht_NH Mex_Am 90 foreign US native 88 43.29578 22. Oth_H Blk_NH 80 US native US native 80 42.75304 23. Oth_H Blk_NH 90 US native US native 78 39.73277 24. Wht_NH Oth_NH 70 US native foreign 94 38.64669 25. Oth_NH Oth_NH 80 foreign US native 132 36.8573 26. Oth_H Blk_NH 80 US native foreign 5 36.24802 27. Blk_NH Wht_NH 90 foreign US native 54 35.60965 28. Oth_NH Oth_NH 70 US native foreign 15 34.19552 29. Oth_H Wht_NH 80 US native foreign 61 33.16512 30. Oth_H Blk_NH 70 US native foreign 1 33.07156 31. Oth_H Blk_NH 70 foreign US native 6 32.98201 32. Oth_H Mex_Am 80 foreign US native 147 32.63491 33. Mex_Am Wht_NH 90 foreign US native 482 30.46243 34. Blk_NH Oth_NH 90 US native US native 66 28.27999 35. Oth_H Blk_NH 90 foreign US native 46 27.99388 36. Mex_Am Oth_H 90 foreign US native 85 27.06691 37. Oth_NH Oth_NH 90 foreign US native 123 27.05779 38. Wht_NH Blk_NH 90 foreign US native 20 25.41426 39. Wht_NH Oth_NH 90 US native US native 1430 24.76818 40. Blk_NH Oth_NH 80 US native US native 91 24.71746 41. Oth_NH Mex_Am 70 foreign US native 5 24.06224 42. Oth_H Oth_H 70 foreign US native 35 23.72573 43. Mex_Am Wht_NH 80 US native foreign 78 21.71099 44. Oth_H Oth_H 80 US native foreign 401 21.65417 45. Blk_NH Oth_H 90 foreign US native 11 21.29292 46. Oth_H Oth_H 80 US native US native 1514 21.02559 47. Blk_NH Mex_Am 90 US native US native 109 20.52039 48. Mex_Am Wht_NH 80 foreign US native 413 19.95919 49. Oth_H Mex_Am 90 foreign US native 131 19.61672 50. Oth_NH Blk_NH 80 foreign US native 21 19.0706 51. Blk_NH Oth_H 70 US native foreign 6 17.70907 52. Wht_NH Blk_NH 80 US native US native 232 17.05467 53. Mex_Am Blk_NH 80 US native US native 29 16.84684 54. Wht_NH Oth_H 80 US native foreign 686 15.97316 55. Wht_NH Blk_NH 90 US native US native 263 15.86752 56. Wht_NH Oth_H 70 US native US native 224 15.85672 57. Wht_NH Oth_H 80 foreign US native 50 15.78442 58. Wht_NH Oth_H 90 foreign US native 47 15.73163 59. Mex_Am Oth_H 80 foreign US native 68 15.46057 60. Blk_NH Mex_Am 80 US native US native 126 14.83583 61. Oth_NH Oth_NH 70 US native US native 257 14.44118 62. Oth_NH Wht_NH 80 foreign US native 405 14.43718 63. Wht_NH Blk_NH 80 US native foreign 12 14.11698 64. Wht_NH Oth_H 70 foreign US native 12 14.10956 65. Oth_NH Mex_Am 90 foreign US native 42 14.06031 66. Wht_NH Oth_NH 80 foreign US native 56 13.82142 67. Blk_NH Wht_NH 70 US native foreign 6 12.04894 68. Blk_NH Wht_NH 70 foreign US native 3 11.76676 69. Mex_Am Wht_NH 90 US native US native 2204 11.28163 70. Oth_H Oth_H 70 US native US native 1006 10.60344 71. Oth_H Wht_NH 70 US native foreign 14 10.48924 72. Mex_Am Oth_H 80 US native US native 156 10.40275 73. Oth_H Oth_NH 80 foreign US native 21 10.17657 74. Mex_Am Oth_H 90 US native US native 121 10.07812 75. Mex_Am Wht_NH 90 US native foreign 60 9.518662 76. Oth_H Mex_Am 90 US native US native 122 9.409771 77. Oth_H Wht_NH 70 US native US native 246 9.209185 78. Oth_H Mex_Am 80 US native US native 139 9.073052 79. Wht_NH Blk_NH 70 foreign US native 3 9.01631 80. Wht_NH Mex_Am 70 foreign US native 8 8.822261 81. Wht_NH Mex_Am 90 US native foreign 296 8.704284 82. Oth_NH Blk_NH 90 US native US native 26 8.547783 83. Blk_NH Oth_H 80 US native foreign 68 8.334694 84. Wht_NH Oth_H 80 US native US native 1454 8.241835 85. Oth_NH Mex_Am 80 foreign US native 33 8.217232 86. Oth_NH Oth_H 80 US native foreign 12 7.958921 87. Oth_H Wht_NH 90 US native foreign 38 7.884743 88. Mex_Am Oth_NH 80 foreign US native 41 7.881543 89. Oth_H Oth_NH 90 foreign US native 19 7.356083 90. Mex_Am Blk_NH 90 US native US native 43 7.288118 91. Mex_Am Blk_NH 70 US native US native 0 7.265678 92. Wht_NH Oth_NH 70 US native US native 134 6.819271 93. Blk_NH Wht_NH 80 US native US native 914 6.291235 94. Oth_NH Wht_NH 90 foreign US native 391 6.03652 95. Blk_NH Blk_NH 90 US native foreign 230 5.929058 96. Mex_Am Mex_Am 90 foreign US native 1653 5.852535 97. Oth_H Oth_H 80 foreign US native 628 5.844421 98. Blk_NH Oth_NH 90 US native foreign 79 5.557241 99. Wht_NH Blk_NH 80 foreign US native 11 5.299893 100. Wht_NH Oth_H 90 US native US native 1227 4.912788 101. Mex_Am Blk_NH 80 foreign US native 5 4.7793 102. Mex_Am Wht_NH 80 US native US native 2556 4.741903 103. Blk_NH Blk_NH 90 foreign US native 315 4.672183 104. Oth_NH Wht_NH 80 US native US native 1545 4.667746 105. Blk_NH Oth_H 90 US native foreign 60 4.523792 106. Oth_H Blk_NH 70 US native US native 16 4.47658 107. Wht_NH Mex_Am 70 US native foreign 35 4.474641 108. Oth_H Oth_NH 90 US native US native 80 4.428206 109. Blk_NH Mex_Am 80 US native foreign 12 4.326312 110. Wht_NH Wht_NH 80 US native foreign 5151 4.211879 111. Mex_Am Wht_NH 70 US native foreign 9 4.131942 112. Mex_Am Oth_H 70 foreign US native 8 3.978642 113. Blk_NH Mex_Am 70 US native US native 5 3.892559 114. Oth_H Mex_Am 90 US native foreign 36 3.87882 115. Mex_Am Oth_NH 90 foreign US native 43 3.873307 116. Mex_Am Mex_Am 90 US native US native 5019 3.846698 117. Oth_H Wht_NH 80 US native US native 1492 3.653101 118. Oth_NH Blk_NH 80 US native foreign 2 3.592299 119. Oth_H Mex_Am 70 US native foreign 7 3.588904 120. Oth_H Wht_NH 90 US native US native 1163 3.523106 121. Oth_H Oth_NH 80 US native foreign 26 3.492822 122. Oth_H Oth_NH 70 US native US native 6 3.352795 123. Oth_NH Oth_NH 70 foreign US native 14 3.304635 124. Mex_Am Mex_Am 80 foreign US native 1586 3.146273 125. Mex_Am Oth_NH 80 US native foreign 45 3.099933 126. Blk_NH Blk_NH 80 foreign US native 381 3.013565 127. Oth_H Oth_H 90 US native foreign 481 2.999434 128. Wht_NH Mex_Am 80 US native foreign 239 2.76299 129. Oth_NH Wht_NH 80 US native foreign 40 2.702748 130. Wht_NH Oth_NH 70 foreign US native 5 2.672544 131. Wht_NH Oth_H 90 US native foreign 632 2.623429 132. Wht_NH Wht_NH 80 foreign US native 5020 2.515216 133. Mex_Am Mex_Am 90 US native foreign 878 2.476681 134. Mex_Am Oth_NH 80 US native US native 144 2.473162 135. Oth_H Wht_NH 90 foreign US native 640 2.466219 136. Oth_NH Wht_NH 90 US native US native 1392 2.439342 137. Oth_NH Oth_H 90 foreign US native 20 2.321097 138. Mex_Am Oth_NH 70 US native US native 5 2.167069 139. Mex_Am Mex_Am 70 US native foreign 76 2.105184 140. Oth_H Oth_H 90 US native US native 1197 2.075637 141. Wht_NH Wht_NH 90 US native foreign 3629 2.069157 142. Oth_H Oth_NH 80 US native US native 68 2.053667 143. Blk_NH Oth_H 70 US native US native 23 2.013492 144. Blk_NH Wht_NH 70 US native US native 67 1.891527 145. Oth_NH Oth_H 90 US native foreign 20 1.883125 146. Wht_NH Wht_NH 90 foreign US native 3752 1.849699 147. Oth_NH Wht_NH 70 foreign US native 20 1.645217 148. Mex_Am Blk_NH 90 foreign US native 14 1.568424 149. Mex_Am Blk_NH 80 US native foreign 2 1.536461 150. Oth_NH Oth_H 80 US native US native 81 1.527322 151. Mex_Am Mex_Am 80 US native US native 7116 1.521332 152. Oth_NH Blk_NH 80 US native US native 33 1.464042 153. Blk_NH Oth_NH 70 US native foreign 5 1.454836 154. Mex_Am Mex_Am 80 US native foreign 919 1.44505 155. Wht_NH Oth_NH 90 foreign US native 40 1.420199 156. Oth_NH Oth_H 80 foreign US native 10 1.401996 157. Blk_NH Mex_Am 80 foreign US native 5 1.32665 158. Mex_Am Oth_NH 90 US native foreign 43 1.256165 159. Oth_NH Blk_NH 70 US native US native 2 1.212513 160. Wht_NH Mex_Am 70 US native US native 186 1.071927 161. Oth_H Oth_NH 70 foreign US native 0 1.07124 162. Oth_NH Wht_NH 90 US native foreign 34 1.030494 163. Mex_Am Blk_NH 70 foreign US native 0 .9195068 164. Blk_NH Blk_NH 70 foreign US native 25 .9026069 165. Oth_NH Blk_NH 90 US native foreign 2 .8951228 166. Oth_NH Blk_NH 90 foreign US native 14 .8865264 167. Blk_NH Oth_NH 70 US native US native 7 .820907 168. Blk_NH Mex_Am 90 foreign US native 7 .7979602 169. Oth_NH Oth_H 70 US native US native 7 .7914 170. Mex_Am Oth_H 90 US native foreign 66 .6956896 171. Blk_NH Oth_H 90 US native US native 109 .6912016 172. Mex_Am Oth_H 70 US native US native 27 .6867852 173. Mex_Am Mex_Am 70 foreign US native 85 .6770326 174. Oth_H Oth_NH 90 US native foreign 35 .6497498 175. Mex_Am Mex_Am 70 US native US native 756 .6399171 176. Blk_NH Blk_NH 80 US native foreign 329 .6351688 177. Mex_Am Wht_NH 70 foreign US native 33 .5717437 178. Wht_NH Blk_NH 70 US native US native 38 .5689198 179. Blk_NH Blk_NH 90 US native US native 12005 .5472701 180. Mex_Am Oth_NH 70 foreign US native 2 .5184388 181. Wht_NH Mex_Am 90 US native US native 2210 .4963816 182. Oth_NH Blk_NH 70 foreign US native 0 .4775918 183. Blk_NH Oth_NH 90 foreign US native 5 .4187451 184. Wht_NH Wht_NH 70 foreign US native 773 .3986464 185. Oth_H Wht_NH 80 foreign US native 789 .342097 186. Blk_NH Oth_H 80 foreign US native 3 .3224987 187. Wht_NH Wht_NH 80 US native US native 280562 .2468273 188. Blk_NH Blk_NH 70 US native foreign 12 .2366204 189. Wht_NH Wht_NH 70 US native foreign 1083 .2330626 190. Oth_H Mex_Am 70 US native US native 26 .2025412 191. Oth_NH Wht_NH 70 US native foreign 2 .1925022 192. Mex_Am Oth_H 70 US native foreign 3 .1862709 193. Oth_NH Mex_Am 90 US native US native 104 .1809774 194. Blk_NH Wht_NH 90 US native US native 809 .1579315 195. Wht_NH Wht_NH 90 US native US native 188975 .1565785 196. Oth_NH Wht_NH 70 US native US native 130 .1564953 197. Mex_Am Blk_NH 90 US native foreign 1 .1478459 198. Oth_H Oth_NH 70 US native foreign 3 .1378242 199. Oth_H Oth_H 90 foreign US native 627 .1360891 200. Blk_NH Mex_Am 70 US native foreign 1 .1335384 201. Blk_NH Oth_NH 80 foreign US native 2 .1310313 202. Wht_NH Blk_NH 70 US native foreign 0 .1292084 203. Oth_H Mex_Am 70 foreign US native 3 .1282081 204. Oth_NH Oth_H 70 US native foreign 1 .1062259 205. Blk_NH Blk_NH 80 US native US native 24628 .102538 206. Oth_NH Mex_Am 80 US native US native 95 .0915288 207. Oth_NH Mex_Am 80 US native foreign 13 .0855958 208. Blk_NH Mex_Am 70 foreign US native 0 .0775054 209. Oth_NH Oth_H 90 US native US native 62 .0743323 210. Blk_NH Oth_NH 70 foreign US native 0 .0648227 211. Mex_Am Oth_H 80 US native foreign 78 .0622261 212. Oth_NH Mex_Am 90 US native foreign 17 .050809 213. Mex_Am Wht_NH 70 US native US native 232 .0500113 214. Blk_NH Mex_Am 90 US native foreign 26 .0409418 215. Oth_NH Mex_Am 70 US native foreign 1 .0388058 216. Mex_Am Blk_NH 70 US native foreign 0 .0218613 217. Wht_NH Wht_NH 70 US native US native 54331 .020988 218. Mex_Am Oth_NH 90 US native US native 107 .0176008 219. Blk_NH Oth_H 80 US native US native 129 .0122069 220. Oth_NH Mex_Am 70 US native US native 7 .0115461 221. Blk_NH Blk_NH 70 US native US native 4596 .0107703 222. Wht_NH Mex_Am 80 US native US native 2171 .0093607 223. Mex_Am Oth_NH 70 US native foreign 3 .0082793 224. Oth_NH Oth_H 70 foreign US native 1 .0077935 225. Oth_H Mex_Am 80 US native foreign 22 .0001798 . summarize M8pearson Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- M8pearson | 225 17.44929 38.26289 .0001798 317.5584 . display 225*17.44929 3926.0903 . *That number, the sum of each cell's Pearson residuals, is the Pearson statistic fo > r the model. . gen M8LRchisquare=2*count*(ln(count/ Model8pred)) (8 missing values generated) . summarize M8LRchisquare Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- M8LRchisqu~e | 217 14.76519 156.4717 -568.3835 1048.834 . display 217*14.76519 3204.0462 . list meth feth year mgen fgen count Model8pred M8pearson Observation 1 meth Blk_NH feth Wht_NH year 80 mgen US native fgen foreign count 96 Model8~d 18.77826 M8pear~n 317.5584 Observation 2 meth Oth_NH feth Oth_NH year 80 mgen US native fgen foreign count 148 Model8~d 501.2751 M8pear~n 248.9717 Observation 3 meth Oth_NH feth Oth_NH year 80 mgen US native fgen US native count 1527 Model8~d 1083.152 M8pear~n 181.8776 Observation 4 meth Blk_NH feth Wht_NH year 90 mgen US native fgen foreign count 65 Model8~d 16.1497 M8pear~n 147.7645 Observation 5 meth Oth_NH feth Oth_NH year 90 mgen US native fgen foreign count 158 Model8~d 397.3189 M8pear~n 144.1501 Observation 6 meth Oth_H feth Blk_NH year 90 mgen US native fgen foreign count 12 Model8~d .8776288 M8pear~n 140.9561 Observation 7 meth Oth_NH feth Oth_NH year 90 mgen US native fgen US native count 1135 Model8~d 822.8973 M8pear~n 118.3721 Observation 8 meth Wht_NH feth Oth_H year 70 mgen US native fgen foreign count 71 Model8~d 21.58171 M8pear~n 113.1591 Observation 9 meth Wht_NH feth Oth_NH year 80 mgen US native fgen foreign count 1176 Model8~d 865.3126 M8pear~n 111.5512 Observation 10 meth Wht_NH feth Mex_Am year 80 mgen foreign fgen US native count 105 Model8~d 39.84418 M8pear~n 106.5471 Observation 11 meth Wht_NH feth Blk_NH year 90 mgen US native fgen foreign count 36 Model8~d 7.6088 M8pear~n 105.9379 Observation 12 meth Oth_H feth Blk_NH year 80 mgen foreign fgen US native count 66 Model8~d 20.09761 M8pear~n 104.8398 Observation 13 meth Oth_NH feth Blk_NH year 70 mgen US native fgen foreign count 1 Model8~d .0128699 M8pear~n 75.71339 Observation 14 meth Blk_NH feth Oth_H year 70 mgen foreign fgen US native count 3 Model8~d .1128019 M8pear~n 73.8987 Observation 15 meth Blk_NH feth Wht_NH year 80 mgen foreign fgen US native count 50 Model8~d 16.82522 M8pear~n 65.41167 Observation 16 meth Blk_NH feth Oth_NH year 80 mgen US native fgen foreign count 138 Model8~d 70.5154 M8pear~n 64.58408 Observation 17 meth Wht_NH feth Oth_NH year 90 mgen US native fgen foreign count 1012 Model8~d 787.4893 M8pear~n 64.00728 Observation 18 meth Oth_H feth Wht_NH year 70 mgen foreign fgen US native count 64 Model8~d 25.64726 M8pear~n 57.35245 Observation 19 meth Wht_NH feth Oth_NH year 80 mgen US native fgen US native count 1558 Model8~d 1869.762 M8pear~n 51.98276 Observation 20 meth Oth_H feth Oth_H year 70 mgen US native fgen foreign count 12 Model8~d 67.08991 M8pear~n 45.23628 Observation 21 meth Wht_NH feth Mex_Am year 90 mgen foreign fgen US native count 88 Model8~d 44.23642 M8pear~n 43.29578 Observation 22 meth Oth_H feth Blk_NH year 80 mgen US native fgen US native count 80 Model8~d 39.10936 M8pear~n 42.75304 Observation 23 meth Oth_H feth Blk_NH year 90 mgen US native fgen US native count 78 Model8~d 38.75776 M8pear~n 39.73277 Observation 24 meth Wht_NH feth Oth_NH year 70 mgen US native fgen foreign count 94 Model8~d 50.02895 M8pear~n 38.64669 Observation 25 meth Oth_NH feth Oth_NH year 80 mgen foreign fgen US native count 132 Model8~d 222.5728 M8pear~n 36.8573 Observation 26 meth Oth_H feth Blk_NH year 80 mgen US native fgen foreign count 5 Model8~d .5470341 M8pear~n 36.24802 Observation 27 meth Blk_NH feth Wht_NH year 90 mgen foreign fgen US native count 54 Model8~d 24.4769 M8pear~n 35.60965 Observation 28 meth Oth_NH feth Oth_NH year 70 mgen US native fgen foreign count 15 Model8~d 60.47498 M8pear~n 34.19552 Observation 29 meth Oth_H feth Wht_NH year 80 mgen US native fgen foreign count 61 Model8~d 29.64454 M8pear~n 33.16512 Observation 30 meth Oth_H feth Blk_NH year 70 mgen US native fgen foreign count 1 Model8~d .0285363 M8pear~n 33.07156 Observation 31 meth Oth_H feth Blk_NH year 70 mgen foreign fgen US native count 6 Model8~d .8150898 M8pear~n 32.98201 Observation 32 meth Oth_H feth Mex_Am year 80 mgen foreign fgen US native count 147 Model8~d 92.15854 M8pear~n 32.63491 Observation 33 meth Mex_Am feth Wht_NH year 90 mgen foreign fgen US native count 482 Model8~d 619.3577 M8pear~n 30.46243 Observation 34 meth Blk_NH feth Oth_NH year 90 mgen US native fgen US native count 66 Model8~d 125.5979 M8pear~n 28.27999 Observation 35 meth Oth_H feth Blk_NH year 90 mgen foreign fgen US native count 46 Model8~d 21.47898 M8pear~n 27.99388 Observation 36 meth Mex_Am feth Oth_H year 90 mgen foreign fgen US native count 85 Model8~d 48.6953 M8pear~n 27.06691 Observation 37 meth Oth_NH feth Oth_NH year 90 mgen foreign fgen US native count 123 Model8~d 195.7838 M8pear~n 27.05779 Observation 38 meth Wht_NH feth Blk_NH year 90 mgen foreign fgen US native count 20 Model8~d 6.827479 M8pear~n 25.41426 Observation 39 meth Wht_NH feth Oth_NH year 90 mgen US native fgen US native count 1430 Model8~d 1630.989 M8pear~n 24.76818 Observation 40 meth Blk_NH feth Oth_NH year 80 mgen US native fgen US native count 91 Model8~d 152.3692 M8pear~n 24.71746 Observation 41 meth Oth_NH feth Mex_Am year 70 mgen foreign fgen US native count 5 Model8~d .750486 M8pear~n 24.06224 Observation 42 meth Oth_H feth Oth_H year 70 mgen foreign fgen US native count 35 Model8~d 78.02579 M8pear~n 23.72573 Observation 43 meth Mex_Am feth Wht_NH year 80 mgen US native fgen foreign count 78 Model8~d 46.29613 M8pear~n 21.71099 Observation 44 meth Oth_H feth Oth_H year 80 mgen US native fgen foreign count 401 Model8~d 505.6383 M8pear~n 21.65417 Observation 45 meth Blk_NH feth Oth_H year 90 mgen foreign fgen US native count 11 Model8~d 3.003251 M8pear~n 21.29292 Observation 46 meth Oth_H feth Oth_H year 80 mgen US native fgen US native count 1514 Model8~d 1345.786 M8pear~n 21.02559 Observation 47 meth Blk_NH feth Mex_Am year 90 mgen US native fgen US native count 109 Model8~d 167.6543 M8pear~n 20.52039 Observation 48 meth Mex_Am feth Wht_NH year 80 mgen foreign fgen US native count 413 Model8~d 514.3182 M8pear~n 19.95919 Observation 49 meth Oth_H feth Mex_Am year 90 mgen foreign fgen US native count 131 Model8~d 89.17509 M8pear~n 19.61672 Observation 50 meth Oth_NH feth Blk_NH year 80 mgen foreign fgen US native count 21 Model8~d 8.367654 M8pear~n 19.0706 Observation 51 meth Blk_NH feth Oth_H year 70 mgen US native fgen foreign count 6 Model8~d 1.265671 M8pear~n 17.70907 Observation 52 meth Wht_NH feth Blk_NH year 80 mgen US native fgen US native count 232 Model8~d 304.0049 M8pear~n 17.05467 Observation 53 meth Mex_Am feth Blk_NH year 80 mgen US native fgen US native count 29 Model8~d 61.07743 M8pear~n 16.84684 Observation 54 meth Wht_NH feth Oth_H year 80 mgen US native fgen foreign count 686 Model8~d 589.0038 M8pear~n 15.97316 Observation 55 meth Wht_NH feth Blk_NH year 90 mgen US native fgen US native count 263 Model8~d 336.0191 M8pear~n 15.86752 Observation 56 meth Wht_NH feth Oth_H year 70 mgen US native fgen US native count 224 Model8~d 292.0513 M8pear~n 15.85672 Observation 57 meth Wht_NH feth Oth_H year 80 mgen foreign fgen US native count 50 Model8~d 28.7116 M8pear~n 15.78442 Observation 58 meth Wht_NH feth Oth_H year 90 mgen foreign fgen US native count 47 Model8~d 26.55932 M8pear~n 15.73163 Observation 59 meth Mex_Am feth Oth_H year 80 mgen foreign fgen US native count 68 Model8~d 42.39748 M8pear~n 15.46057 Observation 60 meth Blk_NH feth Mex_Am year 80 mgen US native fgen US native count 126 Model8~d 177.2852 M8pear~n 14.83583 Observation 61 meth Oth_NH feth Oth_NH year 70 mgen US native fgen US native count 257 Model8~d 202.8731 M8pear~n 14.44118 Observation 62 meth Oth_NH feth Wht_NH year 80 mgen foreign fgen US native count 405 Model8~d 335.4126 M8pear~n 14.43718 Observation 63 meth Wht_NH feth Blk_NH year 80 mgen US native fgen foreign count 12 Model8~d 4.252206 M8pear~n 14.11698 Observation 64 meth Wht_NH feth Oth_H year 70 mgen foreign fgen US native count 12 Model8~d 4.253272 M8pear~n 14.10956 Observation 65 meth Oth_NH feth Mex_Am year 90 mgen foreign fgen US native count 42 Model8~d 23.7328 M8pear~n 14.06031 Observation 66 meth Wht_NH feth Oth_NH year 80 mgen foreign fgen US native count 56 Model8~d 34.2444 M8pear~n 13.82142 Observation 67 meth Blk_NH feth Wht_NH year 70 mgen US native fgen foreign count 6 Model8~d 1.603919 M8pear~n 12.04894 Observation 68 meth Blk_NH feth Wht_NH year 70 mgen foreign fgen US native count 3 Model8~d .5218946 M8pear~n 11.76676 Observation 69 meth Mex_Am feth Wht_NH year 90 mgen US native fgen US native count 2204 Model8~d 2051.854 M8pear~n 11.28163 Observation 70 meth Oth_H feth Oth_H year 70 mgen US native fgen US native count 1006 Model8~d 907.8843 M8pear~n 10.60344 Observation 71 meth Oth_H feth Wht_NH year 70 mgen US native fgen foreign count 14 Model8~d 6.040249 M8pear~n 10.48924 Observation 72 meth Mex_Am feth Oth_H year 80 mgen US native fgen US native count 156 Model8~d 201.8201 M8pear~n 10.40275 Observation 73 meth Oth_H feth Oth_NH year 80 mgen foreign fgen US native count 21 Model8~d 41.56726 M8pear~n 10.17657 Observation 74 meth Mex_Am feth Oth_H year 90 mgen US native fgen US native count 121 Model8~d 161.3214 M8pear~n 10.07812 Observation 75 meth Mex_Am feth Wht_NH year 90 mgen US native fgen foreign count 60 Model8~d 40.39191 M8pear~n 9.518662 Observation 76 meth Oth_H feth Mex_Am year 90 mgen US native fgen US native count 122 Model8~d 160.912 M8pear~n 9.409771 Observation 77 meth Oth_H feth Wht_NH year 70 mgen US native fgen US native count 246 Model8~d 298.4236 M8pear~n 9.209185 Observation 78 meth Oth_H feth Mex_Am year 80 mgen US native fgen US native count 139 Model8~d 179.3378 M8pear~n 9.073052 Observation 79 meth Wht_NH feth Blk_NH year 70 mgen foreign fgen US native count 3 Model8~d .6253946 M8pear~n 9.01631 Observation 80 meth Wht_NH feth Mex_Am year 70 mgen foreign fgen US native count 8 Model8~d 2.922392 M8pear~n 8.822261 Observation 81 meth Wht_NH feth Mex_Am year 90 mgen US native fgen foreign count 296 Model8~d 351.2973 M8pear~n 8.704284 Observation 82 meth Oth_NH feth Blk_NH year 90 mgen US native fgen US native count 26 Model8~d 45.78223 M8pear~n 8.547783 Observation 83 meth Blk_NH feth Oth_H year 80 mgen US native fgen foreign count 68 Model8~d 47.99865 M8pear~n 8.334694 Observation 84 meth Wht_NH feth Oth_H year 80 mgen US native fgen US native count 1454 Model8~d 1567.668 M8pear~n 8.241835 Observation 85 meth Oth_NH feth Mex_Am year 80 mgen foreign fgen US native count 33 Model8~d 20.1366 M8pear~n 8.217232 Observation 86 meth Oth_NH feth Oth_H year 80 mgen US native fgen foreign count 12 Model8~d 26.53139 M8pear~n 7.958921 Observation 87 meth Oth_H feth Wht_NH year 90 mgen US native fgen foreign count 38 Model8~d 24.18955 M8pear~n 7.884743 Observation 88 meth Mex_Am feth Oth_NH year 80 mgen foreign fgen US native count 41 Model8~d 26.5377 M8pear~n 7.881543 Observation 89 meth Oth_H feth Oth_NH year 90 mgen foreign fgen US native count 19 Model8~d 35.05922 M8pear~n 7.356083 Observation 90 meth Mex_Am feth Blk_NH year 90 mgen US native fgen US native count 43 Model8~d 64.71803 M8pear~n 7.288118 Observation 91 meth Mex_Am feth Blk_NH year 70 mgen US native fgen US native count 0 Model8~d 7.265678 M8pear~n 7.265678 Observation 92 meth Wht_NH feth Oth_NH year 70 mgen US native fgen US native count 134 Model8~d 167.8302 M8pear~n 6.819271 Observation 93 meth Blk_NH feth Wht_NH year 80 mgen US native fgen US native count 914 Model8~d 993.0408 M8pear~n 6.291235 Observation 94 meth Oth_NH feth Wht_NH year 90 mgen foreign fgen US native count 391 Model8~d 345.3419 M8pear~n 6.03652 Observation 95 meth Blk_NH feth Blk_NH year 90 mgen US native fgen foreign count 230 Model8~d 270.0114 M8pear~n 5.929058 Observation 96 meth Mex_Am feth Mex_Am year 90 mgen foreign fgen US native count 1653 Model8~d 1557.525 M8pear~n 5.852535 Observation 97 meth Oth_H feth Oth_H year 80 mgen foreign fgen US native count 628 Model8~d 691.5756 M8pear~n 5.844421 Observation 98 meth Blk_NH feth Oth_NH year 90 mgen US native fgen foreign count 79 Model8~d 60.64233 M8pear~n 5.557241 Observation 99 meth Wht_NH feth Blk_NH year 80 mgen foreign fgen US native count 11 Model8~d 5.567803 M8pear~n 5.299893 Observation 100 meth Wht_NH feth Oth_H year 90 mgen US native fgen US native count 1227 Model8~d 1307.135 M8pear~n 4.912788 Observation 101 meth Mex_Am feth Blk_NH year 80 mgen foreign fgen US native count 5 Model8~d 12.83087 M8pear~n 4.7793 Observation 102 meth Mex_Am feth Wht_NH year 80 mgen US native fgen US native count 2556 Model8~d 2448.253 M8pear~n 4.741903 Observation 103 meth Blk_NH feth Blk_NH year 90 mgen foreign fgen US native count 315 Model8~d 355.7704 M8pear~n 4.672183 Observation 104 meth Oth_NH feth Wht_NH year 80 mgen US native fgen US native count 1545 Model8~d 1632.287 M8pear~n 4.667746 Observation 105 meth Blk_NH feth Oth_H year 90 mgen US native fgen foreign count 60 Model8~d 45.63229 M8pear~n 4.523792 Observation 106 meth Oth_H feth Blk_NH year 70 mgen US native fgen US native count 16 Model8~d 9.484136 M8pear~n 4.47658 Observation 107 meth Wht_NH feth Mex_Am year 70 mgen US native fgen foreign count 35 Model8~d 24.52441 M8pear~n 4.474641 Observation 108 meth Oth_H feth Oth_NH year 90 mgen US native fgen US native count 80 Model8~d 63.26262 M8pear~n 4.428206 Observation 109 meth Blk_NH feth Mex_Am year 80 mgen US native fgen foreign count 12 Model8~d 21.68612 M8pear~n 4.326312 Observation 110 meth Wht_NH feth Wht_NH year 80 mgen US native fgen foreign count 5151 Model8~d 5300.415 M8pear~n 4.211879 Observation 111 meth Mex_Am feth Wht_NH year 70 mgen US native fgen foreign count 9 Model8~d 4.62736 M8pear~n 4.131942 Observation 112 meth Mex_Am feth Oth_H year 70 mgen foreign fgen US native count 8 Model8~d 4.007136 M8pear~n 3.978642 Observation 113 meth Blk_NH feth Mex_Am year 70 mgen US native fgen US native count 5 Model8~d 11.76819 M8pear~n 3.892559 Observation 114 meth Oth_H feth Mex_Am year 90 mgen US native fgen foreign count 36 Model8~d 25.96449 M8pear~n 3.87882 Observation 115 meth Mex_Am feth Oth_NH year 90 mgen foreign fgen US native count 43 Model8~d 31.88664 M8pear~n 3.873307 Observation 116 meth Mex_Am feth Mex_Am year 90 mgen US native fgen US native count 5019 Model8~d 5159.885 M8pear~n 3.846698 Observation 117 meth Oth_H feth Wht_NH year 80 mgen US native fgen US native count 1492 Model8~d 1567.676 M8pear~n 3.653101 Observation 118 meth Oth_NH feth Blk_NH year 80 mgen US native fgen foreign count 2 Model8~d .56958 M8pear~n 3.592299 Observation 119 meth Oth_H feth Mex_Am year 70 mgen US native fgen foreign count 7 Model8~d 3.470695 M8pear~n 3.588904 Observation 120 meth Oth_H feth Wht_NH year 90 mgen US native fgen US native count 1163 Model8~d 1228.797 M8pear~n 3.523106 Observation 121 meth Oth_H feth Oth_NH year 80 mgen US native fgen foreign count 26 Model8~d 37.43472 M8pear~n 3.492822 Observation 122 meth Oth_H feth Oth_NH year 70 mgen US native fgen US native count 6 Model8~d 12.46462 M8pear~n 3.352795 Observation 123 meth Oth_NH feth Oth_NH year 70 mgen foreign fgen US native count 14 Model8~d 22.65196 M8pear~n 3.304635 Observation 124 meth Mex_Am feth Mex_Am year 80 mgen foreign fgen US native count 1586 Model8~d 1516.916 M8pear~n 3.146273 Observation 125 meth Mex_Am feth Oth_NH year 80 mgen US native fgen foreign count 45 Model8~d 58.46212 M8pear~n 3.099933 Observation 126 meth Blk_NH feth Blk_NH year 80 mgen foreign fgen US native count 381 Model8~d 416.4249 M8pear~n 3.013565 Observation 127 meth Oth_H feth Oth_H year 90 mgen US native fgen foreign count 481 Model8~d 520.5126 M8pear~n 2.999434 Observation 128 meth Wht_NH feth Mex_Am year 80 mgen US native fgen foreign count 239 Model8~d 266.116 M8pear~n 2.76299 Observation 129 meth Oth_NH feth Wht_NH year 80 mgen US native fgen foreign count 40 Model8~d 30.86633 M8pear~n 2.702748 Observation 130 meth Wht_NH feth Oth_NH year 70 mgen foreign fgen US native count 5 Model8~d 2.444185 M8pear~n 2.672544 Observation 131 meth Wht_NH feth Oth_H year 90 mgen US native fgen foreign count 632 Model8~d 592.572 M8pear~n 2.623429 Observation 132 meth Wht_NH feth Wht_NH year 80 mgen foreign fgen US native count 5020 Model8~d 5133.632 M8pear~n 2.515216 Observation 133 meth Mex_Am feth Mex_Am year 90 mgen US native fgen foreign count 878 Model8~d 832.5901 M8pear~n 2.476681 Observation 134 meth Mex_Am feth Oth_NH year 80 mgen US native fgen US native count 144 Model8~d 126.3246 M8pear~n 2.473162 Observation 135 meth Oth_H feth Wht_NH year 90 mgen foreign fgen US native count 640 Model8~d 680.9811 M8pear~n 2.466219 Observation 136 meth Oth_NH feth Wht_NH year 90 mgen US native fgen US native count 1392 Model8~d 1451.504 M8pear~n 2.439342 Observation 137 meth Oth_NH feth Oth_H year 90 mgen foreign fgen US native count 20 Model8~d 14.24905 M8pear~n 2.321097 Observation 138 meth Mex_Am feth Oth_NH year 70 mgen US native fgen US native count 5 Model8~d 9.548991 M8pear~n 2.167069 Observation 139 meth Mex_Am feth Mex_Am year 70 mgen US native fgen foreign count 76 Model8~d 89.74519 M8pear~n 2.105184 Observation 140 meth Oth_H feth Oth_H year 90 mgen US native fgen US native count 1197 Model8~d 1148.182 M8pear~n 2.075637 Observation 141 meth Wht_NH feth Wht_NH year 90 mgen US native fgen foreign count 3629 Model8~d 3716.695 M8pear~n 2.069157 Observation 142 meth Oth_H feth Oth_NH year 80 mgen US native fgen US native count 68 Model8~d 80.88869 M8pear~n 2.053667 Observation 143 meth Blk_NH feth Oth_H year 70 mgen US native fgen US native count 23 Model8~d 17.12751 M8pear~n 2.013492 Observation 144 meth Blk_NH feth Wht_NH year 70 mgen US native fgen US native count 67 Model8~d 79.24297 M8pear~n 1.891527 Observation 145 meth Oth_NH feth Oth_H year 90 mgen US native fgen foreign count 20 Model8~d 27.15035 M8pear~n 1.883125 Observation 146 meth Wht_NH feth Wht_NH year 90 mgen foreign fgen US native count 3752 Model8~d 3836.237 M8pear~n 1.849699 Observation 147 meth Oth_NH feth Wht_NH year 70 mgen foreign fgen US native count 20 Model8~d 15.02769 M8pear~n 1.645217 Observation 148 meth Mex_Am feth Blk_NH year 90 mgen foreign fgen US native count 14 Model8~d 19.53531 M8pear~n 1.568424 Observation 149 meth Mex_Am feth Blk_NH year 80 mgen US native fgen foreign count 2 Model8~d .8543079 M8pear~n 1.536461 Observation 150 meth Oth_NH feth Oth_H year 80 mgen US native fgen US native count 81 Model8~d 70.61484 M8pear~n 1.527322 Observation 151 meth Mex_Am feth Mex_Am year 80 mgen US native fgen US native count 7116 Model8~d 7220.811 M8pear~n 1.521332 Observation 152 meth Oth_NH feth Blk_NH year 80 mgen US native fgen US native count 33 Model8~d 40.72124 M8pear~n 1.464042 Observation 153 meth Blk_NH feth Oth_NH year 70 mgen US native fgen foreign count 5 Model8~d 2.933976 M8pear~n 1.454836 Observation 154 meth Mex_Am feth Mex_Am year 80 mgen US native fgen foreign count 919 Model8~d 883.2736 M8pear~n 1.44505 Observation 155 meth Wht_NH feth Oth_NH year 90 mgen foreign fgen US native count 40 Model8~d 33.13962 M8pear~n 1.420199 Observation 156 meth Oth_NH feth Oth_H year 80 mgen foreign fgen US native count 10 Model8~d 14.51038 M8pear~n 1.401996 Observation 157 meth Blk_NH feth Mex_Am year 80 mgen foreign fgen US native count 5 Model8~d 3.003767 M8pear~n 1.32665 Observation 158 meth Mex_Am feth Oth_NH year 90 mgen US native fgen foreign count 43 Model8~d 51.00437 M8pear~n 1.256165 Observation 159 meth Oth_NH feth Blk_NH year 70 mgen US native fgen US native count 2 Model8~d 4.277356 M8pear~n 1.212513 Observation 160 meth Wht_NH feth Mex_Am year 70 mgen US native fgen US native count 186 Model8~d 200.6663 M8pear~n 1.071927 Observation 161 meth Oth_H feth Oth_NH year 70 mgen foreign fgen US native count 0 Model8~d 1.07124 M8pear~n 1.07124 Observation 162 meth Oth_NH feth Wht_NH year 90 mgen US native fgen foreign count 34 Model8~d 28.57368 M8pear~n 1.030494 Observation 163 meth Mex_Am feth Blk_NH year 70 mgen foreign fgen US native count 0 Model8~d .9195067 M8pear~n .9195068 Observation 164 meth Blk_NH feth Blk_NH year 70 mgen foreign fgen US native count 25 Model8~d 30.22297 M8pear~n .9026069 Observation 165 meth Oth_NH feth Blk_NH year 90 mgen US native fgen foreign count 2 Model8~d 1.03669 M8pear~n .8951228 Observation 166 meth Oth_NH feth Blk_NH year 90 mgen foreign fgen US native count 14 Model8~d 10.89251 M8pear~n .8865264 Observation 167 meth Blk_NH feth Oth_NH year 70 mgen US native fgen US native count 7 Model8~d 9.842494 M8pear~n .820907 Observation 168 meth Blk_NH feth Mex_Am year 90 mgen foreign fgen US native count 7 Model8~d 5.002127 M8pear~n .7979602 Observation 169 meth Oth_NH feth Oth_H year 70 mgen US native fgen US native count 7 Model8~d 9.782409 M8pear~n .7914 Observation 170 meth Mex_Am feth Oth_H year 90 mgen US native fgen foreign count 66 Model8~d 73.13287 M8pear~n .6956896 Observation 171 meth Blk_NH feth Oth_H year 90 mgen US native fgen US native count 109 Model8~d 100.6588 M8pear~n .6912016 Observation 172 meth Mex_Am feth Oth_H year 70 mgen US native fgen US native count 27 Model8~d 31.66324 M8pear~n .6867852 Observation 173 meth Mex_Am feth Mex_Am year 70 mgen foreign fgen US native count 85 Model8~d 92.93209 M8pear~n .6770326 Observation 174 meth Oth_H feth Oth_NH year 90 mgen US native fgen foreign count 35 Model8~d 30.54504 M8pear~n .6497498 Observation 175 meth Mex_Am feth Mex_Am year 70 mgen US native fgen US native count 756 Model8~d 734.3227 M8pear~n .6399171 Observation 176 meth Blk_NH feth Blk_NH year 80 mgen US native fgen foreign count 329 Model8~d 343.7769 M8pear~n .6351688 Observation 177 meth Mex_Am feth Wht_NH year 70 mgen foreign fgen US native count 33 Model8~d 28.9328 M8pear~n .5717437 Observation 178 meth Wht_NH feth Blk_NH year 70 mgen US native fgen US native count 38 Model8~d 42.94277 M8pear~n .5689198 Observation 179 meth Blk_NH feth Blk_NH year 90 mgen US native fgen US native count 12005 Model8~d 11924.22 M8pear~n .5472701 Observation 180 meth Mex_Am feth Oth_NH year 70 mgen foreign fgen US native count 2 Model8~d 1.208471 M8pear~n .5184388 Observation 181 meth Wht_NH feth Mex_Am year 90 mgen US native fgen US native count 2210 Model8~d 2177.126 M8pear~n .4963816 Observation 182 meth Oth_NH feth Blk_NH year 70 mgen foreign fgen US native count 0 Model8~d .4775918 M8pear~n .4775918 Observation 183 meth Blk_NH feth Oth_NH year 90 mgen foreign fgen US native count 5 Model8~d 3.747332 M8pear~n .4187451 Observation 184 meth Wht_NH feth Wht_NH year 70 mgen foreign fgen US native count 773 Model8~d 790.7548 M8pear~n .3986464 Observation 185 meth Oth_H feth Wht_NH year 80 mgen foreign fgen US native count 789 Model8~d 805.601 M8pear~n .342097 Observation 186 meth Blk_NH feth Oth_H year 80 mgen foreign fgen US native count 3 Model8~d 2.164506 M8pear~n .3224987 Observation 187 meth Wht_NH feth Wht_NH year 80 mgen US native fgen US native count 280562 Model8~d 280299 M8pear~n .2468273 Observation 188 meth Blk_NH feth Blk_NH year 70 mgen US native fgen foreign count 12 Model8~d 13.80752 M8pear~n .2366204 Observation 189 meth Wht_NH feth Wht_NH year 70 mgen US native fgen foreign count 1083 Model8~d 1099.004 M8pear~n .2330626 Observation 190 meth Oth_H feth Mex_Am year 70 mgen US native fgen US native count 26 Model8~d 28.3983 M8pear~n .2025412 Observation 191 meth Oth_NH feth Wht_NH year 70 mgen US native fgen foreign count 2 Model8~d 2.724159 M8pear~n .1925022 Observation 192 meth Mex_Am feth Oth_H year 70 mgen US native fgen foreign count 3 Model8~d 2.339818 M8pear~n .1862709 Observation 193 meth Oth_NH feth Mex_Am year 90 mgen US native fgen US native count 104 Model8~d 99.75115 M8pear~n .1809774 Observation 194 meth Blk_NH feth Wht_NH year 90 mgen US native fgen US native count 809 Model8~d 820.3826 M8pear~n .1579315 Observation 195 meth Wht_NH feth Wht_NH year 90 mgen US native fgen US native count 188975 Model8~d 188803.1 M8pear~n .1565785 Observation 196 meth Oth_NH feth Wht_NH year 70 mgen US native fgen US native count 130 Model8~d 134.5894 M8pear~n .1564953 Observation 197 meth Mex_Am feth Blk_NH year 90 mgen US native fgen foreign count 1 Model8~d 1.465472 M8pear~n .1478459 Observation 198 meth Oth_H feth Oth_NH year 70 mgen US native fgen foreign count 3 Model8~d 3.715613 M8pear~n .1378242 Observation 199 meth Oth_H feth Oth_H year 90 mgen foreign fgen US native count 627 Model8~d 636.3056 M8pear~n .1360891 Observation 200 meth Blk_NH feth Mex_Am year 70 mgen US native fgen foreign count 1 Model8~d 1.438248 M8pear~n .1335384 Observation 201 meth Blk_NH feth Oth_NH year 80 mgen foreign fgen US native count 2 Model8~d 2.581611 M8pear~n .1310313 Observation 202 meth Wht_NH feth Blk_NH year 70 mgen US native fgen foreign count 0 Model8~d .1292084 M8pear~n .1292084 Observation 203 meth Oth_H feth Mex_Am year 70 mgen foreign fgen US native count 3 Model8~d 2.440619 M8pear~n .1282081 Observation 204 meth Oth_NH feth Oth_H year 70 mgen US native fgen foreign count 1 Model8~d .7228905 M8pear~n .1062259 Observation 205 meth Blk_NH feth Blk_NH year 80 mgen US native fgen US native count 24628 Model8~d 24577.8 M8pear~n .102538 Observation 206 meth Oth_NH feth Mex_Am year 80 mgen US native fgen US native count 95 Model8~d 97.99489 M8pear~n .0915288 Observation 207 meth Oth_NH feth Mex_Am year 80 mgen US native fgen foreign count 13 Model8~d 11.98706 M8pear~n .0855958 Observation 208 meth Blk_NH feth Mex_Am year 70 mgen foreign fgen US native count 0 Model8~d .0775053 M8pear~n .0775054 Observation 209 meth Oth_NH feth Oth_H year 90 mgen US native fgen US native count 62 Model8~d 59.89008 M8pear~n .0743323 Observation 210 meth Blk_NH feth Oth_NH year 70 mgen foreign fgen US native count 0 Model8~d .0648227 M8pear~n .0648227 Observation 211 meth Mex_Am feth Oth_H year 80 mgen US native fgen foreign count 78 Model8~d 75.8278 M8pear~n .0622261 Observation 212 meth Oth_NH feth Mex_Am year 90 mgen US native fgen foreign count 17 Model8~d 16.09567 M8pear~n .050809 Observation 213 meth Mex_Am feth Wht_NH year 70 mgen US native fgen US native count 232 Model8~d 228.6187 M8pear~n .0500113 Observation 214 meth Blk_NH feth Mex_Am year 90 mgen US native fgen foreign count 26 Model8~d 27.05241 M8pear~n .0409418 Observation 215 meth Oth_NH feth Mex_Am year 70 mgen US native fgen foreign count 1 Model8~d .8214579 M8pear~n .0388058 Observation 216 meth Mex_Am feth Blk_NH year 70 mgen US native fgen foreign count 0 Model8~d .0218613 M8pear~n .0218613 Observation 217 meth Wht_NH feth Wht_NH year 70 mgen US native fgen US native count 54331 Model8~d 54297.24 M8pear~n .020988 Observation 218 meth Mex_Am feth Oth_NH year 90 mgen US native fgen US native count 107 Model8~d 105.6364 M8pear~n .0176008 Observation 219 meth Blk_NH feth Oth_H year 80 mgen US native fgen US native count 129 Model8~d 127.7512 M8pear~n .0122069 Observation 220 meth Oth_NH feth Mex_Am year 70 mgen US native fgen US native count 7 Model8~d 6.721421 M8pear~n .0115461 Observation 221 meth Blk_NH feth Blk_NH year 70 mgen US native fgen US native count 4596 Model8~d 4588.97 M8pear~n .0107703 Observation 222 meth Wht_NH feth Mex_Am year 80 mgen US native fgen US native count 2171 Model8~d 2175.513 M8pear~n .0093607 Observation 223 meth Mex_Am feth Oth_NH year 70 mgen US native fgen foreign count 3 Model8~d 2.846485 M8pear~n .0082793 Observation 224 meth Oth_NH feth Oth_H year 70 mgen foreign fgen US native count 1 Model8~d 1.092263 M8pear~n .0077935 Observation 225 meth Oth_H feth Mex_Am year 80 mgen US native fgen foreign count 22 Model8~d 21.9372 M8pear~n .0001798 . desmat: poisson count year*meth*mgen*fgen year*feth*fgen*mgen ethintct*year BW*mge > n BW*fgen ethintct*mgen ethintct*fgen MOh --Break-- r(1); . desmat: poisson count year*meth*mgen*fgen year*feth*fgen*mgen ethintct*year BW*mge > n BW*fgen ethintct*mgen ethintct*fgen MOh, verbose Desmat generated the following design matrix: nr Variables Term Parameterization First Last 1 _x_1 _x_2 year ind(70) 2 _x_3 _x_6 meth ind(1) 3 _x_7 _x_13 year.meth ind(70).ind(1) 4 _x_14 mgen ind(1) 5 _x_15 _x_18 meth.mgen ind(1).ind(1) 6 _x_19 _x_25 year.meth.mgen ind(70).ind(1).ind(1) 7 _x_26 fgen ind(1) 8 _x_27 _x_29 meth.fgen ind(1).ind(1) 9 _x_30 _x_33 year.meth.fgen ind(70).ind(1).ind(1) 10 _x_34 _x_35 year.mgen.fgen ind(70).ind(1).ind(1) 11 _x_36 meth.mgen.fgen ind(1).ind(1).ind(1) 12 _x_37 _x_42 year.meth.mgen.fgen ind(70).ind(1).ind(1).ind(1) 13 _x_43 _x_46 feth ind(1) 14 _x_47 _x_54 year.feth ind(70).ind(1) 15 _x_55 _x_56 year.fgen ind(70).ind(1) 16 _x_57 _x_60 feth.fgen ind(1).ind(1) 17 _x_61 _x_67 year.feth.fgen ind(70).ind(1).ind(1) 18 _x_68 _x_70 feth.mgen ind(1).ind(1) 19 _x_71 _x_76 year.feth.mgen ind(70).ind(1).ind(1) 20 _x_77 feth.fgen.mgen ind(1).ind(1).ind(1) 21 _x_78 _x_80 year.feth.fgen.mgen ind(70).ind(1).ind(1).ind(1) 22 _x_81 _x_85 ethintct ind(0) 23 _x_86 _x_95 ethintct.year ind(0).ind(70) 24 _x_96 BW ind(0) 25 _x_97 BW.mgen ind(0).ind(1) 26 _x_98 BW.fgen ind(0).ind(1) 27 _x_99 _x_103 ethintct.mgen ind(0).ind(1) 28 _x_104 _x_108 ethintct.fgen ind(0).ind(1) 29 _x_109 MOh ind(0) Iteration 0: log likelihood = -14574810 (not concave) Iteration 1: log likelihood = -13408826 (not concave) Iteration 2: log likelihood = -11263414 (not concave) Iteration 3: log likelihood = -11038147 (not concave) Iteration 4: log likelihood = -10949842 (not concave) Iteration 5: log likelihood = -10809685 (not concave) Iteration 6: log likelihood = -10700818 (not concave) Iteration 7: log likelihood = -10356004 (not concave) Iteration 8: log likelihood = -10222640 (not concave) Iteration 9: log likelihood = -9921112 (not concave) Iteration 10: log likelihood = -8984786.9 (not concave) Iteration 11: log likelihood = -6479577.5 (not concave) Iteration 12: log likelihood = -6253682.7 (not concave) Iteration 13: log likelihood = -6114424.8 (not concave) Iteration 14: log likelihood = -5801676 (not concave) Iteration 15: log likelihood = -5583007.9 (not concave) Iteration 16: log likelihood = -5447727.5 (not concave) Iteration 17: log likelihood = -5321598.5 (not concave) Iteration 18: log likelihood = -5141693.3 (not concave) Iteration 19: log likelihood = -5037249.2 (not concave) Iteration 20: log likelihood = -4824503.3 (not concave) Iteration 21: log likelihood = -4760354.1 (not concave) Iteration 22: log likelihood = -4650368.9 (not concave) Iteration 23: log likelihood = -4539653.4 (not concave) Iteration 24: log likelihood = -4439382.3 (not concave) Iteration 25: log likelihood = -4300839.9 (not concave) Iteration 26: log likelihood = -4211300.2 (not concave) Iteration 27: log likelihood = -4123857.7 (not concave) Iteration 28: log likelihood = -3980857.4 (not concave) Iteration 29: log likelihood = -3852784.7 (not concave) Iteration 30: log likelihood = -3668229.5 (not concave) Iteration 31: log likelihood = -3495761.2 (not concave) Iteration 32: log likelihood = -3234885.7 (not concave) Iteration 33: log likelihood = -3190174.2 (not concave) Iteration 34: log likelihood = -3095192.7 (not concave) Iteration 35: log likelihood = -3006286.1 (not concave) Iteration 36: log likelihood = -2839703.4 (not concave) Iteration 37: log likelihood = -2522357.5 (not concave) Iteration 38: log likelihood = -2461802.3 (not concave) Iteration 39: log likelihood = -2360714.6 (not concave) Iteration 40: log likelihood = -2295561.1 (not concave) Iteration 41: log likelihood = -2260224.5 (not concave) Iteration 42: log likelihood = -2234679.5 (not concave) Iteration 43: log likelihood = -2212822.8 (not concave) Iteration 44: log likelihood = -2179147.8 (not concave) Iteration 45: log likelihood = -2147799 (not concave) Iteration 46: log likelihood = -2107050.3 (not concave) Iteration 47: log likelihood = -2064493 (not concave) Iteration 48: log likelihood = -2042869.4 (not concave) Iteration 49: log likelihood = -2029609.4 (not concave) Iteration 50: log likelihood = -2015479.5 (not concave) Iteration 51: log likelihood = -1907273.4 (not concave) Iteration 52: log likelihood = -1854992.8 (not concave) Iteration 53: log likelihood = -1834719.3 (not concave) Iteration 54: log likelihood = -1822607.5 (not concave) Iteration 55: log likelihood = -1808339.9 (not concave) Iteration 56: log likelihood = -1797342 (not concave) Iteration 57: log likelihood = -1787513 (not concave) Iteration 58: log likelihood = -1774907.8 (not concave) Iteration 59: log likelihood = -1758905.6 (not concave) Iteration 60: log likelihood = -1749243.1 (not concave) Iteration 61: log likelihood = -1737416.1 (not concave) Iteration 62: log likelihood = -1727462.5 (not concave) Iteration 63: log likelihood = -1718388.7 (not concave) Iteration 64: log likelihood = -1708828.1 (not concave) Iteration 65: log likelihood = -1699334.4 (not concave) Iteration 66: log likelihood = -1690005.7 (not concave) Iteration 67: log likelihood = -1680939 (not concave) Iteration 68: log likelihood = -1671783.1 (not concave) Iteration 69: log likelihood = -1662729.2 (not concave) Iteration 70: log likelihood = -1653669.7 (not concave) Iteration 71: log likelihood = -1644793.6 (not concave) Iteration 72: log likelihood = -1635873.7 (not concave) --Break-- r(1); . desmat: poisson count year*meth*mgen*fgen year*feth*fgen*mgen ethintct*year BW*mge > n BW*fgen ethintct*mgen ethintct*fgen MOh, difficult verbose Desmat generated the following design matrix: nr Variables Term Parameterization First Last 1 _x_1 _x_2 year ind(70) 2 _x_3 _x_6 meth ind(1) 3 _x_7 _x_13 year.meth ind(70).ind(1) 4 _x_14 mgen ind(1) 5 _x_15 _x_18 meth.mgen ind(1).ind(1) 6 _x_19 _x_25 year.meth.mgen ind(70).ind(1).ind(1) 7 _x_26 fgen ind(1) 8 _x_27 _x_29 meth.fgen ind(1).ind(1) 9 _x_30 _x_33 year.meth.fgen ind(70).ind(1).ind(1) 10 _x_34 _x_35 year.mgen.fgen ind(70).ind(1).ind(1) 11 _x_36 meth.mgen.fgen ind(1).ind(1).ind(1) 12 _x_37 _x_42 year.meth.mgen.fgen ind(70).ind(1).ind(1).ind(1) 13 _x_43 _x_46 feth ind(1) 14 _x_47 _x_54 year.feth ind(70).ind(1) 15 _x_55 _x_56 year.fgen ind(70).ind(1) 16 _x_57 _x_60 feth.fgen ind(1).ind(1) 17 _x_61 _x_67 year.feth.fgen ind(70).ind(1).ind(1) 18 _x_68 _x_70 feth.mgen ind(1).ind(1) 19 _x_71 _x_76 year.feth.mgen ind(70).ind(1).ind(1) 20 _x_77 feth.fgen.mgen ind(1).ind(1).ind(1) 21 _x_78 _x_80 year.feth.fgen.mgen ind(70).ind(1).ind(1).ind(1) 22 _x_81 _x_85 ethintct ind(0) 23 _x_86 _x_95 ethintct.year ind(0).ind(70) 24 _x_96 BW ind(0) 25 _x_97 BW.mgen ind(0).ind(1) 26 _x_98 BW.fgen ind(0).ind(1) 27 _x_99 _x_103 ethintct.mgen ind(0).ind(1) 28 _x_104 _x_108 ethintct.fgen ind(0).ind(1) 29 _x_109 MOh ind(0) Iteration 0: log likelihood = -14574810 (not concave) Iteration 1: log likelihood = -11351135 (not concave) Iteration 2: log likelihood = -6891071.3 (not concave) Iteration 3: log likelihood = -4669875.5 (not concave) Iteration 4: log likelihood = -3176483 (not concave) Iteration 5: log likelihood = -2661394.6 (not concave) Iteration 6: log likelihood = -1750847.4 (not concave) Iteration 7: log likelihood = -1461626.4 (not concave) Iteration 8: log likelihood = -1202994.6 (not concave) Iteration 9: log likelihood = -1138808.8 (not concave) Iteration 10: log likelihood = -1025081 Iteration 11: log likelihood = -991001.5 (backed up) Iteration 12: log likelihood = -974767.32 (backed up) Iteration 13: log likelihood = -884430.92 (backed up) Iteration 14: log likelihood = -744101.9 Iteration 15: log likelihood = -448784.58 Iteration 16: log likelihood = -93508.334 Iteration 17: log likelihood = -5638.6552 Iteration 18: log likelihood = -1295.4859 Iteration 19: log likelihood = -1014.0759 Iteration 20: log likelihood = -994.91755 Iteration 21: log likelihood = -994.52919 Iteration 22: log likelihood = -994.52888 Iteration 23: log likelihood = -994.52888 Poisson regression Number of obs = 225 LR chi2(109) = 4503238.24 Prob > chi2 = 0.0000 Log likelihood = -994.52888 Pseudo R2 = 0.9996 ------------------------------------------------------------------------------ count | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- _x_1 | 3.5964 .3166563 11.36 0.000 2.975765 4.217035 _x_2 | 4.018529 .3176431 12.65 0.000 3.39596 4.641098 _x_3 | 1.037486 .5133635 2.02 0.043 .0313125 2.04366 _x_4 | .9948516 .5159345 1.93 0.054 -.0163614 2.006065 _x_5 | 1.671837 .4316762 3.87 0.000 .8257677 2.517907 _x_6 | 2.653117 .472199 5.62 0.000 1.727624 3.57861 _x_7 | .1515998 .3029834 0.50 0.617 -.4422368 .7454364 _x_8 | -.0558352 .4024306 -0.14 0.890 -.8445848 .7329144 _x_9 | -.0232805 .4254899 -0.05 0.956 -.8572253 .8106643 _x_10 | -.5354823 .4078839 -1.31 0.189 -1.33492 .2639554 _x_11 | .7150875 .5083978 1.41 0.160 -.2813539 1.711529 _x_12 | .1305182 .552393 0.24 0.813 -.9521523 1.213189 _x_13 | -.7601039 .4050099 -1.88 0.061 -1.553909 .0337008 _x_14 | 3.605623 .2542989 14.18 0.000 3.107207 4.10404 _x_15 | -1.915458 .4177337 -4.59 0.000 -2.734201 -1.096715 _x_16 | -2.09961 .4114274 -5.10 0.000 -2.905993 -1.293227 _x_17 | -3.183769 .5566966 -5.72 0.000 -4.274874 -2.092663 _x_18 | .0871913 .4004641 0.22 0.828 -.6977039 .8720866 _x_19 | .1366822 .5088682 0.27 0.788 -.8606811 1.134046 _x_20 | .0753469 .5508929 0.14 0.891 -1.004383 1.155077 _x_21 | -.5365995 .2495058 -2.15 0.032 -1.025622 -.0475771 _x_22 | .9030298 .5035805 1.79 0.073 -.0839698 1.890029 _x_23 | -.2151359 .4016135 -0.54 0.592 -1.002284 .5720121 _x_24 | .4795643 .4271194 1.12 0.262 -.3575743 1.316703 _x_25 | .4908774 .4675303 1.05 0.294 -.4254652 1.40722 _x_26 | 4.097112 .3264248 12.55 0.000 3.457331 4.736893 _x_27 | 1.024326 .3126581 3.28 0.001 .4115269 1.637124 _x_28 | 1.459976 .327191 4.46 0.000 .818693 2.101258 _x_29 | .0757626 .2629008 0.29 0.773 -.4395134 .5910387 _x_30 | -.4568558 .5044963 -0.91 0.365 -1.44565 .5319388 _x_31 | -.2999044 .4066237 -0.74 0.461 -1.096872 .4970635 _x_32 | -1.419016 .3275746 -4.33 0.000 -2.06105 -.7769813 _x_33 | -.5858125 .3654202 -1.60 0.109 -1.302023 .130398 _x_34 | -.9372809 .1895918 -4.94 0.000 -1.308874 -.5656878 _x_35 | -1.420733 .1911048 -7.43 0.000 -1.795292 -1.046175 _x_36 | 1.071855 .3674516 2.92 0.004 .3516634 1.792047 _x_37 | .1894269 .4094135 0.46 0.644 -.6130088 .9918626 _x_38 | -.9285689 .3262384 -2.85 0.004 -1.567984 -.2891534 _x_39 | -.0652256 .3641309 -0.18 0.858 -.7789091 .6484578 _x_40 | .6816774 .4683689 1.46 0.146 -.2363088 1.599664 _x_41 | -.4883369 .3144051 -1.55 0.120 -1.10456 .1278857 _x_42 | .1530427 .2695147 0.57 0.570 -.3751963 .6812818 _x_43 | 2.843926 .5719464 4.97 0.000 1.722931 3.96492 _x_44 | 2.84898 .5680423 5.02 0.000 1.735637 3.962323 _x_45 | 4.021279 .4091634 9.83 0.000 3.219333 4.823225 _x_46 | 4.19807 .5369631 7.82 0.000 3.145641 5.250498 _x_47 | .4007798 .3970676 1.01 0.313 -.3774585 1.179018 _x_48 | -.2234449 .5535135 -0.40 0.686 -1.308311 .8614216 _x_49 | -1.032186 .5831946 -1.77 0.077 -2.175227 .1108542 _x_50 | -.7793033 .3987686 -1.95 0.051 -1.560875 .0022688 _x_51 | -1.534309 .5591029 -2.74 0.006 -2.630131 -.4384875 _x_52 | -.6549847 .5540481 -1.18 0.237 -1.740899 .4309295 _x_53 | -1.760623 .5839904 -3.01 0.003 -2.905223 -.6160226 _x_54 | -1.562189 .3998873 -3.91 0.000 -2.345954 -.7784246 _x_55 | -.6076624 .3319967 -1.83 0.067 -1.258364 .0430392 _x_56 | -.5027112 .3341511 -1.50 0.132 -1.157635 .152213 _x_57 | -2.458604 .4158819 -5.91 0.000 -3.273718 -1.643491 _x_58 | -2.629256 .4069312 -6.46 0.000 -3.426827 -1.831686 _x_59 | -4.040225 .5888009 -6.86 0.000 -5.194254 -2.886197 _x_60 | -1.053884 .3893482 -2.71 0.007 -1.816992 -.2907755 _x_61 | .3668013 .3837454 0.96 0.339 -.3853259 1.118929 _x_62 | 1.170375 .3804844 3.08 0.002 .4246396 1.916111 _x_63 | .6754768 .5216343 1.29 0.195 -.3469076 1.697861 _x_64 | 1.961409 .3955725 4.96 0.000 1.186101 2.736717 _x_65 | .8442022 .3855837 2.19 0.029 .088472 1.599932 _x_66 | 1.812284 .3823777 4.74 0.000 1.062837 2.56173 _x_67 | 1.359664 .521611 2.61 0.009 .3373256 2.382003 _x_68 | .1739692 .3985388 0.44 0.662 -.6071525 .9550908 _x_69 | .6566579 .4029296 1.63 0.103 -.1330695 1.446385 _x_70 | .2729987 .3701852 0.74 0.461 -.4525509 .9985484 _x_71 | -1.520695 .5533251 -2.75 0.006 -2.605193 -.4361982 _x_72 | -.3124057 .406148 -0.77 0.442 -1.108441 .4836297 _x_73 | .4850336 .4526185 1.07 0.284 -.4020824 1.37215 _x_74 | .0213812 .401288 0.05 0.958 -.7651288 .8078911 _x_75 | -.6233634 .4049837 -1.54 0.124 -1.417117 .17039 _x_76 | .3833614 .4519076 0.85 0.396 -.5023612 1.269084 _x_77 | .1814409 .4473881 0.41 0.685 -.6954237 1.058305 _x_78 | 1.650554 .3945096 4.18 0.000 .8773298 2.423779 _x_79 | .5822214 .377541 1.54 0.123 -.1577454 1.322188 _x_80 | .4738061 .376136 1.26 0.208 -.2634069 1.211019 _x_81 | 3.306989 .306922 10.77 0.000 2.705433 3.908545 _x_82 | 4.251037 .1554216 27.35 0.000 3.946416 4.555658 _x_83 | 2.4733 .1657284 14.92 0.000 2.148478 2.798122 _x_84 | 1.363701 .2115429 6.45 0.000 .9490844 1.778317 _x_85 | 1.756656 .1439648 12.20 0.000 1.47449 2.038822 _x_86 | -.3719514 .1716391 -2.17 0.030 -.7083578 -.0355449 _x_87 | -1.133454 .1715043 -6.61 0.000 -1.469596 -.7973114 _x_88 | -.2108874 .1146142 -1.84 0.066 -.4355272 .0137523 _x_89 | -.510113 .1152009 -4.43 0.000 -.7359027 -.2843233 _x_90 | -.5826029 .1139447 -5.11 0.000 -.8059304 -.3592753 _x_91 | -.5137777 .11512 -4.46 0.000 -.7394087 -.2881468 _x_92 | -.8772377 .1477495 -5.94 0.000 -1.166821 -.587654 _x_93 | -1.047625 .1487618 -7.04 0.000 -1.339193 -.756057 _x_94 | -.7328224 .097266 -7.53 0.000 -.9234603 -.5421845 _x_95 | -1.002708 .0977748 -10.26 0.000 -1.194343 -.8110731 _x_96 | -.2332706 .1817815 -1.28 0.199 -.5895557 .1230146 _x_97 | -.3474988 .1407228 -2.47 0.014 -.6233104 -.0716872 _x_98 | -.4302636 .1232901 -3.49 0.000 -.6719077 -.1886195 _x_99 | 1.485307 .180935 8.21 0.000 1.130681 1.839934 _x_100 | .2460415 .0687626 3.58 0.000 .1112692 .3808137 _x_101 | .7775603 .0825535 9.42 0.000 .6157585 .9393621 _x_102 | 1.168209 .1075869 10.86 0.000 .9573429 1.379076 _x_103 | .2648195 .0728014 3.64 0.000 .1221314 .4075076 _x_104 | 1.772726 .1922251 9.22 0.000 1.395972 2.14948 _x_105 | -.456725 .0808291 -5.65 0.000 -.6151472 -.2983028 _x_106 | .5289244 .0912538 5.80 0.000 .3500703 .7077785 _x_107 | 1.418161 .1186464 11.95 0.000 1.185618 1.650704 _x_108 | .7805045 .0811419 9.62 0.000 .6214692 .9395397 _x_109 | .5350188 .0438563 12.20 0.000 .4490621 .6209756 _cons | -5.835733 .4350771 -13.41 0.000 -6.688469 -4.982998 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------- poisson ------------------------------------------------------------------------------- Dependent variable count Number of observations: 225 Initial log likelihood: -2252613.647 Log likelihood: -994.529 LR chi square: 4503238.237 Model degrees of freedom: 109 Pseudo R-squared: 1.000 Prob: 0.000 ------------------------------------------------------------------------------- nr Effect Coeff s.e. ------------------------------------------------------------------------------- count year 1 80 3.596** 0.317 2 90 4.019** 0.318 meth 3 Mex_Am 1.037* 0.513 4 Oth_H 0.995 0.516 5 Oth_NH 1.672** 0.432 6 Wht_NH 2.653** 0.472 year.meth 7 80.Mex_Am 0.152 0.303 8 80.Oth_H -0.056 0.402 9 80.Oth_NH -0.023 0.425 10 90.Mex_Am -0.535 0.408 11 90.Oth_H 0.715 0.508 12 90.Oth_NH 0.131 0.552 13 90.Wht_NH -0.760 0.405 mgen 14 US native 3.606** 0.254 meth.mgen 15 Mex_Am.US native -1.915** 0.418 16 Oth_H.US native -2.100** 0.411 17 Oth_NH.US native -3.184** 0.557 18 Wht_NH.US native 0.087 0.400 year.meth.mgen 19 80.Oth_H.US native 0.137 0.509 20 80.Oth_NH.US native 0.075 0.551 21 80.Wht_NH.US native -0.537* 0.250 22 90.Mex_Am.US native 0.903 0.504 23 90.Oth_H.US native -0.215 0.402 24 90.Oth_NH.US native 0.480 0.427 25 90.Wht_NH.US native 0.491 0.468 fgen 26 US native 4.097** 0.326 meth.fgen 27 Mex_Am.US native 1.024** 0.313 28 Oth_H.US native 1.460** 0.327 29 Wht_NH.US native 0.076 0.263 year.meth.fgen 30 80.Mex_Am.US native -0.457 0.504 31 80.Wht_NH.US native -0.300 0.407 32 90.Oth_H.US native -1.419** 0.328 33 90.Oth_NH.US native -0.586 0.365 year.mgen.fgen 34 80.US native.US native -0.937** 0.190 35 90.US native.US native -1.421** 0.191 meth.mgen.fgen 36 Oth_NH.US native.US native 1.072** 0.367 year.meth.mgen.fgen 37 80.Mex_Am.US native.US native 0.189 0.409 38 80.Oth_H.US native.US native -0.929** 0.326 39 80.Oth_NH.US native.US native -0.065 0.364 40 80.Wht_NH.US native.US native 0.682 0.468 41 90.Mex_Am.US native.US native -0.488 0.314 42 90.Wht_NH.US native.US native 0.153 0.270 feth 43 Mex_Am 2.844** 0.572 44 Oth_H 2.849** 0.568 45 Oth_NH 4.021** 0.409 46 Wht_NH 4.198** 0.537 year.feth 47 80.Mex_Am 0.401 0.397 48 80.Oth_H -0.223 0.554 49 80.Oth_NH -1.032 0.583 50 80.Wht_NH -0.779 0.399 51 90.Mex_Am -1.534** 0.559 52 90.Oth_H -0.655 0.554 53 90.Oth_NH -1.761** 0.584 54 90.Wht_NH -1.562** 0.400 year.fgen 55 80.US native -0.608 0.332 56 90.US native -0.503 0.334 feth.fgen 57 Mex_Am.US native -2.459** 0.416 58 Oth_H.US native -2.629** 0.407 59 Oth_NH.US native -4.040** 0.589 60 Wht_NH.US native -1.054** 0.389 year.feth.fgen 61 80.Oth_H.US native 0.367 0.384 62 80.Oth_NH.US native 1.170** 0.380 63 80.Wht_NH.US native 0.675 0.522 64 90.Mex_Am.US native 1.961** 0.396 65 90.Oth_H.US native 0.844* 0.386 66 90.Oth_NH.US native 1.812** 0.382 67 90.Wht_NH.US native 1.360** 0.522 feth.mgen 68 Mex_Am.US native 0.174 0.399 69 Oth_H.US native 0.657 0.403 70 Wht_NH.US native 0.273 0.370 year.feth.mgen 71 80.Mex_Am.US native -1.521** 0.553 72 80.Oth_H.US native -0.312 0.406 73 80.Oth_NH.US native 0.485 0.453 74 90.Mex_Am.US native 0.021 0.401 75 90.Oth_H.US native -0.623 0.405 76 90.Oth_NH.US native 0.383 0.452 feth.fgen.mgen 77 Oth_NH.US native.US native 0.181 0.447 year.feth.fgen.mgen 78 80.Mex_Am.US native.US native 1.651** 0.395 79 80.Wht_NH.US native.US native 0.582 0.378 80 90.Wht_NH.US native.US native 0.474 0.376 ethintct 81 1 3.307** 0.307 82 2 4.251** 0.155 83 3 2.473** 0.166 84 4 1.364** 0.212 85 5 1.757** 0.144 ethintct.year 86 1.80 -0.372* 0.172 87 1.90 -1.133** 0.172 88 2.80 -0.211 0.115 89 2.90 -0.510** 0.115 90 3.80 -0.583** 0.114 91 3.90 -0.514** 0.115 92 4.80 -0.877** 0.148 93 4.90 -1.048** 0.149 94 5.80 -0.733** 0.097 95 5.90 -1.003** 0.098 BW 96 1 -0.233 0.182 BW.mgen 97 1.US native -0.347* 0.141 BW.fgen 98 1.US native -0.430** 0.123 ethintct.mgen 99 1.US native 1.485** 0.181 100 2.US native 0.246** 0.069 101 3.US native 0.778** 0.083 102 4.US native 1.168** 0.108 103 5.US native 0.265** 0.073 ethintct.fgen 104 1.US native 1.773** 0.192 105 2.US native -0.457** 0.081 106 3.US native 0.529** 0.091 107 4.US native 1.418** 0.119 108 5.US native 0.781** 0.081 MOh 109 1 0.535** 0.044 110 _cons -5.836** 0.435 ------------------------------------------------------------------------------- * p < .05 ** p < .01 . poisgof Goodness-of-fit chi2 = 657.0578 Prob > chi2(115) = 0.0000 . predict NewModel (option n assumed; predicted number of events) . gen NewModel_pearson_resid=(count- NewModel)^2/( NewModel) . gsort- NewModel_pearson_resid . list meth feth year mgen fgen count NewModel NewModel_pearson_resid Observation 1 meth Oth_H feth Blk_NH year 80 mgen US native fgen US native count 80 NewModel 30.75195 NewMod~d 78.86881 Observation 2 meth Oth_H feth Blk_NH year 90 mgen US native fgen US native count 78 NewModel 29.91137 NewMod~d 77.31226 Observation 3 meth Oth_NH feth Blk_NH year 70 mgen US native fgen foreign count 1 NewModel .0237057 NewMod~d 40.20772 Observation 4 meth Oth_H feth Wht_NH year 70 mgen US native fgen foreign count 14 NewModel 3.114907 NewMod~d 38.03813 Observation 5 meth Blk_NH feth Oth_H year 70 mgen foreign fgen US native count 3 NewModel .2189531 NewMod~d 35.32364 Observation 6 meth Oth_H feth Mex_Am year 70 mgen US native fgen foreign count 7 NewModel 1.243643 NewMod~d 26.64402 Observation 7 meth Oth_H feth Blk_NH year 70 mgen US native fgen foreign count 1 NewModel .0356193 NewMod~d 26.11032 Observation 8 meth Oth_H feth Blk_NH year 90 mgen US native fgen foreign count 12 NewModel 3.266148 NewMod~d 23.35478 Observation 9 meth Wht_NH feth Oth_H year 70 mgen foreign fgen US native count 12 NewModel 3.353424 NewMod~d 22.29461 Observation 10 meth Oth_H feth Blk_NH year 80 mgen foreign fgen US native count 66 NewModel 38.44037 NewMod~d 19.75874 Observation 11 meth Mex_Am feth Oth_NH year 80 mgen foreign fgen US native count 41 NewModel 22.78073 NewMod~d 14.57117 Observation 12 meth Oth_H feth Oth_NH year 90 mgen US native fgen US native count 80 NewModel 54.36691 NewMod~d 12.08557 Observation 13 meth Oth_H feth Oth_NH year 80 mgen foreign fgen US native count 21 NewModel 43.30859 NewMod~d 11.49132 Observation 14 meth Mex_Am feth Blk_NH year 80 mgen foreign fgen US native count 5 NewModel 20.22 NewMod~d 11.4564 Observation 15 meth Oth_H feth Oth_H year 70 mgen US native fgen foreign count 12 NewModel 30.61926 NewMod~d 11.32218 Observation 16 meth Mex_Am feth Blk_NH year 80 mgen US native fgen US native count 29 NewModel 51.88261 NewMod~d 10.09228 Observation 17 meth Oth_NH feth Oth_H year 80 mgen foreign fgen US native count 10 NewModel 26.09525 NewMod~d 9.927366 Observation 18 meth Oth_NH feth Mex_Am year 70 mgen foreign fgen US native count 5 NewModel 1.375116 NewMod~d 9.555402 Observation 19 meth Oth_H feth Blk_NH year 80 mgen US native fgen foreign count 5 NewModel 1.408292 NewMod~d 9.160288 Observation 20 meth Blk_NH feth Oth_NH year 90 mgen US native fgen US native count 66 NewModel 95.54555 NewMod~d 9.136369 Observation 21 meth Blk_NH feth Oth_H year 90 mgen US native fgen US native count 109 NewModel 81.80364 NewMod~d 9.041674 Observation 22 meth Mex_Am feth Oth_H year 70 mgen foreign fgen US native count 8 NewModel 2.9386 NewMod~d 8.717678 Observation 23 meth Blk_NH feth Mex_Am year 90 mgen US native fgen US native count 109 NewModel 144.0064 NewMod~d 8.509682 Observation 24 meth Oth_H feth Oth_NH year 80 mgen US native fgen foreign count 26 NewModel 45.44506 NewMod~d 8.320168 Observation 25 meth Oth_H feth Wht_NH year 90 mgen US native fgen foreign count 38 NewModel 59.88885 NewMod~d 8.000181 Observation 26 meth Mex_Am feth Oth_NH year 80 mgen US native fgen US native count 144 NewModel 113.8294 NewMod~d 7.996749 Observation 27 meth Oth_NH feth Mex_Am year 80 mgen US native fgen foreign count 13 NewModel 6.076351 NewMod~d 7.889095 Observation 28 meth Mex_Am feth Oth_NH year 90 mgen foreign fgen US native count 43 NewModel 28.11324 NewMod~d 7.882961 Observation 29 meth Blk_NH feth Mex_Am year 80 mgen US native fgen foreign count 12 NewModel 26.16098 NewMod~d 7.665363 Observation 30 meth Oth_H feth Blk_NH year 70 mgen foreign fgen US native count 6 NewModel 2.046653 NewMod~d 7.636345 Observation 31 meth Mex_Am feth Blk_NH year 70 mgen US native fgen US native count 0 NewModel 7.488408 NewMod~d 7.488408 Observation 32 meth Oth_H feth Oth_NH year 90 mgen foreign fgen US native count 19 NewModel 35.19168 NewMod~d 7.44979 Observation 33 meth Blk_NH feth Oth_H year 80 mgen US native fgen US native count 129 NewModel 102.0835 NewMod~d 7.097123 Observation 34 meth Mex_Am feth Oth_H year 80 mgen foreign fgen US native count 68 NewModel 49.63872 NewMod~d 6.791809 Observation 35 meth Mex_Am feth Wht_NH year 70 mgen US native fgen foreign count 9 NewModel 3.907848 NewMod~d 6.63537 Observation 36 meth Mex_Am feth Blk_NH year 90 mgen foreign fgen US native count 14 NewModel 27.20841 NewMod~d 6.412063 Observation 37 meth Oth_H feth Wht_NH year 70 mgen foreign fgen US native count 64 NewModel 47.48394 NewMod~d 5.744684 Observation 38 meth Oth_H feth Oth_H year 70 mgen foreign fgen US native count 35 NewModel 51.32377 NewMod~d 5.191852 Observation 39 meth Oth_H feth Blk_NH year 70 mgen US native fgen US native count 16 NewModel 9.227783 NewMod~d 4.970091 Observation 40 meth Wht_NH feth Oth_H year 70 mgen US native fgen US native count 224 NewModel 259.6812 NewMod~d 4.902722 Observation 41 meth Oth_H feth Mex_Am year 90 mgen US native fgen foreign count 36 NewModel 25.11831 NewMod~d 4.714133 Observation 42 meth Oth_H feth Wht_NH year 70 mgen US native fgen US native count 246 NewModel 281.2948 NewMod~d 4.428532 Observation 43 meth Wht_NH feth Oth_H year 90 mgen foreign fgen US native count 47 NewModel 63.74642 NewMod~d 4.399345 Observation 44 meth Wht_NH feth Oth_H year 70 mgen US native fgen foreign count 71 NewModel 55.46964 NewMod~d 4.34818 Observation 45 meth Wht_NH feth Blk_NH year 80 mgen foreign fgen US native count 11 NewModel 20.40046 NewMod~d 4.331696 Observation 46 meth Mex_Am feth Oth_NH year 80 mgen US native fgen foreign count 45 NewModel 61.19371 NewMod~d 4.285347 Observation 47 meth Oth_H feth Blk_NH year 90 mgen foreign fgen US native count 46 NewModel 34.05903 NewMod~d 4.186461 Observation 48 meth Wht_NH feth Mex_Am year 70 mgen foreign fgen US native count 8 NewModel 3.957371 NewMod~d 4.129723 Observation 49 meth Blk_NH feth Wht_NH year 80 mgen foreign fgen US native count 50 NewModel 37.59764 NewMod~d 4.091175 Observation 50 meth Oth_NH feth Oth_H year 80 mgen US native fgen US native count 81 NewModel 64.88107 NewMod~d 4.004559 Observation 51 meth Wht_NH feth Mex_Am year 80 mgen foreign fgen US native count 105 NewModel 86.9378 NewMod~d 3.752604 Observation 52 meth Blk_NH feth Mex_Am year 80 mgen US native fgen US native count 126 NewModel 149.6633 NewMod~d 3.741423 Observation 53 meth Blk_NH feth Oth_H year 70 mgen US native fgen US native count 23 NewModel 15.53948 NewMod~d 3.581806 Observation 54 meth Blk_NH feth Mex_Am year 70 mgen US native fgen US native count 5 NewModel 11.31685 NewMod~d 3.525947 Observation 55 meth Mex_Am feth Oth_H year 80 mgen US native fgen foreign count 78 NewModel 63.10021 NewMod~d 3.518271 Observation 56 meth Mex_Am feth Oth_H year 90 mgen US native fgen US native count 121 NewModel 143.295 NewMod~d 3.468832 Observation 57 meth Wht_NH feth Blk_NH year 80 mgen US native fgen US native count 232 NewModel 262.0853 NewMod~d 3.453552 Observation 58 meth Blk_NH feth Oth_NH year 80 mgen US native fgen US native count 91 NewModel 110.4073 NewMod~d 3.411385 Observation 59 meth Oth_NH feth Mex_Am year 90 mgen US native fgen foreign count 17 NewModel 10.93028 NewMod~d 3.37059 Observation 60 meth Oth_NH feth Oth_H year 90 mgen foreign fgen US native count 20 NewModel 30.04453 NewMod~d 3.3581 Observation 61 meth Mex_Am feth Oth_H year 90 mgen foreign fgen US native count 85 NewModel 69.92938 NewMod~d 3.247898 Observation 62 meth Mex_Am feth Oth_H year 80 mgen US native fgen US native count 156 NewModel 179.7083 NewMod~d 3.127743 Observation 63 meth Wht_NH feth Blk_NH year 80 mgen US native fgen foreign count 12 NewModel 19.87036 NewMod~d 3.117333 Observation 64 meth Blk_NH feth Mex_Am year 90 mgen foreign fgen US native count 7 NewModel 13.32468 NewMod~d 3.002064 Observation 65 meth Wht_NH feth Oth_NH year 80 mgen foreign fgen US native count 56 NewModel 44.62678 NewMod~d 2.898486 Observation 66 meth Oth_H feth Oth_NH year 90 mgen US native fgen foreign count 35 NewModel 45.95345 NewMod~d 2.610861 Observation 67 meth Blk_NH feth Wht_NH year 90 mgen US native fgen US native count 809 NewModel 764.7268 NewMod~d 2.563158 Observation 68 meth Oth_NH feth Wht_NH year 90 mgen US native fgen foreign count 34 NewModel 44.49821 NewMod~d 2.476782 Observation 69 meth Oth_H feth Mex_Am year 90 mgen US native fgen US native count 122 NewModel 139.9142 NewMod~d 2.293677 Observation 70 meth Mex_Am feth Blk_NH year 90 mgen US native fgen US native count 43 NewModel 53.92805 NewMod~d 2.214476 Observation 71 meth Oth_H feth Mex_Am year 80 mgen US native fgen foreign count 22 NewModel 16.04466 NewMod~d 2.210459 Observation 72 meth Mex_Am feth Wht_NH year 90 mgen foreign fgen US native count 482 NewModel 515.5254 NewMod~d 2.180207 Observation 73 meth Oth_NH feth Blk_NH year 90 mgen US native fgen US native count 26 NewModel 34.68406 NewMod~d 2.174283 Observation 74 meth Oth_H feth Oth_NH year 70 mgen US native fgen US native count 6 NewModel 10.85595 NewMod~d 2.172104 Observation 75 meth Wht_NH feth Mex_Am year 90 mgen US native fgen US native count 2210 NewModel 2142.535 NewMod~d 2.124386 Observation 76 meth Wht_NH feth Oth_NH year 70 mgen foreign fgen US native count 5 NewModel 2.641408 NewMod~d 2.106058 Observation 77 meth Oth_H feth Oth_NH year 70 mgen foreign fgen US native count 0 NewModel 2.008242 NewMod~d 2.008242 Observation 78 meth Oth_H feth Mex_Am year 80 mgen US native fgen US native count 139 NewModel 156.1633 NewMod~d 1.886342 Observation 79 meth Wht_NH feth Blk_NH year 70 mgen foreign fgen US native count 3 NewModel 1.386419 NewMod~d 1.877963 Observation 80 meth Mex_Am feth Blk_NH year 90 mgen US native fgen foreign count 1 NewModel 3.589434 NewMod~d 1.86803 Observation 81 meth Oth_NH feth Oth_H year 80 mgen US native fgen foreign count 12 NewModel 17.74693 NewMod~d 1.861007 Observation 82 meth Oth_NH feth Blk_NH year 90 mgen foreign fgen US native count 14 NewModel 19.96018 NewMod~d 1.779732 Observation 83 meth Oth_NH feth Wht_NH year 80 mgen foreign fgen US native count 405 NewModel 379.5675 NewMod~d 1.70408 Observation 84 meth Mex_Am feth Oth_NH year 70 mgen US native fgen US native count 5 NewModel 8.809677 NewMod~d 1.647466 Observation 85 meth Blk_NH feth Oth_H year 70 mgen US native fgen foreign count 6 NewModel 3.58059 NewMod~d 1.634798 Observation 86 meth Wht_NH feth Blk_NH year 90 mgen US native fgen US native count 263 NewModel 284.5589 NewMod~d 1.633356 Observation 87 meth Wht_NH feth Mex_Am year 90 mgen US native fgen foreign count 296 NewModel 318.7692 NewMod~d 1.626369 Observation 88 meth Mex_Am feth Oth_H year 90 mgen US native fgen foreign count 66 NewModel 56.84358 NewMod~d 1.474926 Observation 89 meth Mex_Am feth Blk_NH year 70 mgen foreign fgen US native count 0 NewModel 1.381529 NewMod~d 1.381529 Observation 90 meth Oth_NH feth Blk_NH year 80 mgen US native fgen foreign count 2 NewModel .9106697 NewMod~d 1.303041 Observation 91 meth Oth_H feth Oth_H year 70 mgen US native fgen US native count 1006 NewModel 971.0569 NewMod~d 1.25741 Observation 92 meth Oth_NH feth Oth_H year 90 mgen US native fgen US native count 62 NewModel 53.97473 NewMod~d 1.193244 Observation 93 meth Oth_NH feth Mex_Am year 80 mgen foreign fgen US native count 33 NewModel 39.83615 NewMod~d 1.173128 Observation 94 meth Oth_NH feth Blk_NH year 70 mgen US native fgen US native count 2 NewModel 4.165875 NewMod~d 1.126057 Observation 95 meth Mex_Am feth Oth_NH year 90 mgen US native fgen foreign count 43 NewModel 50.50196 NewMod~d 1.114402 Observation 96 meth Mex_Am feth Wht_NH year 90 mgen US native fgen US native count 2204 NewModel 2156.229 NewMod~d 1.05835 Observation 97 meth Blk_NH feth Oth_NH year 80 mgen US native fgen foreign count 138 NewModel 126.522 NewMod~d 1.041281 Observation 98 meth Blk_NH feth Oth_NH year 80 mgen foreign fgen US native count 2 NewModel 3.932829 NewMod~d .9499087 Observation 99 meth Oth_NH feth Blk_NH year 70 mgen foreign fgen US native count 0 NewModel .9353974 NewMod~d .9353974 Observation 100 meth Wht_NH feth Blk_NH year 70 mgen US native fgen foreign count 0 NewModel .9318613 NewMod~d .9318613 Observation 101 meth Blk_NH feth Oth_H year 80 mgen US native fgen foreign count 68 NewModel 76.4072 NewMod~d .9250577 Observation 102 meth Blk_NH feth Mex_Am year 80 mgen foreign fgen US native count 5 NewModel 7.661577 NewMod~d .9246126 Observation 103 meth Oth_H feth Wht_NH year 90 mgen US native fgen US native count 1163 NewModel 1195.96 NewMod~d .9083441 Observation 104 meth Wht_NH feth Oth_H year 90 mgen US native fgen foreign count 632 NewModel 656.4128 NewMod~d .9079452 Observation 105 meth Oth_NH feth Oth_H year 70 mgen US native fgen US native count 7 NewModel 10.00723 NewMod~d .9036902 Observation 106 meth Oth_H feth Mex_Am year 70 mgen foreign fgen US native count 3 NewModel 5.137397 NewMod~d .8892568 Observation 107 meth Oth_NH feth Mex_Am year 90 mgen US native fgen US native count 104 NewModel 95.01663 NewMod~d .8493345 Observation 108 meth Wht_NH feth Oth_H year 80 mgen foreign fgen US native count 50 NewModel 56.94987 NewMod~d .8481276 Observation 109 meth Mex_Am feth Oth_NH year 90 mgen US native fgen US native count 107 NewModel 98.01963 NewMod~d .8227642 Observation 110 meth Blk_NH feth Oth_H year 80 mgen foreign fgen US native count 3 NewModel 5.018828 NewMod~d .8120753 Observation 111 meth Wht_NH feth Oth_NH year 80 mgen US native fgen foreign count 1176 NewModel 1146.105 NewMod~d .7797692 Observation 112 meth Blk_NH feth Wht_NH year 80 mgen US native fgen foreign count 96 NewModel 87.99548 NewMod~d .728133 Observation 113 meth Blk_NH feth Mex_Am year 70 mgen US native fgen foreign count 1 NewModel 2.198521 NewMod~d .6533722 Observation 114 meth Wht_NH feth Mex_Am year 90 mgen foreign fgen US native count 88 NewModel 95.43002 NewMod~d .5784881 Observation 115 meth Oth_NH feth Mex_Am year 70 mgen US native fgen foreign count 1 NewModel .4847382 NewMod~d .5477074 Observation 116 meth Oth_H feth Oth_NH year 70 mgen US native fgen foreign count 3 NewModel 1.986571 NewMod~d .5169905 Observation 117 meth Mex_Am feth Wht_NH year 90 mgen US native fgen foreign count 60 NewModel 65.8167 NewMod~d .5140647 Observation 118 meth Oth_NH feth Wht_NH year 80 mgen US native fgen US native count 1545 NewModel 1573.099 NewMod~d .5019098 Observation 119 meth Blk_NH feth Oth_H year 90 mgen foreign fgen US native count 11 NewModel 8.900766 NewMod~d .4951014 Observation 120 meth Mex_Am feth Oth_H year 70 mgen US native fgen US native count 27 NewModel 30.71517 NewMod~d .4493704 Observation 121 meth Oth_NH feth Blk_NH year 80 mgen foreign fgen US native count 21 NewModel 18.15005 NewMod~d .447504 Observation 122 meth Mex_Am feth Mex_Am year 70 mgen US native fgen foreign count 76 NewModel 82.01414 NewMod~d .4410207 Observation 123 meth Oth_NH feth Wht_NH year 90 mgen foreign fgen US native count 391 NewModel 378.1912 NewMod~d .4338143 Observation 124 meth Oth_H feth Oth_H year 90 mgen US native fgen US native count 1197 NewModel 1219.848 NewMod~d .427944 Observation 125 meth Blk_NH feth Wht_NH year 70 mgen foreign fgen US native count 3 NewModel 2.100195 NewMod~d .385511 Observation 126 meth Wht_NH feth Mex_Am year 80 mgen US native fgen US native count 2171 NewModel 2142.294 NewMod~d .3846454 Observation 127 meth Oth_H feth Oth_H year 90 mgen US native fgen foreign count 481 NewModel 467.7732 NewMod~d .3740009 Observation 128 meth Blk_NH feth Blk_NH year 70 mgen foreign fgen US native count 25 NewModel 28.25 NewMod~d .3738942 Observation 129 meth Blk_NH feth Oth_H year 90 mgen US native fgen foreign count 60 NewModel 55.46256 NewMod~d .3712115 Observation 130 meth Wht_NH feth Oth_NH year 70 mgen US native fgen US native count 134 NewModel 127.1754 NewMod~d .3662244 Observation 131 meth Oth_NH feth Oth_NH year 90 mgen US native fgen foreign count 158 NewModel 150.637 NewMod~d .359899 Observation 132 meth Oth_H feth Wht_NH year 80 mgen US native fgen foreign count 61 NewModel 56.49448 NewMod~d .359322 Observation 133 meth Wht_NH feth Wht_NH year 70 mgen foreign fgen US native count 773 NewModel 789.6614 NewMod~d .351545 Observation 134 meth Wht_NH feth Wht_NH year 90 mgen US native fgen foreign count 3629 NewModel 3594.45 NewMod~d .3320875 Observation 135 meth Oth_NH feth Wht_NH year 80 mgen US native fgen foreign count 40 NewModel 36.53205 NewMod~d .329208 Observation 136 meth Wht_NH feth Blk_NH year 90 mgen US native fgen foreign count 36 NewModel 39.59611 NewMod~d .3265975 Observation 137 meth Oth_NH feth Oth_NH year 90 mgen foreign fgen US native count 123 NewModel 116.8266 NewMod~d .3262133 Observation 138 meth Wht_NH feth Oth_NH year 90 mgen foreign fgen US native count 40 NewModel 43.75853 NewMod~d .3228295 Observation 139 meth Wht_NH feth Oth_NH year 80 mgen US native fgen US native count 1558 NewModel 1580.379 NewMod~d .3169061 Observation 140 meth Blk_NH feth Wht_NH year 70 mgen US native fgen US native count 67 NewModel 71.74754 NewMod~d .3141455 Observation 141 meth Blk_NH feth Oth_NH year 90 mgen US native fgen foreign count 79 NewModel 84.13613 NewMod~d .3135377 Observation 142 meth Mex_Am feth Mex_Am year 70 mgen foreign fgen US native count 85 NewModel 90.27173 NewMod~d .3078607 Observation 143 meth Mex_Am feth Oth_NH year 70 mgen foreign fgen US native count 2 NewModel 1.3556 NewMod~d .3063224 Observation 144 meth Oth_NH feth Oth_H year 90 mgen US native fgen foreign count 20 NewModel 22.50775 NewMod~d .2794063 Observation 145 meth Oth_H feth Wht_NH year 80 mgen US native fgen US native count 1492 NewModel 1512.521 NewMod~d .2784037 Observation 146 meth Oth_H feth Wht_NH year 80 mgen foreign fgen US native count 789 NewModel 803.8939 NewMod~d .275943 Observation 147 meth Blk_NH feth Blk_NH year 90 mgen foreign fgen US native count 315 NewModel 305.9609 NewMod~d .2670464 Observation 148 meth Wht_NH feth Oth_NH year 90 mgen US native fgen foreign count 1012 NewModel 995.7715 NewMod~d .2644831 Observation 149 meth Blk_NH feth Mex_Am year 70 mgen foreign fgen US native count 0 NewModel .2583863 NewMod~d .2583863 Observation 150 meth Wht_NH feth Wht_NH year 70 mgen US native fgen foreign count 1083 NewModel 1099.644 NewMod~d .251918 Observation 151 meth Blk_NH feth Wht_NH year 90 mgen foreign fgen US native count 54 NewModel 57.70378 NewMod~d .2377313 Observation 152 meth Wht_NH feth Wht_NH year 90 mgen foreign fgen US native count 3752 NewModel 3722.253 NewMod~d .2377214 Observation 153 meth Mex_Am feth Wht_NH year 80 mgen foreign fgen US native count 413 NewModel 422.8559 NewMod~d .2297191 Observation 154 meth Blk_NH feth Wht_NH year 90 mgen US native fgen foreign count 65 NewModel 61.34589 NewMod~d .2176596 Observation 155 meth Oth_NH feth Oth_NH year 80 mgen US native fgen foreign count 148 NewModel 153.734 NewMod~d .2138685 Observation 156 meth Oth_NH feth Oth_NH year 80 mgen foreign fgen US native count 132 NewModel 137.3511 NewMod~d .208473 Observation 157 meth Blk_NH feth Oth_NH year 90 mgen foreign fgen US native count 5 NewModel 6.109903 NewMod~d .2016211 Observation 158 meth Blk_NH feth Wht_NH year 80 mgen US native fgen US native count 914 NewModel 900.5494 NewMod~d .2008988 Observation 159 meth Oth_NH feth Mex_Am year 90 mgen foreign fgen US native count 42 NewModel 44.97742 NewMod~d .1971002 Observation 160 meth Blk_NH feth Oth_NH year 70 mgen foreign fgen US native count 0 NewModel .1724639 NewMod~d .1724639 Observation 161 meth Mex_Am feth Mex_Am year 90 mgen foreign fgen US native count 1653 NewModel 1636.224 NewMod~d .1720098 Observation 162 meth Mex_Am feth Mex_Am year 70 mgen US native fgen US native count 756 NewModel 744.7141 NewMod~d .1710338 Observation 163 meth Blk_NH feth Oth_NH year 70 mgen US native fgen foreign count 5 NewModel 5.996457 NewMod~d .1655856 Observation 164 meth Oth_NH feth Oth_NH year 70 mgen US native fgen foreign count 15 NewModel 16.62899 NewMod~d .159578 Observation 165 meth Oth_NH feth Oth_NH year 90 mgen US native fgen US native count 1135 NewModel 1148.536 NewMod~d .1595365 Observation 166 meth Wht_NH feth Blk_NH year 90 mgen foreign fgen US native count 20 NewModel 21.81151 NewMod~d .1504509 Observation 167 meth Oth_H feth Oth_H year 90 mgen foreign fgen US native count 627 NewModel 617.3789 NewMod~d .149933 Observation 168 meth Oth_NH feth Wht_NH year 70 mgen foreign fgen US native count 20 NewModel 21.70195 NewMod~d .1334729 Observation 169 meth Mex_Am feth Mex_Am year 90 mgen US native fgen US native count 5019 NewModel 5042.528 NewMod~d .1097826 Observation 170 meth Blk_NH feth Wht_NH year 70 mgen US native fgen foreign count 6 NewModel 5.260304 NewMod~d .1040148 Observation 171 meth Mex_Am feth Oth_NH year 70 mgen US native fgen foreign count 3 NewModel 2.492279 NewMod~d .1034319 Observation 172 meth Oth_H feth Oth_H year 80 mgen US native fgen US native count 1514 NewModel 1526.095 NewMod~d .0958618 Observation 173 meth Oth_H feth Mex_Am year 70 mgen US native fgen US native count 26 NewModel 27.5645 NewMod~d .088797 Observation 174 meth Blk_NH feth Blk_NH year 80 mgen foreign fgen US native count 381 NewModel 386.7891 NewMod~d .0866466 Observation 175 meth Mex_Am feth Oth_H year 70 mgen US native fgen foreign count 3 NewModel 2.541044 NewMod~d .0828952 Observation 176 meth Mex_Am feth Mex_Am year 80 mgen foreign fgen US native count 1586 NewModel 1597.505 NewMod~d .0828522 Observation 177 meth Oth_NH feth Oth_NH year 80 mgen US native fgen US native count 1527 NewModel 1515.915 NewMod~d .0810593 Observation 178 meth Wht_NH feth Oth_H year 90 mgen US native fgen US native count 1227 NewModel 1217.079 NewMod~d .0808752 Observation 179 meth Oth_NH feth Blk_NH year 90 mgen US native fgen foreign count 2 NewModel 2.426791 NewMod~d .0750583 Observation 180 meth Oth_H feth Oth_H year 80 mgen US native fgen foreign count 401 NewModel 395.6075 NewMod~d .0735044 Observation 181 meth Oth_H feth Oth_H year 80 mgen foreign fgen US native count 628 NewModel 621.2973 NewMod~d .0723102 Observation 182 meth Blk_NH feth Blk_NH year 70 mgen US native fgen foreign count 12 NewModel 12.96413 NewMod~d .0717011 Observation 183 meth Oth_NH feth Wht_NH year 70 mgen US native fgen US native count 130 NewModel 126.9903 NewMod~d .0713308 Observation 184 meth Wht_NH feth Wht_NH year 80 mgen US native fgen foreign count 5151 NewModel 5168.906 NewMod~d .0620279 Observation 185 meth Mex_Am feth Wht_NH year 70 mgen US native fgen US native count 232 NewModel 228.2726 NewMod~d .0608632 Observation 186 meth Oth_H feth Mex_Am year 80 mgen foreign fgen US native count 147 NewModel 144.0598 NewMod~d .0600083 Observation 187 meth Oth_NH feth Oth_H year 70 mgen US native fgen foreign count 1 NewModel .7894621 NewMod~d .0561474 Observation 188 meth Wht_NH feth Oth_H year 80 mgen US native fgen foreign count 686 NewModel 692.1382 NewMod~d .0544361 Observation 189 meth Mex_Am feth Mex_Am year 90 mgen US native fgen foreign count 878 NewModel 871.2484 NewMod~d .0523212 Observation 190 meth Wht_NH feth Mex_Am year 70 mgen US native fgen US native count 186 NewModel 189.1166 NewMod~d .0513611 Observation 191 meth Wht_NH feth Oth_NH year 90 mgen US native fgen US native count 1430 NewModel 1421.531 NewMod~d .0504495 Observation 192 meth Blk_NH feth Oth_NH year 70 mgen US native fgen US native count 7 NewModel 7.610255 NewMod~d .0489354 Observation 193 meth Mex_Am feth Wht_NH year 80 mgen US native fgen foreign count 78 NewModel 76.07222 NewMod~d .0488527 Observation 194 meth Oth_NH feth Oth_NH year 70 mgen foreign fgen US native count 14 NewModel 14.82229 NewMod~d .0456174 Observation 195 meth Wht_NH feth Blk_NH year 70 mgen US native fgen US native count 38 NewModel 39.33206 NewMod~d .045113 Observation 196 meth Mex_Am feth Blk_NH year 70 mgen US native fgen foreign count 0 NewModel .0446866 NewMod~d .0446866 Observation 197 meth Oth_H feth Wht_NH year 90 mgen foreign fgen US native count 640 NewModel 645.3261 NewMod~d .0439583 Observation 198 meth Wht_NH feth Oth_H year 80 mgen US native fgen US native count 1454 NewModel 1461.232 NewMod~d .0357935 Observation 199 meth Wht_NH feth Wht_NH year 80 mgen foreign fgen US native count 5020 NewModel 5033.085 NewMod~d .0340181 Observation 200 meth Blk_NH feth Mex_Am year 90 mgen US native fgen foreign count 26 NewModel 26.9339 NewMod~d .0323816 Observation 201 meth Oth_NH feth Blk_NH year 80 mgen US native fgen US native count 33 NewModel 31.98361 NewMod~d .0322992 Observation 202 meth Blk_NH feth Blk_NH year 80 mgen US native fgen foreign count 329 NewModel 325.9144 NewMod~d .0292136 Observation 203 meth Mex_Am feth Wht_NH year 70 mgen foreign fgen US native count 33 NewModel 32.05254 NewMod~d .0280065 Observation 204 meth Wht_NH feth Mex_Am year 70 mgen US native fgen foreign count 35 NewModel 34.05896 NewMod~d .0260009 Observation 205 meth Oth_NH feth Oth_NH year 70 mgen US native fgen US native count 257 NewModel 254.5487 NewMod~d .0236062 Observation 206 meth Oth_NH feth Oth_H year 70 mgen foreign fgen US native count 1 NewModel 1.165255 NewMod~d .0234362 Observation 207 meth Wht_NH feth Wht_NH year 90 mgen US native fgen US native count 188975 NewModel 189039.3 NewMod~d .0218689 Observation 208 meth Mex_Am feth Mex_Am year 80 mgen US native fgen US native count 7116 NewModel 7103.758 NewMod~d .0210974 Observation 209 meth Wht_NH feth Wht_NH year 70 mgen US native fgen US native count 54331 NewModel 54297.7 NewMod~d .0204282 Observation 210 meth Oth_NH feth Wht_NH year 90 mgen US native fgen US native count 1392 NewModel 1386.788 NewMod~d .0195868 Observation 211 meth Blk_NH feth Blk_NH year 90 mgen US native fgen foreign count 230 NewModel 232.1215 NewMod~d .0193901 Observation 212 meth Wht_NH feth Mex_Am year 80 mgen US native fgen foreign count 239 NewModel 236.9805 NewMod~d .0172103 Observation 213 meth Wht_NH feth Oth_NH year 70 mgen US native fgen foreign count 94 NewModel 92.89567 NewMod~d .0131282 Observation 214 meth Oth_NH feth Mex_Am year 70 mgen US native fgen US native count 7 NewModel 7.287912 NewMod~d .0113741 Observation 215 meth Mex_Am feth Wht_NH year 80 mgen US native fgen US native count 2556 NewModel 2551.822 NewMod~d .0068404 Observation 216 meth Mex_Am feth Blk_NH year 80 mgen US native fgen foreign count 2 NewModel 1.896325 NewMod~d .005668 Observation 217 meth Oth_H feth Oth_NH year 80 mgen US native fgen US native count 68 NewModel 67.46916 NewMod~d .0041766 Observation 218 meth Blk_NH feth Blk_NH year 90 mgen US native fgen US native count 12005 NewModel 12011.92 NewMod~d .0039842 Observation 219 meth Blk_NH feth Blk_NH year 70 mgen US native fgen US native count 4596 NewModel 4591.786 NewMod~d .0038679 Observation 220 meth Wht_NH feth Wht_NH year 80 mgen US native fgen US native count 280562 NewModel 280531 NewMod~d .0034256 Observation 221 meth Oth_NH feth Wht_NH year 70 mgen US native fgen foreign count 2 NewModel 2.073063 NewMod~d .002575 Observation 222 meth Mex_Am feth Mex_Am year 80 mgen US native fgen foreign count 919 NewModel 919.7375 NewMod~d .0005914 Observation 223 meth Blk_NH feth Blk_NH year 80 mgen US native fgen US native count 24628 NewModel 24625.3 NewMod~d .0002967 Observation 224 meth Oth_NH feth Mex_Am year 80 mgen US native fgen US native count 95 NewModel 95.12134 NewMod~d .0001548 Observation 225 meth Oth_H feth Mex_Am year 90 mgen foreign fgen US native count 131 NewModel 131.0443 NewMod~d .000015 . save "C:\AAA Miker Files\current class files\methods tabular arrays\HW3 data with r > esiduals.dta", replace file C:\AAA Miker Files\current class files\methods tabular arrays\HW3 data with resi > duals.dta saved . exit, clear ---------------------------------------------------------------------------------------- log: C:\AAA Miker Files\current class files\methods tabular arrays\class 10_2002 > .log log type: text opened on: 6 Nov 2002, 12:24:50 . use "C:\AAA Miker Files\current class files\methods tabular arrays\HW3 data with resid > uals.dta", clear . table meth feth, contents (sum count sum model8_predicted sum M8pearsonsq) by (year) ------------------------------------------------------------ year and | feth meth | Blk_NH Mex_Am Oth_H Oth_NH Wht_NH ----------+------------------------------------------------- 70 | Blk_NH | 4633 6 32 12 76 | 4633 13.28394 18.50599 12.84129 81.36878 | 1.149998 4.103603 93.62127 2.340566 25.70723 | Mex_Am | 0 917 38 10 274 | 8.207046 917 38.0102 13.60395 262.1788 | 8.207047 3.422134 4.851698 2.693787 4.753697 | Oth_H | 23 36 1053 9 324 | 10.32776 34.30961 1053 17.25147 330.1112 | 70.53015 3.919653 79.56545 4.56186 77.05088 | Oth_NH | 3 13 9 286 152 | 4.767817 8.293365 11.59756 286 152.3413 | 77.4035 24.11259 .9054193 51.94133 1.994214 | Wht_NH | 41 229 307 233 56187 | 43.69737 228.1131 317.8863 220.3033 56187 | 9.714438 14.36883 143.1254 48.13851 .6526969 ----------+------------------------------------------------- 80 | Blk_NH | 25338 143 200 231 1060 | 25338 201.9751 177.9144 225.4662 1028.644 | 3.751271 20.48879 8.6694 89.43256 389.2614 | Mex_Am | 36 9621 302 230 3047 | 74.76261 9621 320.0454 211.3244 3008.867 | 23.1626 6.112654 25.92555 13.45464 46.41209 | Oth_H | 151 308 2543 115 2342 | 59.75401 293.4336 2543 159.8907 2402.922 | 183.8409 41.70815 48.52419 15.72306 37.16032 | Oth_NH | 56 141 103 1807 1990 | 49.65848 130.1185 111.6566 1807 1998.566 | 24.12694 8.394356 10.88824 467.7066 21.80767 | Wht_NH | 255 2515 2190 2790 290733 | 313.8249 2481.473 2185.384 2769.319 290733 | 36.47155 109.3195 39.99942 177.3554 6.973923 ----------+------------------------------------------------- 90 | Blk_NH | 12550 142 180 150 928 | 12550 199.7089 149.2944 189.9875 861.0092 | 11.14851 21.35929 26.50792 34.25597 183.5321 | Mex_Am | 58 7550 272 193 2746 | 85.71881 7550 283.1496 188.5275 2711.604 | 9.004388 12.17591 37.84072 5.147073 51.26272 | Oth_H | 136 289 2305 134 1841 | 61.11438 276.0516 2305 128.8669 1933.967 | 208.6828 32.90531 5.21116 12.43404 13.87407 | Oth_NH | 42 163 102 1416 1817 | 57.71143 139.5796 101.2895 1416 1825.419 | 10.32943 14.2921 4.278554 289.5799 9.506356 | Wht_NH | 319 2594 1906 2482 196356 | 350.4554 2572.66 1926.267 2451.618 196356 | 147.2197 52.49645 23.26785 90.19566 4.075434 ------------------------------------------------------------ . table meth feth, contents (sum count sum model8_predicted sum M8pearsonsq) by (mge > n fgen) ------------------------------------------------------------ mgen, | fgen and | feth meth | Blk_NH Mex_Am Oth_H Oth_NH Wht_NH ----------+------------------------------------------------- foreign | foreign | Blk_NH | | | | Mex_Am | | | | Oth_H | | | | Oth_NH | | | | Wht_NH | | | ----------+------------------------------------------------- foreign | US native | Blk_NH | 721 12 17 7 107 | 802.4183 8.083399 5.280559 6.393766 41.82401 | 8.588355 2.202115 95.51413 .614599 112.7881 | Mex_Am | 19 3324 161 86 928 | 33.28569 3167.373 95.09991 59.63281 1162.609 | 7.267231 9.675841 46.50612 12.27329 50.99337 | Oth_H | 118 281 1290 40 1493 | 42.39168 183.7743 1405.907 77.69772 1512.229 | 165.8157 52.37984 29.70624 18.6039 60.16077 | Oth_NH | 35 80 31 269 816 | 19.73776 44.61988 29.85169 441.0085 695.7822 | 20.43472 46.33978 3.730886 67.21973 22.11892 | Wht_NH | 34 201 109 101 9545 | 13.02068 87.00299 59.52419 69.8282 9760.624 | 39.73046 158.6651 45.62561 17.91417 4.763561 ----------+------------------------------------------------- US native | foreign | Blk_NH | 571 39 134 222 167 | 627.5958 50.17678 94.89661 134.0917 36.53188 | 6.800847 4.500792 30.56755 71.59615 477.3719 | Mex_Am | 3 1873 147 91 147 | 2.341641 1805.609 151.3005 112.313 91.31541 | 1.706168 6.026915 .9441866 4.364378 35.3616 | Oth_H | 18 65 894 64 113 | 1.453199 51.37238 1093.241 71.69538 59.87434 | 210.2757 7.467904 69.88989 4.280396 51.53911 | Oth_NH | 5 31 33 321 76 | 1.61914 28.90419 54.40463 959.069 62.16417 | 80.20082 .1752106 9.948272 427.3173 3.925744 | Wht_NH | 48 570 1389 2282 9863 | 11.99021 641.9377 1203.158 1702.831 10116.11 | 120.1841 15.94191 131.7557 214.2052 6.514099 ----------+------------------------------------------------- US native | US native | Blk_NH | 41229 240 261 164 1790 | 41090.99 356.7077 245.5375 287.8096 1892.666 | .6605784 39.24878 2.716901 53.81835 8.340694 | Mex_Am | 72 12891 304 256 4992 | 133.0611 13115.02 394.8048 241.51 4728.726 | 31.40063 6.007947 21.16766 4.657831 16.07354 | Oth_H | 174 287 3717 154 2901 | 87.35126 368.6482 3401.852 156.6159 3094.896 | 86.96239 18.68536 33.70467 9.834669 16.38539 | Oth_NH | 61 206 150 2919 3067 | 90.78083 204.4675 140.2873 2108.922 3218.381 | 11.22434 .2840524 2.393054 314.6908 7.263583 | Wht_NH | 533 4567 2905 3122 523868 | 682.9668 4553.305 3166.855 3668.581 523399.3 | 33.49111 1.577669 29.01134 83.57022 .4243938 ------------------------------------------------------------ . codebook meth meth -------------------------------------------------------------- (unlabeled) type: string (str6) unique values: 5 coded missing: 0 / 225 tabulation: Freq. Value 45 "Blk_NH" 45 "Mex_Am" 45 "Oth_H" 45 "Oth_NH" 45 "Wht_NH" . table mgen fgen if meth=="Oth_NH" & feth=="Oth_NH", by(year) contents (sum count, s > um model8_predicted sum M8pearsonsq) invalid 'max' r(198); . table mgen fgen if meth=="Oth_NH" & feth=="Oth_NH", contents(sum count, sum model8 > _predicted sum M8pearsonsq) by (year) invalid 'max' r(198); . table meth feth, contents (mean ethintct) -------------------------------------------------- | feth meth | Blk_NH Mex_Am Oth_H Oth_NH Wht_NH ----------+--------------------------------------- Blk_NH | 1 0 0 0 0 Mex_Am | 0 2 0 0 0 Oth_H | 0 0 3 0 0 Oth_NH | 0 0 0 4 0 Wht_NH | 0 0 0 0 5 -------------------------------------------------- . table mgen fgen if ethintct==4, contents(sum count, sum model8_predicted sum M8pe > arsonsq) by (year) invalid 'max' r(198); . table mgen fgen if meth=="Oth_NH" & feth=="Oth_NH", contents(sum count sum model8_ > predicted sum M8pearsonsq) by (year) -------------------------------- year and | fgen mgen | foreign US native ----------+--------------------- 70 | foreign | 14 | 22.65196 | 3.304635 | US native | 15 257 | 60.47498 202.8731 | 34.19552 14.44118 ----------+--------------------- 80 | foreign | 132 | 222.5728 | 36.8573 | US native | 148 1527 | 501.2751 1083.152 | 248.9717 181.8776 ----------+--------------------- 90 | foreign | 123 | 195.7838 | 27.05779 | US native | 158 1135 | 397.3189 822.8973 | 144.1501 118.3721 -------------------------------- . *Here's where we start to see the pattern in the residuals that needs to be correct > ed.. . clear all . log close log: C:\AAA Miker Files\current class files\methods tabular arrays\class 10_2 > 002.log log type: text closed on: 6 Nov 2002, 12:32:59 ------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- log: C:\AAA Miker Files\current class files\methods tabular arrays\class 10_2002 > .log log type: text opened on: 6 Nov 2002, 13:20:29 . log close log: C:\AAA Miker Files\current class files\methods tabular arrays\class 10_2002 > .log log type: text closed on: 6 Nov 2002, 13:29:08 ----------------------------------------------------------------------------------------