You are on page 1of 2

Dependent Variable: _Y_

Method: ML - Binary Logit (Quadratic hill climbing)


Date: 07/30/16 Time: 22:15
Sample: 1 60
Included observations: 60
Convergence achieved after 5 iterations
Covariance matrix computed using second derivatives

Variable Coefficient Std. Error z-Statistic Prob.

C -11.35939 3.672770 -3.092867 0.0020


_X1_ 2.890208 1.102803 2.620783 0.0088
_X2_ 0.146657 0.061302 2.392381 0.0167

McFadden R-squared 0.314402 Mean dependent var 0.266667


S.D. dependent var 0.445948 S.E. of regression 0.370533
Akaike info criterion 0.895178 Sum squared resid 7.825805
Schwarz criterion 0.999895 Log likelihood -23.85533
Hannan-Quinn criter. 0.936138 Deviance 47.71066
Restr. deviance 69.58982 Restr. log likelihood -34.79491
LR statistic 21.87916 Avg. log likelihood -0.397589
Prob(LR statistic) 0.000018

Obs with Dep=0 44 Total obs 60


Obs with Dep=1 16

Dependent Variable Frequencies


Equation: UNTITLED
Date: 07/30/16 Time: 22:25

C
umulative
Dep. Value Count Percent Count Percent

0 44 73.33 44 73.33
1 16 26.67 60 100.00

Goodness-of-Fit Evaluation for Binary Specification


Andrews and Hosmer-Lemeshow
Tests
Equation: UNTITLED
Date: 07/30/16 Time: 22:26
Grouping based upon predicted risk (randomize ties)

Quantile of Risk Dep=0 Dep=1 Total H-L


Low High Actual Expect Actual Expect Obs Value

1 0.0085 0.0131 6 5.93425 0 0.06575 6 0.06648


2 0.0131 0.0234 6 5.90049 0 0.09951 6 0.10119
3 0.0234 0.0545 6 5.79387 0 0.20613 6 0.21347
4 0.0545 0.0903 5 5.57607 1 0.42393 6 0.84235
5 0.0939 0.1336 5 5.36515 1 0.63485 6 0.23488
6 0.1713 0.3326 5 4.61970 1 1.38030 6 0.13609
7 0.3326 0.4362 5 3.73278 1 2.26722 6 1.13850
8 0.4362 0.5092 3 3.12754 3 2.87246 6 0.01086
9 0.5092 0.6510 1 2.55193 5 3.44807 6 1.64230
10 0.6836 0.8181 2 1.39822 4 4.60178 6 0.33769

Total 44 44.0000 16 16.0000 60 4.72381

H-L Statistic 4.7238 Prob. Chi-Sq(8) 0.7866


Andrews Statistic 21.8540 Prob. Chi-Sq(10) 0.0159

C _X1_ _X2_

- -
13.4892395842 1.26997823982 0.21606406044
C 2991 3089 4166

-
1.26997823982 1.21617525030 0.00354143348
_X1_ 3089 0589 7965286

-
0.21606406044 0.00354143348 0.00375787868
_X2_ 4166 7965286 2039646

. logit Y X1 X2

Iteration 0: log likelihood = -34.79491


Iteration 1: log likelihood = -25.04702
Iteration 2: log likelihood = -23.890014
Iteration 3: log likelihood = -23.855353
Iteration 4: log likelihood = -23.855332
Iteration 5: log likelihood = -23.855332

Logistic regression Number of obs = 60


LR chi2(2) = 21.88
Prob > chi2 = 0.0000
Log likelihood = -23.855332 Pseudo R2 = 0.3144

Y Coef. Std. Err. z P>|z| [95% Conf. Interval]

X1 2.890208 1.102803 2.62 0.009 .7287536 5.051663


X2 .1466567 .0613015 2.39 0.017 .0265079 .2668054
_cons -11.35939 3.67277 -3.09 0.002 -18.55789 -4.160895

You might also like