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 computationTue, 03 Sep 2013 07:01:30 -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/03/t1378206148gk6m8twcho04jbf.htm/, Retrieved Mon, 29 Apr 2024 07:20:15 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=211384, Retrieved Mon, 29 Apr 2024 07:20:15 +0000
QR Codes:

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

Post a new message
Dataseries X:
1	18	17	15	8	8	7	23
1	21	16	12	19	6	4	24
1	23	14	13	23	9	0	18
1	19	17	11	16	11	6	22
1	21	16	15	8	7	8	16
1	19	15	17	10	9	7	16
1	20	16	18	3	11	13	18
0	23	5	12	1	10	12	12
1	24	14	16	10	10	10	16
0	17	12	19	7	6	11	11
0	21	12	14	13	6	13	8
1	16	5	15	14	7	12	20
1	19	11	18	15	8	10	22
0	19	17	16	11	7	11	17
0	18	9	19	18	6	9	9
0	17	10	20	18	8	10	10
0	17	16	19	12	10	12	11
0	18	9	12	14	11	9	16
1	20	12	13	15	9	11	17
0	18	12	14	16	9	12	11
0	35	10	25	30	17	15	20
0	32	16	25	25	14	16	20
0	30	16	20	32	14	12	25
1	29	15	28	38	13	19	30
0	34	16	23	28	17	18	35
0	25	11	14	25	10	20	33
0	37	19	15	26	10	16	39
0	28	12	23	25	15	20	38
0	29	10	18	29	20	20	50
0	32	12	23	28	14	19	35
0	32	18	21	37	15	16	40
0	31	14	16	34	19	17	36
0	34	10	16	31	13	16	49
0	29	17	23	26	16	22	35
1	34	16	25	36	18	18	39
0	28	15	23	32	16	20	30
0	29	19	22	29	17	19	32
0	31	14	24	36	16	16	35
0	31	15	18	30	13	21	32
0	26	17	16	29	14	22	43
0	38	40	46	55	27	28	83
0	35	32	52	50	24	29	65
0	35	41	48	51	23	32	85
0	36	40	37	65	26	28	100
0	36	31	47	50	25	28	60
0	32	25	54	49	28	27	76
0	35	41	37	52	26	31	67
0	38	48	37	64	19	28	60
0	30	28	41	50	19	31	66
0	36	43	30	48	20	28	56
0	35	48	34	44	24	27	64
0	33	36	55	50	20	31	77
0	35	48	30	53	20	29	65
0	30	45	33	50	23	27	100
0	35	33	48	57	25	26	93
0	38	45	47	51	25	31	81
0	34	25	36	54	25	29	76
0	33	32	24	49	20	27	62
0	32	35	31	55	19	28	60
0	35	39	31	51	18	28	74
0	50	52	57	99	38	42	106
0	47	40	45	104	31	39	85
0	47	53	48	103	27	41	80
0	60	55	35	101	30	43	83
0	45	56	35	102	47	40	80
0	48	49	52	98	34	41	80
0	47	58	49	104	34	38	82
0	46	57	54	97	32	38	82
0	62	55	42	96	34	36	87
0	69	53	40	93	40	37	84
0	59	52	34	74	36	39	100
0	65	64	54	97	50	41	110
0	57	48	38	105	47	43	99
0	58	66	41	70	45	42	111
0	56	49	54	84	31	39	123
0	68	52	37	99	21	41	105
0	50	67	35	70	28	38	104
0	70	53	41	84	31	40	72
0	69	62	47	91	40	42	90
0	71	40	45	86	36	41	91




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Sir Maurice George Kendall' @ kendall.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 & 3 seconds \tabularnewline
R Server & 'Sir Maurice George Kendall' @ kendall.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211384&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Maurice George Kendall' @ kendall.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211384&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211384&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 time3 seconds
R Server'Sir Maurice George Kendall' @ kendall.wessa.net







Coefficients of Bias-Reduced Logistic Regression
VariableParameterS.E.t-stat2-sided p-value
(Intercept)1.732267884202651.838766855392670.9420813079822010.34930132110845
X10.02132290243239240.101476317130760.2101268851225270.834162133290989
X20.01424961346684140.07162064294753610.1989595859573560.84285513188216
X30.05614558956466610.07868905572408910.7135120513014140.477835428939011
X4-0.05132533060361980.0679251148100896-0.7556163982515040.452344181999069
X5-0.01002663717808040.172603944743242-0.05809042888907070.953837519290216
X6-0.3339578811660070.141792205329428-2.355262621031370.0212375366119693
X70.05545736331839160.04525757597668391.225371932137120.224428504879641

\begin{tabular}{lllllllll}
\hline
Coefficients of Bias-Reduced Logistic Regression \tabularnewline
Variable & Parameter & S.E. & t-stat & 2-sided p-value \tabularnewline
(Intercept) & 1.73226788420265 & 1.83876685539267 & 0.942081307982201 & 0.34930132110845 \tabularnewline
X1 & 0.0213229024323924 & 0.10147631713076 & 0.210126885122527 & 0.834162133290989 \tabularnewline
X2 & 0.0142496134668414 & 0.0716206429475361 & 0.198959585957356 & 0.84285513188216 \tabularnewline
X3 & 0.0561455895646661 & 0.0786890557240891 & 0.713512051301414 & 0.477835428939011 \tabularnewline
X4 & -0.0513253306036198 & 0.0679251148100896 & -0.755616398251504 & 0.452344181999069 \tabularnewline
X5 & -0.0100266371780804 & 0.172603944743242 & -0.0580904288890707 & 0.953837519290216 \tabularnewline
X6 & -0.333957881166007 & 0.141792205329428 & -2.35526262103137 & 0.0212375366119693 \tabularnewline
X7 & 0.0554573633183916 & 0.0452575759766839 & 1.22537193213712 & 0.224428504879641 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211384&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]1.73226788420265[/C][C]1.83876685539267[/C][C]0.942081307982201[/C][C]0.34930132110845[/C][/ROW]
[ROW][C]X1[/C][C]0.0213229024323924[/C][C]0.10147631713076[/C][C]0.210126885122527[/C][C]0.834162133290989[/C][/ROW]
[ROW][C]X2[/C][C]0.0142496134668414[/C][C]0.0716206429475361[/C][C]0.198959585957356[/C][C]0.84285513188216[/C][/ROW]
[ROW][C]X3[/C][C]0.0561455895646661[/C][C]0.0786890557240891[/C][C]0.713512051301414[/C][C]0.477835428939011[/C][/ROW]
[ROW][C]X4[/C][C]-0.0513253306036198[/C][C]0.0679251148100896[/C][C]-0.755616398251504[/C][C]0.452344181999069[/C][/ROW]
[ROW][C]X5[/C][C]-0.0100266371780804[/C][C]0.172603944743242[/C][C]-0.0580904288890707[/C][C]0.953837519290216[/C][/ROW]
[ROW][C]X6[/C][C]-0.333957881166007[/C][C]0.141792205329428[/C][C]-2.35526262103137[/C][C]0.0212375366119693[/C][/ROW]
[ROW][C]X7[/C][C]0.0554573633183916[/C][C]0.0452575759766839[/C][C]1.22537193213712[/C][C]0.224428504879641[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211384&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211384&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)1.732267884202651.838766855392670.9420813079822010.34930132110845
X10.02132290243239240.101476317130760.2101268851225270.834162133290989
X20.01424961346684140.07162064294753610.1989595859573560.84285513188216
X30.05614558956466610.07868905572408910.7135120513014140.477835428939011
X4-0.05132533060361980.0679251148100896-0.7556163982515040.452344181999069
X5-0.01002663717808040.172603944743242-0.05809042888907070.953837519290216
X6-0.3339578811660070.141792205329428-2.355262621031370.0212375366119693
X70.05545736331839160.04525757597668391.225371932137120.224428504879641







Summary of Bias-Reduced Logistic Regression
Deviance36.7791333693698
Penalized deviance-2.56945269202527
Residual Degrees of Freedom72
ROC Area0.927669345579793
Hosmer–Lemeshow test
Chi-square5.46766322080072
Degrees of Freedom8
P(>Chi)0.706619945699024

\begin{tabular}{lllllllll}
\hline
Summary of Bias-Reduced Logistic Regression \tabularnewline
Deviance & 36.7791333693698 \tabularnewline
Penalized deviance & -2.56945269202527 \tabularnewline
Residual Degrees of Freedom & 72 \tabularnewline
ROC Area & 0.927669345579793 \tabularnewline
Hosmer–Lemeshow test \tabularnewline
Chi-square & 5.46766322080072 \tabularnewline
Degrees of Freedom & 8 \tabularnewline
P(>Chi) & 0.706619945699024 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211384&T=2

[TABLE]
[ROW][C]Summary of Bias-Reduced Logistic Regression[/C][/ROW]
[ROW][C]Deviance[/C][C]36.7791333693698[/C][/ROW]
[ROW][C]Penalized deviance[/C][C]-2.56945269202527[/C][/ROW]
[ROW][C]Residual Degrees of Freedom[/C][C]72[/C][/ROW]
[ROW][C]ROC Area[/C][C]0.927669345579793[/C][/ROW]
[ROW][C]Hosmer–Lemeshow test[/C][/ROW]
[ROW][C]Chi-square[/C][C]5.46766322080072[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]8[/C][/ROW]
[ROW][C]P(>Chi)[/C][C]0.706619945699024[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211384&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211384&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
Deviance36.7791333693698
Penalized deviance-2.56945269202527
Residual Degrees of Freedom72
ROC Area0.927669345579793
Hosmer–Lemeshow test
Chi-square5.46766322080072
Degrees of Freedom8
P(>Chi)0.706619945699024







Fit of Logistic Regression
IndexActualFittedError
110.8385536734358360.161446326564164
210.885095460921870.11490453907813
310.9468283315580160.0531716684419844
410.7828009699004680.217199030099532
510.7281174414646020.271882558535398
610.7776012397128360.222398760287164
710.4476553582488370.552344641751163
800.371471755326636-0.371471755326636
910.5685802347116840.431419765288316
1000.462464739231437-0.462464739231437
1100.18420704542887-0.18420704542887
1210.3317629734091920.668237026590808
1310.5830142343305830.416985765669417
1400.478126290054562-0.478126290054562
1500.455263062445367-0.455263062445367
1600.394386864390845-0.394386864390845
1700.326487108267406-0.326487108267406
1800.492731254409046-0.492731254409046
1910.3702213703217950.629778629678205
2000.225168799611035-0.225168799611035
2100.169985736056542-0.169985736056542
2200.166387300194487-0.166387300194487
2300.336041847255469-0.336041847255469
2410.06750041727670390.932499582723296
2500.154307651656155-0.154307651656155
2600.0463383150163652-0.0463383150163652
2700.272679102792488-0.272679102792488
2800.0985307219286016-0.0985307219286016
2900.109924943925001-0.109924943925001
3000.108637986059593-0.108637986059593
3100.210100925498452-0.210100925498452
3200.106663494695624-0.106663494695624
3300.299585029252256-0.299585029252256
3400.0466759241124083-0.0466759241124083
3510.1433529841379410.856647015862059
3600.0481598427121615-0.0481598427121615
3700.0852647268322056-0.0852647268322056
3800.186913754646768-0.186913754646768
3900.03588319390284-0.03588319390284
4000.0405440230093349-0.0405440230093349
4100.104681972834929-0.104681972834929
4200.0459646543648414-0.0459646543648414
4300.0446514736992663-0.0446514736992663
4400.0949482883013062-0.0949482883013062
4500.0369749689858158-0.0369749689858158
4600.142450139356476-0.142450139356476
4700.011815346999043-0.011815346999043
4800.014849917299322-0.014849917299322
4900.0124148710501796-0.0124148710501796
5000.0161054104019854-0.0161054104019854
5100.052399079614793-0.052399079614793
5200.0566599377654849-0.0566599377654849
5300.0154601808700434-0.0154601808700434
5400.197496773809751-0.197496773809751
5500.25773299400431-0.25773299400431
5600.0518433929589748-0.0518433929589748
5700.0251475758428545-0.0251475758428545
5800.0170472062238974-0.0170472062238974
5900.0123346974816216-0.0123346974816216
6000.036606735613808-0.036606735613808
6100.00103711072885921-0.00103711072885921
6200.000295023271616947-0.000295023271616947
6300.000178945517766196-0.000178945517766196
6407.62498516392942e-05-7.62498516392942e-05
6500.000103763826864315-0.000103763826864315
6600.000260433326310919-0.000260433326310919
6700.000547511204356927-0.000547511204356927
6800.00102187475107374-0.00102187475107374
6900.00188922197768032-0.00188922197768032
7000.00126965061001034-0.00126965061001034
7100.00247903112006866-0.00247903112006866
7200.00244867033345635-0.00244867033345635
7300.000127772120414972-0.000127772120414972
7400.00332486563924295-0.00332486563924295
7500.0152349360553485-0.0152349360553485
7600.000776121444887388-0.000776121444887388
7700.00619302130303544-0.00619302130303544
7800.000450154758436862-0.000450154758436862
7900.000622669393120081-0.000622669393120081
8000.000842865104895583-0.000842865104895583

\begin{tabular}{lllllllll}
\hline
Fit of Logistic Regression \tabularnewline
Index & Actual & Fitted & Error \tabularnewline
1 & 1 & 0.838553673435836 & 0.161446326564164 \tabularnewline
2 & 1 & 0.88509546092187 & 0.11490453907813 \tabularnewline
3 & 1 & 0.946828331558016 & 0.0531716684419844 \tabularnewline
4 & 1 & 0.782800969900468 & 0.217199030099532 \tabularnewline
5 & 1 & 0.728117441464602 & 0.271882558535398 \tabularnewline
6 & 1 & 0.777601239712836 & 0.222398760287164 \tabularnewline
7 & 1 & 0.447655358248837 & 0.552344641751163 \tabularnewline
8 & 0 & 0.371471755326636 & -0.371471755326636 \tabularnewline
9 & 1 & 0.568580234711684 & 0.431419765288316 \tabularnewline
10 & 0 & 0.462464739231437 & -0.462464739231437 \tabularnewline
11 & 0 & 0.18420704542887 & -0.18420704542887 \tabularnewline
12 & 1 & 0.331762973409192 & 0.668237026590808 \tabularnewline
13 & 1 & 0.583014234330583 & 0.416985765669417 \tabularnewline
14 & 0 & 0.478126290054562 & -0.478126290054562 \tabularnewline
15 & 0 & 0.455263062445367 & -0.455263062445367 \tabularnewline
16 & 0 & 0.394386864390845 & -0.394386864390845 \tabularnewline
17 & 0 & 0.326487108267406 & -0.326487108267406 \tabularnewline
18 & 0 & 0.492731254409046 & -0.492731254409046 \tabularnewline
19 & 1 & 0.370221370321795 & 0.629778629678205 \tabularnewline
20 & 0 & 0.225168799611035 & -0.225168799611035 \tabularnewline
21 & 0 & 0.169985736056542 & -0.169985736056542 \tabularnewline
22 & 0 & 0.166387300194487 & -0.166387300194487 \tabularnewline
23 & 0 & 0.336041847255469 & -0.336041847255469 \tabularnewline
24 & 1 & 0.0675004172767039 & 0.932499582723296 \tabularnewline
25 & 0 & 0.154307651656155 & -0.154307651656155 \tabularnewline
26 & 0 & 0.0463383150163652 & -0.0463383150163652 \tabularnewline
27 & 0 & 0.272679102792488 & -0.272679102792488 \tabularnewline
28 & 0 & 0.0985307219286016 & -0.0985307219286016 \tabularnewline
29 & 0 & 0.109924943925001 & -0.109924943925001 \tabularnewline
30 & 0 & 0.108637986059593 & -0.108637986059593 \tabularnewline
31 & 0 & 0.210100925498452 & -0.210100925498452 \tabularnewline
32 & 0 & 0.106663494695624 & -0.106663494695624 \tabularnewline
33 & 0 & 0.299585029252256 & -0.299585029252256 \tabularnewline
34 & 0 & 0.0466759241124083 & -0.0466759241124083 \tabularnewline
35 & 1 & 0.143352984137941 & 0.856647015862059 \tabularnewline
36 & 0 & 0.0481598427121615 & -0.0481598427121615 \tabularnewline
37 & 0 & 0.0852647268322056 & -0.0852647268322056 \tabularnewline
38 & 0 & 0.186913754646768 & -0.186913754646768 \tabularnewline
39 & 0 & 0.03588319390284 & -0.03588319390284 \tabularnewline
40 & 0 & 0.0405440230093349 & -0.0405440230093349 \tabularnewline
41 & 0 & 0.104681972834929 & -0.104681972834929 \tabularnewline
42 & 0 & 0.0459646543648414 & -0.0459646543648414 \tabularnewline
43 & 0 & 0.0446514736992663 & -0.0446514736992663 \tabularnewline
44 & 0 & 0.0949482883013062 & -0.0949482883013062 \tabularnewline
45 & 0 & 0.0369749689858158 & -0.0369749689858158 \tabularnewline
46 & 0 & 0.142450139356476 & -0.142450139356476 \tabularnewline
47 & 0 & 0.011815346999043 & -0.011815346999043 \tabularnewline
48 & 0 & 0.014849917299322 & -0.014849917299322 \tabularnewline
49 & 0 & 0.0124148710501796 & -0.0124148710501796 \tabularnewline
50 & 0 & 0.0161054104019854 & -0.0161054104019854 \tabularnewline
51 & 0 & 0.052399079614793 & -0.052399079614793 \tabularnewline
52 & 0 & 0.0566599377654849 & -0.0566599377654849 \tabularnewline
53 & 0 & 0.0154601808700434 & -0.0154601808700434 \tabularnewline
54 & 0 & 0.197496773809751 & -0.197496773809751 \tabularnewline
55 & 0 & 0.25773299400431 & -0.25773299400431 \tabularnewline
56 & 0 & 0.0518433929589748 & -0.0518433929589748 \tabularnewline
57 & 0 & 0.0251475758428545 & -0.0251475758428545 \tabularnewline
58 & 0 & 0.0170472062238974 & -0.0170472062238974 \tabularnewline
59 & 0 & 0.0123346974816216 & -0.0123346974816216 \tabularnewline
60 & 0 & 0.036606735613808 & -0.036606735613808 \tabularnewline
61 & 0 & 0.00103711072885921 & -0.00103711072885921 \tabularnewline
62 & 0 & 0.000295023271616947 & -0.000295023271616947 \tabularnewline
63 & 0 & 0.000178945517766196 & -0.000178945517766196 \tabularnewline
64 & 0 & 7.62498516392942e-05 & -7.62498516392942e-05 \tabularnewline
65 & 0 & 0.000103763826864315 & -0.000103763826864315 \tabularnewline
66 & 0 & 0.000260433326310919 & -0.000260433326310919 \tabularnewline
67 & 0 & 0.000547511204356927 & -0.000547511204356927 \tabularnewline
68 & 0 & 0.00102187475107374 & -0.00102187475107374 \tabularnewline
69 & 0 & 0.00188922197768032 & -0.00188922197768032 \tabularnewline
70 & 0 & 0.00126965061001034 & -0.00126965061001034 \tabularnewline
71 & 0 & 0.00247903112006866 & -0.00247903112006866 \tabularnewline
72 & 0 & 0.00244867033345635 & -0.00244867033345635 \tabularnewline
73 & 0 & 0.000127772120414972 & -0.000127772120414972 \tabularnewline
74 & 0 & 0.00332486563924295 & -0.00332486563924295 \tabularnewline
75 & 0 & 0.0152349360553485 & -0.0152349360553485 \tabularnewline
76 & 0 & 0.000776121444887388 & -0.000776121444887388 \tabularnewline
77 & 0 & 0.00619302130303544 & -0.00619302130303544 \tabularnewline
78 & 0 & 0.000450154758436862 & -0.000450154758436862 \tabularnewline
79 & 0 & 0.000622669393120081 & -0.000622669393120081 \tabularnewline
80 & 0 & 0.000842865104895583 & -0.000842865104895583 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211384&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]1[/C][C]0.838553673435836[/C][C]0.161446326564164[/C][/ROW]
[ROW][C]2[/C][C]1[/C][C]0.88509546092187[/C][C]0.11490453907813[/C][/ROW]
[ROW][C]3[/C][C]1[/C][C]0.946828331558016[/C][C]0.0531716684419844[/C][/ROW]
[ROW][C]4[/C][C]1[/C][C]0.782800969900468[/C][C]0.217199030099532[/C][/ROW]
[ROW][C]5[/C][C]1[/C][C]0.728117441464602[/C][C]0.271882558535398[/C][/ROW]
[ROW][C]6[/C][C]1[/C][C]0.777601239712836[/C][C]0.222398760287164[/C][/ROW]
[ROW][C]7[/C][C]1[/C][C]0.447655358248837[/C][C]0.552344641751163[/C][/ROW]
[ROW][C]8[/C][C]0[/C][C]0.371471755326636[/C][C]-0.371471755326636[/C][/ROW]
[ROW][C]9[/C][C]1[/C][C]0.568580234711684[/C][C]0.431419765288316[/C][/ROW]
[ROW][C]10[/C][C]0[/C][C]0.462464739231437[/C][C]-0.462464739231437[/C][/ROW]
[ROW][C]11[/C][C]0[/C][C]0.18420704542887[/C][C]-0.18420704542887[/C][/ROW]
[ROW][C]12[/C][C]1[/C][C]0.331762973409192[/C][C]0.668237026590808[/C][/ROW]
[ROW][C]13[/C][C]1[/C][C]0.583014234330583[/C][C]0.416985765669417[/C][/ROW]
[ROW][C]14[/C][C]0[/C][C]0.478126290054562[/C][C]-0.478126290054562[/C][/ROW]
[ROW][C]15[/C][C]0[/C][C]0.455263062445367[/C][C]-0.455263062445367[/C][/ROW]
[ROW][C]16[/C][C]0[/C][C]0.394386864390845[/C][C]-0.394386864390845[/C][/ROW]
[ROW][C]17[/C][C]0[/C][C]0.326487108267406[/C][C]-0.326487108267406[/C][/ROW]
[ROW][C]18[/C][C]0[/C][C]0.492731254409046[/C][C]-0.492731254409046[/C][/ROW]
[ROW][C]19[/C][C]1[/C][C]0.370221370321795[/C][C]0.629778629678205[/C][/ROW]
[ROW][C]20[/C][C]0[/C][C]0.225168799611035[/C][C]-0.225168799611035[/C][/ROW]
[ROW][C]21[/C][C]0[/C][C]0.169985736056542[/C][C]-0.169985736056542[/C][/ROW]
[ROW][C]22[/C][C]0[/C][C]0.166387300194487[/C][C]-0.166387300194487[/C][/ROW]
[ROW][C]23[/C][C]0[/C][C]0.336041847255469[/C][C]-0.336041847255469[/C][/ROW]
[ROW][C]24[/C][C]1[/C][C]0.0675004172767039[/C][C]0.932499582723296[/C][/ROW]
[ROW][C]25[/C][C]0[/C][C]0.154307651656155[/C][C]-0.154307651656155[/C][/ROW]
[ROW][C]26[/C][C]0[/C][C]0.0463383150163652[/C][C]-0.0463383150163652[/C][/ROW]
[ROW][C]27[/C][C]0[/C][C]0.272679102792488[/C][C]-0.272679102792488[/C][/ROW]
[ROW][C]28[/C][C]0[/C][C]0.0985307219286016[/C][C]-0.0985307219286016[/C][/ROW]
[ROW][C]29[/C][C]0[/C][C]0.109924943925001[/C][C]-0.109924943925001[/C][/ROW]
[ROW][C]30[/C][C]0[/C][C]0.108637986059593[/C][C]-0.108637986059593[/C][/ROW]
[ROW][C]31[/C][C]0[/C][C]0.210100925498452[/C][C]-0.210100925498452[/C][/ROW]
[ROW][C]32[/C][C]0[/C][C]0.106663494695624[/C][C]-0.106663494695624[/C][/ROW]
[ROW][C]33[/C][C]0[/C][C]0.299585029252256[/C][C]-0.299585029252256[/C][/ROW]
[ROW][C]34[/C][C]0[/C][C]0.0466759241124083[/C][C]-0.0466759241124083[/C][/ROW]
[ROW][C]35[/C][C]1[/C][C]0.143352984137941[/C][C]0.856647015862059[/C][/ROW]
[ROW][C]36[/C][C]0[/C][C]0.0481598427121615[/C][C]-0.0481598427121615[/C][/ROW]
[ROW][C]37[/C][C]0[/C][C]0.0852647268322056[/C][C]-0.0852647268322056[/C][/ROW]
[ROW][C]38[/C][C]0[/C][C]0.186913754646768[/C][C]-0.186913754646768[/C][/ROW]
[ROW][C]39[/C][C]0[/C][C]0.03588319390284[/C][C]-0.03588319390284[/C][/ROW]
[ROW][C]40[/C][C]0[/C][C]0.0405440230093349[/C][C]-0.0405440230093349[/C][/ROW]
[ROW][C]41[/C][C]0[/C][C]0.104681972834929[/C][C]-0.104681972834929[/C][/ROW]
[ROW][C]42[/C][C]0[/C][C]0.0459646543648414[/C][C]-0.0459646543648414[/C][/ROW]
[ROW][C]43[/C][C]0[/C][C]0.0446514736992663[/C][C]-0.0446514736992663[/C][/ROW]
[ROW][C]44[/C][C]0[/C][C]0.0949482883013062[/C][C]-0.0949482883013062[/C][/ROW]
[ROW][C]45[/C][C]0[/C][C]0.0369749689858158[/C][C]-0.0369749689858158[/C][/ROW]
[ROW][C]46[/C][C]0[/C][C]0.142450139356476[/C][C]-0.142450139356476[/C][/ROW]
[ROW][C]47[/C][C]0[/C][C]0.011815346999043[/C][C]-0.011815346999043[/C][/ROW]
[ROW][C]48[/C][C]0[/C][C]0.014849917299322[/C][C]-0.014849917299322[/C][/ROW]
[ROW][C]49[/C][C]0[/C][C]0.0124148710501796[/C][C]-0.0124148710501796[/C][/ROW]
[ROW][C]50[/C][C]0[/C][C]0.0161054104019854[/C][C]-0.0161054104019854[/C][/ROW]
[ROW][C]51[/C][C]0[/C][C]0.052399079614793[/C][C]-0.052399079614793[/C][/ROW]
[ROW][C]52[/C][C]0[/C][C]0.0566599377654849[/C][C]-0.0566599377654849[/C][/ROW]
[ROW][C]53[/C][C]0[/C][C]0.0154601808700434[/C][C]-0.0154601808700434[/C][/ROW]
[ROW][C]54[/C][C]0[/C][C]0.197496773809751[/C][C]-0.197496773809751[/C][/ROW]
[ROW][C]55[/C][C]0[/C][C]0.25773299400431[/C][C]-0.25773299400431[/C][/ROW]
[ROW][C]56[/C][C]0[/C][C]0.0518433929589748[/C][C]-0.0518433929589748[/C][/ROW]
[ROW][C]57[/C][C]0[/C][C]0.0251475758428545[/C][C]-0.0251475758428545[/C][/ROW]
[ROW][C]58[/C][C]0[/C][C]0.0170472062238974[/C][C]-0.0170472062238974[/C][/ROW]
[ROW][C]59[/C][C]0[/C][C]0.0123346974816216[/C][C]-0.0123346974816216[/C][/ROW]
[ROW][C]60[/C][C]0[/C][C]0.036606735613808[/C][C]-0.036606735613808[/C][/ROW]
[ROW][C]61[/C][C]0[/C][C]0.00103711072885921[/C][C]-0.00103711072885921[/C][/ROW]
[ROW][C]62[/C][C]0[/C][C]0.000295023271616947[/C][C]-0.000295023271616947[/C][/ROW]
[ROW][C]63[/C][C]0[/C][C]0.000178945517766196[/C][C]-0.000178945517766196[/C][/ROW]
[ROW][C]64[/C][C]0[/C][C]7.62498516392942e-05[/C][C]-7.62498516392942e-05[/C][/ROW]
[ROW][C]65[/C][C]0[/C][C]0.000103763826864315[/C][C]-0.000103763826864315[/C][/ROW]
[ROW][C]66[/C][C]0[/C][C]0.000260433326310919[/C][C]-0.000260433326310919[/C][/ROW]
[ROW][C]67[/C][C]0[/C][C]0.000547511204356927[/C][C]-0.000547511204356927[/C][/ROW]
[ROW][C]68[/C][C]0[/C][C]0.00102187475107374[/C][C]-0.00102187475107374[/C][/ROW]
[ROW][C]69[/C][C]0[/C][C]0.00188922197768032[/C][C]-0.00188922197768032[/C][/ROW]
[ROW][C]70[/C][C]0[/C][C]0.00126965061001034[/C][C]-0.00126965061001034[/C][/ROW]
[ROW][C]71[/C][C]0[/C][C]0.00247903112006866[/C][C]-0.00247903112006866[/C][/ROW]
[ROW][C]72[/C][C]0[/C][C]0.00244867033345635[/C][C]-0.00244867033345635[/C][/ROW]
[ROW][C]73[/C][C]0[/C][C]0.000127772120414972[/C][C]-0.000127772120414972[/C][/ROW]
[ROW][C]74[/C][C]0[/C][C]0.00332486563924295[/C][C]-0.00332486563924295[/C][/ROW]
[ROW][C]75[/C][C]0[/C][C]0.0152349360553485[/C][C]-0.0152349360553485[/C][/ROW]
[ROW][C]76[/C][C]0[/C][C]0.000776121444887388[/C][C]-0.000776121444887388[/C][/ROW]
[ROW][C]77[/C][C]0[/C][C]0.00619302130303544[/C][C]-0.00619302130303544[/C][/ROW]
[ROW][C]78[/C][C]0[/C][C]0.000450154758436862[/C][C]-0.000450154758436862[/C][/ROW]
[ROW][C]79[/C][C]0[/C][C]0.000622669393120081[/C][C]-0.000622669393120081[/C][/ROW]
[ROW][C]80[/C][C]0[/C][C]0.000842865104895583[/C][C]-0.000842865104895583[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211384&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211384&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
110.8385536734358360.161446326564164
210.885095460921870.11490453907813
310.9468283315580160.0531716684419844
410.7828009699004680.217199030099532
510.7281174414646020.271882558535398
610.7776012397128360.222398760287164
710.4476553582488370.552344641751163
800.371471755326636-0.371471755326636
910.5685802347116840.431419765288316
1000.462464739231437-0.462464739231437
1100.18420704542887-0.18420704542887
1210.3317629734091920.668237026590808
1310.5830142343305830.416985765669417
1400.478126290054562-0.478126290054562
1500.455263062445367-0.455263062445367
1600.394386864390845-0.394386864390845
1700.326487108267406-0.326487108267406
1800.492731254409046-0.492731254409046
1910.3702213703217950.629778629678205
2000.225168799611035-0.225168799611035
2100.169985736056542-0.169985736056542
2200.166387300194487-0.166387300194487
2300.336041847255469-0.336041847255469
2410.06750041727670390.932499582723296
2500.154307651656155-0.154307651656155
2600.0463383150163652-0.0463383150163652
2700.272679102792488-0.272679102792488
2800.0985307219286016-0.0985307219286016
2900.109924943925001-0.109924943925001
3000.108637986059593-0.108637986059593
3100.210100925498452-0.210100925498452
3200.106663494695624-0.106663494695624
3300.299585029252256-0.299585029252256
3400.0466759241124083-0.0466759241124083
3510.1433529841379410.856647015862059
3600.0481598427121615-0.0481598427121615
3700.0852647268322056-0.0852647268322056
3800.186913754646768-0.186913754646768
3900.03588319390284-0.03588319390284
4000.0405440230093349-0.0405440230093349
4100.104681972834929-0.104681972834929
4200.0459646543648414-0.0459646543648414
4300.0446514736992663-0.0446514736992663
4400.0949482883013062-0.0949482883013062
4500.0369749689858158-0.0369749689858158
4600.142450139356476-0.142450139356476
4700.011815346999043-0.011815346999043
4800.014849917299322-0.014849917299322
4900.0124148710501796-0.0124148710501796
5000.0161054104019854-0.0161054104019854
5100.052399079614793-0.052399079614793
5200.0566599377654849-0.0566599377654849
5300.0154601808700434-0.0154601808700434
5400.197496773809751-0.197496773809751
5500.25773299400431-0.25773299400431
5600.0518433929589748-0.0518433929589748
5700.0251475758428545-0.0251475758428545
5800.0170472062238974-0.0170472062238974
5900.0123346974816216-0.0123346974816216
6000.036606735613808-0.036606735613808
6100.00103711072885921-0.00103711072885921
6200.000295023271616947-0.000295023271616947
6300.000178945517766196-0.000178945517766196
6407.62498516392942e-05-7.62498516392942e-05
6500.000103763826864315-0.000103763826864315
6600.000260433326310919-0.000260433326310919
6700.000547511204356927-0.000547511204356927
6800.00102187475107374-0.00102187475107374
6900.00188922197768032-0.00188922197768032
7000.00126965061001034-0.00126965061001034
7100.00247903112006866-0.00247903112006866
7200.00244867033345635-0.00244867033345635
7300.000127772120414972-0.000127772120414972
7400.00332486563924295-0.00332486563924295
7500.0152349360553485-0.0152349360553485
7600.000776121444887388-0.000776121444887388
7700.00619302130303544-0.00619302130303544
7800.000450154758436862-0.000450154758436862
7900.000622669393120081-0.000622669393120081
8000.000842865104895583-0.000842865104895583







Type I & II errors for various threshold values
ThresholdType IType II
0.0100.716417910447761
0.0200.597014925373134
0.0300.582089552238806
0.0400.537313432835821
0.0500.447761194029851
0.0600.402985074626866
0.070.07692307692307690.402985074626866
0.080.07692307692307690.402985074626866
0.090.07692307692307690.388059701492537
0.10.07692307692307690.358208955223881
0.110.07692307692307690.298507462686567
0.120.07692307692307690.298507462686567
0.130.07692307692307690.298507462686567
0.140.07692307692307690.298507462686567
0.150.1538461538461540.283582089552239
0.160.1538461538461540.26865671641791
0.170.1538461538461540.238805970149254
0.180.1538461538461540.238805970149254
0.190.1538461538461540.208955223880597
0.20.1538461538461540.194029850746269
0.210.1538461538461540.194029850746269
0.220.1538461538461540.17910447761194
0.230.1538461538461540.164179104477612
0.240.1538461538461540.164179104477612
0.250.1538461538461540.164179104477612
0.260.1538461538461540.149253731343284
0.270.1538461538461540.149253731343284
0.280.1538461538461540.134328358208955
0.290.1538461538461540.134328358208955
0.30.1538461538461540.119402985074627
0.310.1538461538461540.119402985074627
0.320.1538461538461540.119402985074627
0.330.1538461538461540.104477611940299
0.340.2307692307692310.0895522388059701
0.350.2307692307692310.0895522388059701
0.360.2307692307692310.0895522388059701
0.370.2307692307692310.0895522388059701
0.380.3076923076923080.0746268656716418
0.390.3076923076923080.0746268656716418
0.40.3076923076923080.0597014925373134
0.410.3076923076923080.0597014925373134
0.420.3076923076923080.0597014925373134
0.430.3076923076923080.0597014925373134
0.440.3076923076923080.0597014925373134
0.450.3846153846153850.0597014925373134
0.460.3846153846153850.0447761194029851
0.470.3846153846153850.0298507462686567
0.480.3846153846153850.0149253731343284
0.490.3846153846153850.0149253731343284
0.50.3846153846153850
0.510.3846153846153850
0.520.3846153846153850
0.530.3846153846153850
0.540.3846153846153850
0.550.3846153846153850
0.560.3846153846153850
0.570.4615384615384620
0.580.4615384615384620
0.590.5384615384615380
0.60.5384615384615380
0.610.5384615384615380
0.620.5384615384615380
0.630.5384615384615380
0.640.5384615384615380
0.650.5384615384615380
0.660.5384615384615380
0.670.5384615384615380
0.680.5384615384615380
0.690.5384615384615380
0.70.5384615384615380
0.710.5384615384615380
0.720.5384615384615380
0.730.6153846153846150
0.740.6153846153846150
0.750.6153846153846150
0.760.6153846153846150
0.770.6153846153846150
0.780.6923076923076920
0.790.7692307692307690
0.80.7692307692307690
0.810.7692307692307690
0.820.7692307692307690
0.830.7692307692307690
0.840.8461538461538460
0.850.8461538461538460
0.860.8461538461538460
0.870.8461538461538460
0.880.8461538461538460
0.890.9230769230769230
0.90.9230769230769230
0.910.9230769230769230
0.920.9230769230769230
0.930.9230769230769230
0.940.9230769230769230
0.9510
0.9610
0.9710
0.9810
0.9910

\begin{tabular}{lllllllll}
\hline
Type I & II errors for various threshold values \tabularnewline
Threshold & Type I & Type II \tabularnewline
0.01 & 0 & 0.716417910447761 \tabularnewline
0.02 & 0 & 0.597014925373134 \tabularnewline
0.03 & 0 & 0.582089552238806 \tabularnewline
0.04 & 0 & 0.537313432835821 \tabularnewline
0.05 & 0 & 0.447761194029851 \tabularnewline
0.06 & 0 & 0.402985074626866 \tabularnewline
0.07 & 0.0769230769230769 & 0.402985074626866 \tabularnewline
0.08 & 0.0769230769230769 & 0.402985074626866 \tabularnewline
0.09 & 0.0769230769230769 & 0.388059701492537 \tabularnewline
0.1 & 0.0769230769230769 & 0.358208955223881 \tabularnewline
0.11 & 0.0769230769230769 & 0.298507462686567 \tabularnewline
0.12 & 0.0769230769230769 & 0.298507462686567 \tabularnewline
0.13 & 0.0769230769230769 & 0.298507462686567 \tabularnewline
0.14 & 0.0769230769230769 & 0.298507462686567 \tabularnewline
0.15 & 0.153846153846154 & 0.283582089552239 \tabularnewline
0.16 & 0.153846153846154 & 0.26865671641791 \tabularnewline
0.17 & 0.153846153846154 & 0.238805970149254 \tabularnewline
0.18 & 0.153846153846154 & 0.238805970149254 \tabularnewline
0.19 & 0.153846153846154 & 0.208955223880597 \tabularnewline
0.2 & 0.153846153846154 & 0.194029850746269 \tabularnewline
0.21 & 0.153846153846154 & 0.194029850746269 \tabularnewline
0.22 & 0.153846153846154 & 0.17910447761194 \tabularnewline
0.23 & 0.153846153846154 & 0.164179104477612 \tabularnewline
0.24 & 0.153846153846154 & 0.164179104477612 \tabularnewline
0.25 & 0.153846153846154 & 0.164179104477612 \tabularnewline
0.26 & 0.153846153846154 & 0.149253731343284 \tabularnewline
0.27 & 0.153846153846154 & 0.149253731343284 \tabularnewline
0.28 & 0.153846153846154 & 0.134328358208955 \tabularnewline
0.29 & 0.153846153846154 & 0.134328358208955 \tabularnewline
0.3 & 0.153846153846154 & 0.119402985074627 \tabularnewline
0.31 & 0.153846153846154 & 0.119402985074627 \tabularnewline
0.32 & 0.153846153846154 & 0.119402985074627 \tabularnewline
0.33 & 0.153846153846154 & 0.104477611940299 \tabularnewline
0.34 & 0.230769230769231 & 0.0895522388059701 \tabularnewline
0.35 & 0.230769230769231 & 0.0895522388059701 \tabularnewline
0.36 & 0.230769230769231 & 0.0895522388059701 \tabularnewline
0.37 & 0.230769230769231 & 0.0895522388059701 \tabularnewline
0.38 & 0.307692307692308 & 0.0746268656716418 \tabularnewline
0.39 & 0.307692307692308 & 0.0746268656716418 \tabularnewline
0.4 & 0.307692307692308 & 0.0597014925373134 \tabularnewline
0.41 & 0.307692307692308 & 0.0597014925373134 \tabularnewline
0.42 & 0.307692307692308 & 0.0597014925373134 \tabularnewline
0.43 & 0.307692307692308 & 0.0597014925373134 \tabularnewline
0.44 & 0.307692307692308 & 0.0597014925373134 \tabularnewline
0.45 & 0.384615384615385 & 0.0597014925373134 \tabularnewline
0.46 & 0.384615384615385 & 0.0447761194029851 \tabularnewline
0.47 & 0.384615384615385 & 0.0298507462686567 \tabularnewline
0.48 & 0.384615384615385 & 0.0149253731343284 \tabularnewline
0.49 & 0.384615384615385 & 0.0149253731343284 \tabularnewline
0.5 & 0.384615384615385 & 0 \tabularnewline
0.51 & 0.384615384615385 & 0 \tabularnewline
0.52 & 0.384615384615385 & 0 \tabularnewline
0.53 & 0.384615384615385 & 0 \tabularnewline
0.54 & 0.384615384615385 & 0 \tabularnewline
0.55 & 0.384615384615385 & 0 \tabularnewline
0.56 & 0.384615384615385 & 0 \tabularnewline
0.57 & 0.461538461538462 & 0 \tabularnewline
0.58 & 0.461538461538462 & 0 \tabularnewline
0.59 & 0.538461538461538 & 0 \tabularnewline
0.6 & 0.538461538461538 & 0 \tabularnewline
0.61 & 0.538461538461538 & 0 \tabularnewline
0.62 & 0.538461538461538 & 0 \tabularnewline
0.63 & 0.538461538461538 & 0 \tabularnewline
0.64 & 0.538461538461538 & 0 \tabularnewline
0.65 & 0.538461538461538 & 0 \tabularnewline
0.66 & 0.538461538461538 & 0 \tabularnewline
0.67 & 0.538461538461538 & 0 \tabularnewline
0.68 & 0.538461538461538 & 0 \tabularnewline
0.69 & 0.538461538461538 & 0 \tabularnewline
0.7 & 0.538461538461538 & 0 \tabularnewline
0.71 & 0.538461538461538 & 0 \tabularnewline
0.72 & 0.538461538461538 & 0 \tabularnewline
0.73 & 0.615384615384615 & 0 \tabularnewline
0.74 & 0.615384615384615 & 0 \tabularnewline
0.75 & 0.615384615384615 & 0 \tabularnewline
0.76 & 0.615384615384615 & 0 \tabularnewline
0.77 & 0.615384615384615 & 0 \tabularnewline
0.78 & 0.692307692307692 & 0 \tabularnewline
0.79 & 0.769230769230769 & 0 \tabularnewline
0.8 & 0.769230769230769 & 0 \tabularnewline
0.81 & 0.769230769230769 & 0 \tabularnewline
0.82 & 0.769230769230769 & 0 \tabularnewline
0.83 & 0.769230769230769 & 0 \tabularnewline
0.84 & 0.846153846153846 & 0 \tabularnewline
0.85 & 0.846153846153846 & 0 \tabularnewline
0.86 & 0.846153846153846 & 0 \tabularnewline
0.87 & 0.846153846153846 & 0 \tabularnewline
0.88 & 0.846153846153846 & 0 \tabularnewline
0.89 & 0.923076923076923 & 0 \tabularnewline
0.9 & 0.923076923076923 & 0 \tabularnewline
0.91 & 0.923076923076923 & 0 \tabularnewline
0.92 & 0.923076923076923 & 0 \tabularnewline
0.93 & 0.923076923076923 & 0 \tabularnewline
0.94 & 0.923076923076923 & 0 \tabularnewline
0.95 & 1 & 0 \tabularnewline
0.96 & 1 & 0 \tabularnewline
0.97 & 1 & 0 \tabularnewline
0.98 & 1 & 0 \tabularnewline
0.99 & 1 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211384&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.716417910447761[/C][/ROW]
[ROW][C]0.02[/C][C]0[/C][C]0.597014925373134[/C][/ROW]
[ROW][C]0.03[/C][C]0[/C][C]0.582089552238806[/C][/ROW]
[ROW][C]0.04[/C][C]0[/C][C]0.537313432835821[/C][/ROW]
[ROW][C]0.05[/C][C]0[/C][C]0.447761194029851[/C][/ROW]
[ROW][C]0.06[/C][C]0[/C][C]0.402985074626866[/C][/ROW]
[ROW][C]0.07[/C][C]0.0769230769230769[/C][C]0.402985074626866[/C][/ROW]
[ROW][C]0.08[/C][C]0.0769230769230769[/C][C]0.402985074626866[/C][/ROW]
[ROW][C]0.09[/C][C]0.0769230769230769[/C][C]0.388059701492537[/C][/ROW]
[ROW][C]0.1[/C][C]0.0769230769230769[/C][C]0.358208955223881[/C][/ROW]
[ROW][C]0.11[/C][C]0.0769230769230769[/C][C]0.298507462686567[/C][/ROW]
[ROW][C]0.12[/C][C]0.0769230769230769[/C][C]0.298507462686567[/C][/ROW]
[ROW][C]0.13[/C][C]0.0769230769230769[/C][C]0.298507462686567[/C][/ROW]
[ROW][C]0.14[/C][C]0.0769230769230769[/C][C]0.298507462686567[/C][/ROW]
[ROW][C]0.15[/C][C]0.153846153846154[/C][C]0.283582089552239[/C][/ROW]
[ROW][C]0.16[/C][C]0.153846153846154[/C][C]0.26865671641791[/C][/ROW]
[ROW][C]0.17[/C][C]0.153846153846154[/C][C]0.238805970149254[/C][/ROW]
[ROW][C]0.18[/C][C]0.153846153846154[/C][C]0.238805970149254[/C][/ROW]
[ROW][C]0.19[/C][C]0.153846153846154[/C][C]0.208955223880597[/C][/ROW]
[ROW][C]0.2[/C][C]0.153846153846154[/C][C]0.194029850746269[/C][/ROW]
[ROW][C]0.21[/C][C]0.153846153846154[/C][C]0.194029850746269[/C][/ROW]
[ROW][C]0.22[/C][C]0.153846153846154[/C][C]0.17910447761194[/C][/ROW]
[ROW][C]0.23[/C][C]0.153846153846154[/C][C]0.164179104477612[/C][/ROW]
[ROW][C]0.24[/C][C]0.153846153846154[/C][C]0.164179104477612[/C][/ROW]
[ROW][C]0.25[/C][C]0.153846153846154[/C][C]0.164179104477612[/C][/ROW]
[ROW][C]0.26[/C][C]0.153846153846154[/C][C]0.149253731343284[/C][/ROW]
[ROW][C]0.27[/C][C]0.153846153846154[/C][C]0.149253731343284[/C][/ROW]
[ROW][C]0.28[/C][C]0.153846153846154[/C][C]0.134328358208955[/C][/ROW]
[ROW][C]0.29[/C][C]0.153846153846154[/C][C]0.134328358208955[/C][/ROW]
[ROW][C]0.3[/C][C]0.153846153846154[/C][C]0.119402985074627[/C][/ROW]
[ROW][C]0.31[/C][C]0.153846153846154[/C][C]0.119402985074627[/C][/ROW]
[ROW][C]0.32[/C][C]0.153846153846154[/C][C]0.119402985074627[/C][/ROW]
[ROW][C]0.33[/C][C]0.153846153846154[/C][C]0.104477611940299[/C][/ROW]
[ROW][C]0.34[/C][C]0.230769230769231[/C][C]0.0895522388059701[/C][/ROW]
[ROW][C]0.35[/C][C]0.230769230769231[/C][C]0.0895522388059701[/C][/ROW]
[ROW][C]0.36[/C][C]0.230769230769231[/C][C]0.0895522388059701[/C][/ROW]
[ROW][C]0.37[/C][C]0.230769230769231[/C][C]0.0895522388059701[/C][/ROW]
[ROW][C]0.38[/C][C]0.307692307692308[/C][C]0.0746268656716418[/C][/ROW]
[ROW][C]0.39[/C][C]0.307692307692308[/C][C]0.0746268656716418[/C][/ROW]
[ROW][C]0.4[/C][C]0.307692307692308[/C][C]0.0597014925373134[/C][/ROW]
[ROW][C]0.41[/C][C]0.307692307692308[/C][C]0.0597014925373134[/C][/ROW]
[ROW][C]0.42[/C][C]0.307692307692308[/C][C]0.0597014925373134[/C][/ROW]
[ROW][C]0.43[/C][C]0.307692307692308[/C][C]0.0597014925373134[/C][/ROW]
[ROW][C]0.44[/C][C]0.307692307692308[/C][C]0.0597014925373134[/C][/ROW]
[ROW][C]0.45[/C][C]0.384615384615385[/C][C]0.0597014925373134[/C][/ROW]
[ROW][C]0.46[/C][C]0.384615384615385[/C][C]0.0447761194029851[/C][/ROW]
[ROW][C]0.47[/C][C]0.384615384615385[/C][C]0.0298507462686567[/C][/ROW]
[ROW][C]0.48[/C][C]0.384615384615385[/C][C]0.0149253731343284[/C][/ROW]
[ROW][C]0.49[/C][C]0.384615384615385[/C][C]0.0149253731343284[/C][/ROW]
[ROW][C]0.5[/C][C]0.384615384615385[/C][C]0[/C][/ROW]
[ROW][C]0.51[/C][C]0.384615384615385[/C][C]0[/C][/ROW]
[ROW][C]0.52[/C][C]0.384615384615385[/C][C]0[/C][/ROW]
[ROW][C]0.53[/C][C]0.384615384615385[/C][C]0[/C][/ROW]
[ROW][C]0.54[/C][C]0.384615384615385[/C][C]0[/C][/ROW]
[ROW][C]0.55[/C][C]0.384615384615385[/C][C]0[/C][/ROW]
[ROW][C]0.56[/C][C]0.384615384615385[/C][C]0[/C][/ROW]
[ROW][C]0.57[/C][C]0.461538461538462[/C][C]0[/C][/ROW]
[ROW][C]0.58[/C][C]0.461538461538462[/C][C]0[/C][/ROW]
[ROW][C]0.59[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.6[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.61[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.62[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.63[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.64[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.65[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.66[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.67[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.68[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.69[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.7[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.71[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.72[/C][C]0.538461538461538[/C][C]0[/C][/ROW]
[ROW][C]0.73[/C][C]0.615384615384615[/C][C]0[/C][/ROW]
[ROW][C]0.74[/C][C]0.615384615384615[/C][C]0[/C][/ROW]
[ROW][C]0.75[/C][C]0.615384615384615[/C][C]0[/C][/ROW]
[ROW][C]0.76[/C][C]0.615384615384615[/C][C]0[/C][/ROW]
[ROW][C]0.77[/C][C]0.615384615384615[/C][C]0[/C][/ROW]
[ROW][C]0.78[/C][C]0.692307692307692[/C][C]0[/C][/ROW]
[ROW][C]0.79[/C][C]0.769230769230769[/C][C]0[/C][/ROW]
[ROW][C]0.8[/C][C]0.769230769230769[/C][C]0[/C][/ROW]
[ROW][C]0.81[/C][C]0.769230769230769[/C][C]0[/C][/ROW]
[ROW][C]0.82[/C][C]0.769230769230769[/C][C]0[/C][/ROW]
[ROW][C]0.83[/C][C]0.769230769230769[/C][C]0[/C][/ROW]
[ROW][C]0.84[/C][C]0.846153846153846[/C][C]0[/C][/ROW]
[ROW][C]0.85[/C][C]0.846153846153846[/C][C]0[/C][/ROW]
[ROW][C]0.86[/C][C]0.846153846153846[/C][C]0[/C][/ROW]
[ROW][C]0.87[/C][C]0.846153846153846[/C][C]0[/C][/ROW]
[ROW][C]0.88[/C][C]0.846153846153846[/C][C]0[/C][/ROW]
[ROW][C]0.89[/C][C]0.923076923076923[/C][C]0[/C][/ROW]
[ROW][C]0.9[/C][C]0.923076923076923[/C][C]0[/C][/ROW]
[ROW][C]0.91[/C][C]0.923076923076923[/C][C]0[/C][/ROW]
[ROW][C]0.92[/C][C]0.923076923076923[/C][C]0[/C][/ROW]
[ROW][C]0.93[/C][C]0.923076923076923[/C][C]0[/C][/ROW]
[ROW][C]0.94[/C][C]0.923076923076923[/C][C]0[/C][/ROW]
[ROW][C]0.95[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.96[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.97[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.98[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.99[/C][C]1[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211384&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211384&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.716417910447761
0.0200.597014925373134
0.0300.582089552238806
0.0400.537313432835821
0.0500.447761194029851
0.0600.402985074626866
0.070.07692307692307690.402985074626866
0.080.07692307692307690.402985074626866
0.090.07692307692307690.388059701492537
0.10.07692307692307690.358208955223881
0.110.07692307692307690.298507462686567
0.120.07692307692307690.298507462686567
0.130.07692307692307690.298507462686567
0.140.07692307692307690.298507462686567
0.150.1538461538461540.283582089552239
0.160.1538461538461540.26865671641791
0.170.1538461538461540.238805970149254
0.180.1538461538461540.238805970149254
0.190.1538461538461540.208955223880597
0.20.1538461538461540.194029850746269
0.210.1538461538461540.194029850746269
0.220.1538461538461540.17910447761194
0.230.1538461538461540.164179104477612
0.240.1538461538461540.164179104477612
0.250.1538461538461540.164179104477612
0.260.1538461538461540.149253731343284
0.270.1538461538461540.149253731343284
0.280.1538461538461540.134328358208955
0.290.1538461538461540.134328358208955
0.30.1538461538461540.119402985074627
0.310.1538461538461540.119402985074627
0.320.1538461538461540.119402985074627
0.330.1538461538461540.104477611940299
0.340.2307692307692310.0895522388059701
0.350.2307692307692310.0895522388059701
0.360.2307692307692310.0895522388059701
0.370.2307692307692310.0895522388059701
0.380.3076923076923080.0746268656716418
0.390.3076923076923080.0746268656716418
0.40.3076923076923080.0597014925373134
0.410.3076923076923080.0597014925373134
0.420.3076923076923080.0597014925373134
0.430.3076923076923080.0597014925373134
0.440.3076923076923080.0597014925373134
0.450.3846153846153850.0597014925373134
0.460.3846153846153850.0447761194029851
0.470.3846153846153850.0298507462686567
0.480.3846153846153850.0149253731343284
0.490.3846153846153850.0149253731343284
0.50.3846153846153850
0.510.3846153846153850
0.520.3846153846153850
0.530.3846153846153850
0.540.3846153846153850
0.550.3846153846153850
0.560.3846153846153850
0.570.4615384615384620
0.580.4615384615384620
0.590.5384615384615380
0.60.5384615384615380
0.610.5384615384615380
0.620.5384615384615380
0.630.5384615384615380
0.640.5384615384615380
0.650.5384615384615380
0.660.5384615384615380
0.670.5384615384615380
0.680.5384615384615380
0.690.5384615384615380
0.70.5384615384615380
0.710.5384615384615380
0.720.5384615384615380
0.730.6153846153846150
0.740.6153846153846150
0.750.6153846153846150
0.760.6153846153846150
0.770.6153846153846150
0.780.6923076923076920
0.790.7692307692307690
0.80.7692307692307690
0.810.7692307692307690
0.820.7692307692307690
0.830.7692307692307690
0.840.8461538461538460
0.850.8461538461538460
0.860.8461538461538460
0.870.8461538461538460
0.880.8461538461538460
0.890.9230769230769230
0.90.9230769230769230
0.910.9230769230769230
0.920.9230769230769230
0.930.9230769230769230
0.940.9230769230769230
0.9510
0.9610
0.9710
0.9810
0.9910



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')