Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_logisticregression.wasp
Title produced by softwareBias-Reduced Logistic Regression
Date of computationWed, 04 Sep 2013 07:21:16 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2013/Sep/04/t1378293881v9wgv1flkhnjy2v.htm/, Retrieved Sat, 04 May 2024 05:26:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=211389, Retrieved Sat, 04 May 2024 05:26:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact184
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Bias-Reduced Logistic Regression] [] [2013-09-04 11:21:16] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
0	7	5
0	5	4
0	5	6
0	5	5
0	7	6
0	4	6
0	7	6
0	7	4
0	4	7
0	2	8
0	2	5
0	1	6
0	2	2
0	2	1
0	2	2
0	2	3
0	3	3
0	2	3
0	5	5
0	7	4
0	4	6
0	6	6
0	7	6
0	7	7
0	6	11
0	5	13
0	9	13
0	4	11
0	7	14
0	5	14
0	7	6
0	7	5
0	7	5
0	6	7
0	7	7
0	7	7
0	6	11
0	6	13
0	7	9
0	13	8
0	6	11
0	6	14
1	11	19
1	14	19
1	14	20
1	11	18
1	12	19
1	15	17
0	11	9
0	11	11
0	11	13
0	9	13
0	11	12
0	13	11
0	7	14
0	8	12
1	8	18
0	14	6
0	9	15
1	10	16
1	15	19
1	18	20
1	18	20
1	19	20
1	16	20
1	18	20
1	12	18
0	13	13
0	15	15
1	15	19
1	14	18
1	9	16
1	11	18
1	13	18
1	19	9
1	13	16
1	16	17
1	20	20
1	19	20
1	16	20
1	16	20
1	18	20
1	19	20
1	17	19
1	17	20
1	18	16
1	18	19
1	18	20
1	16	17




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211389&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211389&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211389&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Coefficients of Bias-Reduced Logistic Regression
VariableParameterS.E.t-stat2-sided p-value
(Intercept)-16.88004556900524.78523529842223-3.527526760193140.000675675151743382
X10.4991046518628970.1969066836330532.534726819090640.0130636754500733
X20.7664146756102880.2330592607699733.288496981747190.00146038995829367

\begin{tabular}{lllllllll}
\hline
Coefficients of Bias-Reduced Logistic Regression \tabularnewline
Variable & Parameter & S.E. & t-stat & 2-sided p-value \tabularnewline
(Intercept) & -16.8800455690052 & 4.78523529842223 & -3.52752676019314 & 0.000675675151743382 \tabularnewline
X1 & 0.499104651862897 & 0.196906683633053 & 2.53472681909064 & 0.0130636754500733 \tabularnewline
X2 & 0.766414675610288 & 0.233059260769973 & 3.28849698174719 & 0.00146038995829367 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211389&T=1

[TABLE]
[ROW][C]Coefficients of Bias-Reduced Logistic Regression[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.E.[/C][C]t-stat[/C][C]2-sided p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]-16.8800455690052[/C][C]4.78523529842223[/C][C]-3.52752676019314[/C][C]0.000675675151743382[/C][/ROW]
[ROW][C]X1[/C][C]0.499104651862897[/C][C]0.196906683633053[/C][C]2.53472681909064[/C][C]0.0130636754500733[/C][/ROW]
[ROW][C]X2[/C][C]0.766414675610288[/C][C]0.233059260769973[/C][C]3.28849698174719[/C][C]0.00146038995829367[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211389&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211389&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Coefficients of Bias-Reduced Logistic Regression
VariableParameterS.E.t-stat2-sided p-value
(Intercept)-16.88004556900524.78523529842223-3.527526760193140.000675675151743382
X10.4991046518628970.1969066836330532.534726819090640.0130636754500733
X20.7664146756102880.2330592607699733.288496981747190.00146038995829367







Summary of Bias-Reduced Logistic Regression
Deviance14.469520525918
Penalized deviance7.0672933947913
Residual Degrees of Freedom86
ROC Area0.996825396825397
Hosmer–Lemeshow test
Chi-square0.701147060984424
Degrees of Freedom8
P(>Chi)0.999523755920063

\begin{tabular}{lllllllll}
\hline
Summary of Bias-Reduced Logistic Regression \tabularnewline
Deviance & 14.469520525918 \tabularnewline
Penalized deviance & 7.0672933947913 \tabularnewline
Residual Degrees of Freedom & 86 \tabularnewline
ROC Area & 0.996825396825397 \tabularnewline
Hosmer–Lemeshow test \tabularnewline
Chi-square & 0.701147060984424 \tabularnewline
Degrees of Freedom & 8 \tabularnewline
P(>Chi) & 0.999523755920063 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211389&T=2

[TABLE]
[ROW][C]Summary of Bias-Reduced Logistic Regression[/C][/ROW]
[ROW][C]Deviance[/C][C]14.469520525918[/C][/ROW]
[ROW][C]Penalized deviance[/C][C]7.0672933947913[/C][/ROW]
[ROW][C]Residual Degrees of Freedom[/C][C]86[/C][/ROW]
[ROW][C]ROC Area[/C][C]0.996825396825397[/C][/ROW]
[ROW][C]Hosmer–Lemeshow test[/C][/ROW]
[ROW][C]Chi-square[/C][C]0.701147060984424[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]8[/C][/ROW]
[ROW][C]P(>Chi)[/C][C]0.999523755920063[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211389&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211389&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of Bias-Reduced Logistic Regression
Deviance14.469520525918
Penalized deviance7.0672933947913
Residual Degrees of Freedom86
ROC Area0.996825396825397
Hosmer–Lemeshow test
Chi-square0.701147060984424
Degrees of Freedom8
P(>Chi)0.999523755920063







Fit of Logistic Regression
IndexActualFittedError
107.08950087441427e-05-7.08950087441427e-05
201.21415664456522e-05-1.21415664456522e-05
305.62282934317254e-05-5.62282934317254e-05
402.61287305758732e-05-2.61287305758732e-05
500.000152556197723302-0.000152556197723302
603.41354868755042e-05-3.41354868755042e-05
700.000152556197723302-0.000152556197723302
803.29444664622051e-05-3.29444664622051e-05
907.34579302688799e-05-7.34579302688799e-05
1005.82610302386556e-05-5.82610302386556e-05
1105.84590738911921e-06-5.84590738911921e-06
1207.63734520938964e-06-7.63734520938964e-06
1305.86550246577116e-07-5.86550246577116e-07
1402.7255596651486e-07-2.7255596651486e-07
1505.86550246577116e-07-5.86550246577116e-07
1601.262276778263e-06-1.262276778263e-06
1702.07927836185255e-06-2.07927836185255e-06
1801.262276778263e-06-1.262276778263e-06
1902.61287305758732e-05-2.61287305758732e-05
2003.29444664622051e-05-3.29444664622051e-05
2103.41354868755042e-05-3.41354868755042e-05
2209.26184467764968e-05-9.26184467764968e-05
2300.000152556197723302-0.000152556197723302
2400.000328248839757534-0.000328248839757534
2500.00425728943698978-0.00425728943698978
2600.011877843847903-0.011877843847903
2700.0813075209903182-0.0813075209903182
2800.00157320557417946-0.00157320557417946
2900.0655890513513116-0.0655890513513116
3000.0252165000430891-0.0252165000430891
3100.000152556197723302-0.000152556197723302
3207.08950087441427e-05-7.08950087441427e-05
3307.08950087441427e-05-7.08950087441427e-05
3400.000199297027522434-0.000199297027522434
3500.000328248839757534-0.000328248839757534
3600.000328248839757534-0.000328248839757534
3700.00425728943698978-0.00425728943698978
3800.0194164563557805-0.0194164563557805
3900.00151839643824154-0.00151839643824154
4000.013920592195112-0.013920592195112
4100.00425728943698978-0.00425728943698978
4200.0408707105664405-0.0408707105664405
4310.9597662835366810.0402337164633187
4410.9907082979781520.00929170202184815
4510.9956607845817510.00433921541824944
4610.9172510408816350.0827489591183646
4710.9751828268756750.0248171731243254
4810.9743086477753080.025691352224692
4900.0110724359184094-0.0110724359184094
5000.0492972585582155-0.0492972585582155
5100.193644046064569-0.193644046064569
5200.0813075209903182-0.0813075209903182
5300.100388233891706-0.100388233891706
5400.123345492890648-0.123345492890648
5500.0655890513513116-0.0655890513513116
5600.0243580744169046-0.0243580744169046
5710.7126431143337540.287356885666246
5800.00499608339349096-0.00499608339349096
5900.290721278095368-0.290721278095368
6010.5923372130801550.407662786919845
6110.9943385800972480.00566141990275204
6210.9994084257925240.000591574207475798
6310.9994084257925240.000591574207475798
6410.9996407872066430.000359212793356711
6510.9983964369560410.00160356304395926
6610.9994084257925240.000591574207475798
6710.9480770267636260.0519229732363742
6800.394533707616029-0.394533707616029
6900.891169628414113-0.891169628414113
7010.9943385800972480.00566141990275204
7110.9802156953931590.019784304606841
7210.468673861931450.53132613806855
7310.9172510408816350.0827489591183646
7410.9678224319246810.0321775680753187
7510.3776992851740780.622300714825922
7610.8665681291615470.133431870838453
7710.9842443994357190.0157556005642813
7810.9997819004839640.000218099516035575
7910.9996407872066430.000359212793356711
8010.9983964369560410.00160356304395926
8110.9983964369560410.00160356304395926
8210.9994084257925240.000591574207475798
8310.9996407872066430.000359212793356711
8410.9979060613882530.00209393861174667
8510.9990259048749160.000974095125083507
8610.9874632255423710.0125367744576295
8710.9987277776595970.00127222234040336
8810.9994084257925240.000591574207475798
8910.9842443994357190.0157556005642813

\begin{tabular}{lllllllll}
\hline
Fit of Logistic Regression \tabularnewline
Index & Actual & Fitted & Error \tabularnewline
1 & 0 & 7.08950087441427e-05 & -7.08950087441427e-05 \tabularnewline
2 & 0 & 1.21415664456522e-05 & -1.21415664456522e-05 \tabularnewline
3 & 0 & 5.62282934317254e-05 & -5.62282934317254e-05 \tabularnewline
4 & 0 & 2.61287305758732e-05 & -2.61287305758732e-05 \tabularnewline
5 & 0 & 0.000152556197723302 & -0.000152556197723302 \tabularnewline
6 & 0 & 3.41354868755042e-05 & -3.41354868755042e-05 \tabularnewline
7 & 0 & 0.000152556197723302 & -0.000152556197723302 \tabularnewline
8 & 0 & 3.29444664622051e-05 & -3.29444664622051e-05 \tabularnewline
9 & 0 & 7.34579302688799e-05 & -7.34579302688799e-05 \tabularnewline
10 & 0 & 5.82610302386556e-05 & -5.82610302386556e-05 \tabularnewline
11 & 0 & 5.84590738911921e-06 & -5.84590738911921e-06 \tabularnewline
12 & 0 & 7.63734520938964e-06 & -7.63734520938964e-06 \tabularnewline
13 & 0 & 5.86550246577116e-07 & -5.86550246577116e-07 \tabularnewline
14 & 0 & 2.7255596651486e-07 & -2.7255596651486e-07 \tabularnewline
15 & 0 & 5.86550246577116e-07 & -5.86550246577116e-07 \tabularnewline
16 & 0 & 1.262276778263e-06 & -1.262276778263e-06 \tabularnewline
17 & 0 & 2.07927836185255e-06 & -2.07927836185255e-06 \tabularnewline
18 & 0 & 1.262276778263e-06 & -1.262276778263e-06 \tabularnewline
19 & 0 & 2.61287305758732e-05 & -2.61287305758732e-05 \tabularnewline
20 & 0 & 3.29444664622051e-05 & -3.29444664622051e-05 \tabularnewline
21 & 0 & 3.41354868755042e-05 & -3.41354868755042e-05 \tabularnewline
22 & 0 & 9.26184467764968e-05 & -9.26184467764968e-05 \tabularnewline
23 & 0 & 0.000152556197723302 & -0.000152556197723302 \tabularnewline
24 & 0 & 0.000328248839757534 & -0.000328248839757534 \tabularnewline
25 & 0 & 0.00425728943698978 & -0.00425728943698978 \tabularnewline
26 & 0 & 0.011877843847903 & -0.011877843847903 \tabularnewline
27 & 0 & 0.0813075209903182 & -0.0813075209903182 \tabularnewline
28 & 0 & 0.00157320557417946 & -0.00157320557417946 \tabularnewline
29 & 0 & 0.0655890513513116 & -0.0655890513513116 \tabularnewline
30 & 0 & 0.0252165000430891 & -0.0252165000430891 \tabularnewline
31 & 0 & 0.000152556197723302 & -0.000152556197723302 \tabularnewline
32 & 0 & 7.08950087441427e-05 & -7.08950087441427e-05 \tabularnewline
33 & 0 & 7.08950087441427e-05 & -7.08950087441427e-05 \tabularnewline
34 & 0 & 0.000199297027522434 & -0.000199297027522434 \tabularnewline
35 & 0 & 0.000328248839757534 & -0.000328248839757534 \tabularnewline
36 & 0 & 0.000328248839757534 & -0.000328248839757534 \tabularnewline
37 & 0 & 0.00425728943698978 & -0.00425728943698978 \tabularnewline
38 & 0 & 0.0194164563557805 & -0.0194164563557805 \tabularnewline
39 & 0 & 0.00151839643824154 & -0.00151839643824154 \tabularnewline
40 & 0 & 0.013920592195112 & -0.013920592195112 \tabularnewline
41 & 0 & 0.00425728943698978 & -0.00425728943698978 \tabularnewline
42 & 0 & 0.0408707105664405 & -0.0408707105664405 \tabularnewline
43 & 1 & 0.959766283536681 & 0.0402337164633187 \tabularnewline
44 & 1 & 0.990708297978152 & 0.00929170202184815 \tabularnewline
45 & 1 & 0.995660784581751 & 0.00433921541824944 \tabularnewline
46 & 1 & 0.917251040881635 & 0.0827489591183646 \tabularnewline
47 & 1 & 0.975182826875675 & 0.0248171731243254 \tabularnewline
48 & 1 & 0.974308647775308 & 0.025691352224692 \tabularnewline
49 & 0 & 0.0110724359184094 & -0.0110724359184094 \tabularnewline
50 & 0 & 0.0492972585582155 & -0.0492972585582155 \tabularnewline
51 & 0 & 0.193644046064569 & -0.193644046064569 \tabularnewline
52 & 0 & 0.0813075209903182 & -0.0813075209903182 \tabularnewline
53 & 0 & 0.100388233891706 & -0.100388233891706 \tabularnewline
54 & 0 & 0.123345492890648 & -0.123345492890648 \tabularnewline
55 & 0 & 0.0655890513513116 & -0.0655890513513116 \tabularnewline
56 & 0 & 0.0243580744169046 & -0.0243580744169046 \tabularnewline
57 & 1 & 0.712643114333754 & 0.287356885666246 \tabularnewline
58 & 0 & 0.00499608339349096 & -0.00499608339349096 \tabularnewline
59 & 0 & 0.290721278095368 & -0.290721278095368 \tabularnewline
60 & 1 & 0.592337213080155 & 0.407662786919845 \tabularnewline
61 & 1 & 0.994338580097248 & 0.00566141990275204 \tabularnewline
62 & 1 & 0.999408425792524 & 0.000591574207475798 \tabularnewline
63 & 1 & 0.999408425792524 & 0.000591574207475798 \tabularnewline
64 & 1 & 0.999640787206643 & 0.000359212793356711 \tabularnewline
65 & 1 & 0.998396436956041 & 0.00160356304395926 \tabularnewline
66 & 1 & 0.999408425792524 & 0.000591574207475798 \tabularnewline
67 & 1 & 0.948077026763626 & 0.0519229732363742 \tabularnewline
68 & 0 & 0.394533707616029 & -0.394533707616029 \tabularnewline
69 & 0 & 0.891169628414113 & -0.891169628414113 \tabularnewline
70 & 1 & 0.994338580097248 & 0.00566141990275204 \tabularnewline
71 & 1 & 0.980215695393159 & 0.019784304606841 \tabularnewline
72 & 1 & 0.46867386193145 & 0.53132613806855 \tabularnewline
73 & 1 & 0.917251040881635 & 0.0827489591183646 \tabularnewline
74 & 1 & 0.967822431924681 & 0.0321775680753187 \tabularnewline
75 & 1 & 0.377699285174078 & 0.622300714825922 \tabularnewline
76 & 1 & 0.866568129161547 & 0.133431870838453 \tabularnewline
77 & 1 & 0.984244399435719 & 0.0157556005642813 \tabularnewline
78 & 1 & 0.999781900483964 & 0.000218099516035575 \tabularnewline
79 & 1 & 0.999640787206643 & 0.000359212793356711 \tabularnewline
80 & 1 & 0.998396436956041 & 0.00160356304395926 \tabularnewline
81 & 1 & 0.998396436956041 & 0.00160356304395926 \tabularnewline
82 & 1 & 0.999408425792524 & 0.000591574207475798 \tabularnewline
83 & 1 & 0.999640787206643 & 0.000359212793356711 \tabularnewline
84 & 1 & 0.997906061388253 & 0.00209393861174667 \tabularnewline
85 & 1 & 0.999025904874916 & 0.000974095125083507 \tabularnewline
86 & 1 & 0.987463225542371 & 0.0125367744576295 \tabularnewline
87 & 1 & 0.998727777659597 & 0.00127222234040336 \tabularnewline
88 & 1 & 0.999408425792524 & 0.000591574207475798 \tabularnewline
89 & 1 & 0.984244399435719 & 0.0157556005642813 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211389&T=3

[TABLE]
[ROW][C]Fit of Logistic Regression[/C][/ROW]
[ROW][C]Index[/C][C]Actual[/C][C]Fitted[/C][C]Error[/C][/ROW]
[ROW][C]1[/C][C]0[/C][C]7.08950087441427e-05[/C][C]-7.08950087441427e-05[/C][/ROW]
[ROW][C]2[/C][C]0[/C][C]1.21415664456522e-05[/C][C]-1.21415664456522e-05[/C][/ROW]
[ROW][C]3[/C][C]0[/C][C]5.62282934317254e-05[/C][C]-5.62282934317254e-05[/C][/ROW]
[ROW][C]4[/C][C]0[/C][C]2.61287305758732e-05[/C][C]-2.61287305758732e-05[/C][/ROW]
[ROW][C]5[/C][C]0[/C][C]0.000152556197723302[/C][C]-0.000152556197723302[/C][/ROW]
[ROW][C]6[/C][C]0[/C][C]3.41354868755042e-05[/C][C]-3.41354868755042e-05[/C][/ROW]
[ROW][C]7[/C][C]0[/C][C]0.000152556197723302[/C][C]-0.000152556197723302[/C][/ROW]
[ROW][C]8[/C][C]0[/C][C]3.29444664622051e-05[/C][C]-3.29444664622051e-05[/C][/ROW]
[ROW][C]9[/C][C]0[/C][C]7.34579302688799e-05[/C][C]-7.34579302688799e-05[/C][/ROW]
[ROW][C]10[/C][C]0[/C][C]5.82610302386556e-05[/C][C]-5.82610302386556e-05[/C][/ROW]
[ROW][C]11[/C][C]0[/C][C]5.84590738911921e-06[/C][C]-5.84590738911921e-06[/C][/ROW]
[ROW][C]12[/C][C]0[/C][C]7.63734520938964e-06[/C][C]-7.63734520938964e-06[/C][/ROW]
[ROW][C]13[/C][C]0[/C][C]5.86550246577116e-07[/C][C]-5.86550246577116e-07[/C][/ROW]
[ROW][C]14[/C][C]0[/C][C]2.7255596651486e-07[/C][C]-2.7255596651486e-07[/C][/ROW]
[ROW][C]15[/C][C]0[/C][C]5.86550246577116e-07[/C][C]-5.86550246577116e-07[/C][/ROW]
[ROW][C]16[/C][C]0[/C][C]1.262276778263e-06[/C][C]-1.262276778263e-06[/C][/ROW]
[ROW][C]17[/C][C]0[/C][C]2.07927836185255e-06[/C][C]-2.07927836185255e-06[/C][/ROW]
[ROW][C]18[/C][C]0[/C][C]1.262276778263e-06[/C][C]-1.262276778263e-06[/C][/ROW]
[ROW][C]19[/C][C]0[/C][C]2.61287305758732e-05[/C][C]-2.61287305758732e-05[/C][/ROW]
[ROW][C]20[/C][C]0[/C][C]3.29444664622051e-05[/C][C]-3.29444664622051e-05[/C][/ROW]
[ROW][C]21[/C][C]0[/C][C]3.41354868755042e-05[/C][C]-3.41354868755042e-05[/C][/ROW]
[ROW][C]22[/C][C]0[/C][C]9.26184467764968e-05[/C][C]-9.26184467764968e-05[/C][/ROW]
[ROW][C]23[/C][C]0[/C][C]0.000152556197723302[/C][C]-0.000152556197723302[/C][/ROW]
[ROW][C]24[/C][C]0[/C][C]0.000328248839757534[/C][C]-0.000328248839757534[/C][/ROW]
[ROW][C]25[/C][C]0[/C][C]0.00425728943698978[/C][C]-0.00425728943698978[/C][/ROW]
[ROW][C]26[/C][C]0[/C][C]0.011877843847903[/C][C]-0.011877843847903[/C][/ROW]
[ROW][C]27[/C][C]0[/C][C]0.0813075209903182[/C][C]-0.0813075209903182[/C][/ROW]
[ROW][C]28[/C][C]0[/C][C]0.00157320557417946[/C][C]-0.00157320557417946[/C][/ROW]
[ROW][C]29[/C][C]0[/C][C]0.0655890513513116[/C][C]-0.0655890513513116[/C][/ROW]
[ROW][C]30[/C][C]0[/C][C]0.0252165000430891[/C][C]-0.0252165000430891[/C][/ROW]
[ROW][C]31[/C][C]0[/C][C]0.000152556197723302[/C][C]-0.000152556197723302[/C][/ROW]
[ROW][C]32[/C][C]0[/C][C]7.08950087441427e-05[/C][C]-7.08950087441427e-05[/C][/ROW]
[ROW][C]33[/C][C]0[/C][C]7.08950087441427e-05[/C][C]-7.08950087441427e-05[/C][/ROW]
[ROW][C]34[/C][C]0[/C][C]0.000199297027522434[/C][C]-0.000199297027522434[/C][/ROW]
[ROW][C]35[/C][C]0[/C][C]0.000328248839757534[/C][C]-0.000328248839757534[/C][/ROW]
[ROW][C]36[/C][C]0[/C][C]0.000328248839757534[/C][C]-0.000328248839757534[/C][/ROW]
[ROW][C]37[/C][C]0[/C][C]0.00425728943698978[/C][C]-0.00425728943698978[/C][/ROW]
[ROW][C]38[/C][C]0[/C][C]0.0194164563557805[/C][C]-0.0194164563557805[/C][/ROW]
[ROW][C]39[/C][C]0[/C][C]0.00151839643824154[/C][C]-0.00151839643824154[/C][/ROW]
[ROW][C]40[/C][C]0[/C][C]0.013920592195112[/C][C]-0.013920592195112[/C][/ROW]
[ROW][C]41[/C][C]0[/C][C]0.00425728943698978[/C][C]-0.00425728943698978[/C][/ROW]
[ROW][C]42[/C][C]0[/C][C]0.0408707105664405[/C][C]-0.0408707105664405[/C][/ROW]
[ROW][C]43[/C][C]1[/C][C]0.959766283536681[/C][C]0.0402337164633187[/C][/ROW]
[ROW][C]44[/C][C]1[/C][C]0.990708297978152[/C][C]0.00929170202184815[/C][/ROW]
[ROW][C]45[/C][C]1[/C][C]0.995660784581751[/C][C]0.00433921541824944[/C][/ROW]
[ROW][C]46[/C][C]1[/C][C]0.917251040881635[/C][C]0.0827489591183646[/C][/ROW]
[ROW][C]47[/C][C]1[/C][C]0.975182826875675[/C][C]0.0248171731243254[/C][/ROW]
[ROW][C]48[/C][C]1[/C][C]0.974308647775308[/C][C]0.025691352224692[/C][/ROW]
[ROW][C]49[/C][C]0[/C][C]0.0110724359184094[/C][C]-0.0110724359184094[/C][/ROW]
[ROW][C]50[/C][C]0[/C][C]0.0492972585582155[/C][C]-0.0492972585582155[/C][/ROW]
[ROW][C]51[/C][C]0[/C][C]0.193644046064569[/C][C]-0.193644046064569[/C][/ROW]
[ROW][C]52[/C][C]0[/C][C]0.0813075209903182[/C][C]-0.0813075209903182[/C][/ROW]
[ROW][C]53[/C][C]0[/C][C]0.100388233891706[/C][C]-0.100388233891706[/C][/ROW]
[ROW][C]54[/C][C]0[/C][C]0.123345492890648[/C][C]-0.123345492890648[/C][/ROW]
[ROW][C]55[/C][C]0[/C][C]0.0655890513513116[/C][C]-0.0655890513513116[/C][/ROW]
[ROW][C]56[/C][C]0[/C][C]0.0243580744169046[/C][C]-0.0243580744169046[/C][/ROW]
[ROW][C]57[/C][C]1[/C][C]0.712643114333754[/C][C]0.287356885666246[/C][/ROW]
[ROW][C]58[/C][C]0[/C][C]0.00499608339349096[/C][C]-0.00499608339349096[/C][/ROW]
[ROW][C]59[/C][C]0[/C][C]0.290721278095368[/C][C]-0.290721278095368[/C][/ROW]
[ROW][C]60[/C][C]1[/C][C]0.592337213080155[/C][C]0.407662786919845[/C][/ROW]
[ROW][C]61[/C][C]1[/C][C]0.994338580097248[/C][C]0.00566141990275204[/C][/ROW]
[ROW][C]62[/C][C]1[/C][C]0.999408425792524[/C][C]0.000591574207475798[/C][/ROW]
[ROW][C]63[/C][C]1[/C][C]0.999408425792524[/C][C]0.000591574207475798[/C][/ROW]
[ROW][C]64[/C][C]1[/C][C]0.999640787206643[/C][C]0.000359212793356711[/C][/ROW]
[ROW][C]65[/C][C]1[/C][C]0.998396436956041[/C][C]0.00160356304395926[/C][/ROW]
[ROW][C]66[/C][C]1[/C][C]0.999408425792524[/C][C]0.000591574207475798[/C][/ROW]
[ROW][C]67[/C][C]1[/C][C]0.948077026763626[/C][C]0.0519229732363742[/C][/ROW]
[ROW][C]68[/C][C]0[/C][C]0.394533707616029[/C][C]-0.394533707616029[/C][/ROW]
[ROW][C]69[/C][C]0[/C][C]0.891169628414113[/C][C]-0.891169628414113[/C][/ROW]
[ROW][C]70[/C][C]1[/C][C]0.994338580097248[/C][C]0.00566141990275204[/C][/ROW]
[ROW][C]71[/C][C]1[/C][C]0.980215695393159[/C][C]0.019784304606841[/C][/ROW]
[ROW][C]72[/C][C]1[/C][C]0.46867386193145[/C][C]0.53132613806855[/C][/ROW]
[ROW][C]73[/C][C]1[/C][C]0.917251040881635[/C][C]0.0827489591183646[/C][/ROW]
[ROW][C]74[/C][C]1[/C][C]0.967822431924681[/C][C]0.0321775680753187[/C][/ROW]
[ROW][C]75[/C][C]1[/C][C]0.377699285174078[/C][C]0.622300714825922[/C][/ROW]
[ROW][C]76[/C][C]1[/C][C]0.866568129161547[/C][C]0.133431870838453[/C][/ROW]
[ROW][C]77[/C][C]1[/C][C]0.984244399435719[/C][C]0.0157556005642813[/C][/ROW]
[ROW][C]78[/C][C]1[/C][C]0.999781900483964[/C][C]0.000218099516035575[/C][/ROW]
[ROW][C]79[/C][C]1[/C][C]0.999640787206643[/C][C]0.000359212793356711[/C][/ROW]
[ROW][C]80[/C][C]1[/C][C]0.998396436956041[/C][C]0.00160356304395926[/C][/ROW]
[ROW][C]81[/C][C]1[/C][C]0.998396436956041[/C][C]0.00160356304395926[/C][/ROW]
[ROW][C]82[/C][C]1[/C][C]0.999408425792524[/C][C]0.000591574207475798[/C][/ROW]
[ROW][C]83[/C][C]1[/C][C]0.999640787206643[/C][C]0.000359212793356711[/C][/ROW]
[ROW][C]84[/C][C]1[/C][C]0.997906061388253[/C][C]0.00209393861174667[/C][/ROW]
[ROW][C]85[/C][C]1[/C][C]0.999025904874916[/C][C]0.000974095125083507[/C][/ROW]
[ROW][C]86[/C][C]1[/C][C]0.987463225542371[/C][C]0.0125367744576295[/C][/ROW]
[ROW][C]87[/C][C]1[/C][C]0.998727777659597[/C][C]0.00127222234040336[/C][/ROW]
[ROW][C]88[/C][C]1[/C][C]0.999408425792524[/C][C]0.000591574207475798[/C][/ROW]
[ROW][C]89[/C][C]1[/C][C]0.984244399435719[/C][C]0.0157556005642813[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211389&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211389&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Fit of Logistic Regression
IndexActualFittedError
107.08950087441427e-05-7.08950087441427e-05
201.21415664456522e-05-1.21415664456522e-05
305.62282934317254e-05-5.62282934317254e-05
402.61287305758732e-05-2.61287305758732e-05
500.000152556197723302-0.000152556197723302
603.41354868755042e-05-3.41354868755042e-05
700.000152556197723302-0.000152556197723302
803.29444664622051e-05-3.29444664622051e-05
907.34579302688799e-05-7.34579302688799e-05
1005.82610302386556e-05-5.82610302386556e-05
1105.84590738911921e-06-5.84590738911921e-06
1207.63734520938964e-06-7.63734520938964e-06
1305.86550246577116e-07-5.86550246577116e-07
1402.7255596651486e-07-2.7255596651486e-07
1505.86550246577116e-07-5.86550246577116e-07
1601.262276778263e-06-1.262276778263e-06
1702.07927836185255e-06-2.07927836185255e-06
1801.262276778263e-06-1.262276778263e-06
1902.61287305758732e-05-2.61287305758732e-05
2003.29444664622051e-05-3.29444664622051e-05
2103.41354868755042e-05-3.41354868755042e-05
2209.26184467764968e-05-9.26184467764968e-05
2300.000152556197723302-0.000152556197723302
2400.000328248839757534-0.000328248839757534
2500.00425728943698978-0.00425728943698978
2600.011877843847903-0.011877843847903
2700.0813075209903182-0.0813075209903182
2800.00157320557417946-0.00157320557417946
2900.0655890513513116-0.0655890513513116
3000.0252165000430891-0.0252165000430891
3100.000152556197723302-0.000152556197723302
3207.08950087441427e-05-7.08950087441427e-05
3307.08950087441427e-05-7.08950087441427e-05
3400.000199297027522434-0.000199297027522434
3500.000328248839757534-0.000328248839757534
3600.000328248839757534-0.000328248839757534
3700.00425728943698978-0.00425728943698978
3800.0194164563557805-0.0194164563557805
3900.00151839643824154-0.00151839643824154
4000.013920592195112-0.013920592195112
4100.00425728943698978-0.00425728943698978
4200.0408707105664405-0.0408707105664405
4310.9597662835366810.0402337164633187
4410.9907082979781520.00929170202184815
4510.9956607845817510.00433921541824944
4610.9172510408816350.0827489591183646
4710.9751828268756750.0248171731243254
4810.9743086477753080.025691352224692
4900.0110724359184094-0.0110724359184094
5000.0492972585582155-0.0492972585582155
5100.193644046064569-0.193644046064569
5200.0813075209903182-0.0813075209903182
5300.100388233891706-0.100388233891706
5400.123345492890648-0.123345492890648
5500.0655890513513116-0.0655890513513116
5600.0243580744169046-0.0243580744169046
5710.7126431143337540.287356885666246
5800.00499608339349096-0.00499608339349096
5900.290721278095368-0.290721278095368
6010.5923372130801550.407662786919845
6110.9943385800972480.00566141990275204
6210.9994084257925240.000591574207475798
6310.9994084257925240.000591574207475798
6410.9996407872066430.000359212793356711
6510.9983964369560410.00160356304395926
6610.9994084257925240.000591574207475798
6710.9480770267636260.0519229732363742
6800.394533707616029-0.394533707616029
6900.891169628414113-0.891169628414113
7010.9943385800972480.00566141990275204
7110.9802156953931590.019784304606841
7210.468673861931450.53132613806855
7310.9172510408816350.0827489591183646
7410.9678224319246810.0321775680753187
7510.3776992851740780.622300714825922
7610.8665681291615470.133431870838453
7710.9842443994357190.0157556005642813
7810.9997819004839640.000218099516035575
7910.9996407872066430.000359212793356711
8010.9983964369560410.00160356304395926
8110.9983964369560410.00160356304395926
8210.9994084257925240.000591574207475798
8310.9996407872066430.000359212793356711
8410.9979060613882530.00209393861174667
8510.9990259048749160.000974095125083507
8610.9874632255423710.0125367744576295
8710.9987277776595970.00127222234040336
8810.9994084257925240.000591574207475798
8910.9842443994357190.0157556005642813







Type I & II errors for various threshold values
ThresholdType IType II
0.0100.333333333333333
0.0200.259259259259259
0.0300.222222222222222
0.0400.222222222222222
0.0500.185185185185185
0.0600.185185185185185
0.0700.148148148148148
0.0800.148148148148148
0.0900.111111111111111
0.100.111111111111111
0.1100.0925925925925926
0.1200.0925925925925926
0.1300.0740740740740741
0.1400.0740740740740741
0.1500.0740740740740741
0.1600.0740740740740741
0.1700.0740740740740741
0.1800.0740740740740741
0.1900.0740740740740741
0.200.0555555555555556
0.2100.0555555555555556
0.2200.0555555555555556
0.2300.0555555555555556
0.2400.0555555555555556
0.2500.0555555555555556
0.2600.0555555555555556
0.2700.0555555555555556
0.2800.0555555555555556
0.2900.0555555555555556
0.300.037037037037037
0.3100.037037037037037
0.3200.037037037037037
0.3300.037037037037037
0.3400.037037037037037
0.3500.037037037037037
0.3600.037037037037037
0.3700.037037037037037
0.380.02857142857142860.037037037037037
0.390.02857142857142860.037037037037037
0.40.02857142857142860.0185185185185185
0.410.02857142857142860.0185185185185185
0.420.02857142857142860.0185185185185185
0.430.02857142857142860.0185185185185185
0.440.02857142857142860.0185185185185185
0.450.02857142857142860.0185185185185185
0.460.02857142857142860.0185185185185185
0.470.05714285714285710.0185185185185185
0.480.05714285714285710.0185185185185185
0.490.05714285714285710.0185185185185185
0.50.05714285714285710.0185185185185185
0.510.05714285714285710.0185185185185185
0.520.05714285714285710.0185185185185185
0.530.05714285714285710.0185185185185185
0.540.05714285714285710.0185185185185185
0.550.05714285714285710.0185185185185185
0.560.05714285714285710.0185185185185185
0.570.05714285714285710.0185185185185185
0.580.05714285714285710.0185185185185185
0.590.05714285714285710.0185185185185185
0.60.08571428571428570.0185185185185185
0.610.08571428571428570.0185185185185185
0.620.08571428571428570.0185185185185185
0.630.08571428571428570.0185185185185185
0.640.08571428571428570.0185185185185185
0.650.08571428571428570.0185185185185185
0.660.08571428571428570.0185185185185185
0.670.08571428571428570.0185185185185185
0.680.08571428571428570.0185185185185185
0.690.08571428571428570.0185185185185185
0.70.08571428571428570.0185185185185185
0.710.08571428571428570.0185185185185185
0.720.1142857142857140.0185185185185185
0.730.1142857142857140.0185185185185185
0.740.1142857142857140.0185185185185185
0.750.1142857142857140.0185185185185185
0.760.1142857142857140.0185185185185185
0.770.1142857142857140.0185185185185185
0.780.1142857142857140.0185185185185185
0.790.1142857142857140.0185185185185185
0.80.1142857142857140.0185185185185185
0.810.1142857142857140.0185185185185185
0.820.1142857142857140.0185185185185185
0.830.1142857142857140.0185185185185185
0.840.1142857142857140.0185185185185185
0.850.1142857142857140.0185185185185185
0.860.1142857142857140.0185185185185185
0.870.1428571428571430.0185185185185185
0.880.1428571428571430.0185185185185185
0.890.1428571428571430.0185185185185185
0.90.1428571428571430
0.910.1428571428571430
0.920.20
0.930.20
0.940.20
0.950.2285714285714290
0.960.2571428571428570
0.970.2857142857142860
0.980.3428571428571430
0.990.4571428571428570

\begin{tabular}{lllllllll}
\hline
Type I & II errors for various threshold values \tabularnewline
Threshold & Type I & Type II \tabularnewline
0.01 & 0 & 0.333333333333333 \tabularnewline
0.02 & 0 & 0.259259259259259 \tabularnewline
0.03 & 0 & 0.222222222222222 \tabularnewline
0.04 & 0 & 0.222222222222222 \tabularnewline
0.05 & 0 & 0.185185185185185 \tabularnewline
0.06 & 0 & 0.185185185185185 \tabularnewline
0.07 & 0 & 0.148148148148148 \tabularnewline
0.08 & 0 & 0.148148148148148 \tabularnewline
0.09 & 0 & 0.111111111111111 \tabularnewline
0.1 & 0 & 0.111111111111111 \tabularnewline
0.11 & 0 & 0.0925925925925926 \tabularnewline
0.12 & 0 & 0.0925925925925926 \tabularnewline
0.13 & 0 & 0.0740740740740741 \tabularnewline
0.14 & 0 & 0.0740740740740741 \tabularnewline
0.15 & 0 & 0.0740740740740741 \tabularnewline
0.16 & 0 & 0.0740740740740741 \tabularnewline
0.17 & 0 & 0.0740740740740741 \tabularnewline
0.18 & 0 & 0.0740740740740741 \tabularnewline
0.19 & 0 & 0.0740740740740741 \tabularnewline
0.2 & 0 & 0.0555555555555556 \tabularnewline
0.21 & 0 & 0.0555555555555556 \tabularnewline
0.22 & 0 & 0.0555555555555556 \tabularnewline
0.23 & 0 & 0.0555555555555556 \tabularnewline
0.24 & 0 & 0.0555555555555556 \tabularnewline
0.25 & 0 & 0.0555555555555556 \tabularnewline
0.26 & 0 & 0.0555555555555556 \tabularnewline
0.27 & 0 & 0.0555555555555556 \tabularnewline
0.28 & 0 & 0.0555555555555556 \tabularnewline
0.29 & 0 & 0.0555555555555556 \tabularnewline
0.3 & 0 & 0.037037037037037 \tabularnewline
0.31 & 0 & 0.037037037037037 \tabularnewline
0.32 & 0 & 0.037037037037037 \tabularnewline
0.33 & 0 & 0.037037037037037 \tabularnewline
0.34 & 0 & 0.037037037037037 \tabularnewline
0.35 & 0 & 0.037037037037037 \tabularnewline
0.36 & 0 & 0.037037037037037 \tabularnewline
0.37 & 0 & 0.037037037037037 \tabularnewline
0.38 & 0.0285714285714286 & 0.037037037037037 \tabularnewline
0.39 & 0.0285714285714286 & 0.037037037037037 \tabularnewline
0.4 & 0.0285714285714286 & 0.0185185185185185 \tabularnewline
0.41 & 0.0285714285714286 & 0.0185185185185185 \tabularnewline
0.42 & 0.0285714285714286 & 0.0185185185185185 \tabularnewline
0.43 & 0.0285714285714286 & 0.0185185185185185 \tabularnewline
0.44 & 0.0285714285714286 & 0.0185185185185185 \tabularnewline
0.45 & 0.0285714285714286 & 0.0185185185185185 \tabularnewline
0.46 & 0.0285714285714286 & 0.0185185185185185 \tabularnewline
0.47 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.48 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.49 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.5 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.51 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.52 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.53 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.54 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.55 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.56 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.57 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.58 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.59 & 0.0571428571428571 & 0.0185185185185185 \tabularnewline
0.6 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.61 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.62 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.63 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.64 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.65 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.66 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.67 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.68 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.69 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.7 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.71 & 0.0857142857142857 & 0.0185185185185185 \tabularnewline
0.72 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.73 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.74 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.75 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.76 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.77 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.78 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.79 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.8 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.81 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.82 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.83 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.84 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.85 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.86 & 0.114285714285714 & 0.0185185185185185 \tabularnewline
0.87 & 0.142857142857143 & 0.0185185185185185 \tabularnewline
0.88 & 0.142857142857143 & 0.0185185185185185 \tabularnewline
0.89 & 0.142857142857143 & 0.0185185185185185 \tabularnewline
0.9 & 0.142857142857143 & 0 \tabularnewline
0.91 & 0.142857142857143 & 0 \tabularnewline
0.92 & 0.2 & 0 \tabularnewline
0.93 & 0.2 & 0 \tabularnewline
0.94 & 0.2 & 0 \tabularnewline
0.95 & 0.228571428571429 & 0 \tabularnewline
0.96 & 0.257142857142857 & 0 \tabularnewline
0.97 & 0.285714285714286 & 0 \tabularnewline
0.98 & 0.342857142857143 & 0 \tabularnewline
0.99 & 0.457142857142857 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211389&T=4

[TABLE]
[ROW][C]Type I & II errors for various threshold values[/C][/ROW]
[ROW][C]Threshold[/C][C]Type I[/C][C]Type II[/C][/ROW]
[ROW][C]0.01[/C][C]0[/C][C]0.333333333333333[/C][/ROW]
[ROW][C]0.02[/C][C]0[/C][C]0.259259259259259[/C][/ROW]
[ROW][C]0.03[/C][C]0[/C][C]0.222222222222222[/C][/ROW]
[ROW][C]0.04[/C][C]0[/C][C]0.222222222222222[/C][/ROW]
[ROW][C]0.05[/C][C]0[/C][C]0.185185185185185[/C][/ROW]
[ROW][C]0.06[/C][C]0[/C][C]0.185185185185185[/C][/ROW]
[ROW][C]0.07[/C][C]0[/C][C]0.148148148148148[/C][/ROW]
[ROW][C]0.08[/C][C]0[/C][C]0.148148148148148[/C][/ROW]
[ROW][C]0.09[/C][C]0[/C][C]0.111111111111111[/C][/ROW]
[ROW][C]0.1[/C][C]0[/C][C]0.111111111111111[/C][/ROW]
[ROW][C]0.11[/C][C]0[/C][C]0.0925925925925926[/C][/ROW]
[ROW][C]0.12[/C][C]0[/C][C]0.0925925925925926[/C][/ROW]
[ROW][C]0.13[/C][C]0[/C][C]0.0740740740740741[/C][/ROW]
[ROW][C]0.14[/C][C]0[/C][C]0.0740740740740741[/C][/ROW]
[ROW][C]0.15[/C][C]0[/C][C]0.0740740740740741[/C][/ROW]
[ROW][C]0.16[/C][C]0[/C][C]0.0740740740740741[/C][/ROW]
[ROW][C]0.17[/C][C]0[/C][C]0.0740740740740741[/C][/ROW]
[ROW][C]0.18[/C][C]0[/C][C]0.0740740740740741[/C][/ROW]
[ROW][C]0.19[/C][C]0[/C][C]0.0740740740740741[/C][/ROW]
[ROW][C]0.2[/C][C]0[/C][C]0.0555555555555556[/C][/ROW]
[ROW][C]0.21[/C][C]0[/C][C]0.0555555555555556[/C][/ROW]
[ROW][C]0.22[/C][C]0[/C][C]0.0555555555555556[/C][/ROW]
[ROW][C]0.23[/C][C]0[/C][C]0.0555555555555556[/C][/ROW]
[ROW][C]0.24[/C][C]0[/C][C]0.0555555555555556[/C][/ROW]
[ROW][C]0.25[/C][C]0[/C][C]0.0555555555555556[/C][/ROW]
[ROW][C]0.26[/C][C]0[/C][C]0.0555555555555556[/C][/ROW]
[ROW][C]0.27[/C][C]0[/C][C]0.0555555555555556[/C][/ROW]
[ROW][C]0.28[/C][C]0[/C][C]0.0555555555555556[/C][/ROW]
[ROW][C]0.29[/C][C]0[/C][C]0.0555555555555556[/C][/ROW]
[ROW][C]0.3[/C][C]0[/C][C]0.037037037037037[/C][/ROW]
[ROW][C]0.31[/C][C]0[/C][C]0.037037037037037[/C][/ROW]
[ROW][C]0.32[/C][C]0[/C][C]0.037037037037037[/C][/ROW]
[ROW][C]0.33[/C][C]0[/C][C]0.037037037037037[/C][/ROW]
[ROW][C]0.34[/C][C]0[/C][C]0.037037037037037[/C][/ROW]
[ROW][C]0.35[/C][C]0[/C][C]0.037037037037037[/C][/ROW]
[ROW][C]0.36[/C][C]0[/C][C]0.037037037037037[/C][/ROW]
[ROW][C]0.37[/C][C]0[/C][C]0.037037037037037[/C][/ROW]
[ROW][C]0.38[/C][C]0.0285714285714286[/C][C]0.037037037037037[/C][/ROW]
[ROW][C]0.39[/C][C]0.0285714285714286[/C][C]0.037037037037037[/C][/ROW]
[ROW][C]0.4[/C][C]0.0285714285714286[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.41[/C][C]0.0285714285714286[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.42[/C][C]0.0285714285714286[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.43[/C][C]0.0285714285714286[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.44[/C][C]0.0285714285714286[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.45[/C][C]0.0285714285714286[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.46[/C][C]0.0285714285714286[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.47[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.48[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.49[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.5[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.51[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.52[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.53[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.54[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.55[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.56[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.57[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.58[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.59[/C][C]0.0571428571428571[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.6[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.61[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.62[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.63[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.64[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.65[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.66[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.67[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.68[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.69[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.7[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.71[/C][C]0.0857142857142857[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.72[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.73[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.74[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.75[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.76[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.77[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.78[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.79[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.8[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.81[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.82[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.83[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.84[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.85[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.86[/C][C]0.114285714285714[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.87[/C][C]0.142857142857143[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.88[/C][C]0.142857142857143[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.89[/C][C]0.142857142857143[/C][C]0.0185185185185185[/C][/ROW]
[ROW][C]0.9[/C][C]0.142857142857143[/C][C]0[/C][/ROW]
[ROW][C]0.91[/C][C]0.142857142857143[/C][C]0[/C][/ROW]
[ROW][C]0.92[/C][C]0.2[/C][C]0[/C][/ROW]
[ROW][C]0.93[/C][C]0.2[/C][C]0[/C][/ROW]
[ROW][C]0.94[/C][C]0.2[/C][C]0[/C][/ROW]
[ROW][C]0.95[/C][C]0.228571428571429[/C][C]0[/C][/ROW]
[ROW][C]0.96[/C][C]0.257142857142857[/C][C]0[/C][/ROW]
[ROW][C]0.97[/C][C]0.285714285714286[/C][C]0[/C][/ROW]
[ROW][C]0.98[/C][C]0.342857142857143[/C][C]0[/C][/ROW]
[ROW][C]0.99[/C][C]0.457142857142857[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211389&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211389&T=4

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Type I & II errors for various threshold values
ThresholdType IType II
0.0100.333333333333333
0.0200.259259259259259
0.0300.222222222222222
0.0400.222222222222222
0.0500.185185185185185
0.0600.185185185185185
0.0700.148148148148148
0.0800.148148148148148
0.0900.111111111111111
0.100.111111111111111
0.1100.0925925925925926
0.1200.0925925925925926
0.1300.0740740740740741
0.1400.0740740740740741
0.1500.0740740740740741
0.1600.0740740740740741
0.1700.0740740740740741
0.1800.0740740740740741
0.1900.0740740740740741
0.200.0555555555555556
0.2100.0555555555555556
0.2200.0555555555555556
0.2300.0555555555555556
0.2400.0555555555555556
0.2500.0555555555555556
0.2600.0555555555555556
0.2700.0555555555555556
0.2800.0555555555555556
0.2900.0555555555555556
0.300.037037037037037
0.3100.037037037037037
0.3200.037037037037037
0.3300.037037037037037
0.3400.037037037037037
0.3500.037037037037037
0.3600.037037037037037
0.3700.037037037037037
0.380.02857142857142860.037037037037037
0.390.02857142857142860.037037037037037
0.40.02857142857142860.0185185185185185
0.410.02857142857142860.0185185185185185
0.420.02857142857142860.0185185185185185
0.430.02857142857142860.0185185185185185
0.440.02857142857142860.0185185185185185
0.450.02857142857142860.0185185185185185
0.460.02857142857142860.0185185185185185
0.470.05714285714285710.0185185185185185
0.480.05714285714285710.0185185185185185
0.490.05714285714285710.0185185185185185
0.50.05714285714285710.0185185185185185
0.510.05714285714285710.0185185185185185
0.520.05714285714285710.0185185185185185
0.530.05714285714285710.0185185185185185
0.540.05714285714285710.0185185185185185
0.550.05714285714285710.0185185185185185
0.560.05714285714285710.0185185185185185
0.570.05714285714285710.0185185185185185
0.580.05714285714285710.0185185185185185
0.590.05714285714285710.0185185185185185
0.60.08571428571428570.0185185185185185
0.610.08571428571428570.0185185185185185
0.620.08571428571428570.0185185185185185
0.630.08571428571428570.0185185185185185
0.640.08571428571428570.0185185185185185
0.650.08571428571428570.0185185185185185
0.660.08571428571428570.0185185185185185
0.670.08571428571428570.0185185185185185
0.680.08571428571428570.0185185185185185
0.690.08571428571428570.0185185185185185
0.70.08571428571428570.0185185185185185
0.710.08571428571428570.0185185185185185
0.720.1142857142857140.0185185185185185
0.730.1142857142857140.0185185185185185
0.740.1142857142857140.0185185185185185
0.750.1142857142857140.0185185185185185
0.760.1142857142857140.0185185185185185
0.770.1142857142857140.0185185185185185
0.780.1142857142857140.0185185185185185
0.790.1142857142857140.0185185185185185
0.80.1142857142857140.0185185185185185
0.810.1142857142857140.0185185185185185
0.820.1142857142857140.0185185185185185
0.830.1142857142857140.0185185185185185
0.840.1142857142857140.0185185185185185
0.850.1142857142857140.0185185185185185
0.860.1142857142857140.0185185185185185
0.870.1428571428571430.0185185185185185
0.880.1428571428571430.0185185185185185
0.890.1428571428571430.0185185185185185
0.90.1428571428571430
0.910.1428571428571430
0.920.20
0.930.20
0.940.20
0.950.2285714285714290
0.960.2571428571428570
0.970.2857142857142860
0.980.3428571428571430
0.990.4571428571428570



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
library(brglm)
roc.plot <- function (sd, sdc, newplot = TRUE, ...)
{
sall <- sort(c(sd, sdc))
sens <- 0
specc <- 0
for (i in length(sall):1) {
sens <- c(sens, mean(sd >= sall[i], na.rm = T))
specc <- c(specc, mean(sdc >= sall[i], na.rm = T))
}
if (newplot) {
plot(specc, sens, xlim = c(0, 1), ylim = c(0, 1), type = 'l',
xlab = '1-specificity', ylab = 'sensitivity', main = 'ROC plot', ...)
abline(0, 1)
}
else lines(specc, sens, ...)
npoints <- length(sens)
area <- sum(0.5 * (sens[-1] + sens[-npoints]) * (specc[-1] -
specc[-npoints]))
lift <- (sens - specc)[-1]
cutoff <- sall[lift == max(lift)][1]
sensopt <- sens[-1][lift == max(lift)][1]
specopt <- 1 - specc[-1][lift == max(lift)][1]
list(area = area, cutoff = cutoff, sensopt = sensopt, specopt = specopt)
}
roc.analysis <- function (object, newdata = NULL, newplot = TRUE, ...)
{
if (is.null(newdata)) {
sd <- object$fitted[object$y == 1]
sdc <- object$fitted[object$y == 0]
}
else {
sd <- predict(object, newdata, type = 'response')[newdata$y ==
1]
sdc <- predict(object, newdata, type = 'response')[newdata$y ==
0]
}
roc.plot(sd, sdc, newplot, ...)
}
hosmerlem <- function (y, yhat, g = 10)
{
cutyhat <- cut(yhat, breaks = quantile(yhat, probs = seq(0,
1, 1/g)), include.lowest = T)
obs <- xtabs(cbind(1 - y, y) ~ cutyhat)
expect <- xtabs(cbind(1 - yhat, yhat) ~ cutyhat)
chisq <- sum((obs - expect)^2/expect)
P <- 1 - pchisq(chisq, g - 2)
c('X^2' = chisq, Df = g - 2, 'P(>Chi)' = P)
}
x <- as.data.frame(t(y))
r <- brglm(x)
summary(r)
rc <- summary(r)$coeff
try(hm <- hosmerlem(y[1,],r$fitted.values),silent=T)
try(hm,silent=T)
bitmap(file='test0.png')
ra <- roc.analysis(r)
dev.off()
te <- array(0,dim=c(2,99))
for (i in 1:99) {
threshold <- i / 100
numcorr1 <- 0
numfaul1 <- 0
numcorr0 <- 0
numfaul0 <- 0
for (j in 1:length(r$fitted.values)) {
if (y[1,j] > 0.99) {
if (r$fitted.values[j] >= threshold) numcorr1 = numcorr1 + 1 else numfaul1 = numfaul1 + 1
} else {
if (r$fitted.values[j] < threshold) numcorr0 = numcorr0 + 1 else numfaul0 = numfaul0 + 1
}
}
te[1,i] <- numfaul1 / (numfaul1 + numcorr1)
te[2,i] <- numfaul0 / (numfaul0 + numcorr0)
}
bitmap(file='test1.png')
op <- par(mfrow=c(2,2))
plot((1:99)/100,te[1,],xlab='Threshold',ylab='Type I error', main='1 - Specificity')
plot((1:99)/100,te[2,],xlab='Threshold',ylab='Type II error', main='1 - Sensitivity')
plot(te[1,],te[2,],xlab='Type I error',ylab='Type II error', main='(1-Sens.) vs (1-Spec.)')
plot((1:99)/100,te[1,]+te[2,],xlab='Threshold',ylab='Sum of Type I & II error', main='(1-Sens.) + (1-Spec.)')
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Coefficients of Bias-Reduced Logistic Regression',5,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.E.',header=TRUE)
a<-table.element(a,'t-stat',header=TRUE)
a<-table.element(a,'2-sided p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(rc[,1])) {
a<-table.row.start(a)
a<-table.element(a,labels(rc)[[1]][i],header=TRUE)
a<-table.element(a,rc[i,1])
a<-table.element(a,rc[i,2])
a<-table.element(a,rc[i,3])
a<-table.element(a,2*(1-pt(abs(rc[i,3]),r$df.residual)))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Summary of Bias-Reduced Logistic Regression',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Deviance',1,TRUE)
a<-table.element(a,r$deviance)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Penalized deviance',1,TRUE)
a<-table.element(a,r$penalized.deviance)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Residual Degrees of Freedom',1,TRUE)
a<-table.element(a,r$df.residual)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'ROC Area',1,TRUE)
a<-table.element(a,ra$area)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Hosmer–Lemeshow test',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Chi-square',1,TRUE)
phm <- array('NA',dim=3)
for (i in 1:3) { try(phm[i] <- hm[i],silent=T) }
a<-table.element(a,phm[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degrees of Freedom',1,TRUE)
a<-table.element(a,phm[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'P(>Chi)',1,TRUE)
a<-table.element(a,phm[3])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Fit of Logistic Regression',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Index',1,TRUE)
a<-table.element(a,'Actual',1,TRUE)
a<-table.element(a,'Fitted',1,TRUE)
a<-table.element(a,'Error',1,TRUE)
a<-table.row.end(a)
for (i in 1:length(r$fitted.values)) {
a<-table.row.start(a)
a<-table.element(a,i,1,TRUE)
a<-table.element(a,y[1,i])
a<-table.element(a,r$fitted.values[i])
a<-table.element(a,y[1,i]-r$fitted.values[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Type I & II errors for various threshold values',3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Threshold',1,TRUE)
a<-table.element(a,'Type I',1,TRUE)
a<-table.element(a,'Type II',1,TRUE)
a<-table.row.end(a)
for (i in 1:99) {
a<-table.row.start(a)
a<-table.element(a,i/100,1,TRUE)
a<-table.element(a,te[1,i])
a<-table.element(a,te[2,i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable3.tab')