You are on page 1of 5

Logistic Regression using Excel

b0 5
b1 0.209029
b2 -0.07861
e 2.718282

P x1 x2 L eL p(x)= eL/(1+eL) Ln
0 21 113 0.456641 1.578762 0.612217 -0.9473092572
0 32 143 0.397626 1.488287 0.598117 -0.9115945916
0 34 145 0.658462 1.931819 0.658915 -1.0756230529
0 32 154 -0.4671 0.626819 0.385303 -0.4866264686
0 20 120 -0.30267 0.738845 0.424906 -0.5532210278
0 28 129 0.662066 1.938794 0.659724 -1.0779992272
0 26 119 1.03012 2.801401 0.736939 -1.335369802
1 23 112 0.953311 2.594284 0.72178 -0.3260342434
1 22 132 -0.82794 0.436947 0.30408 -1.190464222
1 34 133 1.601797 4.961941 0.832269 -0.1835991148
1 32 134 1.105127 3.019608 0.75122 -0.2860573514
1 28 144 -0.5171 0.596246 0.37353 -0.98475696
1 29 133 0.55665 1.744818 0.635677 -0.4530644715
1 33 134 1.314156 3.72161 0.788208 -0.2379934703
1 31 121 1.918044 6.807629 0.87192 -0.1370574391
1 26 118 1.108731 3.03051 0.751892 -0.2851619647
1 27 129 0.453037 1.573082 0.611361 -0.4920676624
1 27 124 0.846093 2.330524 0.699747 -0.3570365784
1 32 137 0.869293 2.385225 0.704599 -0.3501269463
1 32 123 1.969851 7.169606 0.877595 -0.1305699792
LL = Log Likelihood -11.8017338309
a 46.47565
b 0.488016
c 0.015994

Test =$O$3+$O$4*O9+$O$5*P9
X1 20 y x1 x2 y'
X2 120 114 146 127 119.75718418
L -0.30267 102 67 123 81.139963275
eL 0.738845 115 145 76 118.45347771
p(x) 0.424906 87 76 56 84.46051145
146 149 148 121.55710411
100 100 60 96.236865469
92 91 74 92.068638712
71 131 83 111.73321459
56 75 143 85.363968078
133 118 73 105.22907034

a
b
c
O$3+$O$4*O9+$O$5*P9
y-y' SUMMARY OUTPUT
33.145169652
435.14113215 Regression Statistics
11.926508261 Multiple R 0.579788
6.4490020933 R Square 0.336154
597.45515961 Adjusted R Squ 0.146483
14.161181499 Standard Error 25.04552
0.0047112728 Observations 10
1659.194771
862.24262126 ANOVA
771.2245343 df SS MS F Significance F
4390.9447911 Regression 2 2223.455 1111.728 1.772305 0.238362
Residual 7 4390.945 627.2778
Total 9 6614.4

Coefficients
Standard Error t Stat P-value Lower 95%Upper 95%
46.475653187 Intercept 46.47565 35.43549 1.311557 0.231047 -37.316 130.2673
0.4880157615 X Variable 1 0.488016 0.262831 1.856767 0.105712 -0.13348 1.109512
0.0159939355 X Variable 2 0.015994 0.239985 0.066646 0.948727 -0.55148 0.583468
Lower 95.0%
Upper 95.0%
-37.316 130.2673
-0.13348 1.109512
-0.55148 0.583468
Brand Quantity Penjualan Diskon Reward Ini tombol function buat ngitung
A 143 54 0.5 12808.75
A 219 70 0.125 15366.125
A 190 56 0.25 10701.5
A 122 60 0.2 7356.4
B 222 98 0.1 21788
B 225 50 0.166666667 11295.833
B 153 71 0.1 10885.4
B 177 52 0.1111111111 9229.4444
C 191 69 0.2 13231
C 137 56 0.2 7710.6
C 112 83 0.5 9393.5
C 183 53 0.166666667 9738.3333
D 190 96 0.25 18311.5
D 209 95 0.333333333 19956.333
D 111 91 0.1 10121.2
D 248 67 0.1111111111 16651

You might also like