------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------- name: log: D:\Essaie estimation stata\travthese.log log type: text opened on: 21 Nov 2018, 10:14:19 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1304.2662 Iteration 2: log likelihood = -1233.8405 Iteration 3: log likelihood = -1217.6299 Iteration 4: log likelihood = -1215.0374 Iteration 5: log likelihood = -1214.8723 Iteration 6: log likelihood = -1214.8716 Iteration 7: log likelihood = -1214.8716 Logistic regression Number of obs = 2998 LR chi2(20) = 1472.61 Prob > chi2 = 0.0000 Log likelihood = -1214.8716 Pseudo R2 = 0.3774 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0658036 .1352557 0.49 0.627 -.1992926 .3308999 105 | -3.144406 .2927713 -10.74 0.000 -3.718227 -2.570585 | EL | 1 | -.1515561 .1601768 -0.95 0.344 -.465497 .1623847 2 | 1.220647 .1946668 6.27 0.000 .8391075 1.602187 3 | 1.252878 .2659368 4.71 0.000 .731651 1.774104 | 1.SA | 2.052846 .1454951 14.11 0.000 1.767681 2.338012 1.OD | .4701583 .1297241 3.62 0.000 .2159037 .724413 | AS | 2 | -1.171003 .2150559 -5.45 0.000 -1.592505 -.7495011 3 | .7693314 .2042797 3.77 0.000 .3689505 1.169712 4 | -2.286003 .2839824 -8.05 0.000 -2.842598 -1.729408 | 1.FA | 5.440744 .7725683 7.04 0.000 3.926538 6.95495 1.SC | -.1430648 .1348018 -1.06 0.289 -.4072716 .1211419 1.Cred | 12.04541 1.359107 8.86 0.000 9.381614 14.70921 | SCP | 1 | -6.56442 .5583395 -11.76 0.000 -7.658745 -5.470094 2 | -5.791094 .5580865 -10.38 0.000 -6.884923 -4.697264 3 | -6.851088 .5717249 -11.98 0.000 -7.971648 -5.730527 | HS | -.1725309 .0487376 -3.54 0.000 -.2680548 -.077007 HI | .00105 .00007 14.99 0.000 .0009127 .0011873 NAL | .5452191 .0774434 7.04 0.000 .3934328 .6970054 MN | 1.117794 .1089176 10.26 0.000 .9043196 1.331269 _cons | -10.07089 1.489483 -6.76 0.000 -12.99023 -7.151558 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . fitstat | logit -------------------------+------------- Log-likelihood | Model | -1214.872 Intercept-only | -1951.179 -------------------------+------------- Chi-square | Deviance (df=2977) | 2429.743 LR (df=20) | 1472.615 p-value | 0.000 -------------------------+------------- R2 | McFadden | 0.377 McFadden (adjusted) | 0.367 McKelvey & Zavoina | 0.797 Cox-Snell/ML | 0.388 Cragg-Uhler/Nagelkerke | 0.533 Efron | 0.424 Tjur's D | 0.422 Count | 0.796 Count (adjusted) | 0.426 -------------------------+------------- IC | AIC | 2471.743 AIC divided by N | 0.824 BIC (df=21) | 2597.863 -------------------------+------------- Variance of | e | 3.290 y-star | 16.180 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . quietly fitstat, save . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI Iteration 0: log likelihood = -3430.9926 Iteration 1: log likelihood = -2885.8094 Iteration 2: log likelihood = -2874.0758 Iteration 3: log likelihood = -2874.0152 Iteration 4: log likelihood = -2874.0152 Logistic regression Number of obs = 5267 LR chi2(18) = 1113.95 Prob > chi2 = 0.0000 Log likelihood = -2874.0152 Pseudo R2 = 0.1623 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .5065244 .0755089 6.71 0.000 .3585296 .6545192 105 | .5691046 .1151711 4.94 0.000 .3433733 .7948359 | EL | 1 | 1.257108 .0879031 14.30 0.000 1.084821 1.429395 2 | .5188902 .0938306 5.53 0.000 .3349856 .7027947 3 | 1.877533 .184585 10.17 0.000 1.515753 2.239313 | 1.SA | .4514076 .0767133 5.88 0.000 .3010523 .6017629 1.OD | -.3627615 .0752091 -4.82 0.000 -.5101687 -.2153542 | AS | 2 | -.6468999 .1240447 -5.22 0.000 -.8900231 -.4037768 3 | .9667373 .1156681 8.36 0.000 .740032 1.193443 4 | -.0921956 .095801 -0.96 0.336 -.2799622 .095571 | 1.FA | 2.144126 .2305615 9.30 0.000 1.692233 2.596018 1.SC | -.2911953 .0865246 -3.37 0.001 -.4607804 -.1216102 1.Cred | 1.724105 .120108 14.35 0.000 1.488698 1.959513 | SCP | 1 | -1.170771 .12654 -9.25 0.000 -1.418785 -.9227576 2 | -.1988097 .1307879 -1.52 0.128 -.4551492 .0575298 3 | -1.211009 .1467044 -8.25 0.000 -1.498545 -.9234739 | HS | -.0410177 .0197994 -2.07 0.038 -.0798239 -.0022116 HI | -.0000647 9.74e-06 -6.64 0.000 -.0000838 -.0000456 _cons | -2.037611 .1756538 -11.60 0.000 -2.381886 -1.693336 ------------------------------------------------------------------------------ . fitstat, diff different Ns between saved and current model (must use -force- option) r(999); end of do-file r(999); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP Iteration 0: log likelihood = -9093.702 Iteration 1: log likelihood = -8567.3687 Iteration 2: log likelihood = -8559.0112 Iteration 3: log likelihood = -8559.0009 Iteration 4: log likelihood = -8559.0009 Logistic regression Number of obs = 14024 LR chi2(16) = 1069.40 Prob > chi2 = 0.0000 Log likelihood = -8559.0009 Pseudo R2 = 0.0588 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .1793984 .0413791 4.34 0.000 .098297 .2604999 105 | .244176 .0598837 4.08 0.000 .1268061 .361546 | EL | 1 | .7280244 .048585 14.98 0.000 .6327996 .8232493 2 | .4417389 .0499599 8.84 0.000 .3438193 .5396584 3 | 1.331052 .1367348 9.73 0.000 1.063057 1.599048 | 1.SA | .4898102 .0429249 11.41 0.000 .405679 .5739414 1.OD | -.1414073 .0412289 -3.43 0.001 -.2222144 -.0606002 | AS | 2 | -1.260459 .0993324 -12.69 0.000 -1.455147 -1.065772 3 | .693856 .069021 10.05 0.000 .5585773 .8291346 4 | -.6655026 .0674025 -9.87 0.000 -.797609 -.5333962 | 1.FA | -.4507311 .1266309 -3.56 0.000 -.6989232 -.2025391 1.SC | -.0844666 .0442063 -1.91 0.056 -.1711094 .0021762 1.Cred | .9122703 .0739338 12.34 0.000 .7673628 1.057178 | SCP | 1 | .1810708 .0721431 2.51 0.012 .0396729 .3224687 2 | .4662099 .0728998 6.40 0.000 .323329 .6090908 3 | .0512523 .0763347 0.67 0.502 -.098361 .2008656 | _cons | -2.026435 .1026619 -19.74 0.000 -2.227649 -1.825222 ------------------------------------------------------------------------------ . fitstat, diff different Ns between saved and current model (must use -force- option) r(999); end of do-file r(999); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . fitstat, diff force | Current Saved Difference -------------------------+--------------------------------------- Log-likelihood | Model | -8559.001 -1214.872 -7344.129 Intercept-only | -9093.702 -1951.179 -7142.523 -------------------------+--------------------------------------- Chi-square | D (df=14007/2977/11030) | 17118.002 2429.743 14688.259 LR (df=16/20/-4) | 1069.402 1472.615 -403.213 p-value | 0.000 0.000 0.000 -------------------------+--------------------------------------- R2 | McFadden | 0.059 0.377 -0.319 McFadden (adjusted) | 0.057 0.367 -0.310 McKelvey & Zavoina | 0.107 0.797 -0.690 Cox-Snell/ML | 0.073 0.388 -0.315 Cragg-Uhler/Nagelkerke | 0.101 0.533 -0.432 Efron | 0.069 0.424 -0.355 Tjur's D | 0.071 0.422 -0.351 Count | 0.671 0.796 -0.124 Count (adjusted) | 0.066 0.426 -0.360 -------------------------+--------------------------------------- IC | AIC | 17152.002 2471.743 14680.259 AIC divided by N | 1.223 0.824 0.399 BIC (df=17/21/-4) | 17280.327 2597.863 14682.464 -------------------------+--------------------------------------- Variance of | e | 3.290 3.290 0.000 y-star | 3.683 16.180 -12.498 -------------------------+--------------------------------------- N | N | 14024.000 2998.000 11026.000 Note: Likelihood-ratio test assumes current model nested in saved model. Difference of 1.5e+04 in BIC provides very strong support for saved model. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1304.2662 Iteration 2: log likelihood = -1233.8405 Iteration 3: log likelihood = -1217.6299 Iteration 4: log likelihood = -1215.0374 Iteration 5: log likelihood = -1214.8723 Iteration 6: log likelihood = -1214.8716 Iteration 7: log likelihood = -1214.8716 Logistic regression Number of obs = 2998 LR chi2(20) = 1472.61 Prob > chi2 = 0.0000 Log likelihood = -1214.8716 Pseudo R2 = 0.3774 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0658036 .1352557 0.49 0.627 -.1992926 .3308999 105 | -3.144406 .2927713 -10.74 0.000 -3.718227 -2.570585 | EL | 1 | -.1515561 .1601768 -0.95 0.344 -.465497 .1623847 2 | 1.220647 .1946668 6.27 0.000 .8391075 1.602187 3 | 1.252878 .2659368 4.71 0.000 .731651 1.774104 | 1.SA | 2.052846 .1454951 14.11 0.000 1.767681 2.338012 1.OD | .4701583 .1297241 3.62 0.000 .2159037 .724413 | AS | 2 | -1.171003 .2150559 -5.45 0.000 -1.592505 -.7495011 3 | .7693314 .2042797 3.77 0.000 .3689505 1.169712 4 | -2.286003 .2839824 -8.05 0.000 -2.842598 -1.729408 | 1.FA | 5.440744 .7725683 7.04 0.000 3.926538 6.95495 1.SC | -.1430648 .1348018 -1.06 0.289 -.4072716 .1211419 1.Cred | 12.04541 1.359107 8.86 0.000 9.381614 14.70921 | SCP | 1 | -6.56442 .5583395 -11.76 0.000 -7.658745 -5.470094 2 | -5.791094 .5580865 -10.38 0.000 -6.884923 -4.697264 3 | -6.851088 .5717249 -11.98 0.000 -7.971648 -5.730527 | HS | -.1725309 .0487376 -3.54 0.000 -.2680548 -.077007 HI | .00105 .00007 14.99 0.000 .0009127 .0011873 NAL | .5452191 .0774434 7.04 0.000 .3934328 .6970054 MN | 1.117794 .1089176 10.26 0.000 .9043196 1.331269 _cons | -10.07089 1.489483 -6.76 0.000 -12.99023 -7.151558 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . estat classification Logistic model for SV -------- True -------- Classified | D ~D | Total -----------+--------------------------+----------- + | 655 201 | 856 - | 411 1731 | 2142 -----------+--------------------------+----------- Total | 1066 1932 | 2998 Classified + if predicted Pr(D) >= .5 True D defined as SV != 0 -------------------------------------------------- Sensitivity Pr( +| D) 61.44% Specificity Pr( -|~D) 89.60% Positive predictive value Pr( D| +) 76.52% Negative predictive value Pr(~D| -) 80.81% -------------------------------------------------- False + rate for true ~D Pr( +|~D) 10.40% False - rate for true D Pr( -| D) 38.56% False + rate for classified + Pr(~D| +) 23.48% False - rate for classified - Pr( D| -) 19.19% -------------------------------------------------- Correctly classified 79.59% -------------------------------------------------- . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . listcoef, help percent logit (N=2998): Percentage change in odds Odds of: 1 vs 0 ------------------------------------------------------------------------- | b z P>|z| % %StdX SDofX -------------+----------------------------------------------------------- CA | 55 | 0.0658 0.487 0.627 6.8 3.3 0.488 105 | -3.1444 -10.740 0.000 -95.7 -63.5 0.320 | EL | 1 | -0.1516 -0.946 0.344 -14.1 -6.4 0.433 2 | 1.2206 6.270 0.000 238.9 55.0 0.359 3 | 1.2529 4.711 0.000 250.0 29.2 0.204 | 1.SA | 2.0528 14.109 0.000 679.0 171.5 0.487 1.OD | 0.4702 3.624 0.000 60.0 26.5 0.500 | AS | 2 | -1.1710 -5.445 0.000 -69.0 -28.5 0.287 3 | 0.7693 3.766 0.000 115.8 24.4 0.283 4 | -2.2860 -8.050 0.000 -89.8 -51.9 0.320 | 1.FA | 5.4407 7.042 0.000 22961.4 148.0 0.167 1.SC | -0.1431 -1.061 0.289 -13.3 -5.9 0.428 1.Cred | 12.0454 8.863 0.000 1.7e+07 2956.4 0.284 | SCP | 1 | -6.5644 -11.757 0.000 -99.9 -96.2 0.497 2 | -5.7911 -10.377 0.000 -99.7 -92.7 0.452 3 | -6.8511 -11.983 0.000 -99.9 -93.9 0.409 | HS | -0.1725 -3.540 0.000 -15.8 -27.9 1.899 HI | 0.0011 14.990 0.000 0.1 214.3 1090.669 NAL | 0.5452 7.040 0.000 72.5 66.4 0.934 MN | 1.1178 10.263 0.000 205.8 184.9 0.937 constant | -10.0709 -6.761 0.000 . . . ------------------------------------------------------------------------- b = raw coefficient z = z-score for test of b=0 P>|z| = p-value for z-test % = percent change in odds for unit increase in X %StdX = percent change in odds for SD increase in X SDofX = standard deviation of X . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit Cred i.CA i.SV i.SC i.HHS i.AL i.EL i.AS i.OD /// > i.FW i.FA c.FEM c.NbMal c.HS c.HI c.CS Iteration 0: log likelihood = -2175.3838 Iteration 1: log likelihood = -1784.59 Iteration 2: log likelihood = -1681.4802 Iteration 3: log likelihood = -1676.094 Iteration 4: log likelihood = -1675.9412 Iteration 5: log likelihood = -1675.9397 Iteration 6: log likelihood = -1675.9397 Logistic regression Number of obs = 5267 LR chi2(20) = 998.89 Prob > chi2 = 0.0000 Log likelihood = -1675.9397 Pseudo R2 = 0.2296 ------------------------------------------------------------------------------ Cred | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .7504079 .113118 6.63 0.000 .5287006 .9721152 105 | -.3101295 .2249255 -1.38 0.168 -.7509755 .1307164 | 1.SV | 1.66132 .1227825 13.53 0.000 1.42067 1.901969 1.SC | .2366977 .1252157 1.89 0.059 -.0087205 .4821158 1.HHS | -.7597593 .1800659 -4.22 0.000 -1.112682 -.4068366 1.AL | -.2724421 .1192009 -2.29 0.022 -.5060716 -.0388125 | EL | 1 | -.5409087 .1367876 -3.95 0.000 -.8090074 -.2728099 2 | -.2802393 .1238446 -2.26 0.024 -.5229703 -.0375083 3 | 3.156435 1.019477 3.10 0.002 1.158297 5.154572 | AS | 2 | .7518765 .1888438 3.98 0.000 .3817494 1.122004 3 | -1.746577 .1554101 -11.24 0.000 -2.051176 -1.441979 4 | -.5310718 .1215219 -4.37 0.000 -.7692502 -.2928933 | 1.OD | 1.824553 .1379219 13.23 0.000 1.554231 2.094875 1.FW | 1.062797 .1052714 10.10 0.000 .8564686 1.269125 1.FA | -1.283859 .2694291 -4.77 0.000 -1.811931 -.755788 FEM | 1.118839 .1257047 8.90 0.000 .8724626 1.365216 NbMal | .3442094 .1415094 2.43 0.015 .0668561 .6215628 HS | -.3820565 .0783115 -4.88 0.000 -.5355442 -.2285688 HI | -.0000828 .0000205 -4.05 0.000 -.0001229 -.0000427 CS | .5542156 .1800672 3.08 0.002 .2012904 .9071407 _cons | -3.383645 1.974505 -1.71 0.087 -7.253604 .4863143 ------------------------------------------------------------------------------ . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . quietly fitstat, save . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit Cred i.CA i.SV i.SC i.HHS i.AL i.EL i.AS i.OD /// > i.FW i.FA Iteration 0: log likelihood = -4471.7728 Iteration 1: log likelihood = -4065.6046 Iteration 2: log likelihood = -4000.0378 Iteration 3: log likelihood = -3998.2073 Iteration 4: log likelihood = -3998.0989 Iteration 5: log likelihood = -3998.098 Iteration 6: log likelihood = -3998.098 Logistic regression Number of obs = 14024 LR chi2(15) = 947.35 Prob > chi2 = 0.0000 Log likelihood = -3998.098 Pseudo R2 = 0.1059 ------------------------------------------------------------------------------ Cred | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .556536 .0710757 7.83 0.000 .4172302 .6958418 105 | -.0441047 .1056788 -0.42 0.676 -.2512313 .163022 | 1.SV | 1.000399 .0754093 13.27 0.000 .8525994 1.148198 1.SC | .3122268 .0770138 4.05 0.000 .1612825 .4631711 1.HHS | -.9107472 .0966478 -9.42 0.000 -1.100173 -.7213209 1.AL | -.1617722 .0658467 -2.46 0.014 -.2908295 -.032715 | EL | 1 | -.5074848 .0777101 -6.53 0.000 -.6597937 -.3551759 2 | .0357818 .0832642 0.43 0.667 -.1274131 .1989766 3 | 2.846288 1.005347 2.83 0.005 .8758446 4.816731 | AS | 2 | -.5592696 .107294 -5.21 0.000 -.769562 -.3489773 3 | -1.14775 .0979216 -11.72 0.000 -1.339673 -.9558276 4 | -.4282715 .0933855 -4.59 0.000 -.6113037 -.2452394 | 1.OD | 1.105068 .0686191 16.10 0.000 .9705773 1.239559 1.FW | .0561957 .0621736 0.90 0.366 -.0656623 .1780537 1.FA | -.7803311 .1422207 -5.49 0.000 -1.059078 -.5015837 _cons | 2.360131 .1159826 20.35 0.000 2.132809 2.587453 ------------------------------------------------------------------------------ . fitstat, diff different Ns between saved and current model (must use -force- option) r(999); end of do-file r(999); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . fitstat, diff force | Current Saved Difference -------------------------+--------------------------------------- Log-likelihood | Model | -3998.098 -1675.940 -2322.158 Intercept-only | -4471.773 -2175.384 -2296.389 -------------------------+--------------------------------------- Chi-square | D (df=14008/5246/8762) | 7996.196 3351.879 4644.317 LR (df=15/20/-5) | 947.350 998.888 -51.539 p-value | 0.000 0.000 0.000 -------------------------+--------------------------------------- R2 | McFadden | 0.106 0.230 -0.124 McFadden (adjusted) | 0.102 0.220 -0.118 McKelvey & Zavoina | 0.260 0.534 -0.274 Cox-Snell/ML | 0.065 0.173 -0.107 Cragg-Uhler/Nagelkerke | 0.139 0.307 -0.169 Efron | 0.086 0.196 -0.110 Tjur's D | 0.079 0.199 -0.120 Count | 0.903 0.846 0.057 Count (adjusted) | -0.001 -0.066 0.065 -------------------------+--------------------------------------- IC | AIC | 8028.196 3393.879 4634.317 AIC divided by N | 0.572 0.644 -0.072 BIC (df=16/21/-5) | 8148.972 3531.833 4617.140 -------------------------+--------------------------------------- Variance of | e | 3.290 3.290 0.000 y-star | 4.447 7.057 -2.610 -------------------------+--------------------------------------- N | N | 14024.000 5267.000 8757.000 Note: Likelihood-ratio test assumes current model nested in saved model. Difference of 4617.140 in BIC provides very strong support for saved model. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit Cred i.CA i.SV i.SC i.HHS i.AL i.EL i.AS i.OD /// > i.FW i.FA c.FEM c.NbMal c.HS c.HI c.CS Iteration 0: log likelihood = -2175.3838 Iteration 1: log likelihood = -1784.59 Iteration 2: log likelihood = -1681.4802 Iteration 3: log likelihood = -1676.094 Iteration 4: log likelihood = -1675.9412 Iteration 5: log likelihood = -1675.9397 Iteration 6: log likelihood = -1675.9397 Logistic regression Number of obs = 5267 LR chi2(20) = 998.89 Prob > chi2 = 0.0000 Log likelihood = -1675.9397 Pseudo R2 = 0.2296 ------------------------------------------------------------------------------ Cred | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .7504079 .113118 6.63 0.000 .5287006 .9721152 105 | -.3101295 .2249255 -1.38 0.168 -.7509755 .1307164 | 1.SV | 1.66132 .1227825 13.53 0.000 1.42067 1.901969 1.SC | .2366977 .1252157 1.89 0.059 -.0087205 .4821158 1.HHS | -.7597593 .1800659 -4.22 0.000 -1.112682 -.4068366 1.AL | -.2724421 .1192009 -2.29 0.022 -.5060716 -.0388125 | EL | 1 | -.5409087 .1367876 -3.95 0.000 -.8090074 -.2728099 2 | -.2802393 .1238446 -2.26 0.024 -.5229703 -.0375083 3 | 3.156435 1.019477 3.10 0.002 1.158297 5.154572 | AS | 2 | .7518765 .1888438 3.98 0.000 .3817494 1.122004 3 | -1.746577 .1554101 -11.24 0.000 -2.051176 -1.441979 4 | -.5310718 .1215219 -4.37 0.000 -.7692502 -.2928933 | 1.OD | 1.824553 .1379219 13.23 0.000 1.554231 2.094875 1.FW | 1.062797 .1052714 10.10 0.000 .8564686 1.269125 1.FA | -1.283859 .2694291 -4.77 0.000 -1.811931 -.755788 FEM | 1.118839 .1257047 8.90 0.000 .8724626 1.365216 NbMal | .3442094 .1415094 2.43 0.015 .0668561 .6215628 HS | -.3820565 .0783115 -4.88 0.000 -.5355442 -.2285688 HI | -.0000828 .0000205 -4.05 0.000 -.0001229 -.0000427 CS | .5542156 .1800672 3.08 0.002 .2012904 .9071407 _cons | -3.383645 1.974505 -1.71 0.087 -7.253604 .4863143 ------------------------------------------------------------------------------ . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . estat classification Logistic model for Cred -------- True -------- Classified | D ~D | Total -----------+--------------------------+----------- + | 4325 630 | 4955 - | 181 131 | 312 -----------+--------------------------+----------- Total | 4506 761 | 5267 Classified + if predicted Pr(D) >= .5 True D defined as Cred != 0 -------------------------------------------------- Sensitivity Pr( +| D) 95.98% Specificity Pr( -|~D) 17.21% Positive predictive value Pr( D| +) 87.29% Negative predictive value Pr(~D| -) 41.99% -------------------------------------------------- False + rate for true ~D Pr( +|~D) 82.79% False - rate for true D Pr( -| D) 4.02% False + rate for classified + Pr(~D| +) 12.71% False - rate for classified - Pr( D| -) 58.01% -------------------------------------------------- Correctly classified 84.60% -------------------------------------------------- . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . estat summarize Estimation sample logit Number of obs = 5267 ------------------------------------------------------------- Variable | Mean Std. Dev. Min Max -------------+----------------------------------------------- Cred | .8555155 .3516137 0 1 | CA | 55 | .3778242 .4848894 0 1 105 | .100057 .3001044 0 1 | 1.SV | .3565597 .4790287 0 1 1.SC | .2077084 .4057054 0 1 1.HHS | .8399468 .3666902 0 1 1.AL | .6331878 .4819804 0 1 | EL | 1 | .2107462 .4078772 0 1 2 | .2139738 .4101475 0 1 3 | .0337953 .1807191 0 1 | AS | 2 | .0953104 .2936711 0 1 3 | .0943611 .2923582 0 1 4 | .2272641 .4191044 0 1 | 1.OD | .3704196 .4829629 0 1 1.FW | .5714828 .4949108 0 1 1.FA | .0248718 .1557493 0 1 FEM | .9783558 1.335735 0 7 NbMal | 13.83216 .3742651 12 14 HS | 2.290298 1.774676 1 12 HI | 1328.482 4205.864 4.5 34500 CS | .2462502 .5691148 0 6 ------------------------------------------------------------- . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . listcoef, help percent logit (N=5267): Percentage change in odds Odds of: 1 vs 0 ------------------------------------------------------------------------- | b z P>|z| % %StdX SDofX -------------+----------------------------------------------------------- CA | 55 | 0.7504 6.634 0.000 111.8 43.9 0.485 105 | -0.3101 -1.379 0.168 -26.7 -8.9 0.300 | 1.SV | 1.6613 13.531 0.000 426.6 121.6 0.479 1.SC | 0.2367 1.890 0.059 26.7 10.1 0.406 1.HHS | -0.7598 -4.219 0.000 -53.2 -24.3 0.367 1.AL | -0.2724 -2.286 0.022 -23.8 -12.3 0.482 | EL | 1 | -0.5409 -3.954 0.000 -41.8 -19.8 0.408 2 | -0.2802 -2.263 0.024 -24.4 -10.9 0.410 3 | 3.1564 3.096 0.002 2248.7 76.9 0.181 | AS | 2 | 0.7519 3.981 0.000 112.1 24.7 0.294 3 | -1.7466 -11.239 0.000 -82.6 -40.0 0.292 4 | -0.5311 -4.370 0.000 -41.2 -20.0 0.419 | 1.OD | 1.8246 13.229 0.000 520.0 141.4 0.483 1.FW | 1.0628 10.096 0.000 189.4 69.2 0.495 1.FA | -1.2839 -4.765 0.000 -72.3 -18.1 0.156 FEM | 1.1188 8.901 0.000 206.1 345.7 1.336 NbMal | 0.3442 2.432 0.015 41.1 13.7 0.374 HS | -0.3821 -4.879 0.000 -31.8 -49.2 1.775 HI | -0.0001 -4.048 0.000 -0.0 -29.4 4205.864 CS | 0.5542 3.078 0.002 74.1 37.1 0.569 constant | -3.3836 -1.714 0.087 . . . ------------------------------------------------------------------------- b = raw coefficient z = z-score for test of b=0 P>|z| = p-value for z-test % = percent change in odds for unit increase in X %StdX = percent change in odds for SD increase in X SDofX = standard deviation of X . end of do-file . putexcel A1=rscalars using "D:\Essaie estimation stata\Resultat article2.xls", colwise file D:\Essaie estimation stata\Resultat article2.xls saved . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . estat summarize Estimation sample logit Number of obs = 2998 ------------------------------------------------------------- Variable | Mean Std. Dev. Min Max -------------+----------------------------------------------- SV | .3555704 .4787656 0 1 | CA | 55 | .3915944 .4881882 0 1 105 | .1160774 .3203711 0 1 | EL | 1 | .2498332 .4329886 0 1 2 | .1517678 .3588556 0 1 3 | .0436958 .2044515 0 1 | 1.SA | .3842562 .4865001 0 1 1.OD | .5086724 .5000082 0 1 | AS | 2 | .0903936 .2867927 0 1 3 | .0880587 .2834275 0 1 4 | .1157438 .3199709 0 1 | 1.FA | .0286858 .1669497 0 1 1.SC | .2418279 .428262 0 1 1.Cred | .9116077 .2839119 0 1 | SCP | 1 | .4416278 .4966638 0 1 2 | .2861908 .4520551 0 1 3 | .2118079 .4086576 0 1 | HS | 2.70447 1.899033 1 12 HI | 872.906 1090.669 4.5 22500 NAL | 1.573716 .9344925 1 6 MN | 1.432622 .9367536 0 6 ------------------------------------------------------------- . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . log close name: log: D:\Essaie estimation stata\travthese.log log type: text closed on: 21 Nov 2018, 12:32:34 ------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------- end of do-file r(199); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1304.2662 Iteration 2: log likelihood = -1233.8405 Iteration 3: log likelihood = -1217.6299 Iteration 4: log likelihood = -1215.0374 Iteration 5: log likelihood = -1214.8723 Iteration 6: log likelihood = -1214.8716 Iteration 7: log likelihood = -1214.8716 Logistic regression Number of obs = 2998 LR chi2(20) = 1472.61 Prob > chi2 = 0.0000 Log likelihood = -1214.8716 Pseudo R2 = 0.3774 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0658036 .1352557 0.49 0.627 -.1992926 .3308999 105 | -3.144406 .2927713 -10.74 0.000 -3.718227 -2.570585 | EL | 1 | -.1515561 .1601768 -0.95 0.344 -.465497 .1623847 2 | 1.220647 .1946668 6.27 0.000 .8391075 1.602187 3 | 1.252878 .2659368 4.71 0.000 .731651 1.774104 | 1.SA | 2.052846 .1454951 14.11 0.000 1.767681 2.338012 1.OD | .4701583 .1297241 3.62 0.000 .2159037 .724413 | AS | 2 | -1.171003 .2150559 -5.45 0.000 -1.592505 -.7495011 3 | .7693314 .2042797 3.77 0.000 .3689505 1.169712 4 | -2.286003 .2839824 -8.05 0.000 -2.842598 -1.729408 | 1.FA | 5.440744 .7725683 7.04 0.000 3.926538 6.95495 1.SC | -.1430648 .1348018 -1.06 0.289 -.4072716 .1211419 1.Cred | 12.04541 1.359107 8.86 0.000 9.381614 14.70921 | SCP | 1 | -6.56442 .5583395 -11.76 0.000 -7.658745 -5.470094 2 | -5.791094 .5580865 -10.38 0.000 -6.884923 -4.697264 3 | -6.851088 .5717249 -11.98 0.000 -7.971648 -5.730527 | HS | -.1725309 .0487376 -3.54 0.000 -.2680548 -.077007 HI | .00105 .00007 14.99 0.000 .0009127 .0011873 NAL | .5452191 .0774434 7.04 0.000 .3934328 .6970054 MN | 1.117794 .1089176 10.26 0.000 .9043196 1.331269 _cons | -10.07089 1.489483 -6.76 0.000 -12.99023 -7.151558 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . listcoef logit (N=2998): Factor change in odds Odds of: 1 vs 0 ------------------------------------------------------------------------- | b z P>|z| e^b e^bStdX SDofX -------------+----------------------------------------------------------- CA | 55 | 0.0658 0.487 0.627 1.068 1.033 0.488 105 | -3.1444 -10.740 0.000 0.043 0.365 0.320 | EL | 1 | -0.1516 -0.946 0.344 0.859 0.936 0.433 2 | 1.2206 6.270 0.000 3.389 1.550 0.359 3 | 1.2529 4.711 0.000 3.500 1.292 0.204 | 1.SA | 2.0528 14.109 0.000 7.790 2.715 0.487 1.OD | 0.4702 3.624 0.000 1.600 1.265 0.500 | AS | 2 | -1.1710 -5.445 0.000 0.310 0.715 0.287 3 | 0.7693 3.766 0.000 2.158 1.244 0.283 4 | -2.2860 -8.050 0.000 0.102 0.481 0.320 | 1.FA | 5.4407 7.042 0.000 230.614 2.480 0.167 1.SC | -0.1431 -1.061 0.289 0.867 0.941 0.428 1.Cred | 12.0454 8.863 0.000 1.7e+05 30.564 0.284 | SCP | 1 | -6.5644 -11.757 0.000 0.001 0.038 0.497 2 | -5.7911 -10.377 0.000 0.003 0.073 0.452 3 | -6.8511 -11.983 0.000 0.001 0.061 0.409 | HS | -0.1725 -3.540 0.000 0.842 0.721 1.899 HI | 0.0011 14.990 0.000 1.001 3.143 1090.669 NAL | 0.5452 7.040 0.000 1.725 1.664 0.934 MN | 1.1178 10.263 0.000 3.058 2.849 0.937 constant | -10.0709 -6.761 0.000 . . . ------------------------------------------------------------------------- . 3 = matrix(r(table)', names) using myresults.xls unrecognized command: 3 invalid command name r(199); end of do-file r(199); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . exit, clear ------------------------------------------------------------------------------------------- name: log: D:\Essaie estimation stata\travthese.log log type: text opened on: 21 Nov 2018, 21:15:48 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . use Base_donnees_rech.dta, clear . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1304.2662 Iteration 2: log likelihood = -1233.8405 Iteration 3: log likelihood = -1217.6299 Iteration 4: log likelihood = -1215.0374 Iteration 5: log likelihood = -1214.8723 Iteration 6: log likelihood = -1214.8716 Iteration 7: log likelihood = -1214.8716 Logistic regression Number of obs = 2998 LR chi2(20) = 1472.61 Prob > chi2 = 0.0000 Log likelihood = -1214.8716 Pseudo R2 = 0.3774 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0658036 .1352557 0.49 0.627 -.1992926 .3308999 105 | -3.144406 .2927713 -10.74 0.000 -3.718227 -2.570585 | EL | 1 | -.1515561 .1601768 -0.95 0.344 -.465497 .1623847 2 | 1.220647 .1946668 6.27 0.000 .8391075 1.602187 3 | 1.252878 .2659368 4.71 0.000 .731651 1.774104 | 1.SA | 2.052846 .1454951 14.11 0.000 1.767681 2.338012 1.OD | .4701583 .1297241 3.62 0.000 .2159037 .724413 | AS | 2 | -1.171003 .2150559 -5.45 0.000 -1.592505 -.7495011 3 | .7693314 .2042797 3.77 0.000 .3689505 1.169712 4 | -2.286003 .2839824 -8.05 0.000 -2.842598 -1.729408 | 1.FA | 5.440744 .7725683 7.04 0.000 3.926538 6.95495 1.SC | -.1430648 .1348018 -1.06 0.289 -.4072716 .1211419 1.Cred | 12.04541 1.359107 8.86 0.000 9.381614 14.70921 | SCP | 1 | -6.56442 .5583395 -11.76 0.000 -7.658745 -5.470094 2 | -5.791094 .5580865 -10.38 0.000 -6.884923 -4.697264 3 | -6.851088 .5717249 -11.98 0.000 -7.971648 -5.730527 | HS | -.1725309 .0487376 -3.54 0.000 -.2680548 -.077007 HI | .00105 .00007 14.99 0.000 .0009127 .0011873 NAL | .5452191 .0774434 7.04 0.000 .3934328 .6970054 MN | 1.117794 .1089176 10.26 0.000 .9043196 1.331269 _cons | -10.07089 1.489483 -6.76 0.000 -12.99023 -7.151558 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . estat summarize Estimation sample logit Number of obs = 2998 ------------------------------------------------------------- Variable | Mean Std. Dev. Min Max -------------+----------------------------------------------- SV | .3555704 .4787656 0 1 | CA | 55 | .3915944 .4881882 0 1 105 | .1160774 .3203711 0 1 | EL | 1 | .2498332 .4329886 0 1 2 | .1517678 .3588556 0 1 3 | .0436958 .2044515 0 1 | 1.SA | .3842562 .4865001 0 1 1.OD | .5086724 .5000082 0 1 | AS | 2 | .0903936 .2867927 0 1 3 | .0880587 .2834275 0 1 4 | .1157438 .3199709 0 1 | 1.FA | .0286858 .1669497 0 1 1.SC | .2418279 .428262 0 1 1.Cred | .9116077 .2839119 0 1 | SCP | 1 | .4416278 .4966638 0 1 2 | .2861908 .4520551 0 1 3 | .2118079 .4086576 0 1 | HS | 2.70447 1.899033 1 12 HI | 872.906 1090.669 4.5 22500 NAL | 1.573716 .9344925 1 6 MN | 1.432622 .9367536 0 6 ------------------------------------------------------------- . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit Cred i.CA i.SV i.SC i.HHS i.AL i.EL i.AS i.OD /// > i.FW i.FA c.FEM c.NbMal c.HS c.HI c.CS Iteration 0: log likelihood = -2175.3838 Iteration 1: log likelihood = -1784.59 Iteration 2: log likelihood = -1681.4802 Iteration 3: log likelihood = -1676.094 Iteration 4: log likelihood = -1675.9412 Iteration 5: log likelihood = -1675.9397 Iteration 6: log likelihood = -1675.9397 Logistic regression Number of obs = 5267 LR chi2(20) = 998.89 Prob > chi2 = 0.0000 Log likelihood = -1675.9397 Pseudo R2 = 0.2296 ------------------------------------------------------------------------------ Cred | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .7504079 .113118 6.63 0.000 .5287006 .9721152 105 | -.3101295 .2249255 -1.38 0.168 -.7509755 .1307164 | 1.SV | 1.66132 .1227825 13.53 0.000 1.42067 1.901969 1.SC | .2366977 .1252157 1.89 0.059 -.0087205 .4821158 1.HHS | -.7597593 .1800659 -4.22 0.000 -1.112682 -.4068366 1.AL | -.2724421 .1192009 -2.29 0.022 -.5060716 -.0388125 | EL | 1 | -.5409087 .1367876 -3.95 0.000 -.8090074 -.2728099 2 | -.2802393 .1238446 -2.26 0.024 -.5229703 -.0375083 3 | 3.156435 1.019477 3.10 0.002 1.158297 5.154572 | AS | 2 | .7518765 .1888438 3.98 0.000 .3817494 1.122004 3 | -1.746577 .1554101 -11.24 0.000 -2.051176 -1.441979 4 | -.5310718 .1215219 -4.37 0.000 -.7692502 -.2928933 | 1.OD | 1.824553 .1379219 13.23 0.000 1.554231 2.094875 1.FW | 1.062797 .1052714 10.10 0.000 .8564686 1.269125 1.FA | -1.283859 .2694291 -4.77 0.000 -1.811931 -.755788 FEM | 1.118839 .1257047 8.90 0.000 .8724626 1.365216 NbMal | .3442094 .1415094 2.43 0.015 .0668561 .6215628 HS | -.3820565 .0783115 -4.88 0.000 -.5355442 -.2285688 HI | -.0000828 .0000205 -4.05 0.000 -.0001229 -.0000427 CS | .5542156 .1800672 3.08 0.002 .2012904 .9071407 _cons | -3.383645 1.974505 -1.71 0.087 -7.253604 .4863143 ------------------------------------------------------------------------------ . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . estat summarize Estimation sample logit Number of obs = 5267 ------------------------------------------------------------- Variable | Mean Std. Dev. Min Max -------------+----------------------------------------------- Cred | .8555155 .3516137 0 1 | CA | 55 | .3778242 .4848894 0 1 105 | .100057 .3001044 0 1 | 1.SV | .3565597 .4790287 0 1 1.SC | .2077084 .4057054 0 1 1.HHS | .8399468 .3666902 0 1 1.AL | .6331878 .4819804 0 1 | EL | 1 | .2107462 .4078772 0 1 2 | .2139738 .4101475 0 1 3 | .0337953 .1807191 0 1 | AS | 2 | .0953104 .2936711 0 1 3 | .0943611 .2923582 0 1 4 | .2272641 .4191044 0 1 | 1.OD | .3704196 .4829629 0 1 1.FW | .5714828 .4949108 0 1 1.FA | .0248718 .1557493 0 1 FEM | .9783558 1.335735 0 7 NbMal | 13.83216 .3742651 12 14 HS | 2.290298 1.774676 1 12 HI | 1328.482 4205.864 4.5 34500 CS | .2462502 .5691148 0 6 ------------------------------------------------------------- . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1304.2662 Iteration 2: log likelihood = -1233.8405 Iteration 3: log likelihood = -1217.6299 Iteration 4: log likelihood = -1215.0374 Iteration 5: log likelihood = -1214.8723 Iteration 6: log likelihood = -1214.8716 Iteration 7: log likelihood = -1214.8716 Logistic regression Number of obs = 2998 LR chi2(20) = 1472.61 Prob > chi2 = 0.0000 Log likelihood = -1214.8716 Pseudo R2 = 0.3774 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0658036 .1352557 0.49 0.627 -.1992926 .3308999 105 | -3.144406 .2927713 -10.74 0.000 -3.718227 -2.570585 | EL | 1 | -.1515561 .1601768 -0.95 0.344 -.465497 .1623847 2 | 1.220647 .1946668 6.27 0.000 .8391075 1.602187 3 | 1.252878 .2659368 4.71 0.000 .731651 1.774104 | 1.SA | 2.052846 .1454951 14.11 0.000 1.767681 2.338012 1.OD | .4701583 .1297241 3.62 0.000 .2159037 .724413 | AS | 2 | -1.171003 .2150559 -5.45 0.000 -1.592505 -.7495011 3 | .7693314 .2042797 3.77 0.000 .3689505 1.169712 4 | -2.286003 .2839824 -8.05 0.000 -2.842598 -1.729408 | 1.FA | 5.440744 .7725683 7.04 0.000 3.926538 6.95495 1.SC | -.1430648 .1348018 -1.06 0.289 -.4072716 .1211419 1.Cred | 12.04541 1.359107 8.86 0.000 9.381614 14.70921 | SCP | 1 | -6.56442 .5583395 -11.76 0.000 -7.658745 -5.470094 2 | -5.791094 .5580865 -10.38 0.000 -6.884923 -4.697264 3 | -6.851088 .5717249 -11.98 0.000 -7.971648 -5.730527 | HS | -.1725309 .0487376 -3.54 0.000 -.2680548 -.077007 HI | .00105 .00007 14.99 0.000 .0009127 .0011873 NAL | .5452191 .0774434 7.04 0.000 .3934328 .6970054 MN | 1.117794 .1089176 10.26 0.000 .9043196 1.331269 _cons | -10.07089 1.489483 -6.76 0.000 -12.99023 -7.151558 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file already exists you must specify either the modify or replace option r(198); end of do-file r(198); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . listcoef, help percent logit (N=2998): Percentage change in odds Odds of: 1 vs 0 ------------------------------------------------------------------------- | b z P>|z| % %StdX SDofX -------------+----------------------------------------------------------- CA | 55 | 0.0658 0.487 0.627 6.8 3.3 0.488 105 | -3.1444 -10.740 0.000 -95.7 -63.5 0.320 | EL | 1 | -0.1516 -0.946 0.344 -14.1 -6.4 0.433 2 | 1.2206 6.270 0.000 238.9 55.0 0.359 3 | 1.2529 4.711 0.000 250.0 29.2 0.204 | 1.SA | 2.0528 14.109 0.000 679.0 171.5 0.487 1.OD | 0.4702 3.624 0.000 60.0 26.5 0.500 | AS | 2 | -1.1710 -5.445 0.000 -69.0 -28.5 0.287 3 | 0.7693 3.766 0.000 115.8 24.4 0.283 4 | -2.2860 -8.050 0.000 -89.8 -51.9 0.320 | 1.FA | 5.4407 7.042 0.000 22961.4 148.0 0.167 1.SC | -0.1431 -1.061 0.289 -13.3 -5.9 0.428 1.Cred | 12.0454 8.863 0.000 1.7e+07 2956.4 0.284 | SCP | 1 | -6.5644 -11.757 0.000 -99.9 -96.2 0.497 2 | -5.7911 -10.377 0.000 -99.7 -92.7 0.452 3 | -6.8511 -11.983 0.000 -99.9 -93.9 0.409 | HS | -0.1725 -3.540 0.000 -15.8 -27.9 1.899 HI | 0.0011 14.990 0.000 0.1 214.3 1090.669 NAL | 0.5452 7.040 0.000 72.5 66.4 0.934 MN | 1.1178 10.263 0.000 205.8 184.9 0.937 constant | -10.0709 -6.761 0.000 . . . ------------------------------------------------------------------------- b = raw coefficient z = z-score for test of b=0 P>|z| = p-value for z-test % = percent change in odds for unit increase in X %StdX = percent change in odds for SD increase in X SDofX = standard deviation of X . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit Cred i.CA i.SV i.SC i.HHS i.AL i.EL i.AS i.OD /// > i.FW i.FA c.FEM c.NbMal c.HS c.HI c.CS Iteration 0: log likelihood = -2175.3838 Iteration 1: log likelihood = -1784.59 Iteration 2: log likelihood = -1681.4802 Iteration 3: log likelihood = -1676.094 Iteration 4: log likelihood = -1675.9412 Iteration 5: log likelihood = -1675.9397 Iteration 6: log likelihood = -1675.9397 Logistic regression Number of obs = 5267 LR chi2(20) = 998.89 Prob > chi2 = 0.0000 Log likelihood = -1675.9397 Pseudo R2 = 0.2296 ------------------------------------------------------------------------------ Cred | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .7504079 .113118 6.63 0.000 .5287006 .9721152 105 | -.3101295 .2249255 -1.38 0.168 -.7509755 .1307164 | 1.SV | 1.66132 .1227825 13.53 0.000 1.42067 1.901969 1.SC | .2366977 .1252157 1.89 0.059 -.0087205 .4821158 1.HHS | -.7597593 .1800659 -4.22 0.000 -1.112682 -.4068366 1.AL | -.2724421 .1192009 -2.29 0.022 -.5060716 -.0388125 | EL | 1 | -.5409087 .1367876 -3.95 0.000 -.8090074 -.2728099 2 | -.2802393 .1238446 -2.26 0.024 -.5229703 -.0375083 3 | 3.156435 1.019477 3.10 0.002 1.158297 5.154572 | AS | 2 | .7518765 .1888438 3.98 0.000 .3817494 1.122004 3 | -1.746577 .1554101 -11.24 0.000 -2.051176 -1.441979 4 | -.5310718 .1215219 -4.37 0.000 -.7692502 -.2928933 | 1.OD | 1.824553 .1379219 13.23 0.000 1.554231 2.094875 1.FW | 1.062797 .1052714 10.10 0.000 .8564686 1.269125 1.FA | -1.283859 .2694291 -4.77 0.000 -1.811931 -.755788 FEM | 1.118839 .1257047 8.90 0.000 .8724626 1.365216 NbMal | .3442094 .1415094 2.43 0.015 .0668561 .6215628 HS | -.3820565 .0783115 -4.88 0.000 -.5355442 -.2285688 HI | -.0000828 .0000205 -4.05 0.000 -.0001229 -.0000427 CS | .5542156 .1800672 3.08 0.002 .2012904 .9071407 _cons | -3.383645 1.974505 -1.71 0.087 -7.253604 .4863143 ------------------------------------------------------------------------------ . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . listcoef, help percent logit (N=5267): Percentage change in odds Odds of: 1 vs 0 ------------------------------------------------------------------------- | b z P>|z| % %StdX SDofX -------------+----------------------------------------------------------- CA | 55 | 0.7504 6.634 0.000 111.8 43.9 0.485 105 | -0.3101 -1.379 0.168 -26.7 -8.9 0.300 | 1.SV | 1.6613 13.531 0.000 426.6 121.6 0.479 1.SC | 0.2367 1.890 0.059 26.7 10.1 0.406 1.HHS | -0.7598 -4.219 0.000 -53.2 -24.3 0.367 1.AL | -0.2724 -2.286 0.022 -23.8 -12.3 0.482 | EL | 1 | -0.5409 -3.954 0.000 -41.8 -19.8 0.408 2 | -0.2802 -2.263 0.024 -24.4 -10.9 0.410 3 | 3.1564 3.096 0.002 2248.7 76.9 0.181 | AS | 2 | 0.7519 3.981 0.000 112.1 24.7 0.294 3 | -1.7466 -11.239 0.000 -82.6 -40.0 0.292 4 | -0.5311 -4.370 0.000 -41.2 -20.0 0.419 | 1.OD | 1.8246 13.229 0.000 520.0 141.4 0.483 1.FW | 1.0628 10.096 0.000 189.4 69.2 0.495 1.FA | -1.2839 -4.765 0.000 -72.3 -18.1 0.156 FEM | 1.1188 8.901 0.000 206.1 345.7 1.336 NbMal | 0.3442 2.432 0.015 41.1 13.7 0.374 HS | -0.3821 -4.879 0.000 -31.8 -49.2 1.775 HI | -0.0001 -4.048 0.000 -0.0 -29.4 4205.864 CS | 0.5542 3.078 0.002 74.1 37.1 0.569 constant | -3.3836 -1.714 0.087 . . . ------------------------------------------------------------------------- b = raw coefficient z = z-score for test of b=0 P>|z| = p-value for z-test % = percent change in odds for unit increase in X %StdX = percent change in odds for SD increase in X SDofX = standard deviation of X . able)', names) using myresults.xls unrecognized command: able r(199); end of do-file r(199); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . log close name: log: D:\Essaie estimation stata\travthese.log log type: text closed on: 21 Nov 2018, 23:14:10 ------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------- name: log: D:\Essaie estimation stata\travthese.log log type: text opened on: 23 Nov 2018, 11:21:18 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . use Base_donnees_rech.dta, clear . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1304.2662 Iteration 2: log likelihood = -1233.8405 Iteration 3: log likelihood = -1217.6299 Iteration 4: log likelihood = -1215.0374 Iteration 5: log likelihood = -1214.8723 Iteration 6: log likelihood = -1214.8716 Iteration 7: log likelihood = -1214.8716 Logistic regression Number of obs = 2998 LR chi2(20) = 1472.61 Prob > chi2 = 0.0000 Log likelihood = -1214.8716 Pseudo R2 = 0.3774 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0658036 .1352557 0.49 0.627 -.1992926 .3308999 105 | -3.144406 .2927713 -10.74 0.000 -3.718227 -2.570585 | EL | 1 | -.1515561 .1601768 -0.95 0.344 -.465497 .1623847 2 | 1.220647 .1946668 6.27 0.000 .8391075 1.602187 3 | 1.252878 .2659368 4.71 0.000 .731651 1.774104 | 1.SA | 2.052846 .1454951 14.11 0.000 1.767681 2.338012 1.OD | .4701583 .1297241 3.62 0.000 .2159037 .724413 | AS | 2 | -1.171003 .2150559 -5.45 0.000 -1.592505 -.7495011 3 | .7693314 .2042797 3.77 0.000 .3689505 1.169712 4 | -2.286003 .2839824 -8.05 0.000 -2.842598 -1.729408 | 1.FA | 5.440744 .7725683 7.04 0.000 3.926538 6.95495 1.SC | -.1430648 .1348018 -1.06 0.289 -.4072716 .1211419 1.Cred | 12.04541 1.359107 8.86 0.000 9.381614 14.70921 | SCP | 1 | -6.56442 .5583395 -11.76 0.000 -7.658745 -5.470094 2 | -5.791094 .5580865 -10.38 0.000 -6.884923 -4.697264 3 | -6.851088 .5717249 -11.98 0.000 -7.971648 -5.730527 | HS | -.1725309 .0487376 -3.54 0.000 -.2680548 -.077007 HI | .00105 .00007 14.99 0.000 .0009127 .0011873 NAL | .5452191 .0774434 7.04 0.000 .3934328 .6970054 MN | 1.117794 .1089176 10.26 0.000 .9043196 1.331269 _cons | -10.07089 1.489483 -6.76 0.000 -12.99023 -7.151558 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . quietly fitstat, save . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP Iteration 0: log likelihood = -9093.702 Iteration 1: log likelihood = -8567.3687 Iteration 2: log likelihood = -8559.0112 Iteration 3: log likelihood = -8559.0009 Iteration 4: log likelihood = -8559.0009 Logistic regression Number of obs = 14024 LR chi2(16) = 1069.40 Prob > chi2 = 0.0000 Log likelihood = -8559.0009 Pseudo R2 = 0.0588 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .1793984 .0413791 4.34 0.000 .098297 .2604999 105 | .244176 .0598837 4.08 0.000 .1268061 .361546 | EL | 1 | .7280244 .048585 14.98 0.000 .6327996 .8232493 2 | .4417389 .0499599 8.84 0.000 .3438193 .5396584 3 | 1.331052 .1367348 9.73 0.000 1.063057 1.599048 | 1.SA | .4898102 .0429249 11.41 0.000 .405679 .5739414 1.OD | -.1414073 .0412289 -3.43 0.001 -.2222144 -.0606002 | AS | 2 | -1.260459 .0993324 -12.69 0.000 -1.455147 -1.065772 3 | .693856 .069021 10.05 0.000 .5585773 .8291346 4 | -.6655026 .0674025 -9.87 0.000 -.797609 -.5333962 | 1.FA | -.4507311 .1266309 -3.56 0.000 -.6989232 -.2025391 1.SC | -.0844666 .0442063 -1.91 0.056 -.1711094 .0021762 1.Cred | .9122703 .0739338 12.34 0.000 .7673628 1.057178 | SCP | 1 | .1810708 .0721431 2.51 0.012 .0396729 .3224687 2 | .4662099 .0728998 6.40 0.000 .323329 .6090908 3 | .0512523 .0763347 0.67 0.502 -.098361 .2008656 | _cons | -2.026435 .1026619 -19.74 0.000 -2.227649 -1.825222 ------------------------------------------------------------------------------ . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . fitstat, diff force | Current Saved Difference -------------------------+--------------------------------------- Log-likelihood | Model | -8559.001 -1214.872 -7344.129 Intercept-only | -9093.702 -1951.179 -7142.523 -------------------------+--------------------------------------- Chi-square | D (df=14007/2977/11030) | 17118.002 2429.743 14688.259 LR (df=16/20/-4) | 1069.402 1472.615 -403.213 p-value | 0.000 0.000 0.000 -------------------------+--------------------------------------- R2 | McFadden | 0.059 0.377 -0.319 McFadden (adjusted) | 0.057 0.367 -0.310 McKelvey & Zavoina | 0.107 0.797 -0.690 Cox-Snell/ML | 0.073 0.388 -0.315 Cragg-Uhler/Nagelkerke | 0.101 0.533 -0.432 Efron | 0.069 0.424 -0.355 Tjur's D | 0.071 0.422 -0.351 Count | 0.671 0.796 -0.124 Count (adjusted) | 0.066 0.426 -0.360 -------------------------+--------------------------------------- IC | AIC | 17152.002 2471.743 14680.259 AIC divided by N | 1.223 0.824 0.399 BIC (df=17/21/-4) | 17280.327 2597.863 14682.464 -------------------------+--------------------------------------- Variance of | e | 3.290 3.290 0.000 y-star | 3.683 16.180 -12.498 -------------------------+--------------------------------------- N | N | 14024.000 2998.000 11026.000 Note: Likelihood-ratio test assumes current model nested in saved model. Difference of 1.5e+04 in BIC provides very strong support for saved model. . r(table)', names) using myresults.xls unrecognized command: r r(199); end of do-file r(199); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit Cred i.CA i.SV i.SC i.HHS i.AL i.EL i.AS i.OD /// > i.FW i.FA c.FEM c.NbMal c.HS c.HI c.CS Iteration 0: log likelihood = -2175.3838 Iteration 1: log likelihood = -1784.59 Iteration 2: log likelihood = -1681.4802 Iteration 3: log likelihood = -1676.094 Iteration 4: log likelihood = -1675.9412 Iteration 5: log likelihood = -1675.9397 Iteration 6: log likelihood = -1675.9397 Logistic regression Number of obs = 5267 LR chi2(20) = 998.89 Prob > chi2 = 0.0000 Log likelihood = -1675.9397 Pseudo R2 = 0.2296 ------------------------------------------------------------------------------ Cred | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .7504079 .113118 6.63 0.000 .5287006 .9721152 105 | -.3101295 .2249255 -1.38 0.168 -.7509755 .1307164 | 1.SV | 1.66132 .1227825 13.53 0.000 1.42067 1.901969 1.SC | .2366977 .1252157 1.89 0.059 -.0087205 .4821158 1.HHS | -.7597593 .1800659 -4.22 0.000 -1.112682 -.4068366 1.AL | -.2724421 .1192009 -2.29 0.022 -.5060716 -.0388125 | EL | 1 | -.5409087 .1367876 -3.95 0.000 -.8090074 -.2728099 2 | -.2802393 .1238446 -2.26 0.024 -.5229703 -.0375083 3 | 3.156435 1.019477 3.10 0.002 1.158297 5.154572 | AS | 2 | .7518765 .1888438 3.98 0.000 .3817494 1.122004 3 | -1.746577 .1554101 -11.24 0.000 -2.051176 -1.441979 4 | -.5310718 .1215219 -4.37 0.000 -.7692502 -.2928933 | 1.OD | 1.824553 .1379219 13.23 0.000 1.554231 2.094875 1.FW | 1.062797 .1052714 10.10 0.000 .8564686 1.269125 1.FA | -1.283859 .2694291 -4.77 0.000 -1.811931 -.755788 FEM | 1.118839 .1257047 8.90 0.000 .8724626 1.365216 NbMal | .3442094 .1415094 2.43 0.015 .0668561 .6215628 HS | -.3820565 .0783115 -4.88 0.000 -.5355442 -.2285688 HI | -.0000828 .0000205 -4.05 0.000 -.0001229 -.0000427 CS | .5542156 .1800672 3.08 0.002 .2012904 .9071407 _cons | -3.383645 1.974505 -1.71 0.087 -7.253604 .4863143 ------------------------------------------------------------------------------ . quietly fitstat, save . logit Cred i.CA i.SV i.SC i.HHS i.AL i.EL i.AS i.OD /// > i.FW i.FA Iteration 0: log likelihood = -4471.7728 Iteration 1: log likelihood = -4065.6046 Iteration 2: log likelihood = -4000.0378 Iteration 3: log likelihood = -3998.2073 Iteration 4: log likelihood = -3998.0989 Iteration 5: log likelihood = -3998.098 Iteration 6: log likelihood = -3998.098 Logistic regression Number of obs = 14024 LR chi2(15) = 947.35 Prob > chi2 = 0.0000 Log likelihood = -3998.098 Pseudo R2 = 0.1059 ------------------------------------------------------------------------------ Cred | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .556536 .0710757 7.83 0.000 .4172302 .6958418 105 | -.0441047 .1056788 -0.42 0.676 -.2512313 .163022 | 1.SV | 1.000399 .0754093 13.27 0.000 .8525994 1.148198 1.SC | .3122268 .0770138 4.05 0.000 .1612825 .4631711 1.HHS | -.9107472 .0966478 -9.42 0.000 -1.100173 -.7213209 1.AL | -.1617722 .0658467 -2.46 0.014 -.2908295 -.032715 | EL | 1 | -.5074848 .0777101 -6.53 0.000 -.6597937 -.3551759 2 | .0357818 .0832642 0.43 0.667 -.1274131 .1989766 3 | 2.846288 1.005347 2.83 0.005 .8758446 4.816731 | AS | 2 | -.5592696 .107294 -5.21 0.000 -.769562 -.3489773 3 | -1.14775 .0979216 -11.72 0.000 -1.339673 -.9558276 4 | -.4282715 .0933855 -4.59 0.000 -.6113037 -.2452394 | 1.OD | 1.105068 .0686191 16.10 0.000 .9705773 1.239559 1.FW | .0561957 .0621736 0.90 0.366 -.0656623 .1780537 1.FA | -.7803311 .1422207 -5.49 0.000 -1.059078 -.5015837 _cons | 2.360131 .1159826 20.35 0.000 2.132809 2.587453 ------------------------------------------------------------------------------ . fitstat, diff force | Current Saved Difference -------------------------+--------------------------------------- Log-likelihood | Model | -3998.098 -1675.940 -2322.158 Intercept-only | -4471.773 -2175.384 -2296.389 -------------------------+--------------------------------------- Chi-square | D (df=14008/5246/8762) | 7996.196 3351.879 4644.317 LR (df=15/20/-5) | 947.350 998.888 -51.539 p-value | 0.000 0.000 0.000 -------------------------+--------------------------------------- R2 | McFadden | 0.106 0.230 -0.124 McFadden (adjusted) | 0.102 0.220 -0.118 McKelvey & Zavoina | 0.260 0.534 -0.274 Cox-Snell/ML | 0.065 0.173 -0.107 Cragg-Uhler/Nagelkerke | 0.139 0.307 -0.169 Efron | 0.086 0.196 -0.110 Tjur's D | 0.079 0.199 -0.120 Count | 0.903 0.846 0.057 Count (adjusted) | -0.001 -0.066 0.065 -------------------------+--------------------------------------- IC | AIC | 8028.196 3393.879 4634.317 AIC divided by N | 0.572 0.644 -0.072 BIC (df=16/21/-5) | 8148.972 3531.833 4617.140 -------------------------+--------------------------------------- Variance of | e | 3.290 3.290 0.000 y-star | 4.447 7.057 -2.610 -------------------------+--------------------------------------- N | N | 14024.000 5267.000 8757.000 Note: Likelihood-ratio test assumes current model nested in saved model. Difference of 4617.140 in BIC provides very strong support for saved model. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1304.2662 Iteration 2: log likelihood = -1233.8405 Iteration 3: log likelihood = -1217.6299 Iteration 4: log likelihood = -1215.0374 Iteration 5: log likelihood = -1214.8723 Iteration 6: log likelihood = -1214.8716 Iteration 7: log likelihood = -1214.8716 Logistic regression Number of obs = 2998 LR chi2(20) = 1472.61 Prob > chi2 = 0.0000 Log likelihood = -1214.8716 Pseudo R2 = 0.3774 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0658036 .1352557 0.49 0.627 -.1992926 .3308999 105 | -3.144406 .2927713 -10.74 0.000 -3.718227 -2.570585 | EL | 1 | -.1515561 .1601768 -0.95 0.344 -.465497 .1623847 2 | 1.220647 .1946668 6.27 0.000 .8391075 1.602187 3 | 1.252878 .2659368 4.71 0.000 .731651 1.774104 | 1.SA | 2.052846 .1454951 14.11 0.000 1.767681 2.338012 1.OD | .4701583 .1297241 3.62 0.000 .2159037 .724413 | AS | 2 | -1.171003 .2150559 -5.45 0.000 -1.592505 -.7495011 3 | .7693314 .2042797 3.77 0.000 .3689505 1.169712 4 | -2.286003 .2839824 -8.05 0.000 -2.842598 -1.729408 | 1.FA | 5.440744 .7725683 7.04 0.000 3.926538 6.95495 1.SC | -.1430648 .1348018 -1.06 0.289 -.4072716 .1211419 1.Cred | 12.04541 1.359107 8.86 0.000 9.381614 14.70921 | SCP | 1 | -6.56442 .5583395 -11.76 0.000 -7.658745 -5.470094 2 | -5.791094 .5580865 -10.38 0.000 -6.884923 -4.697264 3 | -6.851088 .5717249 -11.98 0.000 -7.971648 -5.730527 | HS | -.1725309 .0487376 -3.54 0.000 -.2680548 -.077007 HI | .00105 .00007 14.99 0.000 .0009127 .0011873 NAL | .5452191 .0774434 7.04 0.000 .3934328 .6970054 MN | 1.117794 .1089176 10.26 0.000 .9043196 1.331269 _cons | -10.07089 1.489483 -6.76 0.000 -12.99023 -7.151558 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . estat summarize Estimation sample logit Number of obs = 2998 ------------------------------------------------------------- Variable | Mean Std. Dev. Min Max -------------+----------------------------------------------- SV | .3555704 .4787656 0 1 | CA | 55 | .3915944 .4881882 0 1 105 | .1160774 .3203711 0 1 | EL | 1 | .2498332 .4329886 0 1 2 | .1517678 .3588556 0 1 3 | .0436958 .2044515 0 1 | 1.SA | .3842562 .4865001 0 1 1.OD | .5086724 .5000082 0 1 | AS | 2 | .0903936 .2867927 0 1 3 | .0880587 .2834275 0 1 4 | .1157438 .3199709 0 1 | 1.FA | .0286858 .1669497 0 1 1.SC | .2418279 .428262 0 1 1.Cred | .9116077 .2839119 0 1 | SCP | 1 | .4416278 .4966638 0 1 2 | .2861908 .4520551 0 1 3 | .2118079 .4086576 0 1 | HS | 2.70447 1.899033 1 12 HI | 872.906 1090.669 4.5 22500 NAL | 1.573716 .9344925 1 6 MN | 1.432622 .9367536 0 6 ------------------------------------------------------------- . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . estat classification Logistic model for SV -------- True -------- Classified | D ~D | Total -----------+--------------------------+----------- + | 655 201 | 856 - | 411 1731 | 2142 -----------+--------------------------+----------- Total | 1066 1932 | 2998 Classified + if predicted Pr(D) >= .5 True D defined as SV != 0 -------------------------------------------------- Sensitivity Pr( +| D) 61.44% Specificity Pr( -|~D) 89.60% Positive predictive value Pr( D| +) 76.52% Negative predictive value Pr(~D| -) 80.81% -------------------------------------------------- False + rate for true ~D Pr( +|~D) 10.40% False - rate for true D Pr( -| D) 38.56% False + rate for classified + Pr(~D| +) 23.48% False - rate for classified - Pr( D| -) 19.19% -------------------------------------------------- Correctly classified 79.59% -------------------------------------------------- . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit Cred i.CA i.SV i.SC i.HHS i.AL i.EL i.AS i.OD /// > i.FW i.FA c.FEM c.NbMal c.HS c.HI c.CS Iteration 0: log likelihood = -2175.3838 Iteration 1: log likelihood = -1784.59 Iteration 2: log likelihood = -1681.4802 Iteration 3: log likelihood = -1676.094 Iteration 4: log likelihood = -1675.9412 Iteration 5: log likelihood = -1675.9397 Iteration 6: log likelihood = -1675.9397 Logistic regression Number of obs = 5267 LR chi2(20) = 998.89 Prob > chi2 = 0.0000 Log likelihood = -1675.9397 Pseudo R2 = 0.2296 ------------------------------------------------------------------------------ Cred | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .7504079 .113118 6.63 0.000 .5287006 .9721152 105 | -.3101295 .2249255 -1.38 0.168 -.7509755 .1307164 | 1.SV | 1.66132 .1227825 13.53 0.000 1.42067 1.901969 1.SC | .2366977 .1252157 1.89 0.059 -.0087205 .4821158 1.HHS | -.7597593 .1800659 -4.22 0.000 -1.112682 -.4068366 1.AL | -.2724421 .1192009 -2.29 0.022 -.5060716 -.0388125 | EL | 1 | -.5409087 .1367876 -3.95 0.000 -.8090074 -.2728099 2 | -.2802393 .1238446 -2.26 0.024 -.5229703 -.0375083 3 | 3.156435 1.019477 3.10 0.002 1.158297 5.154572 | AS | 2 | .7518765 .1888438 3.98 0.000 .3817494 1.122004 3 | -1.746577 .1554101 -11.24 0.000 -2.051176 -1.441979 4 | -.5310718 .1215219 -4.37 0.000 -.7692502 -.2928933 | 1.OD | 1.824553 .1379219 13.23 0.000 1.554231 2.094875 1.FW | 1.062797 .1052714 10.10 0.000 .8564686 1.269125 1.FA | -1.283859 .2694291 -4.77 0.000 -1.811931 -.755788 FEM | 1.118839 .1257047 8.90 0.000 .8724626 1.365216 NbMal | .3442094 .1415094 2.43 0.015 .0668561 .6215628 HS | -.3820565 .0783115 -4.88 0.000 -.5355442 -.2285688 HI | -.0000828 .0000205 -4.05 0.000 -.0001229 -.0000427 CS | .5542156 .1800672 3.08 0.002 .2012904 .9071407 _cons | -3.383645 1.974505 -1.71 0.087 -7.253604 .4863143 ------------------------------------------------------------------------------ . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . estat classification Logistic model for Cred -------- True -------- Classified | D ~D | Total -----------+--------------------------+----------- + | 4325 630 | 4955 - | 181 131 | 312 -----------+--------------------------+----------- Total | 4506 761 | 5267 Classified + if predicted Pr(D) >= .5 True D defined as Cred != 0 -------------------------------------------------- Sensitivity Pr( +| D) 95.98% Specificity Pr( -|~D) 17.21% Positive predictive value Pr( D| +) 87.29% Negative predictive value Pr(~D| -) 41.99% -------------------------------------------------- False + rate for true ~D Pr( +|~D) 82.79% False - rate for true D Pr( -| D) 4.02% False + rate for classified + Pr(~D| +) 12.71% False - rate for classified - Pr( D| -) 58.01% -------------------------------------------------- Correctly classified 84.60% -------------------------------------------------- . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . estat summarize Estimation sample logit Number of obs = 5267 ------------------------------------------------------------- Variable | Mean Std. Dev. Min Max -------------+----------------------------------------------- Cred | .8555155 .3516137 0 1 | CA | 55 | .3778242 .4848894 0 1 105 | .100057 .3001044 0 1 | 1.SV | .3565597 .4790287 0 1 1.SC | .2077084 .4057054 0 1 1.HHS | .8399468 .3666902 0 1 1.AL | .6331878 .4819804 0 1 | EL | 1 | .2107462 .4078772 0 1 2 | .2139738 .4101475 0 1 3 | .0337953 .1807191 0 1 | AS | 2 | .0953104 .2936711 0 1 3 | .0943611 .2923582 0 1 4 | .2272641 .4191044 0 1 | 1.OD | .3704196 .4829629 0 1 1.FW | .5714828 .4949108 0 1 1.FA | .0248718 .1557493 0 1 FEM | .9783558 1.335735 0 7 NbMal | 13.83216 .3742651 12 14 HS | 2.290298 1.774676 1 12 HI | 1328.482 4205.864 4.5 34500 CS | .2462502 .5691148 0 6 ------------------------------------------------------------- . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(CA=(35 55 105) EL=(0 1 2 3)) atmeans Expression: Pr(Cred), predict() | CA EL Pr(y) ----------+----------------------------- 1 | 35 0 0.924 2 | 35 1 0.876 3 | 35 2 0.901 4 | 35 3 0.996 5 | 55 0 0.962 6 | 55 1 0.937 7 | 55 2 0.951 8 | 55 3 0.998 9 | 105 0 0.899 10 | 105 1 0.838 11 | 105 2 0.870 12 | 105 3 0.995 Specified values of covariates | 1. 1. 1. 1. 2. 3. 4. | SV SC HHS AL AS AS AS ----------+---------------------------------------------------------------------- Current | .357 .208 .84 .633 .0953 .0944 .227 | 1. 1. 1. > | OD FW FA FEM NbMal HS HI CS ----------+------------------------------------------------------------------------------- Current | .37 .571 .0249 .978 13.8 2.29 1328 .246 . mtable, at(SA=(0 1) OD=(0 1)) atmeans 'SA' not found in list of covariates r(322); end of do-file r(322); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1304.2662 Iteration 2: log likelihood = -1233.8405 Iteration 3: log likelihood = -1217.6299 Iteration 4: log likelihood = -1215.0374 Iteration 5: log likelihood = -1214.8723 Iteration 6: log likelihood = -1214.8716 Iteration 7: log likelihood = -1214.8716 Logistic regression Number of obs = 2998 LR chi2(20) = 1472.61 Prob > chi2 = 0.0000 Log likelihood = -1214.8716 Pseudo R2 = 0.3774 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0658036 .1352557 0.49 0.627 -.1992926 .3308999 105 | -3.144406 .2927713 -10.74 0.000 -3.718227 -2.570585 | EL | 1 | -.1515561 .1601768 -0.95 0.344 -.465497 .1623847 2 | 1.220647 .1946668 6.27 0.000 .8391075 1.602187 3 | 1.252878 .2659368 4.71 0.000 .731651 1.774104 | 1.SA | 2.052846 .1454951 14.11 0.000 1.767681 2.338012 1.OD | .4701583 .1297241 3.62 0.000 .2159037 .724413 | AS | 2 | -1.171003 .2150559 -5.45 0.000 -1.592505 -.7495011 3 | .7693314 .2042797 3.77 0.000 .3689505 1.169712 4 | -2.286003 .2839824 -8.05 0.000 -2.842598 -1.729408 | 1.FA | 5.440744 .7725683 7.04 0.000 3.926538 6.95495 1.SC | -.1430648 .1348018 -1.06 0.289 -.4072716 .1211419 1.Cred | 12.04541 1.359107 8.86 0.000 9.381614 14.70921 | SCP | 1 | -6.56442 .5583395 -11.76 0.000 -7.658745 -5.470094 2 | -5.791094 .5580865 -10.38 0.000 -6.884923 -4.697264 3 | -6.851088 .5717249 -11.98 0.000 -7.971648 -5.730527 | HS | -.1725309 .0487376 -3.54 0.000 -.2680548 -.077007 HI | .00105 .00007 14.99 0.000 .0009127 .0011873 NAL | .5452191 .0774434 7.04 0.000 .3934328 .6970054 MN | 1.117794 .1089176 10.26 0.000 .9043196 1.331269 _cons | -10.07089 1.489483 -6.76 0.000 -12.99023 -7.151558 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(SA=(0 1) OD=(0 1)) atmeans Expression: Pr(SV), predict() | SA OD Pr(y) ----------+----------------------------- 1 | 0 0 0.075 2 | 0 1 0.115 3 | 1 0 0.388 4 | 1 1 0.504 Specified values of covariates | 55. 105. 1. 2. 3. 2. 3. | CA CA EL EL EL AS AS ----------+---------------------------------------------------------------------- Current | .392 .116 .25 .152 .0437 .0904 .0881 | 4. 1. 1. 1. 1. 2. 3. | AS FA SC Cred SCP SCP SCP ----------+---------------------------------------------------------------------- Current | .116 .0287 .242 .912 .442 .286 .212 | | HS HI NAL MN ----------+--------------------------------------- Current | 2.7 873 1.57 1.43 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(AS=(1 2 3 4) FA=(0 1)) atmeans Expression: Pr(SV), predict() | AS FA Pr(y) ----------+----------------------------- 1 | 1 0 0.209 2 | 1 1 0.984 3 | 2 0 0.076 4 | 2 1 0.950 5 | 3 0 0.363 6 | 3 1 0.992 7 | 4 0 0.026 8 | 4 1 0.861 Specified values of covariates | 55. 105. 1. 2. 3. 1. 1. | CA CA EL EL EL SA OD ----------+---------------------------------------------------------------------- Current | .392 .116 .25 .152 .0437 .384 .509 | 1. 1. 1. 2. 3. | SC Cred SCP SCP SCP HS HI ----------+---------------------------------------------------------------------- Current | .242 .912 .442 .286 .212 2.7 873 | | NAL MN ----------+------------------- Current | 1.57 1.43 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(SC=(0 1) SCP=(0 1 2 3)) atmeans Expression: Pr(SV), predict() | SC SCP Pr(y) ----------+----------------------------- 1 | 0 0 0.990 2 | 0 1 0.119 3 | 0 2 0.227 4 | 0 3 0.092 5 | 1 0 0.988 6 | 1 1 0.105 7 | 1 2 0.202 8 | 1 3 0.081 Specified values of covariates | 55. 105. 1. 2. 3. 1. 1. | CA CA EL EL EL SA OD ----------+---------------------------------------------------------------------- Current | .392 .116 .25 .152 .0437 .384 .509 | 2. 3. 4. 1. 1. | AS AS AS FA Cred HS HI ----------+---------------------------------------------------------------------- Current | .0904 .0881 .116 .0287 .912 2.7 873 | | NAL MN ----------+------------------- Current | 1.57 1.43 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(Cred=(0 1)) over(MN) atmeans Expression: Pr(SV), predict() | 55. 105. 1. 2. 3. 1. 1. | CA CA EL EL EL SA OD ----------+---------------------------------------------------------------------- 1 | .323 .00752 .331 .338 0 .338 .323 2 | .409 .0669 .249 .139 .0664 .432 .478 3 | .318 .225 .299 .157 0 .229 .683 4 | .662 0 .00735 .309 0 .316 .684 5 | .338 .331 .292 .00769 0 .608 .354 6 | .0698 .93 0 .0233 0 0 .0465 7 | .667 .333 0 0 0 .333 .667 8 | .323 .00752 .331 .338 0 .338 .323 9 | .409 .0669 .249 .139 .0664 .432 .478 10 | .318 .225 .299 .157 0 .229 .683 11 | .662 0 .00735 .309 0 .316 .684 12 | .338 .331 .292 .00769 0 .608 .354 13 | .0698 .93 0 .0233 0 0 .0465 14 | .667 .333 0 0 0 .333 .667 | 2. 3. 4. 1. 1. 1. | AS AS AS FA SC Cred SCP ----------+---------------------------------------------------------------------- 1 | .338 .338 0 0 0 0 0 2 | .0898 .0461 .07 .0233 .229 0 .453 3 | .0809 .0792 .227 0 .379 0 .386 4 | .00735 .294 .287 0 .0368 0 .625 5 | .00769 .323 .285 .308 .346 0 .915 6 | 0 0 0 0 .0465 0 .0233 7 | 0 0 .333 0 .333 0 .667 8 | .338 .338 0 0 0 1 0 9 | .0898 .0461 .07 .0233 .229 1 .453 10 | .0809 .0792 .227 0 .379 1 .386 11 | .00735 .294 .287 0 .0368 1 .625 12 | .00769 .323 .285 .308 .346 1 .915 13 | 0 0 0 0 .0465 1 .0233 14 | 0 0 .333 0 .333 1 .667 | 2. 3. | SCP SCP HS HI NAL MN Pr(y) ----------+--------------------------------------------------------------------- 1 | .669 .00752 1.98 338 1.34 0 0.000 2 | .293 .229 1.94 967 1.45 1 0.000 3 | .231 .232 3.41 769 1.9 2 0.000 4 | .0441 .324 5.96 337 1.37 3 0.000 5 | .0769 .00769 6.87 390 2.57 4 0.000 6 | .93 .0465 7.12 2807 1.02 5 0.000 7 | .333 0 11.3 381 1.33 6 0.000 8 | .669 .00752 1.98 338 1.34 0 0.465 9 | .293 .229 1.94 967 1.45 1 0.339 10 | .231 .232 3.41 769 1.9 2 0.413 11 | .0441 .324 5.96 337 1.37 3 0.443 12 | .0769 .00769 6.87 390 2.57 4 0.895 13 | .93 .0465 7.12 2807 1.02 5 0.751 14 | .333 0 11.3 381 1.33 6 0.675 Specified values where .n indicates no values specified with at() | No at() ----------+--------- Current | .n . ing myresults.xls unrecognized command: ing r(199); end of do-file r(199); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . save Base_donnees_rech.dta, replace file Base_donnees_rech.dta saved . end of do-file . exit, clear ------------------------------------------------------------------------------------------- name: log: D:\Essaie estimation stata\travthese.log log type: text opened on: 25 Nov 2018, 13:45:57 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . use Base_donnees_rech.dta, clear . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1304.2662 Iteration 2: log likelihood = -1233.8405 Iteration 3: log likelihood = -1217.6299 Iteration 4: log likelihood = -1215.0374 Iteration 5: log likelihood = -1214.8723 Iteration 6: log likelihood = -1214.8716 Iteration 7: log likelihood = -1214.8716 Logistic regression Number of obs = 2998 LR chi2(20) = 1472.61 Prob > chi2 = 0.0000 Log likelihood = -1214.8716 Pseudo R2 = 0.3774 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0658036 .1352557 0.49 0.627 -.1992926 .3308999 105 | -3.144406 .2927713 -10.74 0.000 -3.718227 -2.570585 | EL | 1 | -.1515561 .1601768 -0.95 0.344 -.465497 .1623847 2 | 1.220647 .1946668 6.27 0.000 .8391075 1.602187 3 | 1.252878 .2659368 4.71 0.000 .731651 1.774104 | 1.SA | 2.052846 .1454951 14.11 0.000 1.767681 2.338012 1.OD | .4701583 .1297241 3.62 0.000 .2159037 .724413 | AS | 2 | -1.171003 .2150559 -5.45 0.000 -1.592505 -.7495011 3 | .7693314 .2042797 3.77 0.000 .3689505 1.169712 4 | -2.286003 .2839824 -8.05 0.000 -2.842598 -1.729408 | 1.FA | 5.440744 .7725683 7.04 0.000 3.926538 6.95495 1.SC | -.1430648 .1348018 -1.06 0.289 -.4072716 .1211419 1.Cred | 12.04541 1.359107 8.86 0.000 9.381614 14.70921 | SCP | 1 | -6.56442 .5583395 -11.76 0.000 -7.658745 -5.470094 2 | -5.791094 .5580865 -10.38 0.000 -6.884923 -4.697264 3 | -6.851088 .5717249 -11.98 0.000 -7.971648 -5.730527 | HS | -.1725309 .0487376 -3.54 0.000 -.2680548 -.077007 HI | .00105 .00007 14.99 0.000 .0009127 .0011873 NAL | .5452191 .0774434 7.04 0.000 .3934328 .6970054 MN | 1.117794 .1089176 10.26 0.000 .9043196 1.331269 _cons | -10.07089 1.489483 -6.76 0.000 -12.99023 -7.151558 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(CA=(35 55 105) EL=(0 1 2 3)) atmeans Expression: Pr(SV), predict() | CA EL Pr(y) ----------+----------------------------- 1 | 35 0 0.207 2 | 35 1 0.183 3 | 35 2 0.470 4 | 35 3 0.478 5 | 55 0 0.218 6 | 55 1 0.194 7 | 55 2 0.486 8 | 55 3 0.494 9 | 105 0 0.011 10 | 105 1 0.010 11 | 105 2 0.037 12 | 105 3 0.038 Specified values of covariates | 1. 1. 2. 3. 4. 1. 1. | SA OD AS AS AS FA SC ----------+---------------------------------------------------------------------- Current | .384 .509 .0904 .0881 .116 .0287 .242 | 1. 1. 2. 3. > | Cred SCP SCP SCP HS HI NAL MN ----------+------------------------------------------------------------------------------- Current | .912 .442 .286 .212 2.7 873 1.57 1.43 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(SA=(0 1) OD=(0 1)) atmeans Expression: Pr(SV), predict() | SA OD Pr(y) ----------+----------------------------- 1 | 0 0 0.075 2 | 0 1 0.115 3 | 1 0 0.388 4 | 1 1 0.504 Specified values of covariates | 55. 105. 1. 2. 3. 2. 3. | CA CA EL EL EL AS AS ----------+---------------------------------------------------------------------- Current | .392 .116 .25 .152 .0437 .0904 .0881 | 4. 1. 1. 1. 1. 2. 3. | AS FA SC Cred SCP SCP SCP ----------+---------------------------------------------------------------------- Current | .116 .0287 .242 .912 .442 .286 .212 | | HS HI NAL MN ----------+--------------------------------------- Current | 2.7 873 1.57 1.43 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(AS=(1 2 3 4) FA=(0 1)) atmeans Expression: Pr(SV), predict() | AS FA Pr(y) ----------+----------------------------- 1 | 1 0 0.209 2 | 1 1 0.984 3 | 2 0 0.076 4 | 2 1 0.950 5 | 3 0 0.363 6 | 3 1 0.992 7 | 4 0 0.026 8 | 4 1 0.861 Specified values of covariates | 55. 105. 1. 2. 3. 1. 1. | CA CA EL EL EL SA OD ----------+---------------------------------------------------------------------- Current | .392 .116 .25 .152 .0437 .384 .509 | 1. 1. 1. 2. 3. | SC Cred SCP SCP SCP HS HI ----------+---------------------------------------------------------------------- Current | .242 .912 .442 .286 .212 2.7 873 | | NAL MN ----------+------------------- Current | 1.57 1.43 . . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(SC=(0 1) SCP=(0 1 2 3)) atmeans Expression: Pr(SV), predict() | SC SCP Pr(y) ----------+----------------------------- 1 | 0 0 0.990 2 | 0 1 0.119 3 | 0 2 0.227 4 | 0 3 0.092 5 | 1 0 0.988 6 | 1 1 0.105 7 | 1 2 0.202 8 | 1 3 0.081 Specified values of covariates | 55. 105. 1. 2. 3. 1. 1. | CA CA EL EL EL SA OD ----------+---------------------------------------------------------------------- Current | .392 .116 .25 .152 .0437 .384 .509 | 2. 3. 4. 1. 1. | AS AS AS FA Cred HS HI ----------+---------------------------------------------------------------------- Current | .0904 .0881 .116 .0287 .912 2.7 873 | | NAL MN ----------+------------------- Current | 1.57 1.43 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(Cred=(0 1)) over(MN) atmeans Expression: Pr(SV), predict() | 55. 105. 1. 2. 3. 1. 1. | CA CA EL EL EL SA OD ----------+---------------------------------------------------------------------- 1 | .323 .00752 .331 .338 0 .338 .323 2 | .409 .0669 .249 .139 .0664 .432 .478 3 | .318 .225 .299 .157 0 .229 .683 4 | .662 0 .00735 .309 0 .316 .684 5 | .338 .331 .292 .00769 0 .608 .354 6 | .0698 .93 0 .0233 0 0 .0465 7 | .667 .333 0 0 0 .333 .667 8 | .323 .00752 .331 .338 0 .338 .323 9 | .409 .0669 .249 .139 .0664 .432 .478 10 | .318 .225 .299 .157 0 .229 .683 11 | .662 0 .00735 .309 0 .316 .684 12 | .338 .331 .292 .00769 0 .608 .354 13 | .0698 .93 0 .0233 0 0 .0465 14 | .667 .333 0 0 0 .333 .667 | 2. 3. 4. 1. 1. 1. | AS AS AS FA SC Cred SCP ----------+---------------------------------------------------------------------- 1 | .338 .338 0 0 0 0 0 2 | .0898 .0461 .07 .0233 .229 0 .453 3 | .0809 .0792 .227 0 .379 0 .386 4 | .00735 .294 .287 0 .0368 0 .625 5 | .00769 .323 .285 .308 .346 0 .915 6 | 0 0 0 0 .0465 0 .0233 7 | 0 0 .333 0 .333 0 .667 8 | .338 .338 0 0 0 1 0 9 | .0898 .0461 .07 .0233 .229 1 .453 10 | .0809 .0792 .227 0 .379 1 .386 11 | .00735 .294 .287 0 .0368 1 .625 12 | .00769 .323 .285 .308 .346 1 .915 13 | 0 0 0 0 .0465 1 .0233 14 | 0 0 .333 0 .333 1 .667 | 2. 3. | SCP SCP HS HI NAL MN Pr(y) ----------+--------------------------------------------------------------------- 1 | .669 .00752 1.98 338 1.34 0 0.000 2 | .293 .229 1.94 967 1.45 1 0.000 3 | .231 .232 3.41 769 1.9 2 0.000 4 | .0441 .324 5.96 337 1.37 3 0.000 5 | .0769 .00769 6.87 390 2.57 4 0.000 6 | .93 .0465 7.12 2807 1.02 5 0.000 7 | .333 0 11.3 381 1.33 6 0.000 8 | .669 .00752 1.98 338 1.34 0 0.465 9 | .293 .229 1.94 967 1.45 1 0.339 10 | .231 .232 3.41 769 1.9 2 0.413 11 | .0441 .324 5.96 337 1.37 3 0.443 12 | .0769 .00769 6.87 390 2.57 4 0.895 13 | .93 .0465 7.12 2807 1.02 5 0.751 14 | .333 0 11.3 381 1.33 6 0.675 Specified values where .n indicates no values specified with at() | No at() ----------+--------- Current | .n . ing myresults.xls unrecognized command: ing r(199); end of do-file r(199); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file already exists you must specify either the modify or replace option r(198); end of do-file r(198); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . marginsplot previous command was not margins r(301); end of do-file r(301); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . margins, at(MN=(0(1)6) Cred=(0 1)) atmeans Adjusted predictions Number of obs = 2998 Model VCE : OIM Expression : Pr(SV), predict() 1._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 0 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 0 2._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 0 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 1 3._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 0 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 2 4._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 0 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 3 5._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 0 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 4 6._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 0 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 5 7._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 0 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 6 8._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 1 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 0 9._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 1 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 1 10._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 1 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 2 11._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 1 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 3 12._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 1 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 4 13._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 1 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 5 14._at : 35.CA = .4923282 (mean) 55.CA = .3915944 (mean) 105.CA = .1160774 (mean) 0.EL = .5547031 (mean) 1.EL = .2498332 (mean) 2.EL = .1517678 (mean) 3.EL = .0436958 (mean) 0.SA = .6157438 (mean) 1.SA = .3842562 (mean) 0.OD = .4913276 (mean) 1.OD = .5086724 (mean) 1.AS = .7058039 (mean) 2.AS = .0903936 (mean) 3.AS = .0880587 (mean) 4.AS = .1157438 (mean) 0.FA = .9713142 (mean) 1.FA = .0286858 (mean) 0.SC = .7581721 (mean) 1.SC = .2418279 (mean) Cred = 1 0.SCP = .0603736 (mean) 1.SCP = .4416278 (mean) 2.SCP = .2861908 (mean) 3.SCP = .2118079 (mean) HS = 2.70447 (mean) HI = 872.906 (mean) NAL = 1.573716 (mean) MN = 6 ------------------------------------------------------------------------------ | Delta-method | Margin Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- _at | 1 | 7.83e-07 1.09e-06 0.72 0.472 -1.35e-06 2.92e-06 2 | 2.39e-06 3.25e-06 0.74 0.462 -3.99e-06 8.77e-06 3 | 7.32e-06 9.78e-06 0.75 0.454 -.0000119 .0000265 4 | .0000224 .0000296 0.76 0.450 -.0000356 .0000804 5 | .0000684 .0000901 0.76 0.448 -.0001082 .000245 6 | .0002092 .0002761 0.76 0.449 -.000332 .0007505 7 | .0006396 .0008515 0.75 0.453 -.0010293 .0023085 8 | .1176015 .0175479 6.70 0.000 .0832082 .1519948 9 | .2895547 .0162673 17.80 0.000 .2576714 .321438 10 | .5548401 .0215851 25.70 0.000 .5125341 .5971462 11 | .7921676 .0297933 26.59 0.000 .7337737 .8505614 12 | .9209871 .0207852 44.31 0.000 .880249 .9617253 13 | .9727117 .0104214 93.34 0.000 .9522861 .9931373 14 | .9909098 .0045077 219.83 0.000 .9820748 .9997447 ------------------------------------------------------------------------------ . marginsplot Variables that uniquely identify margins: MN Cred . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . save Base_donnees_rech.dta, replace file Base_donnees_rech.dta saved . end of do-file . exit, clear ------------------------------------------------------------------------------------------- name: log: D:\Essaie estimation stata\travthese.log log type: text opened on: 26 Nov 2018, 10:12:30 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD01000000.tmp" . use Base_donnees_rech.dta, clear . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD01000000.tmp" . log close name: log: D:\Essaie estimation stata\travthese.log log type: text closed on: 26 Nov 2018, 10:19:05 ------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------- name: log: D:\Essaie estimation stata\travthese.log log type: text opened on: 26 Nov 2018, 11:45:21 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . use Base_donnees_rech.dta, clear . /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.MN unrecognized command: i.FA invalid command name r(199); end of do-file r(199); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1304.2662 Iteration 2: log likelihood = -1233.8405 Iteration 3: log likelihood = -1217.6299 Iteration 4: log likelihood = -1215.0374 Iteration 5: log likelihood = -1214.8723 Iteration 6: log likelihood = -1214.8716 Iteration 7: log likelihood = -1214.8716 Logistic regression Number of obs = 2998 LR chi2(20) = 1472.61 Prob > chi2 = 0.0000 Log likelihood = -1214.8716 Pseudo R2 = 0.3774 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0658036 .1352557 0.49 0.627 -.1992926 .3308999 105 | -3.144406 .2927713 -10.74 0.000 -3.718227 -2.570585 | EL | 1 | -.1515561 .1601768 -0.95 0.344 -.465497 .1623847 2 | 1.220647 .1946668 6.27 0.000 .8391075 1.602187 3 | 1.252878 .2659368 4.71 0.000 .731651 1.774104 | 1.SA | 2.052846 .1454951 14.11 0.000 1.767681 2.338012 1.OD | .4701583 .1297241 3.62 0.000 .2159037 .724413 | AS | 2 | -1.171003 .2150559 -5.45 0.000 -1.592505 -.7495011 3 | .7693314 .2042797 3.77 0.000 .3689505 1.169712 4 | -2.286003 .2839824 -8.05 0.000 -2.842598 -1.729408 | 1.FA | 5.440744 .7725683 7.04 0.000 3.926538 6.95495 1.SC | -.1430648 .1348018 -1.06 0.289 -.4072716 .1211419 1.Cred | 12.04541 1.359107 8.86 0.000 9.381614 14.70921 | SCP | 1 | -6.56442 .5583395 -11.76 0.000 -7.658745 -5.470094 2 | -5.791094 .5580865 -10.38 0.000 -6.884923 -4.697264 3 | -6.851088 .5717249 -11.98 0.000 -7.971648 -5.730527 | HS | -.1725309 .0487376 -3.54 0.000 -.2680548 -.077007 HI | .00105 .00007 14.99 0.000 .0009127 .0011873 NAL | .5452191 .0774434 7.04 0.000 .3934328 .6970054 MN | 1.117794 .1089176 10.26 0.000 .9043196 1.331269 _cons | -10.07089 1.489483 -6.76 0.000 -12.99023 -7.151558 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(Cred=(0 1)) over(MN) atmeans Expression: Pr(SV), predict() | 55. 105. 1. 2. 3. 1. 1. | CA CA EL EL EL SA OD ----------+---------------------------------------------------------------------- 1 | .323 .00752 .331 .338 0 .338 .323 2 | .409 .0669 .249 .139 .0664 .432 .478 3 | .318 .225 .299 .157 0 .229 .683 4 | .662 0 .00735 .309 0 .316 .684 5 | .338 .331 .292 .00769 0 .608 .354 6 | .0698 .93 0 .0233 0 0 .0465 7 | .667 .333 0 0 0 .333 .667 8 | .323 .00752 .331 .338 0 .338 .323 9 | .409 .0669 .249 .139 .0664 .432 .478 10 | .318 .225 .299 .157 0 .229 .683 11 | .662 0 .00735 .309 0 .316 .684 12 | .338 .331 .292 .00769 0 .608 .354 13 | .0698 .93 0 .0233 0 0 .0465 14 | .667 .333 0 0 0 .333 .667 | 2. 3. 4. 1. 1. 1. | AS AS AS FA SC Cred SCP ----------+---------------------------------------------------------------------- 1 | .338 .338 0 0 0 0 0 2 | .0898 .0461 .07 .0233 .229 0 .453 3 | .0809 .0792 .227 0 .379 0 .386 4 | .00735 .294 .287 0 .0368 0 .625 5 | .00769 .323 .285 .308 .346 0 .915 6 | 0 0 0 0 .0465 0 .0233 7 | 0 0 .333 0 .333 0 .667 8 | .338 .338 0 0 0 1 0 9 | .0898 .0461 .07 .0233 .229 1 .453 10 | .0809 .0792 .227 0 .379 1 .386 11 | .00735 .294 .287 0 .0368 1 .625 12 | .00769 .323 .285 .308 .346 1 .915 13 | 0 0 0 0 .0465 1 .0233 14 | 0 0 .333 0 .333 1 .667 | 2. 3. | SCP SCP HS HI NAL MN Pr(y) ----------+--------------------------------------------------------------------- 1 | .669 .00752 1.98 338 1.34 0 0.000 2 | .293 .229 1.94 967 1.45 1 0.000 3 | .231 .232 3.41 769 1.9 2 0.000 4 | .0441 .324 5.96 337 1.37 3 0.000 5 | .0769 .00769 6.87 390 2.57 4 0.000 6 | .93 .0465 7.12 2807 1.02 5 0.000 7 | .333 0 11.3 381 1.33 6 0.000 8 | .669 .00752 1.98 338 1.34 0 0.465 9 | .293 .229 1.94 967 1.45 1 0.339 10 | .231 .232 3.41 769 1.9 2 0.413 11 | .0441 .324 5.96 337 1.37 3 0.443 12 | .0769 .00769 6.87 390 2.57 4 0.895 13 | .93 .0465 7.12 2807 1.02 5 0.751 14 | .333 0 11.3 381 1.33 6 0.675 Specified values where .n indicates no values specified with at() | No at() ----------+--------- Current | .n . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . graph twoway connected Pr(y) MN variable y not found r(111); end of do-file r(111); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit Cred i.CA i.SV i.SC i.HHS i.AL i.EL i.AS i.OD /// > i.FW i.FA c.FEM c.NbMal c.HS c.HI c.CS Iteration 0: log likelihood = -2175.3838 Iteration 1: log likelihood = -1784.59 Iteration 2: log likelihood = -1681.4802 Iteration 3: log likelihood = -1676.094 Iteration 4: log likelihood = -1675.9412 Iteration 5: log likelihood = -1675.9397 Iteration 6: log likelihood = -1675.9397 Logistic regression Number of obs = 5267 LR chi2(20) = 998.89 Prob > chi2 = 0.0000 Log likelihood = -1675.9397 Pseudo R2 = 0.2296 ------------------------------------------------------------------------------ Cred | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .7504079 .113118 6.63 0.000 .5287006 .9721152 105 | -.3101295 .2249255 -1.38 0.168 -.7509755 .1307164 | 1.SV | 1.66132 .1227825 13.53 0.000 1.42067 1.901969 1.SC | .2366977 .1252157 1.89 0.059 -.0087205 .4821158 1.HHS | -.7597593 .1800659 -4.22 0.000 -1.112682 -.4068366 1.AL | -.2724421 .1192009 -2.29 0.022 -.5060716 -.0388125 | EL | 1 | -.5409087 .1367876 -3.95 0.000 -.8090074 -.2728099 2 | -.2802393 .1238446 -2.26 0.024 -.5229703 -.0375083 3 | 3.156435 1.019477 3.10 0.002 1.158297 5.154572 | AS | 2 | .7518765 .1888438 3.98 0.000 .3817494 1.122004 3 | -1.746577 .1554101 -11.24 0.000 -2.051176 -1.441979 4 | -.5310718 .1215219 -4.37 0.000 -.7692502 -.2928933 | 1.OD | 1.824553 .1379219 13.23 0.000 1.554231 2.094875 1.FW | 1.062797 .1052714 10.10 0.000 .8564686 1.269125 1.FA | -1.283859 .2694291 -4.77 0.000 -1.811931 -.755788 FEM | 1.118839 .1257047 8.90 0.000 .8724626 1.365216 NbMal | .3442094 .1415094 2.43 0.015 .0668561 .6215628 HS | -.3820565 .0783115 -4.88 0.000 -.5355442 -.2285688 HI | -.0000828 .0000205 -4.05 0.000 -.0001229 -.0000427 CS | .5542156 .1800672 3.08 0.002 .2012904 .9071407 _cons | -3.383645 1.974505 -1.71 0.087 -7.253604 .4863143 ------------------------------------------------------------------------------ . =(0 1 2 3) AS=(1 2 3 4)) atmeans unrecognized command: = invalid command name r(199); end of do-file r(199); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . mtable, at(CA=(35 55 105) SV=(0 1)) atmeans Expression: Pr(Cred), predict() | CA SV Pr(y) ----------+----------------------------- 1 | 35 0 0.862 2 | 35 1 0.971 3 | 55 0 0.930 4 | 55 1 0.986 5 | 105 0 0.821 6 | 105 1 0.960 Specified values of covariates | 1. 1. 1. 1. 2. 3. 2. | SC HHS AL EL EL EL AS ----------+---------------------------------------------------------------------- Current | .208 .84 .633 .211 .214 .0338 .0953 | 3. 4. 1. 1. 1. | AS AS OD FW FA FEM NbMal ----------+---------------------------------------------------------------------- Current | .0944 .227 .37 .571 .0249 .978 13.8 | | HS HI CS ----------+----------------------------- Current | 2.29 1328 .246 . mtable, at(SC=(0 1) AL=(0 1)) atmeans Expression: Pr(Cred), predict() | SC AL Pr(y) ----------+----------------------------- 1 | 0 0 0.943 2 | 0 1 0.926 3 | 1 0 0.954 4 | 1 1 0.941 Specified values of covariates | 55. 105. 1. 1. 1. 2. 3. | CA CA SV HHS EL EL EL ----------+---------------------------------------------------------------------- Current | .378 .1 .357 .84 .211 .214 .0338 | 2. 3. 4. 1. 1. 1. | AS AS AS OD FW FA FEM ----------+---------------------------------------------------------------------- Current | .0953 .0944 .227 .37 .571 .0249 .978 | | NbMal HS HI CS ----------+--------------------------------------- Current | 13.8 2.29 1328 .246 . mtable, at(EL=(0 1 2 3) AS=(1 2 3 4)) atmeans Expression: Pr(Cred), predict() | EL AS Pr(y) ----------+----------------------------- 1 | 0 1 0.951 2 | 0 2 0.976 3 | 0 3 0.771 4 | 0 4 0.919 5 | 1 1 0.918 6 | 1 2 0.960 7 | 1 3 0.662 8 | 1 4 0.868 9 | 2 1 0.936 10 | 2 2 0.969 11 | 2 3 0.717 12 | 2 4 0.895 13 | 3 1 0.998 14 | 3 2 0.999 15 | 3 3 0.987 16 | 3 4 0.996 Specified values of covariates | 55. 105. 1. 1. 1. 1. 1. | CA CA SV SC HHS AL OD ----------+---------------------------------------------------------------------- Current | .378 .1 .357 .208 .84 .633 .37 | 1. 1. | FW FA FEM NbMal HS HI CS ----------+--------------------------------------------------------------------- Current | .571 .0249 .978 13.8 2.29 1328 .246 . mtable, at(OD=(0 1) FW=(0 1)) atmeans Expression: Pr(Cred), predict() | OD FW Pr(y) ----------+----------------------------- 1 | 0 0 0.801 2 | 0 1 0.921 3 | 1 0 0.962 4 | 1 1 0.986 Specified values of covariates | 55. 105. 1. 1. 1. 1. 1. | CA CA SV SC HHS AL EL ----------+---------------------------------------------------------------------- Current | .378 .1 .357 .208 .84 .633 .211 | 2. 3. 2. 3. 4. 1. | EL EL AS AS AS FA FEM ----------+---------------------------------------------------------------------- Current | .214 .0338 .0953 .0944 .227 .0249 .978 | | NbMal HS HI CS ----------+--------------------------------------- Current | 13.8 2.29 1328 .246 . mtable, at(FA=(0 1) HHS=(0 1)) atmeans Expression: Pr(Cred), predict() | HHS FA Pr(y) ----------+----------------------------- 1 | 0 0 0.966 2 | 0 1 0.887 3 | 1 0 0.930 4 | 1 1 0.786 Specified values of covariates | 55. 105. 1. 1. 1. 1. 2. | CA CA SV SC AL EL EL ----------+---------------------------------------------------------------------- Current | .378 .1 .357 .208 .633 .211 .214 | 3. 2. 3. 4. 1. 1. | EL AS AS AS OD FW FEM ----------+---------------------------------------------------------------------- Current | .0338 .0953 .0944 .227 .37 .571 .978 | | NbMal HS HI CS ----------+--------------------------------------- Current | 13.8 2.29 1328 .246 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . margins, at(FEM=(0(1)7) SV=(0 1)) atmeans Adjusted predictions Number of obs = 5267 Model VCE : OIM Expression : Pr(Cred), predict() 1._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 0 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 2._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 1 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 3._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 2 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 4._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 3 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 5._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 4 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 6._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 5 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 7._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 6 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 8._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 7 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 9._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 0 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 10._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 1 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 11._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 2 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 12._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 3 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 13._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 4 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 14._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 5 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 15._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 6 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 16._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 7 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) ------------------------------------------------------------------------------ | Delta-method | Margin Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- _at | 1 | .729113 .0226237 32.23 0.000 .6847714 .7734546 2 | .8917716 .0074772 119.27 0.000 .8771166 .9064266 3 | .9618673 .0064042 150.19 0.000 .9493154 .9744193 4 | .9872154 .0037136 265.84 0.000 .9799369 .9944939 5 | .9957875 .0017511 568.67 0.000 .9923555 .9992196 6 | .99862 .0007466 1337.48 0.000 .9971567 1.000083 7 | .9995488 .0003007 3324.47 0.000 .9989595 1.000138 8 | .9998526 .0001167 8566.27 0.000 .9996238 1.000081 9 | .9341001 .0099421 93.95 0.000 .9146139 .9535863 10 | .9774737 .0028854 338.77 0.000 .9718185 .9831288 11 | .9925282 .0014806 670.36 0.000 .9896263 .9954302 12 | .9975469 .0007509 1328.54 0.000 .9960753 .9990186 13 | .9991974 .0003403 2936.20 0.000 .9985304 .9998643 14 | .9997377 .0001431 6988.32 0.000 .9994573 1.000018 15 | .9999143 .0000573 1.7e+04 0.000 .999802 1.000027 16 | .999972 .0000222 4.5e+04 0.000 .9999285 1.000015 ------------------------------------------------------------------------------ . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . marginsplot Variables that uniquely identify margins: FEM SV . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file already exists you must specify either the modify or replace option r(198); end of do-file r(198); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . save Base_donnees_rech.dta, replace file Base_donnees_rech.dta saved . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . log close name: log: D:\Essaie estimation stata\travthese.log log type: text closed on: 26 Nov 2018, 14:04:09 ------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------- name: log: D:\Essaie estimation stata\travthese.log log type: text opened on: 26 Nov 2018, 16:07:13 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . use Base_donnees_rech.dta, clear . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.CS c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1300.8214 Iteration 2: log likelihood = -1216.3694 Iteration 3: log likelihood = -1197.5135 Iteration 4: log likelihood = -1194.5406 Iteration 5: log likelihood = -1194.3548 Iteration 6: log likelihood = -1194.3539 Iteration 7: log likelihood = -1194.3539 Logistic regression Number of obs = 2998 LR chi2(21) = 1513.65 Prob > chi2 = 0.0000 Log likelihood = -1194.3539 Pseudo R2 = 0.3879 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0497455 .1372492 0.36 0.717 -.219258 .318749 105 | -3.658068 .3214009 -11.38 0.000 -4.288002 -3.028134 | EL | 1 | -.0107118 .1624368 -0.07 0.947 -.3290822 .3076585 2 | 1.462674 .2053523 7.12 0.000 1.060191 1.865157 3 | 1.342086 .2611191 5.14 0.000 .8303023 1.85387 | 1.SA | 2.135345 .1504619 14.19 0.000 1.840446 2.430245 1.OD | .5683138 .1342176 4.23 0.000 .3052521 .8313754 | AS | 2 | -1.299374 .2143552 -6.06 0.000 -1.719502 -.8792451 3 | .4972615 .2161696 2.30 0.021 .0735769 .9209461 4 | -2.470719 .2950216 -8.37 0.000 -3.048951 -1.892487 | 1.FA | 5.473358 .7806412 7.01 0.000 3.94333 7.003387 1.SC | -.1422504 .1356427 -1.05 0.294 -.4081052 .1236044 1.Cred | 12.80492 1.378895 9.29 0.000 10.10234 15.50751 | SCP | 1 | -7.64359 .5956698 -12.83 0.000 -8.811082 -6.476099 2 | -6.67196 .580861 -11.49 0.000 -7.810427 -5.533494 3 | -7.976837 .6109418 -13.06 0.000 -9.174261 -6.779413 | HS | -.1042742 .0503954 -2.07 0.039 -.2030474 -.005501 HI | .0011122 .0000742 14.99 0.000 .0009668 .0012577 NAL | .5606065 .0800681 7.00 0.000 .4036759 .7175371 CS | -.8366583 .1363223 -6.14 0.000 -1.103845 -.5694716 MN | 1.380439 .1272477 10.85 0.000 1.131038 1.62984 _cons | -10.30888 1.506514 -6.84 0.000 -13.2616 -7.356169 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . estimates store base1 . mtable, atmeans post/* > */ at(CA=55 EL=2 SA=1 OD=1 AS=3 FA=1 SC=0 SCP=0 Cred=1) /* > */ at(CA=105 EL=0 SA=0 OD=0 AS=4 FA=0 SC=0 SCP=3 Cred=0) Expression: Pr(SV), predict() | CA EL SA OD AS FA Cred ----------+---------------------------------------------------------------------- 1 | 55 2 1 1 3 1 1 2 | 105 0 0 0 4 0 0 | SCP Pr(y) ----------+------------------- 1 | 0 1.000 2 | 3 0.000 Specified values of covariates | SC HS HI NAL CS MN ----------+----------------------------------------------------------- Current | 0 2.7 873 1.57 .296 1.43 . mlincom 2-1 | lincom pvalue ll ul -------------+---------------------------------------- 1 | -1.000 0.000 -1.000 -1.000 . estimates restore base1 (results base1 are active now) . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit Cred i.CA i.SV i.SC c.HI i.HHS i.AL i.EL i.AS i.OD /// > i.FW i.FA c.FEM c.NbMal c.HS Iteration 0: log likelihood = -2175.3838 Iteration 1: log likelihood = -1785.8182 Iteration 2: log likelihood = -1686.0006 Iteration 3: log likelihood = -1681.1705 Iteration 4: log likelihood = -1681.034 Iteration 5: log likelihood = -1681.0329 Iteration 6: log likelihood = -1681.0329 Logistic regression Number of obs = 5267 LR chi2(19) = 988.70 Prob > chi2 = 0.0000 Log likelihood = -1681.0329 Pseudo R2 = 0.2272 ------------------------------------------------------------------------------ Cred | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .7930501 .1131375 7.01 0.000 .5713045 1.014796 105 | -.2283102 .2243607 -1.02 0.309 -.668049 .2114286 | 1.SV | 1.660176 .1234924 13.44 0.000 1.418135 1.902216 1.SC | .2162621 .1237208 1.75 0.080 -.0262262 .4587504 HI | -.0000619 .0000191 -3.24 0.001 -.0000993 -.0000244 1.HHS | -.734188 .1786191 -4.11 0.000 -1.084275 -.384101 1.AL | -.2482205 .1184549 -2.10 0.036 -.4803879 -.0160531 | EL | 1 | -.4679773 .1350219 -3.47 0.001 -.7326153 -.2033393 2 | -.2094487 .1205595 -1.74 0.082 -.445741 .0268435 3 | 3.145651 1.019585 3.09 0.002 1.147302 5.144 | AS | 2 | .7411704 .1892231 3.92 0.000 .3702999 1.112041 3 | -1.764348 .1549763 -11.38 0.000 -2.068096 -1.460599 4 | -.5154359 .1197768 -4.30 0.000 -.7501941 -.2806778 | 1.OD | 1.877907 .1370699 13.70 0.000 1.609255 2.146559 1.FW | 1.056393 .1050752 10.05 0.000 .8504491 1.262336 1.FA | -1.438585 .2613466 -5.50 0.000 -1.950815 -.9263553 FEM | 1.084961 .1239709 8.75 0.000 .8419825 1.327939 NbMal | .3991715 .1408683 2.83 0.005 .1230747 .6752683 HS | -.2815153 .0703245 -4.00 0.000 -.4193488 -.1436818 _cons | -4.346376 1.953915 -2.22 0.026 -8.175979 -.5167734 ------------------------------------------------------------------------------ . estimates store base2 . mtable, atmeans post/* > */ at(CA=55 SV=1 SC=1 AL=0 EL=3 AS=2 OD=1 FW=1 FA=0 HHS=0) /* > */ at(CA=105 SV=0 SC=0 AL=1 EL=1 AS=3 OD=0 FW=0 FA=1 HHS=1) Expression: Pr(Cred), predict() | CA SV SC HHS AL EL AS ----------+---------------------------------------------------------------------- 1 | 55 1 1 0 0 3 2 2 | 105 0 0 1 1 1 3 | OD FW FA Pr(y) ----------+--------------------------------------- 1 | 1 1 0 1.000 2 | 0 0 1 0.033 Specified values of covariates | HI FEM NbMal HS ----------+--------------------------------------- Current | 1328 .978 13.8 2.29 . mlincom 2-1 | lincom pvalue ll ul -------------+---------------------------------------- 1 | -0.967 0.000 -0.997 -0.937 . estimates restore base2 (results base2 are active now) . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . save Base_donnees_rech.dta, replace file Base_donnees_rech.dta saved . end of do-file . exit, clear ------------------------------------------------------------------------------------------- name: log: D:\Essaie estimation stata\travthese.log log type: text opened on: 27 Nov 2018, 15:59:50 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . use Base_donnees_rech.dta, clear . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit SV i.CA i.EL i.SA i.OD i.AS /// > i.FA i.SC i.Cred i.SCP c.HS c.HI c.NAL c.CS c.MN Iteration 0: log likelihood = -1951.179 Iteration 1: log likelihood = -1300.8214 Iteration 2: log likelihood = -1216.3694 Iteration 3: log likelihood = -1197.5135 Iteration 4: log likelihood = -1194.5406 Iteration 5: log likelihood = -1194.3548 Iteration 6: log likelihood = -1194.3539 Iteration 7: log likelihood = -1194.3539 Logistic regression Number of obs = 2998 LR chi2(21) = 1513.65 Prob > chi2 = 0.0000 Log likelihood = -1194.3539 Pseudo R2 = 0.3879 ------------------------------------------------------------------------------ SV | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .0497455 .1372492 0.36 0.717 -.219258 .318749 105 | -3.658068 .3214009 -11.38 0.000 -4.288002 -3.028134 | EL | 1 | -.0107118 .1624368 -0.07 0.947 -.3290822 .3076585 2 | 1.462674 .2053523 7.12 0.000 1.060191 1.865157 3 | 1.342086 .2611191 5.14 0.000 .8303023 1.85387 | 1.SA | 2.135345 .1504619 14.19 0.000 1.840446 2.430245 1.OD | .5683138 .1342176 4.23 0.000 .3052521 .8313754 | AS | 2 | -1.299374 .2143552 -6.06 0.000 -1.719502 -.8792451 3 | .4972615 .2161696 2.30 0.021 .0735769 .9209461 4 | -2.470719 .2950216 -8.37 0.000 -3.048951 -1.892487 | 1.FA | 5.473358 .7806412 7.01 0.000 3.94333 7.003387 1.SC | -.1422504 .1356427 -1.05 0.294 -.4081052 .1236044 1.Cred | 12.80492 1.378895 9.29 0.000 10.10234 15.50751 | SCP | 1 | -7.64359 .5956698 -12.83 0.000 -8.811082 -6.476099 2 | -6.67196 .580861 -11.49 0.000 -7.810427 -5.533494 3 | -7.976837 .6109418 -13.06 0.000 -9.174261 -6.779413 | HS | -.1042742 .0503954 -2.07 0.039 -.2030474 -.005501 HI | .0011122 .0000742 14.99 0.000 .0009668 .0012577 NAL | .5606065 .0800681 7.00 0.000 .4036759 .7175371 CS | -.8366583 .1363223 -6.14 0.000 -1.103845 -.5694716 MN | 1.380439 .1272477 10.85 0.000 1.131038 1.62984 _cons | -10.30888 1.506514 -6.84 0.000 -13.2616 -7.356169 ------------------------------------------------------------------------------ Note: 0 failures and 1 success completely determined. . estimates store base1 . mtable, atmeans post/* > */ at(CA=55 EL=2 SA=1 OD=1 AS=3 FA=1 SC=0 SCP=0 Cred=1) /* > */ at(CA=105 EL=0 SA=0 OD=0 AS=4 FA=0 SC=1 SCP=3 Cred=0) Expression: Pr(SV), predict() | CA EL SA OD AS FA SC ----------+---------------------------------------------------------------------- 1 | 55 2 1 1 3 1 0 2 | 105 0 0 0 4 0 1 | Cred SCP Pr(y) ----------+----------------------------- 1 | 1 0 1.000 2 | 0 3 0.000 Specified values of covariates | HS HI NAL CS MN ----------+------------------------------------------------- Current | 2.7 873 1.57 .296 1.43 . mlincom 2-1 | lincom pvalue ll ul -------------+---------------------------------------- 1 | -1.000 0.000 -1.000 -1.000 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . log close name: log: D:\Essaie estimation stata\travthese.log log type: text closed on: 21 Dec 2018, 12:50:09 ------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------- name: log: D:\Essaie estimation stata\travthese.log log type: text opened on: 23 Dec 2018, 16:55:57 . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . use Base_donnees_rech.dta, clear . AL i.EL i.AS i.OD /// > i.FW i.FA c.FEM c.NbMal c.HS c.HI c.CS unrecognized command: AL r(199); end of do-file r(199); . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . logit Cred i.CA i.SV i.SC i.HHS i.AL i.EL i.AS i.OD /// > i.FW i.FA c.FEM c.NbMal c.HS c.HI c.CS Iteration 0: log likelihood = -2175.3838 Iteration 1: log likelihood = -1784.59 Iteration 2: log likelihood = -1681.4802 Iteration 3: log likelihood = -1676.094 Iteration 4: log likelihood = -1675.9412 Iteration 5: log likelihood = -1675.9397 Iteration 6: log likelihood = -1675.9397 Logistic regression Number of obs = 5267 LR chi2(20) = 998.89 Prob > chi2 = 0.0000 Log likelihood = -1675.9397 Pseudo R2 = 0.2296 ------------------------------------------------------------------------------ Cred | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- CA | 55 | .7504079 .113118 6.63 0.000 .5287006 .9721152 105 | -.3101295 .2249255 -1.38 0.168 -.7509755 .1307164 | 1.SV | 1.66132 .1227825 13.53 0.000 1.42067 1.901969 1.SC | .2366977 .1252157 1.89 0.059 -.0087205 .4821158 1.HHS | -.7597593 .1800659 -4.22 0.000 -1.112682 -.4068366 1.AL | -.2724421 .1192009 -2.29 0.022 -.5060716 -.0388125 | EL | 1 | -.5409087 .1367876 -3.95 0.000 -.8090074 -.2728099 2 | -.2802393 .1238446 -2.26 0.024 -.5229703 -.0375083 3 | 3.156435 1.019477 3.10 0.002 1.158297 5.154572 | AS | 2 | .7518765 .1888438 3.98 0.000 .3817494 1.122004 3 | -1.746577 .1554101 -11.24 0.000 -2.051176 -1.441979 4 | -.5310718 .1215219 -4.37 0.000 -.7692502 -.2928933 | 1.OD | 1.824553 .1379219 13.23 0.000 1.554231 2.094875 1.FW | 1.062797 .1052714 10.10 0.000 .8564686 1.269125 1.FA | -1.283859 .2694291 -4.77 0.000 -1.811931 -.755788 FEM | 1.118839 .1257047 8.90 0.000 .8724626 1.365216 NbMal | .3442094 .1415094 2.43 0.015 .0668561 .6215628 HS | -.3820565 .0783115 -4.88 0.000 -.5355442 -.2285688 HI | -.0000828 .0000205 -4.05 0.000 -.0001229 -.0000427 CS | .5542156 .1800672 3.08 0.002 .2012904 .9071407 _cons | -3.383645 1.974505 -1.71 0.087 -7.253604 .4863143 ------------------------------------------------------------------------------ . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . margins, at(FEM=(0(1)7) SV=(0 1)) atmeans Adjusted predictions Number of obs = 5267 Model VCE : OIM Expression : Pr(Cred), predict() 1._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 0 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 2._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 1 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 3._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 2 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 4._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 3 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 5._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 4 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 6._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 5 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 7._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 6 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 8._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 0 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 7 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 9._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 0 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 10._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 1 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 11._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 2 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 12._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 3 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 13._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 4 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 14._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 5 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 15._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 6 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) 16._at : 35.CA = .5221189 (mean) 55.CA = .3778242 (mean) 105.CA = .100057 (mean) SV = 1 0.SC = .7922916 (mean) 1.SC = .2077084 (mean) 0.HHS = .1600532 (mean) 1.HHS = .8399468 (mean) 0.AL = .3668122 (mean) 1.AL = .6331878 (mean) 0.EL = .5414847 (mean) 1.EL = .2107462 (mean) 2.EL = .2139738 (mean) 3.EL = .0337953 (mean) 1.AS = .5830644 (mean) 2.AS = .0953104 (mean) 3.AS = .0943611 (mean) 4.AS = .2272641 (mean) 0.OD = .6295804 (mean) 1.OD = .3704196 (mean) 0.FW = .4285172 (mean) 1.FW = .5714828 (mean) 0.FA = .9751282 (mean) 1.FA = .0248718 (mean) FEM = 7 NbMal = 13.83216 (mean) HS = 2.290298 (mean) HI = 1328.482 (mean) CS = .2462502 (mean) ------------------------------------------------------------------------------ | Delta-method | Margin Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- _at | 1 | .729113 .0226237 32.23 0.000 .6847714 .7734546 2 | .8917716 .0074772 119.27 0.000 .8771166 .9064266 3 | .9618673 .0064042 150.19 0.000 .9493154 .9744193 4 | .9872154 .0037136 265.84 0.000 .9799369 .9944939 5 | .9957875 .0017511 568.67 0.000 .9923555 .9992196 6 | .99862 .0007466 1337.48 0.000 .9971567 1.000083 7 | .9995488 .0003007 3324.47 0.000 .9989595 1.000138 8 | .9998526 .0001167 8566.27 0.000 .9996238 1.000081 9 | .9341001 .0099421 93.95 0.000 .9146139 .9535863 10 | .9774737 .0028854 338.77 0.000 .9718185 .9831288 11 | .9925282 .0014806 670.36 0.000 .9896263 .9954302 12 | .9975469 .0007509 1328.54 0.000 .9960753 .9990186 13 | .9991974 .0003403 2936.20 0.000 .9985304 .9998643 14 | .9997377 .0001431 6988.32 0.000 .9994573 1.000018 15 | .9999143 .0000573 1.7e+04 0.000 .999802 1.000027 16 | .999972 .0000222 4.5e+04 0.000 .9999285 1.000015 ------------------------------------------------------------------------------ . marginsplot Variables that uniquely identify margins: FEM SV . end of do-file . do "C:\Users\HP250~1\AppData\Local\Temp\STD00000000.tmp" . putexcel B3 = matrix(r(table)', names) using myresults.xls file myresults.xls saved . end of do-file . exit, clear -------------------------------------------------------------------------------------------