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 computationSat, 02 Feb 2008 04:01:18 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Feb/02/t1201950411vwntoxlf914gcb0.htm/, Retrieved Sat, 11 May 2024 07:25:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=8094, Retrieved Sat, 11 May 2024 07:25:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsschakel, brlr
Estimated Impact330
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Bias-Reduced Logistic Regression] [OOF brlr 1] [2008-02-02 11:01:18] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
0	780.8	93
1	699.1	193
1	598.5	112
0	735.3	71
0	700.5	105
0	706.9	119
0	656.3	162
1	1025.1	277
0	639.4	96
0	637.2	24
1	1065.6	231
0	576.1	99
0	525.6	27
1	377.5	112
0	627.8	96
0	646	95
1	999.31	143
1	168.3	13
0	219.5	22
0	507.4	27
1	227.1	56
1	821.6	278
0	144.7	10
0	761.6	55
1	817.7	61
0	547.8	44
0	313.4	10
0	291.8	28
0	650.3	53
0	679.4	41
1	736.5	135
0	842.6	85
0	904.9	14
0	263.7	12
1	446.5	93
0	511.8	22
1	645.6	101
1	873.9	201
0	871.6	2
0	287.3	9
0	505.7	49
1	597.7	112
1	791	27
0	725.8	93
0	919.4	49
0	114.7	1
0	866.8	69
0	870.7	108
0	700.2	108
0	636.5	70
1	890.3	165
0	879.1	208
0	100.5	4
0	782.8	153
0	738.1	67
1	762.3	163
1	857	75
1	712.5	238
1	609.9	90
0	940.1	137
0	586.7	133
1	49.3	17
0	9.7	0
0	786.7	33
1	755.7	123
1	749.2	153
1	630.1	126
0	835.6	164
0	1024.3	14
1	896.2	102
1	410.7	16
0	120.2	6
1	700.7	140
0	704.8	120
0	1042.4	124
1	831.8	49
1	854.1	99
1	547	23
0	999.4	80
0	532.6	56
0	826.4	152
0	670.9	78
1	837.1	105
0	1032.8	229
1	639.9	80
1	850.4	144
1	845	54
1	984.4	52
1	993.2	187
1	958.3	117
0	832.5	144
1	880.9	147
1	1020.9	182
1	764.8	117
1	601.6	104
1	686.2	46
1	821.2	138
0	836.9	89
0	985.5	120
1	973.2	314
1	702.9	111
1	929.2	80
0	747.2	187
1	654.3	166
1	628.8	70
0	564.6	91
0	981	202
1	705.3	112
0	397.9	40
0	56.3	2
1	929.7	69
0	559.7	75
1	669.2	78
0	923.5	128
1	539.8	38
1	401.7	19
0	923.5	171
1	688.3	124
0	324.5	4
1	613	27
0	930.5	255
0	348.6	6
1	582.9	143
1	919.7	113
0	786.5	87
1	637	85
1	917.1	110




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8094&T=0

[TABLE]
[ROW][C]Summary of compuational 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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8094&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8094&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 compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Coefficients of Bias-Reduced Logistic Regression
VariableParameterS.E.t-stat2-sided p-value
(Intercept)-0.9294382869014690.566357930375745-1.641079319371130.103315046769471
ws8.48316892050935e-050.0009647914830719430.08792748556919820.930076152681868
pe0.007961658330576620.003683284303765612.161564971359120.0325729358755396

\begin{tabular}{lllllllll}
\hline
Coefficients of Bias-Reduced Logistic Regression \tabularnewline
Variable & Parameter & S.E. & t-stat & 2-sided p-value \tabularnewline
(Intercept) & -0.929438286901469 & 0.566357930375745 & -1.64107931937113 & 0.103315046769471 \tabularnewline
ws & 8.48316892050935e-05 & 0.000964791483071943 & 0.0879274855691982 & 0.930076152681868 \tabularnewline
pe & 0.00796165833057662 & 0.00368328430376561 & 2.16156497135912 & 0.0325729358755396 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8094&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]-0.929438286901469[/C][C]0.566357930375745[/C][C]-1.64107931937113[/C][C]0.103315046769471[/C][/ROW]
[ROW][C]ws[/C][C]8.48316892050935e-05[/C][C]0.000964791483071943[/C][C]0.0879274855691982[/C][C]0.930076152681868[/C][/ROW]
[ROW][C]pe[/C][C]0.00796165833057662[/C][C]0.00368328430376561[/C][C]2.16156497135912[/C][C]0.0325729358755396[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8094&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8094&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)-0.9294382869014690.566357930375745-1.641079319371130.103315046769471
ws8.48316892050935e-050.0009647914830719430.08792748556919820.930076152681868
pe0.007961658330576620.003683284303765612.161564971359120.0325729358755396







Summary of Bias-Reduced Logistic Regression
Deviance166.660374217898
Penalized deviance137.745270895628
Residual Degrees of Freedom124
ROC Area0.657213930348259
Hosmer–Lemeshow test
Chi-square6.19362066324741
Degrees of Freedom8
P(>Chi)0.625553436536364

\begin{tabular}{lllllllll}
\hline
Summary of Bias-Reduced Logistic Regression \tabularnewline
Deviance & 166.660374217898 \tabularnewline
Penalized deviance & 137.745270895628 \tabularnewline
Residual Degrees of Freedom & 124 \tabularnewline
ROC Area & 0.657213930348259 \tabularnewline
Hosmer–Lemeshow test \tabularnewline
Chi-square & 6.19362066324741 \tabularnewline
Degrees of Freedom & 8 \tabularnewline
P(>Chi) & 0.625553436536364 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8094&T=2

[TABLE]
[ROW][C]Summary of Bias-Reduced Logistic Regression[/C][/ROW]
[ROW][C]Deviance[/C][C]166.660374217898[/C][/ROW]
[ROW][C]Penalized deviance[/C][C]137.745270895628[/C][/ROW]
[ROW][C]Residual Degrees of Freedom[/C][C]124[/C][/ROW]
[ROW][C]ROC Area[/C][C]0.657213930348259[/C][/ROW]
[ROW][C]Hosmer–Lemeshow test[/C][/ROW]
[ROW][C]Chi-square[/C][C]6.19362066324741[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]8[/C][/ROW]
[ROW][C]P(>Chi)[/C][C]0.625553436536364[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8094&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8094&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
Deviance166.660374217898
Penalized deviance137.745270895628
Residual Degrees of Freedom124
ROC Area0.657213930348259
Hosmer–Lemeshow test
Chi-square6.19362066324741
Degrees of Freedom8
P(>Chi)0.625553436536364







Fit of Logistic Regression
IndexActualFittedError
100.469346620796885-0.469346620796885
210.6607117461547380.339288253845262
310.5032597568426140.496740243157386
400.425121475400066-0.425121475400066
500.491490930624266-0.491490930624266
600.519481776086645-0.519481776086645
700.602531772965839-0.602531772965839
810.7962309496758180.203769050324182
900.472308937100362-0.472308937100362
1000.335301431513776-0.335301431513776
1110.7310785215881360.268921478411864
1200.476925757228949-0.476925757228949
1300.338522373119333-0.338522373119333
1410.4985728560751560.501427143924844
1500.472063686467112-0.472063686467112
1600.470464556894217-0.470464556894217
1710.5729389060609530.427061093939047
1810.3075369673128890.692463032687111
1900.323953637063134-0.323953637063134
2000.338176733361602-0.338176733361602
2110.3859614673979860.614038532602014
2210.7947176335376870.205282366462313
2300.302051758671776-0.302051758671776
2400.394857443357395-0.394857443357395
2510.4074757795185530.592524220481447
2600.369897976244151-0.369897976244151
2700.305077295132243-0.305077295132243
2800.335869055642874-0.335869055642874
2900.388813026582237-0.388813026582237
3000.366937958530794-0.366937958530794
3110.5517797264711340.448220273528866
3200.454819040797021-0.454819040797021
3300.322739415570033-0.322739415570033
3400.307564926169421-0.307564926169421
3510.4622900667832860.537709933216714
3600.32940774712041-0.32940774712041
3710.4823714456842290.517628554315771
3810.6780859468067290.321914053193271
3900.30162416034027-0.30162416034027
4000.302924269646613-0.302924269646613
4100.378382904462766-0.378382904462766
4210.5032427912221640.496757208777836
4310.3435820751222050.656417924877795
4400.468184737421961-0.468184737421961
4500.386672072132718-0.386672072132718
4600.286642595851246-0.286642595851246
4700.423956638998722-0.423956638998722
4800.501070939510219-0.501070939510219
4900.497455012374279-0.497455012374279
5000.421132320568926-0.421132320568926
5110.612957474921310.38704252507869
5200.690223028616242-0.690223028616242
5300.291302595638712-0.291302595638712
5400.58785417486599-0.58785417486599
5500.417415305881618-0.417415305881618
5610.6065848532522750.393415146747725
5710.4354588057760390.56454119422396
5810.7361161693802340.263883830619766
5910.4597994135968340.540200586403166
6000.559974649864694-0.559974649864694
6100.544688686395893-0.544688686395893
6210.312188446917450.68781155308255
6300.283205700277772-0.283205700277772
6400.354351364467991-0.354351364467991
6510.5284574614644150.471542538535585
6610.5871634161438860.412836583856114
6710.5317529872455620.468247012754438
6800.60996355804703-0.60996355804703
6900.324957341245778-0.324957341245778
7010.4896707254747350.510329274525265
7110.3170826495014170.682917350498583
7200.294948191622305-0.294948191622305
7310.5608556634199380.439144336580062
7400.521424395501767-0.521424395501767
7500.536493962802357-0.536493962802357
7610.3849111904519850.615088809548015
7710.4828119336837470.517188066316253
7810.3318305834072910.668169416592709
7900.44825472444424-0.44825472444424
8000.39212131479393-0.39212131479393
8100.586820943618734-0.586820943618734
8200.437450553361287-0.437450553361287
8310.4943873469739410.505612653026059
8400.727385053914676-0.727385053914676
8510.4407246010353450.559275398964655
8610.5717957096946920.428204290305308
8710.3946455916396460.605354408360354
8810.3936670541762930.606332945823707
8910.6555773260224750.344422673977525
9010.5208304225454110.479169577454589
9100.571423874649817-0.571423874649817
9210.5782646674285930.421735332571407
9310.6470707895803690.352929210419631
9410.5167325029392410.483267497060759
9510.4874048960008650.512595103999135
9610.3763686018317140.623631398168286
9710.5594510188771960.440548981122804
9800.462606188088298-0.462606188088298
9900.527363218966757-0.527363218966757
10010.8393069716587470.160693028341253
10110.5034834391730380.496516560826962
10210.4467823318165190.553217668183481
10300.650850110774755-0.650850110774755
10410.6100928132186040.389907186781396
10510.4209730907771950.579026909222806
10600.460822620960866-0.460822620960866
10700.681795734595339-0.681795734595339
10810.5055245842920480.494475415707952
10900.359573115252250-0.359573115252250
11000.287257957171120-0.287257957171120
11110.4252602877746010.574739712225399
11200.429269151314273-0.429269151314273
11310.4374150644407140.562584935559286
11400.541900512057102-0.541900512057102
11510.3586788042498410.641321195750159
11610.3221104458178040.677889554182196
11700.624887898497627-0.624887898497627
11810.5290166088888910.470983391111109
11900.295241032874722-0.295241032874722
12010.3401846002216890.659815399778311
12100.764897540559039-0.764897540559039
12200.298993356504975-0.298993356504975
12310.5642742218495620.435725778150438
12410.5120598627839810.487940137216019
12500.457588683980164-0.457588683980164
12610.4504978101799480.549502189820052
12710.5060355247364460.493964475263554

\begin{tabular}{lllllllll}
\hline
Fit of Logistic Regression \tabularnewline
Index & Actual & Fitted & Error \tabularnewline
1 & 0 & 0.469346620796885 & -0.469346620796885 \tabularnewline
2 & 1 & 0.660711746154738 & 0.339288253845262 \tabularnewline
3 & 1 & 0.503259756842614 & 0.496740243157386 \tabularnewline
4 & 0 & 0.425121475400066 & -0.425121475400066 \tabularnewline
5 & 0 & 0.491490930624266 & -0.491490930624266 \tabularnewline
6 & 0 & 0.519481776086645 & -0.519481776086645 \tabularnewline
7 & 0 & 0.602531772965839 & -0.602531772965839 \tabularnewline
8 & 1 & 0.796230949675818 & 0.203769050324182 \tabularnewline
9 & 0 & 0.472308937100362 & -0.472308937100362 \tabularnewline
10 & 0 & 0.335301431513776 & -0.335301431513776 \tabularnewline
11 & 1 & 0.731078521588136 & 0.268921478411864 \tabularnewline
12 & 0 & 0.476925757228949 & -0.476925757228949 \tabularnewline
13 & 0 & 0.338522373119333 & -0.338522373119333 \tabularnewline
14 & 1 & 0.498572856075156 & 0.501427143924844 \tabularnewline
15 & 0 & 0.472063686467112 & -0.472063686467112 \tabularnewline
16 & 0 & 0.470464556894217 & -0.470464556894217 \tabularnewline
17 & 1 & 0.572938906060953 & 0.427061093939047 \tabularnewline
18 & 1 & 0.307536967312889 & 0.692463032687111 \tabularnewline
19 & 0 & 0.323953637063134 & -0.323953637063134 \tabularnewline
20 & 0 & 0.338176733361602 & -0.338176733361602 \tabularnewline
21 & 1 & 0.385961467397986 & 0.614038532602014 \tabularnewline
22 & 1 & 0.794717633537687 & 0.205282366462313 \tabularnewline
23 & 0 & 0.302051758671776 & -0.302051758671776 \tabularnewline
24 & 0 & 0.394857443357395 & -0.394857443357395 \tabularnewline
25 & 1 & 0.407475779518553 & 0.592524220481447 \tabularnewline
26 & 0 & 0.369897976244151 & -0.369897976244151 \tabularnewline
27 & 0 & 0.305077295132243 & -0.305077295132243 \tabularnewline
28 & 0 & 0.335869055642874 & -0.335869055642874 \tabularnewline
29 & 0 & 0.388813026582237 & -0.388813026582237 \tabularnewline
30 & 0 & 0.366937958530794 & -0.366937958530794 \tabularnewline
31 & 1 & 0.551779726471134 & 0.448220273528866 \tabularnewline
32 & 0 & 0.454819040797021 & -0.454819040797021 \tabularnewline
33 & 0 & 0.322739415570033 & -0.322739415570033 \tabularnewline
34 & 0 & 0.307564926169421 & -0.307564926169421 \tabularnewline
35 & 1 & 0.462290066783286 & 0.537709933216714 \tabularnewline
36 & 0 & 0.32940774712041 & -0.32940774712041 \tabularnewline
37 & 1 & 0.482371445684229 & 0.517628554315771 \tabularnewline
38 & 1 & 0.678085946806729 & 0.321914053193271 \tabularnewline
39 & 0 & 0.30162416034027 & -0.30162416034027 \tabularnewline
40 & 0 & 0.302924269646613 & -0.302924269646613 \tabularnewline
41 & 0 & 0.378382904462766 & -0.378382904462766 \tabularnewline
42 & 1 & 0.503242791222164 & 0.496757208777836 \tabularnewline
43 & 1 & 0.343582075122205 & 0.656417924877795 \tabularnewline
44 & 0 & 0.468184737421961 & -0.468184737421961 \tabularnewline
45 & 0 & 0.386672072132718 & -0.386672072132718 \tabularnewline
46 & 0 & 0.286642595851246 & -0.286642595851246 \tabularnewline
47 & 0 & 0.423956638998722 & -0.423956638998722 \tabularnewline
48 & 0 & 0.501070939510219 & -0.501070939510219 \tabularnewline
49 & 0 & 0.497455012374279 & -0.497455012374279 \tabularnewline
50 & 0 & 0.421132320568926 & -0.421132320568926 \tabularnewline
51 & 1 & 0.61295747492131 & 0.38704252507869 \tabularnewline
52 & 0 & 0.690223028616242 & -0.690223028616242 \tabularnewline
53 & 0 & 0.291302595638712 & -0.291302595638712 \tabularnewline
54 & 0 & 0.58785417486599 & -0.58785417486599 \tabularnewline
55 & 0 & 0.417415305881618 & -0.417415305881618 \tabularnewline
56 & 1 & 0.606584853252275 & 0.393415146747725 \tabularnewline
57 & 1 & 0.435458805776039 & 0.56454119422396 \tabularnewline
58 & 1 & 0.736116169380234 & 0.263883830619766 \tabularnewline
59 & 1 & 0.459799413596834 & 0.540200586403166 \tabularnewline
60 & 0 & 0.559974649864694 & -0.559974649864694 \tabularnewline
61 & 0 & 0.544688686395893 & -0.544688686395893 \tabularnewline
62 & 1 & 0.31218844691745 & 0.68781155308255 \tabularnewline
63 & 0 & 0.283205700277772 & -0.283205700277772 \tabularnewline
64 & 0 & 0.354351364467991 & -0.354351364467991 \tabularnewline
65 & 1 & 0.528457461464415 & 0.471542538535585 \tabularnewline
66 & 1 & 0.587163416143886 & 0.412836583856114 \tabularnewline
67 & 1 & 0.531752987245562 & 0.468247012754438 \tabularnewline
68 & 0 & 0.60996355804703 & -0.60996355804703 \tabularnewline
69 & 0 & 0.324957341245778 & -0.324957341245778 \tabularnewline
70 & 1 & 0.489670725474735 & 0.510329274525265 \tabularnewline
71 & 1 & 0.317082649501417 & 0.682917350498583 \tabularnewline
72 & 0 & 0.294948191622305 & -0.294948191622305 \tabularnewline
73 & 1 & 0.560855663419938 & 0.439144336580062 \tabularnewline
74 & 0 & 0.521424395501767 & -0.521424395501767 \tabularnewline
75 & 0 & 0.536493962802357 & -0.536493962802357 \tabularnewline
76 & 1 & 0.384911190451985 & 0.615088809548015 \tabularnewline
77 & 1 & 0.482811933683747 & 0.517188066316253 \tabularnewline
78 & 1 & 0.331830583407291 & 0.668169416592709 \tabularnewline
79 & 0 & 0.44825472444424 & -0.44825472444424 \tabularnewline
80 & 0 & 0.39212131479393 & -0.39212131479393 \tabularnewline
81 & 0 & 0.586820943618734 & -0.586820943618734 \tabularnewline
82 & 0 & 0.437450553361287 & -0.437450553361287 \tabularnewline
83 & 1 & 0.494387346973941 & 0.505612653026059 \tabularnewline
84 & 0 & 0.727385053914676 & -0.727385053914676 \tabularnewline
85 & 1 & 0.440724601035345 & 0.559275398964655 \tabularnewline
86 & 1 & 0.571795709694692 & 0.428204290305308 \tabularnewline
87 & 1 & 0.394645591639646 & 0.605354408360354 \tabularnewline
88 & 1 & 0.393667054176293 & 0.606332945823707 \tabularnewline
89 & 1 & 0.655577326022475 & 0.344422673977525 \tabularnewline
90 & 1 & 0.520830422545411 & 0.479169577454589 \tabularnewline
91 & 0 & 0.571423874649817 & -0.571423874649817 \tabularnewline
92 & 1 & 0.578264667428593 & 0.421735332571407 \tabularnewline
93 & 1 & 0.647070789580369 & 0.352929210419631 \tabularnewline
94 & 1 & 0.516732502939241 & 0.483267497060759 \tabularnewline
95 & 1 & 0.487404896000865 & 0.512595103999135 \tabularnewline
96 & 1 & 0.376368601831714 & 0.623631398168286 \tabularnewline
97 & 1 & 0.559451018877196 & 0.440548981122804 \tabularnewline
98 & 0 & 0.462606188088298 & -0.462606188088298 \tabularnewline
99 & 0 & 0.527363218966757 & -0.527363218966757 \tabularnewline
100 & 1 & 0.839306971658747 & 0.160693028341253 \tabularnewline
101 & 1 & 0.503483439173038 & 0.496516560826962 \tabularnewline
102 & 1 & 0.446782331816519 & 0.553217668183481 \tabularnewline
103 & 0 & 0.650850110774755 & -0.650850110774755 \tabularnewline
104 & 1 & 0.610092813218604 & 0.389907186781396 \tabularnewline
105 & 1 & 0.420973090777195 & 0.579026909222806 \tabularnewline
106 & 0 & 0.460822620960866 & -0.460822620960866 \tabularnewline
107 & 0 & 0.681795734595339 & -0.681795734595339 \tabularnewline
108 & 1 & 0.505524584292048 & 0.494475415707952 \tabularnewline
109 & 0 & 0.359573115252250 & -0.359573115252250 \tabularnewline
110 & 0 & 0.287257957171120 & -0.287257957171120 \tabularnewline
111 & 1 & 0.425260287774601 & 0.574739712225399 \tabularnewline
112 & 0 & 0.429269151314273 & -0.429269151314273 \tabularnewline
113 & 1 & 0.437415064440714 & 0.562584935559286 \tabularnewline
114 & 0 & 0.541900512057102 & -0.541900512057102 \tabularnewline
115 & 1 & 0.358678804249841 & 0.641321195750159 \tabularnewline
116 & 1 & 0.322110445817804 & 0.677889554182196 \tabularnewline
117 & 0 & 0.624887898497627 & -0.624887898497627 \tabularnewline
118 & 1 & 0.529016608888891 & 0.470983391111109 \tabularnewline
119 & 0 & 0.295241032874722 & -0.295241032874722 \tabularnewline
120 & 1 & 0.340184600221689 & 0.659815399778311 \tabularnewline
121 & 0 & 0.764897540559039 & -0.764897540559039 \tabularnewline
122 & 0 & 0.298993356504975 & -0.298993356504975 \tabularnewline
123 & 1 & 0.564274221849562 & 0.435725778150438 \tabularnewline
124 & 1 & 0.512059862783981 & 0.487940137216019 \tabularnewline
125 & 0 & 0.457588683980164 & -0.457588683980164 \tabularnewline
126 & 1 & 0.450497810179948 & 0.549502189820052 \tabularnewline
127 & 1 & 0.506035524736446 & 0.493964475263554 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8094&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]0.469346620796885[/C][C]-0.469346620796885[/C][/ROW]
[ROW][C]2[/C][C]1[/C][C]0.660711746154738[/C][C]0.339288253845262[/C][/ROW]
[ROW][C]3[/C][C]1[/C][C]0.503259756842614[/C][C]0.496740243157386[/C][/ROW]
[ROW][C]4[/C][C]0[/C][C]0.425121475400066[/C][C]-0.425121475400066[/C][/ROW]
[ROW][C]5[/C][C]0[/C][C]0.491490930624266[/C][C]-0.491490930624266[/C][/ROW]
[ROW][C]6[/C][C]0[/C][C]0.519481776086645[/C][C]-0.519481776086645[/C][/ROW]
[ROW][C]7[/C][C]0[/C][C]0.602531772965839[/C][C]-0.602531772965839[/C][/ROW]
[ROW][C]8[/C][C]1[/C][C]0.796230949675818[/C][C]0.203769050324182[/C][/ROW]
[ROW][C]9[/C][C]0[/C][C]0.472308937100362[/C][C]-0.472308937100362[/C][/ROW]
[ROW][C]10[/C][C]0[/C][C]0.335301431513776[/C][C]-0.335301431513776[/C][/ROW]
[ROW][C]11[/C][C]1[/C][C]0.731078521588136[/C][C]0.268921478411864[/C][/ROW]
[ROW][C]12[/C][C]0[/C][C]0.476925757228949[/C][C]-0.476925757228949[/C][/ROW]
[ROW][C]13[/C][C]0[/C][C]0.338522373119333[/C][C]-0.338522373119333[/C][/ROW]
[ROW][C]14[/C][C]1[/C][C]0.498572856075156[/C][C]0.501427143924844[/C][/ROW]
[ROW][C]15[/C][C]0[/C][C]0.472063686467112[/C][C]-0.472063686467112[/C][/ROW]
[ROW][C]16[/C][C]0[/C][C]0.470464556894217[/C][C]-0.470464556894217[/C][/ROW]
[ROW][C]17[/C][C]1[/C][C]0.572938906060953[/C][C]0.427061093939047[/C][/ROW]
[ROW][C]18[/C][C]1[/C][C]0.307536967312889[/C][C]0.692463032687111[/C][/ROW]
[ROW][C]19[/C][C]0[/C][C]0.323953637063134[/C][C]-0.323953637063134[/C][/ROW]
[ROW][C]20[/C][C]0[/C][C]0.338176733361602[/C][C]-0.338176733361602[/C][/ROW]
[ROW][C]21[/C][C]1[/C][C]0.385961467397986[/C][C]0.614038532602014[/C][/ROW]
[ROW][C]22[/C][C]1[/C][C]0.794717633537687[/C][C]0.205282366462313[/C][/ROW]
[ROW][C]23[/C][C]0[/C][C]0.302051758671776[/C][C]-0.302051758671776[/C][/ROW]
[ROW][C]24[/C][C]0[/C][C]0.394857443357395[/C][C]-0.394857443357395[/C][/ROW]
[ROW][C]25[/C][C]1[/C][C]0.407475779518553[/C][C]0.592524220481447[/C][/ROW]
[ROW][C]26[/C][C]0[/C][C]0.369897976244151[/C][C]-0.369897976244151[/C][/ROW]
[ROW][C]27[/C][C]0[/C][C]0.305077295132243[/C][C]-0.305077295132243[/C][/ROW]
[ROW][C]28[/C][C]0[/C][C]0.335869055642874[/C][C]-0.335869055642874[/C][/ROW]
[ROW][C]29[/C][C]0[/C][C]0.388813026582237[/C][C]-0.388813026582237[/C][/ROW]
[ROW][C]30[/C][C]0[/C][C]0.366937958530794[/C][C]-0.366937958530794[/C][/ROW]
[ROW][C]31[/C][C]1[/C][C]0.551779726471134[/C][C]0.448220273528866[/C][/ROW]
[ROW][C]32[/C][C]0[/C][C]0.454819040797021[/C][C]-0.454819040797021[/C][/ROW]
[ROW][C]33[/C][C]0[/C][C]0.322739415570033[/C][C]-0.322739415570033[/C][/ROW]
[ROW][C]34[/C][C]0[/C][C]0.307564926169421[/C][C]-0.307564926169421[/C][/ROW]
[ROW][C]35[/C][C]1[/C][C]0.462290066783286[/C][C]0.537709933216714[/C][/ROW]
[ROW][C]36[/C][C]0[/C][C]0.32940774712041[/C][C]-0.32940774712041[/C][/ROW]
[ROW][C]37[/C][C]1[/C][C]0.482371445684229[/C][C]0.517628554315771[/C][/ROW]
[ROW][C]38[/C][C]1[/C][C]0.678085946806729[/C][C]0.321914053193271[/C][/ROW]
[ROW][C]39[/C][C]0[/C][C]0.30162416034027[/C][C]-0.30162416034027[/C][/ROW]
[ROW][C]40[/C][C]0[/C][C]0.302924269646613[/C][C]-0.302924269646613[/C][/ROW]
[ROW][C]41[/C][C]0[/C][C]0.378382904462766[/C][C]-0.378382904462766[/C][/ROW]
[ROW][C]42[/C][C]1[/C][C]0.503242791222164[/C][C]0.496757208777836[/C][/ROW]
[ROW][C]43[/C][C]1[/C][C]0.343582075122205[/C][C]0.656417924877795[/C][/ROW]
[ROW][C]44[/C][C]0[/C][C]0.468184737421961[/C][C]-0.468184737421961[/C][/ROW]
[ROW][C]45[/C][C]0[/C][C]0.386672072132718[/C][C]-0.386672072132718[/C][/ROW]
[ROW][C]46[/C][C]0[/C][C]0.286642595851246[/C][C]-0.286642595851246[/C][/ROW]
[ROW][C]47[/C][C]0[/C][C]0.423956638998722[/C][C]-0.423956638998722[/C][/ROW]
[ROW][C]48[/C][C]0[/C][C]0.501070939510219[/C][C]-0.501070939510219[/C][/ROW]
[ROW][C]49[/C][C]0[/C][C]0.497455012374279[/C][C]-0.497455012374279[/C][/ROW]
[ROW][C]50[/C][C]0[/C][C]0.421132320568926[/C][C]-0.421132320568926[/C][/ROW]
[ROW][C]51[/C][C]1[/C][C]0.61295747492131[/C][C]0.38704252507869[/C][/ROW]
[ROW][C]52[/C][C]0[/C][C]0.690223028616242[/C][C]-0.690223028616242[/C][/ROW]
[ROW][C]53[/C][C]0[/C][C]0.291302595638712[/C][C]-0.291302595638712[/C][/ROW]
[ROW][C]54[/C][C]0[/C][C]0.58785417486599[/C][C]-0.58785417486599[/C][/ROW]
[ROW][C]55[/C][C]0[/C][C]0.417415305881618[/C][C]-0.417415305881618[/C][/ROW]
[ROW][C]56[/C][C]1[/C][C]0.606584853252275[/C][C]0.393415146747725[/C][/ROW]
[ROW][C]57[/C][C]1[/C][C]0.435458805776039[/C][C]0.56454119422396[/C][/ROW]
[ROW][C]58[/C][C]1[/C][C]0.736116169380234[/C][C]0.263883830619766[/C][/ROW]
[ROW][C]59[/C][C]1[/C][C]0.459799413596834[/C][C]0.540200586403166[/C][/ROW]
[ROW][C]60[/C][C]0[/C][C]0.559974649864694[/C][C]-0.559974649864694[/C][/ROW]
[ROW][C]61[/C][C]0[/C][C]0.544688686395893[/C][C]-0.544688686395893[/C][/ROW]
[ROW][C]62[/C][C]1[/C][C]0.31218844691745[/C][C]0.68781155308255[/C][/ROW]
[ROW][C]63[/C][C]0[/C][C]0.283205700277772[/C][C]-0.283205700277772[/C][/ROW]
[ROW][C]64[/C][C]0[/C][C]0.354351364467991[/C][C]-0.354351364467991[/C][/ROW]
[ROW][C]65[/C][C]1[/C][C]0.528457461464415[/C][C]0.471542538535585[/C][/ROW]
[ROW][C]66[/C][C]1[/C][C]0.587163416143886[/C][C]0.412836583856114[/C][/ROW]
[ROW][C]67[/C][C]1[/C][C]0.531752987245562[/C][C]0.468247012754438[/C][/ROW]
[ROW][C]68[/C][C]0[/C][C]0.60996355804703[/C][C]-0.60996355804703[/C][/ROW]
[ROW][C]69[/C][C]0[/C][C]0.324957341245778[/C][C]-0.324957341245778[/C][/ROW]
[ROW][C]70[/C][C]1[/C][C]0.489670725474735[/C][C]0.510329274525265[/C][/ROW]
[ROW][C]71[/C][C]1[/C][C]0.317082649501417[/C][C]0.682917350498583[/C][/ROW]
[ROW][C]72[/C][C]0[/C][C]0.294948191622305[/C][C]-0.294948191622305[/C][/ROW]
[ROW][C]73[/C][C]1[/C][C]0.560855663419938[/C][C]0.439144336580062[/C][/ROW]
[ROW][C]74[/C][C]0[/C][C]0.521424395501767[/C][C]-0.521424395501767[/C][/ROW]
[ROW][C]75[/C][C]0[/C][C]0.536493962802357[/C][C]-0.536493962802357[/C][/ROW]
[ROW][C]76[/C][C]1[/C][C]0.384911190451985[/C][C]0.615088809548015[/C][/ROW]
[ROW][C]77[/C][C]1[/C][C]0.482811933683747[/C][C]0.517188066316253[/C][/ROW]
[ROW][C]78[/C][C]1[/C][C]0.331830583407291[/C][C]0.668169416592709[/C][/ROW]
[ROW][C]79[/C][C]0[/C][C]0.44825472444424[/C][C]-0.44825472444424[/C][/ROW]
[ROW][C]80[/C][C]0[/C][C]0.39212131479393[/C][C]-0.39212131479393[/C][/ROW]
[ROW][C]81[/C][C]0[/C][C]0.586820943618734[/C][C]-0.586820943618734[/C][/ROW]
[ROW][C]82[/C][C]0[/C][C]0.437450553361287[/C][C]-0.437450553361287[/C][/ROW]
[ROW][C]83[/C][C]1[/C][C]0.494387346973941[/C][C]0.505612653026059[/C][/ROW]
[ROW][C]84[/C][C]0[/C][C]0.727385053914676[/C][C]-0.727385053914676[/C][/ROW]
[ROW][C]85[/C][C]1[/C][C]0.440724601035345[/C][C]0.559275398964655[/C][/ROW]
[ROW][C]86[/C][C]1[/C][C]0.571795709694692[/C][C]0.428204290305308[/C][/ROW]
[ROW][C]87[/C][C]1[/C][C]0.394645591639646[/C][C]0.605354408360354[/C][/ROW]
[ROW][C]88[/C][C]1[/C][C]0.393667054176293[/C][C]0.606332945823707[/C][/ROW]
[ROW][C]89[/C][C]1[/C][C]0.655577326022475[/C][C]0.344422673977525[/C][/ROW]
[ROW][C]90[/C][C]1[/C][C]0.520830422545411[/C][C]0.479169577454589[/C][/ROW]
[ROW][C]91[/C][C]0[/C][C]0.571423874649817[/C][C]-0.571423874649817[/C][/ROW]
[ROW][C]92[/C][C]1[/C][C]0.578264667428593[/C][C]0.421735332571407[/C][/ROW]
[ROW][C]93[/C][C]1[/C][C]0.647070789580369[/C][C]0.352929210419631[/C][/ROW]
[ROW][C]94[/C][C]1[/C][C]0.516732502939241[/C][C]0.483267497060759[/C][/ROW]
[ROW][C]95[/C][C]1[/C][C]0.487404896000865[/C][C]0.512595103999135[/C][/ROW]
[ROW][C]96[/C][C]1[/C][C]0.376368601831714[/C][C]0.623631398168286[/C][/ROW]
[ROW][C]97[/C][C]1[/C][C]0.559451018877196[/C][C]0.440548981122804[/C][/ROW]
[ROW][C]98[/C][C]0[/C][C]0.462606188088298[/C][C]-0.462606188088298[/C][/ROW]
[ROW][C]99[/C][C]0[/C][C]0.527363218966757[/C][C]-0.527363218966757[/C][/ROW]
[ROW][C]100[/C][C]1[/C][C]0.839306971658747[/C][C]0.160693028341253[/C][/ROW]
[ROW][C]101[/C][C]1[/C][C]0.503483439173038[/C][C]0.496516560826962[/C][/ROW]
[ROW][C]102[/C][C]1[/C][C]0.446782331816519[/C][C]0.553217668183481[/C][/ROW]
[ROW][C]103[/C][C]0[/C][C]0.650850110774755[/C][C]-0.650850110774755[/C][/ROW]
[ROW][C]104[/C][C]1[/C][C]0.610092813218604[/C][C]0.389907186781396[/C][/ROW]
[ROW][C]105[/C][C]1[/C][C]0.420973090777195[/C][C]0.579026909222806[/C][/ROW]
[ROW][C]106[/C][C]0[/C][C]0.460822620960866[/C][C]-0.460822620960866[/C][/ROW]
[ROW][C]107[/C][C]0[/C][C]0.681795734595339[/C][C]-0.681795734595339[/C][/ROW]
[ROW][C]108[/C][C]1[/C][C]0.505524584292048[/C][C]0.494475415707952[/C][/ROW]
[ROW][C]109[/C][C]0[/C][C]0.359573115252250[/C][C]-0.359573115252250[/C][/ROW]
[ROW][C]110[/C][C]0[/C][C]0.287257957171120[/C][C]-0.287257957171120[/C][/ROW]
[ROW][C]111[/C][C]1[/C][C]0.425260287774601[/C][C]0.574739712225399[/C][/ROW]
[ROW][C]112[/C][C]0[/C][C]0.429269151314273[/C][C]-0.429269151314273[/C][/ROW]
[ROW][C]113[/C][C]1[/C][C]0.437415064440714[/C][C]0.562584935559286[/C][/ROW]
[ROW][C]114[/C][C]0[/C][C]0.541900512057102[/C][C]-0.541900512057102[/C][/ROW]
[ROW][C]115[/C][C]1[/C][C]0.358678804249841[/C][C]0.641321195750159[/C][/ROW]
[ROW][C]116[/C][C]1[/C][C]0.322110445817804[/C][C]0.677889554182196[/C][/ROW]
[ROW][C]117[/C][C]0[/C][C]0.624887898497627[/C][C]-0.624887898497627[/C][/ROW]
[ROW][C]118[/C][C]1[/C][C]0.529016608888891[/C][C]0.470983391111109[/C][/ROW]
[ROW][C]119[/C][C]0[/C][C]0.295241032874722[/C][C]-0.295241032874722[/C][/ROW]
[ROW][C]120[/C][C]1[/C][C]0.340184600221689[/C][C]0.659815399778311[/C][/ROW]
[ROW][C]121[/C][C]0[/C][C]0.764897540559039[/C][C]-0.764897540559039[/C][/ROW]
[ROW][C]122[/C][C]0[/C][C]0.298993356504975[/C][C]-0.298993356504975[/C][/ROW]
[ROW][C]123[/C][C]1[/C][C]0.564274221849562[/C][C]0.435725778150438[/C][/ROW]
[ROW][C]124[/C][C]1[/C][C]0.512059862783981[/C][C]0.487940137216019[/C][/ROW]
[ROW][C]125[/C][C]0[/C][C]0.457588683980164[/C][C]-0.457588683980164[/C][/ROW]
[ROW][C]126[/C][C]1[/C][C]0.450497810179948[/C][C]0.549502189820052[/C][/ROW]
[ROW][C]127[/C][C]1[/C][C]0.506035524736446[/C][C]0.493964475263554[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8094&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8094&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
100.469346620796885-0.469346620796885
210.6607117461547380.339288253845262
310.5032597568426140.496740243157386
400.425121475400066-0.425121475400066
500.491490930624266-0.491490930624266
600.519481776086645-0.519481776086645
700.602531772965839-0.602531772965839
810.7962309496758180.203769050324182
900.472308937100362-0.472308937100362
1000.335301431513776-0.335301431513776
1110.7310785215881360.268921478411864
1200.476925757228949-0.476925757228949
1300.338522373119333-0.338522373119333
1410.4985728560751560.501427143924844
1500.472063686467112-0.472063686467112
1600.470464556894217-0.470464556894217
1710.5729389060609530.427061093939047
1810.3075369673128890.692463032687111
1900.323953637063134-0.323953637063134
2000.338176733361602-0.338176733361602
2110.3859614673979860.614038532602014
2210.7947176335376870.205282366462313
2300.302051758671776-0.302051758671776
2400.394857443357395-0.394857443357395
2510.4074757795185530.592524220481447
2600.369897976244151-0.369897976244151
2700.305077295132243-0.305077295132243
2800.335869055642874-0.335869055642874
2900.388813026582237-0.388813026582237
3000.366937958530794-0.366937958530794
3110.5517797264711340.448220273528866
3200.454819040797021-0.454819040797021
3300.322739415570033-0.322739415570033
3400.307564926169421-0.307564926169421
3510.4622900667832860.537709933216714
3600.32940774712041-0.32940774712041
3710.4823714456842290.517628554315771
3810.6780859468067290.321914053193271
3900.30162416034027-0.30162416034027
4000.302924269646613-0.302924269646613
4100.378382904462766-0.378382904462766
4210.5032427912221640.496757208777836
4310.3435820751222050.656417924877795
4400.468184737421961-0.468184737421961
4500.386672072132718-0.386672072132718
4600.286642595851246-0.286642595851246
4700.423956638998722-0.423956638998722
4800.501070939510219-0.501070939510219
4900.497455012374279-0.497455012374279
5000.421132320568926-0.421132320568926
5110.612957474921310.38704252507869
5200.690223028616242-0.690223028616242
5300.291302595638712-0.291302595638712
5400.58785417486599-0.58785417486599
5500.417415305881618-0.417415305881618
5610.6065848532522750.393415146747725
5710.4354588057760390.56454119422396
5810.7361161693802340.263883830619766
5910.4597994135968340.540200586403166
6000.559974649864694-0.559974649864694
6100.544688686395893-0.544688686395893
6210.312188446917450.68781155308255
6300.283205700277772-0.283205700277772
6400.354351364467991-0.354351364467991
6510.5284574614644150.471542538535585
6610.5871634161438860.412836583856114
6710.5317529872455620.468247012754438
6800.60996355804703-0.60996355804703
6900.324957341245778-0.324957341245778
7010.4896707254747350.510329274525265
7110.3170826495014170.682917350498583
7200.294948191622305-0.294948191622305
7310.5608556634199380.439144336580062
7400.521424395501767-0.521424395501767
7500.536493962802357-0.536493962802357
7610.3849111904519850.615088809548015
7710.4828119336837470.517188066316253
7810.3318305834072910.668169416592709
7900.44825472444424-0.44825472444424
8000.39212131479393-0.39212131479393
8100.586820943618734-0.586820943618734
8200.437450553361287-0.437450553361287
8310.4943873469739410.505612653026059
8400.727385053914676-0.727385053914676
8510.4407246010353450.559275398964655
8610.5717957096946920.428204290305308
8710.3946455916396460.605354408360354
8810.3936670541762930.606332945823707
8910.6555773260224750.344422673977525
9010.5208304225454110.479169577454589
9100.571423874649817-0.571423874649817
9210.5782646674285930.421735332571407
9310.6470707895803690.352929210419631
9410.5167325029392410.483267497060759
9510.4874048960008650.512595103999135
9610.3763686018317140.623631398168286
9710.5594510188771960.440548981122804
9800.462606188088298-0.462606188088298
9900.527363218966757-0.527363218966757
10010.8393069716587470.160693028341253
10110.5034834391730380.496516560826962
10210.4467823318165190.553217668183481
10300.650850110774755-0.650850110774755
10410.6100928132186040.389907186781396
10510.4209730907771950.579026909222806
10600.460822620960866-0.460822620960866
10700.681795734595339-0.681795734595339
10810.5055245842920480.494475415707952
10900.359573115252250-0.359573115252250
11000.287257957171120-0.287257957171120
11110.4252602877746010.574739712225399
11200.429269151314273-0.429269151314273
11310.4374150644407140.562584935559286
11400.541900512057102-0.541900512057102
11510.3586788042498410.641321195750159
11610.3221104458178040.677889554182196
11700.624887898497627-0.624887898497627
11810.5290166088888910.470983391111109
11900.295241032874722-0.295241032874722
12010.3401846002216890.659815399778311
12100.764897540559039-0.764897540559039
12200.298993356504975-0.298993356504975
12310.5642742218495620.435725778150438
12410.5120598627839810.487940137216019
12500.457588683980164-0.457588683980164
12610.4504978101799480.549502189820052
12710.5060355247364460.493964475263554







Type I & II errors for various threshold values
ThresholdType IType II
0.0101
0.0201
0.0301
0.0401
0.0501
0.0601
0.0701
0.0801
0.0901
0.101
0.1101
0.1201
0.1301
0.1401
0.1501
0.1601
0.1701
0.1801
0.1901
0.201
0.2101
0.2201
0.2301
0.2401
0.2501
0.2601
0.2701
0.2801
0.2900.955223880597015
0.300.895522388059702
0.310.01666666666666670.82089552238806
0.320.050.82089552238806
0.330.06666666666666670.761194029850746
0.340.08333333333333330.701492537313433
0.350.1166666666666670.701492537313433
0.360.1333333333333330.671641791044776
0.370.1333333333333330.64179104477612
0.380.150.626865671641791
0.390.1833333333333330.597014925373134
0.40.2166666666666670.567164179104478
0.410.2333333333333330.567164179104478
0.420.2333333333333330.552238805970149
0.430.2666666666666670.492537313432836
0.440.30.477611940298507
0.450.3333333333333330.462686567164179
0.460.3666666666666670.432835820895522
0.470.3833333333333330.373134328358209
0.480.3833333333333330.313432835820896
0.490.450.313432835820896
0.50.4833333333333330.283582089552239
0.510.5666666666666670.268656716417910
0.520.60.253731343283582
0.530.650.223880597014925
0.540.6666666666666670.208955223880597
0.550.6666666666666670.179104477611940
0.560.70.164179104477612
0.570.7333333333333330.164179104477612
0.580.7833333333333330.149253731343284
0.590.80.119402985074627
0.60.80.119402985074627
0.610.8166666666666670.0895522388059701
0.620.850.0895522388059701
0.630.850.0746268656716418
0.640.850.0746268656716418
0.650.8666666666666670.0746268656716418
0.660.8833333333333330.0597014925373134
0.670.90.0597014925373134
0.680.9166666666666670.0597014925373134
0.690.9166666666666670.0447761194029851
0.70.9166666666666670.0298507462686567
0.710.9166666666666670.0298507462686567
0.720.9166666666666670.0298507462686567
0.730.9166666666666670.0149253731343284
0.740.950.0149253731343284
0.750.950.0149253731343284
0.760.950.0149253731343284
0.770.950
0.780.950
0.790.950
0.80.9833333333333330
0.810.9833333333333330
0.820.9833333333333330
0.830.9833333333333330
0.8410
0.8510
0.8610
0.8710
0.8810
0.8910
0.910
0.9110
0.9210
0.9310
0.9410
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 & 1 \tabularnewline
0.02 & 0 & 1 \tabularnewline
0.03 & 0 & 1 \tabularnewline
0.04 & 0 & 1 \tabularnewline
0.05 & 0 & 1 \tabularnewline
0.06 & 0 & 1 \tabularnewline
0.07 & 0 & 1 \tabularnewline
0.08 & 0 & 1 \tabularnewline
0.09 & 0 & 1 \tabularnewline
0.1 & 0 & 1 \tabularnewline
0.11 & 0 & 1 \tabularnewline
0.12 & 0 & 1 \tabularnewline
0.13 & 0 & 1 \tabularnewline
0.14 & 0 & 1 \tabularnewline
0.15 & 0 & 1 \tabularnewline
0.16 & 0 & 1 \tabularnewline
0.17 & 0 & 1 \tabularnewline
0.18 & 0 & 1 \tabularnewline
0.19 & 0 & 1 \tabularnewline
0.2 & 0 & 1 \tabularnewline
0.21 & 0 & 1 \tabularnewline
0.22 & 0 & 1 \tabularnewline
0.23 & 0 & 1 \tabularnewline
0.24 & 0 & 1 \tabularnewline
0.25 & 0 & 1 \tabularnewline
0.26 & 0 & 1 \tabularnewline
0.27 & 0 & 1 \tabularnewline
0.28 & 0 & 1 \tabularnewline
0.29 & 0 & 0.955223880597015 \tabularnewline
0.3 & 0 & 0.895522388059702 \tabularnewline
0.31 & 0.0166666666666667 & 0.82089552238806 \tabularnewline
0.32 & 0.05 & 0.82089552238806 \tabularnewline
0.33 & 0.0666666666666667 & 0.761194029850746 \tabularnewline
0.34 & 0.0833333333333333 & 0.701492537313433 \tabularnewline
0.35 & 0.116666666666667 & 0.701492537313433 \tabularnewline
0.36 & 0.133333333333333 & 0.671641791044776 \tabularnewline
0.37 & 0.133333333333333 & 0.64179104477612 \tabularnewline
0.38 & 0.15 & 0.626865671641791 \tabularnewline
0.39 & 0.183333333333333 & 0.597014925373134 \tabularnewline
0.4 & 0.216666666666667 & 0.567164179104478 \tabularnewline
0.41 & 0.233333333333333 & 0.567164179104478 \tabularnewline
0.42 & 0.233333333333333 & 0.552238805970149 \tabularnewline
0.43 & 0.266666666666667 & 0.492537313432836 \tabularnewline
0.44 & 0.3 & 0.477611940298507 \tabularnewline
0.45 & 0.333333333333333 & 0.462686567164179 \tabularnewline
0.46 & 0.366666666666667 & 0.432835820895522 \tabularnewline
0.47 & 0.383333333333333 & 0.373134328358209 \tabularnewline
0.48 & 0.383333333333333 & 0.313432835820896 \tabularnewline
0.49 & 0.45 & 0.313432835820896 \tabularnewline
0.5 & 0.483333333333333 & 0.283582089552239 \tabularnewline
0.51 & 0.566666666666667 & 0.268656716417910 \tabularnewline
0.52 & 0.6 & 0.253731343283582 \tabularnewline
0.53 & 0.65 & 0.223880597014925 \tabularnewline
0.54 & 0.666666666666667 & 0.208955223880597 \tabularnewline
0.55 & 0.666666666666667 & 0.179104477611940 \tabularnewline
0.56 & 0.7 & 0.164179104477612 \tabularnewline
0.57 & 0.733333333333333 & 0.164179104477612 \tabularnewline
0.58 & 0.783333333333333 & 0.149253731343284 \tabularnewline
0.59 & 0.8 & 0.119402985074627 \tabularnewline
0.6 & 0.8 & 0.119402985074627 \tabularnewline
0.61 & 0.816666666666667 & 0.0895522388059701 \tabularnewline
0.62 & 0.85 & 0.0895522388059701 \tabularnewline
0.63 & 0.85 & 0.0746268656716418 \tabularnewline
0.64 & 0.85 & 0.0746268656716418 \tabularnewline
0.65 & 0.866666666666667 & 0.0746268656716418 \tabularnewline
0.66 & 0.883333333333333 & 0.0597014925373134 \tabularnewline
0.67 & 0.9 & 0.0597014925373134 \tabularnewline
0.68 & 0.916666666666667 & 0.0597014925373134 \tabularnewline
0.69 & 0.916666666666667 & 0.0447761194029851 \tabularnewline
0.7 & 0.916666666666667 & 0.0298507462686567 \tabularnewline
0.71 & 0.916666666666667 & 0.0298507462686567 \tabularnewline
0.72 & 0.916666666666667 & 0.0298507462686567 \tabularnewline
0.73 & 0.916666666666667 & 0.0149253731343284 \tabularnewline
0.74 & 0.95 & 0.0149253731343284 \tabularnewline
0.75 & 0.95 & 0.0149253731343284 \tabularnewline
0.76 & 0.95 & 0.0149253731343284 \tabularnewline
0.77 & 0.95 & 0 \tabularnewline
0.78 & 0.95 & 0 \tabularnewline
0.79 & 0.95 & 0 \tabularnewline
0.8 & 0.983333333333333 & 0 \tabularnewline
0.81 & 0.983333333333333 & 0 \tabularnewline
0.82 & 0.983333333333333 & 0 \tabularnewline
0.83 & 0.983333333333333 & 0 \tabularnewline
0.84 & 1 & 0 \tabularnewline
0.85 & 1 & 0 \tabularnewline
0.86 & 1 & 0 \tabularnewline
0.87 & 1 & 0 \tabularnewline
0.88 & 1 & 0 \tabularnewline
0.89 & 1 & 0 \tabularnewline
0.9 & 1 & 0 \tabularnewline
0.91 & 1 & 0 \tabularnewline
0.92 & 1 & 0 \tabularnewline
0.93 & 1 & 0 \tabularnewline
0.94 & 1 & 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=8094&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]1[/C][/ROW]
[ROW][C]0.02[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.03[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.04[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.05[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.06[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.07[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.08[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.09[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.1[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.11[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.12[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.13[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.14[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.15[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.16[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.17[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.18[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.19[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.2[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.21[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.22[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.23[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.24[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.25[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.26[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.27[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.28[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]0.29[/C][C]0[/C][C]0.955223880597015[/C][/ROW]
[ROW][C]0.3[/C][C]0[/C][C]0.895522388059702[/C][/ROW]
[ROW][C]0.31[/C][C]0.0166666666666667[/C][C]0.82089552238806[/C][/ROW]
[ROW][C]0.32[/C][C]0.05[/C][C]0.82089552238806[/C][/ROW]
[ROW][C]0.33[/C][C]0.0666666666666667[/C][C]0.761194029850746[/C][/ROW]
[ROW][C]0.34[/C][C]0.0833333333333333[/C][C]0.701492537313433[/C][/ROW]
[ROW][C]0.35[/C][C]0.116666666666667[/C][C]0.701492537313433[/C][/ROW]
[ROW][C]0.36[/C][C]0.133333333333333[/C][C]0.671641791044776[/C][/ROW]
[ROW][C]0.37[/C][C]0.133333333333333[/C][C]0.64179104477612[/C][/ROW]
[ROW][C]0.38[/C][C]0.15[/C][C]0.626865671641791[/C][/ROW]
[ROW][C]0.39[/C][C]0.183333333333333[/C][C]0.597014925373134[/C][/ROW]
[ROW][C]0.4[/C][C]0.216666666666667[/C][C]0.567164179104478[/C][/ROW]
[ROW][C]0.41[/C][C]0.233333333333333[/C][C]0.567164179104478[/C][/ROW]
[ROW][C]0.42[/C][C]0.233333333333333[/C][C]0.552238805970149[/C][/ROW]
[ROW][C]0.43[/C][C]0.266666666666667[/C][C]0.492537313432836[/C][/ROW]
[ROW][C]0.44[/C][C]0.3[/C][C]0.477611940298507[/C][/ROW]
[ROW][C]0.45[/C][C]0.333333333333333[/C][C]0.462686567164179[/C][/ROW]
[ROW][C]0.46[/C][C]0.366666666666667[/C][C]0.432835820895522[/C][/ROW]
[ROW][C]0.47[/C][C]0.383333333333333[/C][C]0.373134328358209[/C][/ROW]
[ROW][C]0.48[/C][C]0.383333333333333[/C][C]0.313432835820896[/C][/ROW]
[ROW][C]0.49[/C][C]0.45[/C][C]0.313432835820896[/C][/ROW]
[ROW][C]0.5[/C][C]0.483333333333333[/C][C]0.283582089552239[/C][/ROW]
[ROW][C]0.51[/C][C]0.566666666666667[/C][C]0.268656716417910[/C][/ROW]
[ROW][C]0.52[/C][C]0.6[/C][C]0.253731343283582[/C][/ROW]
[ROW][C]0.53[/C][C]0.65[/C][C]0.223880597014925[/C][/ROW]
[ROW][C]0.54[/C][C]0.666666666666667[/C][C]0.208955223880597[/C][/ROW]
[ROW][C]0.55[/C][C]0.666666666666667[/C][C]0.179104477611940[/C][/ROW]
[ROW][C]0.56[/C][C]0.7[/C][C]0.164179104477612[/C][/ROW]
[ROW][C]0.57[/C][C]0.733333333333333[/C][C]0.164179104477612[/C][/ROW]
[ROW][C]0.58[/C][C]0.783333333333333[/C][C]0.149253731343284[/C][/ROW]
[ROW][C]0.59[/C][C]0.8[/C][C]0.119402985074627[/C][/ROW]
[ROW][C]0.6[/C][C]0.8[/C][C]0.119402985074627[/C][/ROW]
[ROW][C]0.61[/C][C]0.816666666666667[/C][C]0.0895522388059701[/C][/ROW]
[ROW][C]0.62[/C][C]0.85[/C][C]0.0895522388059701[/C][/ROW]
[ROW][C]0.63[/C][C]0.85[/C][C]0.0746268656716418[/C][/ROW]
[ROW][C]0.64[/C][C]0.85[/C][C]0.0746268656716418[/C][/ROW]
[ROW][C]0.65[/C][C]0.866666666666667[/C][C]0.0746268656716418[/C][/ROW]
[ROW][C]0.66[/C][C]0.883333333333333[/C][C]0.0597014925373134[/C][/ROW]
[ROW][C]0.67[/C][C]0.9[/C][C]0.0597014925373134[/C][/ROW]
[ROW][C]0.68[/C][C]0.916666666666667[/C][C]0.0597014925373134[/C][/ROW]
[ROW][C]0.69[/C][C]0.916666666666667[/C][C]0.0447761194029851[/C][/ROW]
[ROW][C]0.7[/C][C]0.916666666666667[/C][C]0.0298507462686567[/C][/ROW]
[ROW][C]0.71[/C][C]0.916666666666667[/C][C]0.0298507462686567[/C][/ROW]
[ROW][C]0.72[/C][C]0.916666666666667[/C][C]0.0298507462686567[/C][/ROW]
[ROW][C]0.73[/C][C]0.916666666666667[/C][C]0.0149253731343284[/C][/ROW]
[ROW][C]0.74[/C][C]0.95[/C][C]0.0149253731343284[/C][/ROW]
[ROW][C]0.75[/C][C]0.95[/C][C]0.0149253731343284[/C][/ROW]
[ROW][C]0.76[/C][C]0.95[/C][C]0.0149253731343284[/C][/ROW]
[ROW][C]0.77[/C][C]0.95[/C][C]0[/C][/ROW]
[ROW][C]0.78[/C][C]0.95[/C][C]0[/C][/ROW]
[ROW][C]0.79[/C][C]0.95[/C][C]0[/C][/ROW]
[ROW][C]0.8[/C][C]0.983333333333333[/C][C]0[/C][/ROW]
[ROW][C]0.81[/C][C]0.983333333333333[/C][C]0[/C][/ROW]
[ROW][C]0.82[/C][C]0.983333333333333[/C][C]0[/C][/ROW]
[ROW][C]0.83[/C][C]0.983333333333333[/C][C]0[/C][/ROW]
[ROW][C]0.84[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.85[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.86[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.87[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.88[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.89[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.9[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.91[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.92[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.93[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.94[/C][C]1[/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=8094&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8094&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.0101
0.0201
0.0301
0.0401
0.0501
0.0601
0.0701
0.0801
0.0901
0.101
0.1101
0.1201
0.1301
0.1401
0.1501
0.1601
0.1701
0.1801
0.1901
0.201
0.2101
0.2201
0.2301
0.2401
0.2501
0.2601
0.2701
0.2801
0.2900.955223880597015
0.300.895522388059702
0.310.01666666666666670.82089552238806
0.320.050.82089552238806
0.330.06666666666666670.761194029850746
0.340.08333333333333330.701492537313433
0.350.1166666666666670.701492537313433
0.360.1333333333333330.671641791044776
0.370.1333333333333330.64179104477612
0.380.150.626865671641791
0.390.1833333333333330.597014925373134
0.40.2166666666666670.567164179104478
0.410.2333333333333330.567164179104478
0.420.2333333333333330.552238805970149
0.430.2666666666666670.492537313432836
0.440.30.477611940298507
0.450.3333333333333330.462686567164179
0.460.3666666666666670.432835820895522
0.470.3833333333333330.373134328358209
0.480.3833333333333330.313432835820896
0.490.450.313432835820896
0.50.4833333333333330.283582089552239
0.510.5666666666666670.268656716417910
0.520.60.253731343283582
0.530.650.223880597014925
0.540.6666666666666670.208955223880597
0.550.6666666666666670.179104477611940
0.560.70.164179104477612
0.570.7333333333333330.164179104477612
0.580.7833333333333330.149253731343284
0.590.80.119402985074627
0.60.80.119402985074627
0.610.8166666666666670.0895522388059701
0.620.850.0895522388059701
0.630.850.0746268656716418
0.640.850.0746268656716418
0.650.8666666666666670.0746268656716418
0.660.8833333333333330.0597014925373134
0.670.90.0597014925373134
0.680.9166666666666670.0597014925373134
0.690.9166666666666670.0447761194029851
0.70.9166666666666670.0298507462686567
0.710.9166666666666670.0298507462686567
0.720.9166666666666670.0298507462686567
0.730.9166666666666670.0149253731343284
0.740.950.0149253731343284
0.750.950.0149253731343284
0.760.950.0149253731343284
0.770.950
0.780.950
0.790.950
0.80.9833333333333330
0.810.9833333333333330
0.820.9833333333333330
0.830.9833333333333330
0.8410
0.8510
0.8610
0.8710
0.8810
0.8910
0.910
0.9110
0.9210
0.9310
0.9410
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(brlr)
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 <- brlr(x)
summary(r)
rc <- summary(r)$coeff
hm <- hosmerlem(y[1,],r$fitted.values)
hm
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)
a<-table.element(a,hm[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degrees of Freedom',1,TRUE)
a<-table.element(a,hm[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'P(>Chi)',1,TRUE)
a<-table.element(a,hm[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')