Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_logisticregression.wasp
Title produced by softwareBias-Reduced Logistic Regression
Date of computationWed, 30 Jan 2008 01:49:31 -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/Jan/30/t1201683126on2c5tyr0czo91k.htm/, Retrieved Tue, 14 May 2024 10:28:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=8086, Retrieved Tue, 14 May 2024 10:28:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact287
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Bias-Reduced Logistic Regression] [Binghnetty Logist...] [2008-01-30 08:49:31] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	1	5.3
1	1	4.6
1	1	5.9
1	1	6.4
1	1	4.5
1	1	3.1
1	1	3.8
1	1	5.7
1	1	3.6
1	1	3.6
1	1	6.1
1	1	5.3
1	1	4.3
1	1	6.5
1	1	6.2
1	1	6.9
1	1	7.2
1	1	6.6
1	1	5.7
1	1	6.8
1	1	2.2
1	1	2.2
1	1	4.1
1	1	5.2
1	1	5.8
1	1	5.2
1	1	5.6
1	1	5.7
1	1	4.4
1	1	5.4
1	1	6.1
1	1	6.5
1	1	4.7
1	1	6.8
1	1	6.3
1	1	3.8
1	1	3.1
1	1	6.5
1	1	7.1
1	1	1.0
1	0	4.9
1	0	5.8
1	0	5.6
1	0	4.9
1	0	5.2
1	0	7.0
0	1	5.0
0	1	8.0
0	0	6.0
0	1	5.0
0	1	8.0
0	0	10.0
0	1	1.0
0	1	7.0
0	1	6.0
0	1	4.0
0	0	6.0
0	0	6.0
0	1	8.0
0	0	7.0
0	0	6.0
0	1	7.0
0	1	6.0
0	1	6.0
0	0	6.0
0	1	5.0
0	1	6.0
0	1	7.0
0	1	6.0
0	1	3.0
0	1	6.0
0	1	3.0
0	1	7.0
0	1	5.0
0	1	7.0
0	1	5.0
0	1	7.0
0	1	7.0
0	1	6.0
0	1	7.0
0	1	5.0
0	1	6.0
0	1	6.0
0	1	6.0
0	1	5.0
0	1	8.0
0	0	3.0
0	0	5.0
0	0	6.0
0	0	6.0
0	1	6.0
0	0	99.0
0	1	8.0
0	1	8.0
0	0	4.0
0	1	9.0
0	1	5.0
0	0	6.0
0	1	99.0
0	1	6.0
0	1	6.0
0	1	7.0
0	1	5.0
0	0	99.0
0	1	6.0
0	1	6.0
0	0	6.0
0	1	7.0
0	0	8.0
0	0	7.0
0	1	6.0
0	2	6.0
0	1	5.0
0	1	7.0
0	1	6.0
0	0	7.0
0	1	9.0
0	1	6.0
0	1	7.0
0	1	6.0
0	1	7.0
0	1	7.0
0	0	8.0
0	1	4.0
0	0	5.0
0	1	6.0
0	1	6.0
0	1	6.0
0	1	7.0




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time28 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 28 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8086&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]28 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8086&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8086&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 time28 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Coefficients of Bias-Reduced Logistic Regression
VariableParameterS.E.t-stat2-sided p-value
(Intercept)-0.8258900229437280.480135282129261-1.720119419845890.0878658393608114
snoring0.5189238978267260.4717397076556311.100021663229460.273419900430739
sleep_time-0.02314286242229810.0275856292428259-0.8389463303004680.403088263277221

\begin{tabular}{lllllllll}
\hline
Coefficients of Bias-Reduced Logistic Regression \tabularnewline
Variable & Parameter & S.E. & t-stat & 2-sided p-value \tabularnewline
(Intercept) & -0.825890022943728 & 0.480135282129261 & -1.72011941984589 & 0.0878658393608114 \tabularnewline
snoring & 0.518923897826726 & 0.471739707655631 & 1.10002166322946 & 0.273419900430739 \tabularnewline
sleep_time & -0.0231428624222981 & 0.0275856292428259 & -0.838946330300468 & 0.403088263277221 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8086&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.825890022943728[/C][C]0.480135282129261[/C][C]-1.72011941984589[/C][C]0.0878658393608114[/C][/ROW]
[ROW][C]snoring[/C][C]0.518923897826726[/C][C]0.471739707655631[/C][C]1.10002166322946[/C][C]0.273419900430739[/C][/ROW]
[ROW][C]sleep_time[/C][C]-0.0231428624222981[/C][C]0.0275856292428259[/C][C]-0.838946330300468[/C][C]0.403088263277221[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8086&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8086&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.8258900229437280.480135282129261-1.720119419845890.0878658393608114
snoring0.5189238978267260.4717397076556311.100021663229460.273419900430739
sleep_time-0.02314286242229810.0275856292428259-0.8389463303004680.403088263277221







Summary of Bias-Reduced Logistic Regression
Deviance162.926225935245
Penalized deviance150.860973421723
Residual Degrees of Freedom126
ROC Area0.685699319015191
Hosmer–Lemeshow test
Chi-square70.5399502271576
Degrees of Freedom8
P(>Chi)3.83659770619715e-12

\begin{tabular}{lllllllll}
\hline
Summary of Bias-Reduced Logistic Regression \tabularnewline
Deviance & 162.926225935245 \tabularnewline
Penalized deviance & 150.860973421723 \tabularnewline
Residual Degrees of Freedom & 126 \tabularnewline
ROC Area & 0.685699319015191 \tabularnewline
Hosmer–Lemeshow test \tabularnewline
Chi-square & 70.5399502271576 \tabularnewline
Degrees of Freedom & 8 \tabularnewline
P(>Chi) & 3.83659770619715e-12 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8086&T=2

[TABLE]
[ROW][C]Summary of Bias-Reduced Logistic Regression[/C][/ROW]
[ROW][C]Deviance[/C][C]162.926225935245[/C][/ROW]
[ROW][C]Penalized deviance[/C][C]150.860973421723[/C][/ROW]
[ROW][C]Residual Degrees of Freedom[/C][C]126[/C][/ROW]
[ROW][C]ROC Area[/C][C]0.685699319015191[/C][/ROW]
[ROW][C]Hosmer–Lemeshow test[/C][/ROW]
[ROW][C]Chi-square[/C][C]70.5399502271576[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]8[/C][/ROW]
[ROW][C]P(>Chi)[/C][C]3.83659770619715e-12[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8086&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8086&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
Deviance162.926225935245
Penalized deviance150.860973421723
Residual Degrees of Freedom126
ROC Area0.685699319015191
Hosmer–Lemeshow test
Chi-square70.5399502271576
Degrees of Freedom8
P(>Chi)3.83659770619715e-12







Fit of Logistic Regression
IndexActualFittedError
110.3942162886024780.605783711397522
210.3980915646438480.601908435356152
310.3909051599675890.609094840032411
410.3881535260041790.611846473995821
510.398646232148080.60135376785192
610.4064383085961700.59356169140383
710.4025361189925570.597463881007444
810.3920077700792600.607992229920741
910.403649794752070.59635020524793
1010.403649794752070.59635020524793
1110.3898036628253270.610196337174673
1210.3942162886024780.605783711397522
1310.3997563466577420.600243653342258
1410.3876040477916940.612395952208306
1510.389253334774720.61074666522528
1610.3854090052155780.614590994784422
1710.3837657718182810.616234228181719
1810.3870548553613410.612945144638659
1910.3920077700792600.607992229920741
2010.3859573328308750.614042667169125
2110.4114727525580040.588527247441996
2210.4114727525580040.588527247441996
2310.4008674917967580.599132508203242
2410.3947690979405610.605230902059439
2510.3914563265350330.608543673464967
2610.3947690979405610.605230902059439
2710.392559489331250.60744051066875
2810.3920077700792600.607992229920741
2910.3992011599206730.600798840079327
3010.3936637498687240.606336250131276
3110.3898036628253270.610196337174673
3210.3876040477916940.612395952208306
3310.3975371587092460.602462841290754
3410.3859573328308750.614042667169125
3510.3887032887492940.611296711250706
3610.4025361189925570.597463881007444
3710.4064383085961700.59356169140383
3810.3876040477916940.612395952208306
3910.3843132234754660.615686776524534
4010.4182141050472980.581785894952702
4110.2810437717194920.718956228280508
4210.2768544448043390.72314555519566
4310.2777820695072060.722217930492794
4410.2810437717194920.718956228280508
4510.2796430453757630.720356954624237
4610.2713290317116260.728670968288374
4700.395875523296432-0.395875523296432
4800.379396861385598-0.379396861385598
4900.275928734306748-0.275928734306748
5000.395875523296432-0.395875523296432
5100.379396861385598-0.379396861385598
5200.257822198062316-0.257822198062316
5300.418214105047298-0.418214105047298
5400.384860968352024-0.384860968352024
5500.390354271643189-0.390354271643189
5600.401423447577954-0.401423447577954
5700.275928734306748-0.275928734306748
5800.275928734306748-0.275928734306748
5900.379396861385598-0.379396861385598
6000.271329031711626-0.271329031711626
6100.275928734306748-0.275928734306748
6200.384860968352024-0.384860968352024
6300.390354271643189-0.390354271643189
6400.390354271643189-0.390354271643189
6500.275928734306748-0.275928734306748
6600.395875523296432-0.395875523296432
6700.390354271643189-0.390354271643189
6800.384860968352024-0.384860968352024
6900.390354271643189-0.390354271643189
7000.406996742048269-0.406996742048269
7100.390354271643189-0.390354271643189
7200.406996742048269-0.406996742048269
7300.384860968352024-0.384860968352024
7400.395875523296432-0.395875523296432
7500.384860968352024-0.384860968352024
7600.395875523296432-0.395875523296432
7700.384860968352024-0.384860968352024
7800.384860968352024-0.384860968352024
7900.390354271643189-0.390354271643189
8000.384860968352024-0.384860968352024
8100.395875523296432-0.395875523296432
8200.390354271643189-0.390354271643189
8300.390354271643189-0.390354271643189
8400.390354271643189-0.390354271643189
8500.395875523296432-0.395875523296432
8600.379396861385598-0.379396861385598
8700.290013473631371-0.290013473631371
8800.280576388320880-0.280576388320880
8900.275928734306748-0.275928734306748
9000.275928734306748-0.275928734306748
9100.390354271643189-0.390354271643189
9200.0424100863065165-0.0424100863065165
9300.379396861385598-0.379396861385598
9400.379396861385598-0.379396861385598
9500.285271483543346-0.285271483543346
9600.373963169926946-0.373963169926946
9700.395875523296432-0.395875523296432
9800.275928734306748-0.275928734306748
9900.0692601885400124-0.0692601885400124
10000.390354271643189-0.390354271643189
10100.390354271643189-0.390354271643189
10200.384860968352024-0.384860968352024
10300.395875523296432-0.395875523296432
10400.0424100863065165-0.0424100863065165
10500.390354271643189-0.390354271643189
10600.390354271643189-0.390354271643189
10700.275928734306748-0.275928734306748
10800.384860968352024-0.384860968352024
10900.266777754860427-0.266777754860427
11000.271329031711626-0.271329031711626
11100.390354271643189-0.390354271643189
11200.518267015817867-0.518267015817867
11300.395875523296432-0.395875523296432
11400.384860968352024-0.384860968352024
11500.390354271643189-0.390354271643189
11600.271329031711626-0.271329031711626
11700.373963169926946-0.373963169926946
11800.390354271643189-0.390354271643189
11900.384860968352024-0.384860968352024
12000.390354271643189-0.390354271643189
12100.384860968352024-0.384860968352024
12200.384860968352024-0.384860968352024
12300.266777754860427-0.266777754860427
12400.401423447577954-0.401423447577954
12500.280576388320880-0.280576388320880
12600.390354271643189-0.390354271643189
12700.390354271643189-0.390354271643189
12800.390354271643189-0.390354271643189
12900.384860968352024-0.384860968352024

\begin{tabular}{lllllllll}
\hline
Fit of Logistic Regression \tabularnewline
Index & Actual & Fitted & Error \tabularnewline
1 & 1 & 0.394216288602478 & 0.605783711397522 \tabularnewline
2 & 1 & 0.398091564643848 & 0.601908435356152 \tabularnewline
3 & 1 & 0.390905159967589 & 0.609094840032411 \tabularnewline
4 & 1 & 0.388153526004179 & 0.611846473995821 \tabularnewline
5 & 1 & 0.39864623214808 & 0.60135376785192 \tabularnewline
6 & 1 & 0.406438308596170 & 0.59356169140383 \tabularnewline
7 & 1 & 0.402536118992557 & 0.597463881007444 \tabularnewline
8 & 1 & 0.392007770079260 & 0.607992229920741 \tabularnewline
9 & 1 & 0.40364979475207 & 0.59635020524793 \tabularnewline
10 & 1 & 0.40364979475207 & 0.59635020524793 \tabularnewline
11 & 1 & 0.389803662825327 & 0.610196337174673 \tabularnewline
12 & 1 & 0.394216288602478 & 0.605783711397522 \tabularnewline
13 & 1 & 0.399756346657742 & 0.600243653342258 \tabularnewline
14 & 1 & 0.387604047791694 & 0.612395952208306 \tabularnewline
15 & 1 & 0.38925333477472 & 0.61074666522528 \tabularnewline
16 & 1 & 0.385409005215578 & 0.614590994784422 \tabularnewline
17 & 1 & 0.383765771818281 & 0.616234228181719 \tabularnewline
18 & 1 & 0.387054855361341 & 0.612945144638659 \tabularnewline
19 & 1 & 0.392007770079260 & 0.607992229920741 \tabularnewline
20 & 1 & 0.385957332830875 & 0.614042667169125 \tabularnewline
21 & 1 & 0.411472752558004 & 0.588527247441996 \tabularnewline
22 & 1 & 0.411472752558004 & 0.588527247441996 \tabularnewline
23 & 1 & 0.400867491796758 & 0.599132508203242 \tabularnewline
24 & 1 & 0.394769097940561 & 0.605230902059439 \tabularnewline
25 & 1 & 0.391456326535033 & 0.608543673464967 \tabularnewline
26 & 1 & 0.394769097940561 & 0.605230902059439 \tabularnewline
27 & 1 & 0.39255948933125 & 0.60744051066875 \tabularnewline
28 & 1 & 0.392007770079260 & 0.607992229920741 \tabularnewline
29 & 1 & 0.399201159920673 & 0.600798840079327 \tabularnewline
30 & 1 & 0.393663749868724 & 0.606336250131276 \tabularnewline
31 & 1 & 0.389803662825327 & 0.610196337174673 \tabularnewline
32 & 1 & 0.387604047791694 & 0.612395952208306 \tabularnewline
33 & 1 & 0.397537158709246 & 0.602462841290754 \tabularnewline
34 & 1 & 0.385957332830875 & 0.614042667169125 \tabularnewline
35 & 1 & 0.388703288749294 & 0.611296711250706 \tabularnewline
36 & 1 & 0.402536118992557 & 0.597463881007444 \tabularnewline
37 & 1 & 0.406438308596170 & 0.59356169140383 \tabularnewline
38 & 1 & 0.387604047791694 & 0.612395952208306 \tabularnewline
39 & 1 & 0.384313223475466 & 0.615686776524534 \tabularnewline
40 & 1 & 0.418214105047298 & 0.581785894952702 \tabularnewline
41 & 1 & 0.281043771719492 & 0.718956228280508 \tabularnewline
42 & 1 & 0.276854444804339 & 0.72314555519566 \tabularnewline
43 & 1 & 0.277782069507206 & 0.722217930492794 \tabularnewline
44 & 1 & 0.281043771719492 & 0.718956228280508 \tabularnewline
45 & 1 & 0.279643045375763 & 0.720356954624237 \tabularnewline
46 & 1 & 0.271329031711626 & 0.728670968288374 \tabularnewline
47 & 0 & 0.395875523296432 & -0.395875523296432 \tabularnewline
48 & 0 & 0.379396861385598 & -0.379396861385598 \tabularnewline
49 & 0 & 0.275928734306748 & -0.275928734306748 \tabularnewline
50 & 0 & 0.395875523296432 & -0.395875523296432 \tabularnewline
51 & 0 & 0.379396861385598 & -0.379396861385598 \tabularnewline
52 & 0 & 0.257822198062316 & -0.257822198062316 \tabularnewline
53 & 0 & 0.418214105047298 & -0.418214105047298 \tabularnewline
54 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
55 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
56 & 0 & 0.401423447577954 & -0.401423447577954 \tabularnewline
57 & 0 & 0.275928734306748 & -0.275928734306748 \tabularnewline
58 & 0 & 0.275928734306748 & -0.275928734306748 \tabularnewline
59 & 0 & 0.379396861385598 & -0.379396861385598 \tabularnewline
60 & 0 & 0.271329031711626 & -0.271329031711626 \tabularnewline
61 & 0 & 0.275928734306748 & -0.275928734306748 \tabularnewline
62 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
63 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
64 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
65 & 0 & 0.275928734306748 & -0.275928734306748 \tabularnewline
66 & 0 & 0.395875523296432 & -0.395875523296432 \tabularnewline
67 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
68 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
69 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
70 & 0 & 0.406996742048269 & -0.406996742048269 \tabularnewline
71 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
72 & 0 & 0.406996742048269 & -0.406996742048269 \tabularnewline
73 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
74 & 0 & 0.395875523296432 & -0.395875523296432 \tabularnewline
75 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
76 & 0 & 0.395875523296432 & -0.395875523296432 \tabularnewline
77 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
78 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
79 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
80 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
81 & 0 & 0.395875523296432 & -0.395875523296432 \tabularnewline
82 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
83 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
84 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
85 & 0 & 0.395875523296432 & -0.395875523296432 \tabularnewline
86 & 0 & 0.379396861385598 & -0.379396861385598 \tabularnewline
87 & 0 & 0.290013473631371 & -0.290013473631371 \tabularnewline
88 & 0 & 0.280576388320880 & -0.280576388320880 \tabularnewline
89 & 0 & 0.275928734306748 & -0.275928734306748 \tabularnewline
90 & 0 & 0.275928734306748 & -0.275928734306748 \tabularnewline
91 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
92 & 0 & 0.0424100863065165 & -0.0424100863065165 \tabularnewline
93 & 0 & 0.379396861385598 & -0.379396861385598 \tabularnewline
94 & 0 & 0.379396861385598 & -0.379396861385598 \tabularnewline
95 & 0 & 0.285271483543346 & -0.285271483543346 \tabularnewline
96 & 0 & 0.373963169926946 & -0.373963169926946 \tabularnewline
97 & 0 & 0.395875523296432 & -0.395875523296432 \tabularnewline
98 & 0 & 0.275928734306748 & -0.275928734306748 \tabularnewline
99 & 0 & 0.0692601885400124 & -0.0692601885400124 \tabularnewline
100 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
101 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
102 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
103 & 0 & 0.395875523296432 & -0.395875523296432 \tabularnewline
104 & 0 & 0.0424100863065165 & -0.0424100863065165 \tabularnewline
105 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
106 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
107 & 0 & 0.275928734306748 & -0.275928734306748 \tabularnewline
108 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
109 & 0 & 0.266777754860427 & -0.266777754860427 \tabularnewline
110 & 0 & 0.271329031711626 & -0.271329031711626 \tabularnewline
111 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
112 & 0 & 0.518267015817867 & -0.518267015817867 \tabularnewline
113 & 0 & 0.395875523296432 & -0.395875523296432 \tabularnewline
114 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
115 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
116 & 0 & 0.271329031711626 & -0.271329031711626 \tabularnewline
117 & 0 & 0.373963169926946 & -0.373963169926946 \tabularnewline
118 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
119 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
120 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
121 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
122 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
123 & 0 & 0.266777754860427 & -0.266777754860427 \tabularnewline
124 & 0 & 0.401423447577954 & -0.401423447577954 \tabularnewline
125 & 0 & 0.280576388320880 & -0.280576388320880 \tabularnewline
126 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
127 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
128 & 0 & 0.390354271643189 & -0.390354271643189 \tabularnewline
129 & 0 & 0.384860968352024 & -0.384860968352024 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8086&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.394216288602478[/C][C]0.605783711397522[/C][/ROW]
[ROW][C]2[/C][C]1[/C][C]0.398091564643848[/C][C]0.601908435356152[/C][/ROW]
[ROW][C]3[/C][C]1[/C][C]0.390905159967589[/C][C]0.609094840032411[/C][/ROW]
[ROW][C]4[/C][C]1[/C][C]0.388153526004179[/C][C]0.611846473995821[/C][/ROW]
[ROW][C]5[/C][C]1[/C][C]0.39864623214808[/C][C]0.60135376785192[/C][/ROW]
[ROW][C]6[/C][C]1[/C][C]0.406438308596170[/C][C]0.59356169140383[/C][/ROW]
[ROW][C]7[/C][C]1[/C][C]0.402536118992557[/C][C]0.597463881007444[/C][/ROW]
[ROW][C]8[/C][C]1[/C][C]0.392007770079260[/C][C]0.607992229920741[/C][/ROW]
[ROW][C]9[/C][C]1[/C][C]0.40364979475207[/C][C]0.59635020524793[/C][/ROW]
[ROW][C]10[/C][C]1[/C][C]0.40364979475207[/C][C]0.59635020524793[/C][/ROW]
[ROW][C]11[/C][C]1[/C][C]0.389803662825327[/C][C]0.610196337174673[/C][/ROW]
[ROW][C]12[/C][C]1[/C][C]0.394216288602478[/C][C]0.605783711397522[/C][/ROW]
[ROW][C]13[/C][C]1[/C][C]0.399756346657742[/C][C]0.600243653342258[/C][/ROW]
[ROW][C]14[/C][C]1[/C][C]0.387604047791694[/C][C]0.612395952208306[/C][/ROW]
[ROW][C]15[/C][C]1[/C][C]0.38925333477472[/C][C]0.61074666522528[/C][/ROW]
[ROW][C]16[/C][C]1[/C][C]0.385409005215578[/C][C]0.614590994784422[/C][/ROW]
[ROW][C]17[/C][C]1[/C][C]0.383765771818281[/C][C]0.616234228181719[/C][/ROW]
[ROW][C]18[/C][C]1[/C][C]0.387054855361341[/C][C]0.612945144638659[/C][/ROW]
[ROW][C]19[/C][C]1[/C][C]0.392007770079260[/C][C]0.607992229920741[/C][/ROW]
[ROW][C]20[/C][C]1[/C][C]0.385957332830875[/C][C]0.614042667169125[/C][/ROW]
[ROW][C]21[/C][C]1[/C][C]0.411472752558004[/C][C]0.588527247441996[/C][/ROW]
[ROW][C]22[/C][C]1[/C][C]0.411472752558004[/C][C]0.588527247441996[/C][/ROW]
[ROW][C]23[/C][C]1[/C][C]0.400867491796758[/C][C]0.599132508203242[/C][/ROW]
[ROW][C]24[/C][C]1[/C][C]0.394769097940561[/C][C]0.605230902059439[/C][/ROW]
[ROW][C]25[/C][C]1[/C][C]0.391456326535033[/C][C]0.608543673464967[/C][/ROW]
[ROW][C]26[/C][C]1[/C][C]0.394769097940561[/C][C]0.605230902059439[/C][/ROW]
[ROW][C]27[/C][C]1[/C][C]0.39255948933125[/C][C]0.60744051066875[/C][/ROW]
[ROW][C]28[/C][C]1[/C][C]0.392007770079260[/C][C]0.607992229920741[/C][/ROW]
[ROW][C]29[/C][C]1[/C][C]0.399201159920673[/C][C]0.600798840079327[/C][/ROW]
[ROW][C]30[/C][C]1[/C][C]0.393663749868724[/C][C]0.606336250131276[/C][/ROW]
[ROW][C]31[/C][C]1[/C][C]0.389803662825327[/C][C]0.610196337174673[/C][/ROW]
[ROW][C]32[/C][C]1[/C][C]0.387604047791694[/C][C]0.612395952208306[/C][/ROW]
[ROW][C]33[/C][C]1[/C][C]0.397537158709246[/C][C]0.602462841290754[/C][/ROW]
[ROW][C]34[/C][C]1[/C][C]0.385957332830875[/C][C]0.614042667169125[/C][/ROW]
[ROW][C]35[/C][C]1[/C][C]0.388703288749294[/C][C]0.611296711250706[/C][/ROW]
[ROW][C]36[/C][C]1[/C][C]0.402536118992557[/C][C]0.597463881007444[/C][/ROW]
[ROW][C]37[/C][C]1[/C][C]0.406438308596170[/C][C]0.59356169140383[/C][/ROW]
[ROW][C]38[/C][C]1[/C][C]0.387604047791694[/C][C]0.612395952208306[/C][/ROW]
[ROW][C]39[/C][C]1[/C][C]0.384313223475466[/C][C]0.615686776524534[/C][/ROW]
[ROW][C]40[/C][C]1[/C][C]0.418214105047298[/C][C]0.581785894952702[/C][/ROW]
[ROW][C]41[/C][C]1[/C][C]0.281043771719492[/C][C]0.718956228280508[/C][/ROW]
[ROW][C]42[/C][C]1[/C][C]0.276854444804339[/C][C]0.72314555519566[/C][/ROW]
[ROW][C]43[/C][C]1[/C][C]0.277782069507206[/C][C]0.722217930492794[/C][/ROW]
[ROW][C]44[/C][C]1[/C][C]0.281043771719492[/C][C]0.718956228280508[/C][/ROW]
[ROW][C]45[/C][C]1[/C][C]0.279643045375763[/C][C]0.720356954624237[/C][/ROW]
[ROW][C]46[/C][C]1[/C][C]0.271329031711626[/C][C]0.728670968288374[/C][/ROW]
[ROW][C]47[/C][C]0[/C][C]0.395875523296432[/C][C]-0.395875523296432[/C][/ROW]
[ROW][C]48[/C][C]0[/C][C]0.379396861385598[/C][C]-0.379396861385598[/C][/ROW]
[ROW][C]49[/C][C]0[/C][C]0.275928734306748[/C][C]-0.275928734306748[/C][/ROW]
[ROW][C]50[/C][C]0[/C][C]0.395875523296432[/C][C]-0.395875523296432[/C][/ROW]
[ROW][C]51[/C][C]0[/C][C]0.379396861385598[/C][C]-0.379396861385598[/C][/ROW]
[ROW][C]52[/C][C]0[/C][C]0.257822198062316[/C][C]-0.257822198062316[/C][/ROW]
[ROW][C]53[/C][C]0[/C][C]0.418214105047298[/C][C]-0.418214105047298[/C][/ROW]
[ROW][C]54[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]55[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]56[/C][C]0[/C][C]0.401423447577954[/C][C]-0.401423447577954[/C][/ROW]
[ROW][C]57[/C][C]0[/C][C]0.275928734306748[/C][C]-0.275928734306748[/C][/ROW]
[ROW][C]58[/C][C]0[/C][C]0.275928734306748[/C][C]-0.275928734306748[/C][/ROW]
[ROW][C]59[/C][C]0[/C][C]0.379396861385598[/C][C]-0.379396861385598[/C][/ROW]
[ROW][C]60[/C][C]0[/C][C]0.271329031711626[/C][C]-0.271329031711626[/C][/ROW]
[ROW][C]61[/C][C]0[/C][C]0.275928734306748[/C][C]-0.275928734306748[/C][/ROW]
[ROW][C]62[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]63[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]64[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]65[/C][C]0[/C][C]0.275928734306748[/C][C]-0.275928734306748[/C][/ROW]
[ROW][C]66[/C][C]0[/C][C]0.395875523296432[/C][C]-0.395875523296432[/C][/ROW]
[ROW][C]67[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]68[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]69[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]70[/C][C]0[/C][C]0.406996742048269[/C][C]-0.406996742048269[/C][/ROW]
[ROW][C]71[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]72[/C][C]0[/C][C]0.406996742048269[/C][C]-0.406996742048269[/C][/ROW]
[ROW][C]73[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]74[/C][C]0[/C][C]0.395875523296432[/C][C]-0.395875523296432[/C][/ROW]
[ROW][C]75[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]76[/C][C]0[/C][C]0.395875523296432[/C][C]-0.395875523296432[/C][/ROW]
[ROW][C]77[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]78[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]79[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]80[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]81[/C][C]0[/C][C]0.395875523296432[/C][C]-0.395875523296432[/C][/ROW]
[ROW][C]82[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]83[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]84[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]85[/C][C]0[/C][C]0.395875523296432[/C][C]-0.395875523296432[/C][/ROW]
[ROW][C]86[/C][C]0[/C][C]0.379396861385598[/C][C]-0.379396861385598[/C][/ROW]
[ROW][C]87[/C][C]0[/C][C]0.290013473631371[/C][C]-0.290013473631371[/C][/ROW]
[ROW][C]88[/C][C]0[/C][C]0.280576388320880[/C][C]-0.280576388320880[/C][/ROW]
[ROW][C]89[/C][C]0[/C][C]0.275928734306748[/C][C]-0.275928734306748[/C][/ROW]
[ROW][C]90[/C][C]0[/C][C]0.275928734306748[/C][C]-0.275928734306748[/C][/ROW]
[ROW][C]91[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]92[/C][C]0[/C][C]0.0424100863065165[/C][C]-0.0424100863065165[/C][/ROW]
[ROW][C]93[/C][C]0[/C][C]0.379396861385598[/C][C]-0.379396861385598[/C][/ROW]
[ROW][C]94[/C][C]0[/C][C]0.379396861385598[/C][C]-0.379396861385598[/C][/ROW]
[ROW][C]95[/C][C]0[/C][C]0.285271483543346[/C][C]-0.285271483543346[/C][/ROW]
[ROW][C]96[/C][C]0[/C][C]0.373963169926946[/C][C]-0.373963169926946[/C][/ROW]
[ROW][C]97[/C][C]0[/C][C]0.395875523296432[/C][C]-0.395875523296432[/C][/ROW]
[ROW][C]98[/C][C]0[/C][C]0.275928734306748[/C][C]-0.275928734306748[/C][/ROW]
[ROW][C]99[/C][C]0[/C][C]0.0692601885400124[/C][C]-0.0692601885400124[/C][/ROW]
[ROW][C]100[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]101[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]102[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]103[/C][C]0[/C][C]0.395875523296432[/C][C]-0.395875523296432[/C][/ROW]
[ROW][C]104[/C][C]0[/C][C]0.0424100863065165[/C][C]-0.0424100863065165[/C][/ROW]
[ROW][C]105[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]106[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]107[/C][C]0[/C][C]0.275928734306748[/C][C]-0.275928734306748[/C][/ROW]
[ROW][C]108[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]109[/C][C]0[/C][C]0.266777754860427[/C][C]-0.266777754860427[/C][/ROW]
[ROW][C]110[/C][C]0[/C][C]0.271329031711626[/C][C]-0.271329031711626[/C][/ROW]
[ROW][C]111[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]112[/C][C]0[/C][C]0.518267015817867[/C][C]-0.518267015817867[/C][/ROW]
[ROW][C]113[/C][C]0[/C][C]0.395875523296432[/C][C]-0.395875523296432[/C][/ROW]
[ROW][C]114[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]115[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]116[/C][C]0[/C][C]0.271329031711626[/C][C]-0.271329031711626[/C][/ROW]
[ROW][C]117[/C][C]0[/C][C]0.373963169926946[/C][C]-0.373963169926946[/C][/ROW]
[ROW][C]118[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]119[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]120[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]121[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]122[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[ROW][C]123[/C][C]0[/C][C]0.266777754860427[/C][C]-0.266777754860427[/C][/ROW]
[ROW][C]124[/C][C]0[/C][C]0.401423447577954[/C][C]-0.401423447577954[/C][/ROW]
[ROW][C]125[/C][C]0[/C][C]0.280576388320880[/C][C]-0.280576388320880[/C][/ROW]
[ROW][C]126[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]127[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]128[/C][C]0[/C][C]0.390354271643189[/C][C]-0.390354271643189[/C][/ROW]
[ROW][C]129[/C][C]0[/C][C]0.384860968352024[/C][C]-0.384860968352024[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8086&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8086&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.3942162886024780.605783711397522
210.3980915646438480.601908435356152
310.3909051599675890.609094840032411
410.3881535260041790.611846473995821
510.398646232148080.60135376785192
610.4064383085961700.59356169140383
710.4025361189925570.597463881007444
810.3920077700792600.607992229920741
910.403649794752070.59635020524793
1010.403649794752070.59635020524793
1110.3898036628253270.610196337174673
1210.3942162886024780.605783711397522
1310.3997563466577420.600243653342258
1410.3876040477916940.612395952208306
1510.389253334774720.61074666522528
1610.3854090052155780.614590994784422
1710.3837657718182810.616234228181719
1810.3870548553613410.612945144638659
1910.3920077700792600.607992229920741
2010.3859573328308750.614042667169125
2110.4114727525580040.588527247441996
2210.4114727525580040.588527247441996
2310.4008674917967580.599132508203242
2410.3947690979405610.605230902059439
2510.3914563265350330.608543673464967
2610.3947690979405610.605230902059439
2710.392559489331250.60744051066875
2810.3920077700792600.607992229920741
2910.3992011599206730.600798840079327
3010.3936637498687240.606336250131276
3110.3898036628253270.610196337174673
3210.3876040477916940.612395952208306
3310.3975371587092460.602462841290754
3410.3859573328308750.614042667169125
3510.3887032887492940.611296711250706
3610.4025361189925570.597463881007444
3710.4064383085961700.59356169140383
3810.3876040477916940.612395952208306
3910.3843132234754660.615686776524534
4010.4182141050472980.581785894952702
4110.2810437717194920.718956228280508
4210.2768544448043390.72314555519566
4310.2777820695072060.722217930492794
4410.2810437717194920.718956228280508
4510.2796430453757630.720356954624237
4610.2713290317116260.728670968288374
4700.395875523296432-0.395875523296432
4800.379396861385598-0.379396861385598
4900.275928734306748-0.275928734306748
5000.395875523296432-0.395875523296432
5100.379396861385598-0.379396861385598
5200.257822198062316-0.257822198062316
5300.418214105047298-0.418214105047298
5400.384860968352024-0.384860968352024
5500.390354271643189-0.390354271643189
5600.401423447577954-0.401423447577954
5700.275928734306748-0.275928734306748
5800.275928734306748-0.275928734306748
5900.379396861385598-0.379396861385598
6000.271329031711626-0.271329031711626
6100.275928734306748-0.275928734306748
6200.384860968352024-0.384860968352024
6300.390354271643189-0.390354271643189
6400.390354271643189-0.390354271643189
6500.275928734306748-0.275928734306748
6600.395875523296432-0.395875523296432
6700.390354271643189-0.390354271643189
6800.384860968352024-0.384860968352024
6900.390354271643189-0.390354271643189
7000.406996742048269-0.406996742048269
7100.390354271643189-0.390354271643189
7200.406996742048269-0.406996742048269
7300.384860968352024-0.384860968352024
7400.395875523296432-0.395875523296432
7500.384860968352024-0.384860968352024
7600.395875523296432-0.395875523296432
7700.384860968352024-0.384860968352024
7800.384860968352024-0.384860968352024
7900.390354271643189-0.390354271643189
8000.384860968352024-0.384860968352024
8100.395875523296432-0.395875523296432
8200.390354271643189-0.390354271643189
8300.390354271643189-0.390354271643189
8400.390354271643189-0.390354271643189
8500.395875523296432-0.395875523296432
8600.379396861385598-0.379396861385598
8700.290013473631371-0.290013473631371
8800.280576388320880-0.280576388320880
8900.275928734306748-0.275928734306748
9000.275928734306748-0.275928734306748
9100.390354271643189-0.390354271643189
9200.0424100863065165-0.0424100863065165
9300.379396861385598-0.379396861385598
9400.379396861385598-0.379396861385598
9500.285271483543346-0.285271483543346
9600.373963169926946-0.373963169926946
9700.395875523296432-0.395875523296432
9800.275928734306748-0.275928734306748
9900.0692601885400124-0.0692601885400124
10000.390354271643189-0.390354271643189
10100.390354271643189-0.390354271643189
10200.384860968352024-0.384860968352024
10300.395875523296432-0.395875523296432
10400.0424100863065165-0.0424100863065165
10500.390354271643189-0.390354271643189
10600.390354271643189-0.390354271643189
10700.275928734306748-0.275928734306748
10800.384860968352024-0.384860968352024
10900.266777754860427-0.266777754860427
11000.271329031711626-0.271329031711626
11100.390354271643189-0.390354271643189
11200.518267015817867-0.518267015817867
11300.395875523296432-0.395875523296432
11400.384860968352024-0.384860968352024
11500.390354271643189-0.390354271643189
11600.271329031711626-0.271329031711626
11700.373963169926946-0.373963169926946
11800.390354271643189-0.390354271643189
11900.384860968352024-0.384860968352024
12000.390354271643189-0.390354271643189
12100.384860968352024-0.384860968352024
12200.384860968352024-0.384860968352024
12300.266777754860427-0.266777754860427
12400.401423447577954-0.401423447577954
12500.280576388320880-0.280576388320880
12600.390354271643189-0.390354271643189
12700.390354271643189-0.390354271643189
12800.390354271643189-0.390354271643189
12900.384860968352024-0.384860968352024







Type I & II errors for various threshold values
ThresholdType IType II
0.0101
0.0201
0.0301
0.0401
0.0500.975903614457831
0.0600.975903614457831
0.0700.963855421686747
0.0800.963855421686747
0.0900.963855421686747
0.100.963855421686747
0.1100.963855421686747
0.1200.963855421686747
0.1300.963855421686747
0.1400.963855421686747
0.1500.963855421686747
0.1600.963855421686747
0.1700.963855421686747
0.1800.963855421686747
0.1900.963855421686747
0.200.963855421686747
0.2100.963855421686747
0.2200.963855421686747
0.2300.963855421686747
0.2400.963855421686747
0.2500.963855421686747
0.2600.951807228915663
0.2700.927710843373494
0.280.08695652173913040.783132530120482
0.290.1304347826086960.746987951807229
0.30.1304347826086960.734939759036145
0.310.1304347826086960.734939759036145
0.320.1304347826086960.734939759036145
0.330.1304347826086960.734939759036145
0.340.1304347826086960.734939759036145
0.350.1304347826086960.734939759036145
0.360.1304347826086960.734939759036145
0.370.1304347826086960.734939759036145
0.380.1304347826086960.63855421686747
0.390.4347826086956520.457831325301205
0.40.7826086956521740.072289156626506
0.410.9347826086956520.0240963855421687
0.4210.0120481927710843
0.4310.0120481927710843
0.4410.0120481927710843
0.4510.0120481927710843
0.4610.0120481927710843
0.4710.0120481927710843
0.4810.0120481927710843
0.4910.0120481927710843
0.510.0120481927710843
0.5110.0120481927710843
0.5210
0.5310
0.5410
0.5510
0.5610
0.5710
0.5810
0.5910
0.610
0.6110
0.6210
0.6310
0.6410
0.6510
0.6610
0.6710
0.6810
0.6910
0.710
0.7110
0.7210
0.7310
0.7410
0.7510
0.7610
0.7710
0.7810
0.7910
0.810
0.8110
0.8210
0.8310
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 & 0.975903614457831 \tabularnewline
0.06 & 0 & 0.975903614457831 \tabularnewline
0.07 & 0 & 0.963855421686747 \tabularnewline
0.08 & 0 & 0.963855421686747 \tabularnewline
0.09 & 0 & 0.963855421686747 \tabularnewline
0.1 & 0 & 0.963855421686747 \tabularnewline
0.11 & 0 & 0.963855421686747 \tabularnewline
0.12 & 0 & 0.963855421686747 \tabularnewline
0.13 & 0 & 0.963855421686747 \tabularnewline
0.14 & 0 & 0.963855421686747 \tabularnewline
0.15 & 0 & 0.963855421686747 \tabularnewline
0.16 & 0 & 0.963855421686747 \tabularnewline
0.17 & 0 & 0.963855421686747 \tabularnewline
0.18 & 0 & 0.963855421686747 \tabularnewline
0.19 & 0 & 0.963855421686747 \tabularnewline
0.2 & 0 & 0.963855421686747 \tabularnewline
0.21 & 0 & 0.963855421686747 \tabularnewline
0.22 & 0 & 0.963855421686747 \tabularnewline
0.23 & 0 & 0.963855421686747 \tabularnewline
0.24 & 0 & 0.963855421686747 \tabularnewline
0.25 & 0 & 0.963855421686747 \tabularnewline
0.26 & 0 & 0.951807228915663 \tabularnewline
0.27 & 0 & 0.927710843373494 \tabularnewline
0.28 & 0.0869565217391304 & 0.783132530120482 \tabularnewline
0.29 & 0.130434782608696 & 0.746987951807229 \tabularnewline
0.3 & 0.130434782608696 & 0.734939759036145 \tabularnewline
0.31 & 0.130434782608696 & 0.734939759036145 \tabularnewline
0.32 & 0.130434782608696 & 0.734939759036145 \tabularnewline
0.33 & 0.130434782608696 & 0.734939759036145 \tabularnewline
0.34 & 0.130434782608696 & 0.734939759036145 \tabularnewline
0.35 & 0.130434782608696 & 0.734939759036145 \tabularnewline
0.36 & 0.130434782608696 & 0.734939759036145 \tabularnewline
0.37 & 0.130434782608696 & 0.734939759036145 \tabularnewline
0.38 & 0.130434782608696 & 0.63855421686747 \tabularnewline
0.39 & 0.434782608695652 & 0.457831325301205 \tabularnewline
0.4 & 0.782608695652174 & 0.072289156626506 \tabularnewline
0.41 & 0.934782608695652 & 0.0240963855421687 \tabularnewline
0.42 & 1 & 0.0120481927710843 \tabularnewline
0.43 & 1 & 0.0120481927710843 \tabularnewline
0.44 & 1 & 0.0120481927710843 \tabularnewline
0.45 & 1 & 0.0120481927710843 \tabularnewline
0.46 & 1 & 0.0120481927710843 \tabularnewline
0.47 & 1 & 0.0120481927710843 \tabularnewline
0.48 & 1 & 0.0120481927710843 \tabularnewline
0.49 & 1 & 0.0120481927710843 \tabularnewline
0.5 & 1 & 0.0120481927710843 \tabularnewline
0.51 & 1 & 0.0120481927710843 \tabularnewline
0.52 & 1 & 0 \tabularnewline
0.53 & 1 & 0 \tabularnewline
0.54 & 1 & 0 \tabularnewline
0.55 & 1 & 0 \tabularnewline
0.56 & 1 & 0 \tabularnewline
0.57 & 1 & 0 \tabularnewline
0.58 & 1 & 0 \tabularnewline
0.59 & 1 & 0 \tabularnewline
0.6 & 1 & 0 \tabularnewline
0.61 & 1 & 0 \tabularnewline
0.62 & 1 & 0 \tabularnewline
0.63 & 1 & 0 \tabularnewline
0.64 & 1 & 0 \tabularnewline
0.65 & 1 & 0 \tabularnewline
0.66 & 1 & 0 \tabularnewline
0.67 & 1 & 0 \tabularnewline
0.68 & 1 & 0 \tabularnewline
0.69 & 1 & 0 \tabularnewline
0.7 & 1 & 0 \tabularnewline
0.71 & 1 & 0 \tabularnewline
0.72 & 1 & 0 \tabularnewline
0.73 & 1 & 0 \tabularnewline
0.74 & 1 & 0 \tabularnewline
0.75 & 1 & 0 \tabularnewline
0.76 & 1 & 0 \tabularnewline
0.77 & 1 & 0 \tabularnewline
0.78 & 1 & 0 \tabularnewline
0.79 & 1 & 0 \tabularnewline
0.8 & 1 & 0 \tabularnewline
0.81 & 1 & 0 \tabularnewline
0.82 & 1 & 0 \tabularnewline
0.83 & 1 & 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=8086&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]0.975903614457831[/C][/ROW]
[ROW][C]0.06[/C][C]0[/C][C]0.975903614457831[/C][/ROW]
[ROW][C]0.07[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.08[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.09[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.1[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.11[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.12[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.13[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.14[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.15[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.16[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.17[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.18[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.19[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.2[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.21[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.22[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.23[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.24[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.25[/C][C]0[/C][C]0.963855421686747[/C][/ROW]
[ROW][C]0.26[/C][C]0[/C][C]0.951807228915663[/C][/ROW]
[ROW][C]0.27[/C][C]0[/C][C]0.927710843373494[/C][/ROW]
[ROW][C]0.28[/C][C]0.0869565217391304[/C][C]0.783132530120482[/C][/ROW]
[ROW][C]0.29[/C][C]0.130434782608696[/C][C]0.746987951807229[/C][/ROW]
[ROW][C]0.3[/C][C]0.130434782608696[/C][C]0.734939759036145[/C][/ROW]
[ROW][C]0.31[/C][C]0.130434782608696[/C][C]0.734939759036145[/C][/ROW]
[ROW][C]0.32[/C][C]0.130434782608696[/C][C]0.734939759036145[/C][/ROW]
[ROW][C]0.33[/C][C]0.130434782608696[/C][C]0.734939759036145[/C][/ROW]
[ROW][C]0.34[/C][C]0.130434782608696[/C][C]0.734939759036145[/C][/ROW]
[ROW][C]0.35[/C][C]0.130434782608696[/C][C]0.734939759036145[/C][/ROW]
[ROW][C]0.36[/C][C]0.130434782608696[/C][C]0.734939759036145[/C][/ROW]
[ROW][C]0.37[/C][C]0.130434782608696[/C][C]0.734939759036145[/C][/ROW]
[ROW][C]0.38[/C][C]0.130434782608696[/C][C]0.63855421686747[/C][/ROW]
[ROW][C]0.39[/C][C]0.434782608695652[/C][C]0.457831325301205[/C][/ROW]
[ROW][C]0.4[/C][C]0.782608695652174[/C][C]0.072289156626506[/C][/ROW]
[ROW][C]0.41[/C][C]0.934782608695652[/C][C]0.0240963855421687[/C][/ROW]
[ROW][C]0.42[/C][C]1[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.43[/C][C]1[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.44[/C][C]1[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.45[/C][C]1[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.46[/C][C]1[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.47[/C][C]1[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.48[/C][C]1[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.49[/C][C]1[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.5[/C][C]1[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.51[/C][C]1[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.52[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.53[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.54[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.55[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.56[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.57[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.58[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.59[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.6[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.61[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.62[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.63[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.64[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.65[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.66[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.67[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.68[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.69[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.7[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.71[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.72[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.73[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.74[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.75[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.76[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.77[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.78[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.79[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.8[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.81[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.82[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]0.83[/C][C]1[/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=8086&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8086&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.0500.975903614457831
0.0600.975903614457831
0.0700.963855421686747
0.0800.963855421686747
0.0900.963855421686747
0.100.963855421686747
0.1100.963855421686747
0.1200.963855421686747
0.1300.963855421686747
0.1400.963855421686747
0.1500.963855421686747
0.1600.963855421686747
0.1700.963855421686747
0.1800.963855421686747
0.1900.963855421686747
0.200.963855421686747
0.2100.963855421686747
0.2200.963855421686747
0.2300.963855421686747
0.2400.963855421686747
0.2500.963855421686747
0.2600.951807228915663
0.2700.927710843373494
0.280.08695652173913040.783132530120482
0.290.1304347826086960.746987951807229
0.30.1304347826086960.734939759036145
0.310.1304347826086960.734939759036145
0.320.1304347826086960.734939759036145
0.330.1304347826086960.734939759036145
0.340.1304347826086960.734939759036145
0.350.1304347826086960.734939759036145
0.360.1304347826086960.734939759036145
0.370.1304347826086960.734939759036145
0.380.1304347826086960.63855421686747
0.390.4347826086956520.457831325301205
0.40.7826086956521740.072289156626506
0.410.9347826086956520.0240963855421687
0.4210.0120481927710843
0.4310.0120481927710843
0.4410.0120481927710843
0.4510.0120481927710843
0.4610.0120481927710843
0.4710.0120481927710843
0.4810.0120481927710843
0.4910.0120481927710843
0.510.0120481927710843
0.5110.0120481927710843
0.5210
0.5310
0.5410
0.5510
0.5610
0.5710
0.5810
0.5910
0.610
0.6110
0.6210
0.6310
0.6410
0.6510
0.6610
0.6710
0.6810
0.6910
0.710
0.7110
0.7210
0.7310
0.7410
0.7510
0.7610
0.7710
0.7810
0.7910
0.810
0.8110
0.8210
0.8310
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')