Logistic Regression Example 1 Solution
Logistic Regression Example 1 Solution
Logistic Regression Example 1 Solution
Regression Statistics
Multiple R 0.707626
R Square 0.500734
Adjusted R 0.441997
Standard E 0.383201
Observatio 20
ANOVA
df SS MS F Significance F
Regression 2 2.503669 1.251835 8.524988 0.002728
Residual 17 2.496331 0.146843
Total 19 5
Coefficients
Standard Error t Stat P-value Lower 95%Upper 95%Lower 95.0%
Upper 95.0%
Intercept 1.687445 0.319872 5.27538 6.184E-05 1.012575 2.362316 1.012575 2.362316
Machine a -0.012525 0.004376 -2.86207 0.010795 -0.021758 -0.003292 -0.021758 -0.003292
Average # o-0.116473 0.056959 -2.044842 0.056673 -0.236647 0.003701 -0.236647 0.003701
Microsoft Excel 16.0 Answer Report
Worksheet: [Logistic regression example 1 solution.xlsx]Sheet2
Report Created: 11-10-2021 09:25:36
Result: Solver found a solution. All Constraints and optimality conditions are satisfied.
Solver Engine
Engine: GRG Nonlinear
Solution Time: 0.343 Seconds.
Iterations: 13 Subproblems: 0
Solver Options
Max Time Unlimited, Iterations Unlimited, Precision 0.000001, Use Automatic Scaling
Convergence 0.0001, Population Size 100, Random Seed 0, Derivatives Forward, Require Bounds
Max Subproblems Unlimited, Max Integer Sols Unlimited, Integer Tolerance 1%
Variable Cells
Cell Name Original Value Final Value Integer
$K$3b0= 0.1 12.482880927 Contin
$K$4b1= 0.1 -0.117031462 Contin
$K$5b2= 0.1 -1.46914597 Contin
Constraints
NONE
Y X1 X2 Propensity of thEvent log odds
Meet spec? Machine age Average # of shifts per L e^L
0 78 8 -8.3987408992 0.00022515063
0 73 5 -3.4061456785 0.03316879753
0 73 8 -7.813583587 0.00040420694
0 71 7 -6.1103746926 0.00221971894
0 68 5 -2.8209883663 0.05954705931
0 59 4 -0.2985592348 0.74188633505
0 57 7 -4.4719342185 0.01142519564
0 49 5 -0.59739058 0.55024558625
0 35 4 2.5101958637 12.3073403855
0 27 7 -0.9609903454 0.38251387747
1 59 3 1.1705867347 3.22388364817
1 57 4 -0.0644963099 0.93753957383
1 44 5 -0.0122332678 0.98784125445
1 38 5 0.6899555068 1.99362682852
1 36 2 5.3314563403 206.738837124
1 36 4 2.3931644012 10.9480833153
1 22 5 2.5624589058 12.9676644107
1 22 6 1.0933129363 2.98414399332
1 15 4 4.8508251124 127.845833525
1 10 6 2.4976904856 12.1543907798
-11.855790893 394.870820767
Scenario 4 Scenario 5
Coeff for X1
Coeff for X2