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 05:03:28 -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/t1201694703zbogz9we59dzn24.htm/, Retrieved Tue, 14 May 2024 10:30:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=8090, Retrieved Tue, 14 May 2024 10:30:26 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact268
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 12:03:28] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	68.7	1	5.29
1	67.5	1	4.6
1	68.9	1	5.86
1	70.5	1	6.4
1	73.5	1	4.48
1	68.1	1	3.1
1	66.7	1	3.79
1	69.3	1	5.73
1	67.5	1	3.57
1	67.8	1	3.63
1	69.4	1	6.07
1	68.8	1	5.33
1	71.7	1	4.28
1	67	1	6.45
1	70.5	1	6.23
1	76.5	1	6.9
1	73.8	1	7.21
1	71.2	1	6.55
1	82.3	1	5.73
1	72.5	1	6.81
1	67.3	1	2.18
1	72.7	1	2.17
1	69.6	1	4.05
1	74.8	1	5.23
1	71.2	1	5.76
1	72.4	1	5.17
1	83.2	1	5.58
1	65.6	1	5.7
1	79.6	1	4.35
1	66.2	1	5.44
1	68.6	1	6.08
1	65.8	1	6.48
1	82.9	1	4.65
1	88	1	6.75
1	76.6	1	6.28
1	70.7	1	3.76
1	77.3	1	3.06
1	65.5	1	6.49
1	68.5	1	7.1
1	77.1	1	1.01
1	82.3	0	4.92
1	80.7	0	5.75
1	74.4	0	5.55
1	71.2	0	4.86
1	71.1	0	5.24
1	69.5	0	6.99
0	65	1	5
0	65	1	8
0	65	0	6
0	65	1	5
0	65	1	8
0	65	0	10
0	65	1	1
0	65	1	7
0	65	1	6
0	65	1	4
0	65	0	6
0	65	0	6
0	65	1	8
0	65	0	7
0	65	0	6
0	65	1	7
0	65	1	6
0	65	1	6
0	65	0	6
0	65	1	5
0	65	1	6
0	65	1	7
0	65	1	6
0	65	1	3
0	65	1	6
0	65	1	3
0	65	1	7
0	65	1	5
0	65	1	7
0	65	1	5
0	65	1	7
0	65	1	7
0	65	1	6
0	65	1	7
0	65	1	5
0	65	1	6
0	65	1	6
0	65	1	6
0	65	1	5
0	65	1	8
0	65	0	3
0	65	0	5
0	65	0	6
0	65	0	6
0	65	1	6
0	65	0	9
0	65	1	8
0	65	1	8
0	65	0	4
0	65	1	9
0	65	1	5
0	65	0	6
0	65	1	9
0	65	1	6
0	65	1	6
0	65	1	7
0	65	1	5
0	65	0	9
0	65	1	6
0	65	1	6
0	65	0	6
0	65	1	7
0	65	0	8
0	65	0	7
0	65	1	6
0	65	2	6
0	65	1	5
0	65	1	7
0	65	1	6
0	65	0	7
0	65	1	9
0	65	1	6
0	65	1	7
0	65	1	6
0	65	1	7
0	65	1	7
0	65	0	8
0	65	1	4
0	65	0	5
0	65	1	6
0	65	1	6
0	65	1	6
0	65	1	7




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 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 & 5 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=8090&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]5 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=8090&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8090&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 time5 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)-221.28697877782077.7326521514536-2.846769956422770.00516414207316163
age3.356324211084791.189967864137082.820516681363220.00557808145767424
snoring0.482544078929951.247325553602820.3868629785833790.699515465804962
sleep_time-0.04265307437711270.342438817520885-0.1245567739250570.901074534645852

\begin{tabular}{lllllllll}
\hline
Coefficients of Bias-Reduced Logistic Regression \tabularnewline
Variable & Parameter & S.E. & t-stat & 2-sided p-value \tabularnewline
(Intercept) & -221.286978777820 & 77.7326521514536 & -2.84676995642277 & 0.00516414207316163 \tabularnewline
age & 3.35632421108479 & 1.18996786413708 & 2.82051668136322 & 0.00557808145767424 \tabularnewline
snoring & 0.48254407892995 & 1.24732555360282 & 0.386862978583379 & 0.699515465804962 \tabularnewline
sleep_time & -0.0426530743771127 & 0.342438817520885 & -0.124556773925057 & 0.901074534645852 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8090&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]-221.286978777820[/C][C]77.7326521514536[/C][C]-2.84676995642277[/C][C]0.00516414207316163[/C][/ROW]
[ROW][C]age[/C][C]3.35632421108479[/C][C]1.18996786413708[/C][C]2.82051668136322[/C][C]0.00557808145767424[/C][/ROW]
[ROW][C]snoring[/C][C]0.48254407892995[/C][C]1.24732555360282[/C][C]0.386862978583379[/C][C]0.699515465804962[/C][/ROW]
[ROW][C]sleep_time[/C][C]-0.0426530743771127[/C][C]0.342438817520885[/C][C]-0.124556773925057[/C][C]0.901074534645852[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8090&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8090&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)-221.28697877782077.7326521514536-2.846769956422770.00516414207316163
age3.356324211084791.189967864137082.820516681363220.00557808145767424
snoring0.482544078929951.247325553602820.3868629785833790.699515465804962
sleep_time-0.04265307437711270.342438817520885-0.1245567739250570.901074534645852







Summary of Bias-Reduced Logistic Regression
Deviance15.8555945340391
Penalized deviance12.9260558629309
Residual Degrees of Freedom125
ROC Area1

\begin{tabular}{lllllllll}
\hline
Summary of Bias-Reduced Logistic Regression \tabularnewline
Deviance & 15.8555945340391 \tabularnewline
Penalized deviance & 12.9260558629309 \tabularnewline
Residual Degrees of Freedom & 125 \tabularnewline
ROC Area & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8090&T=2

[TABLE]
[ROW][C]Summary of Bias-Reduced Logistic Regression[/C][/ROW]
[ROW][C]Deviance[/C][C]15.8555945340391[/C][/ROW]
[ROW][C]Penalized deviance[/C][C]12.9260558629309[/C][/ROW]
[ROW][C]Residual Degrees of Freedom[/C][C]125[/C][/ROW]
[ROW][C]ROC Area[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8090&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8090&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
Deviance15.8555945340391
Penalized deviance12.9260558629309
Residual Degrees of Freedom125
ROC Area1







Fit of Logistic Regression
IndexActualFittedError
110.9999287613521817.12386478189941e-05
210.9961323976358240.00386760236417627
310.9999626953932773.73046067229099e-05
410.9999998223486091.77651391042311e-07
510.9999999999930646.93589630174074e-12
610.999514098954340.000485901045659376
710.947882760048920.05211723995108
810.9999903102380899.68976191140225e-06
910.9962980179927050.00370198200729477
1010.99864082346790.00135917653210027
1110.9999929717190827.028280917587e-06
1210.999948984505325.10154946808949e-05
1310.99999999710842.89159929334204e-09
1410.9779937142424780.0220062857575221
1510.9999998236321041.76367895954321e-07
16113.33066907387547e-16
1710.9999999999971532.84694490204629e-12
1810.9999999829390141.70609858463067e-08
19110
2010.9999999997802662.19734008766181e-10
2110.9931945378364760.00680546216352351
2210.9999999999078669.2133856099963e-11
2310.99999670461893.29538109944405e-06
2410.9999999999999099.12603326241879e-14
2510.9999999835043221.64956778236913e-08
2610.9999999997133972.86603407673169e-10
27110
2810.2946950903109460.705304909689054
29110
3010.7599116781678030.240088321832197
3110.9998969378709330.000103062129067411
3210.4415944579123790.558405542087621
33110
34110
35112.22044604925031e-16
3610.9999999188779928.11220077778785e-08
37110
3810.2240850362339340.775914963766066
3910.9998494307599680.000150569240031651
40110
41110
42110
4310.9999999999994265.73652236823818e-13
4410.9999999742803652.57196348663058e-08
4510.9999999634348623.65651382505661e-08
4610.9999915337032888.46629671191756e-06
4700.0543398017565514-0.0543398017565514
4800.0481271236411846-0.0481271236411846
4900.0328683797745128-0.0328683797745128
5000.0543398017565514-0.0543398017565514
5100.0481271236411846-0.0481271236411846
5200.0278565350397756-0.0278565350397756
5300.0638036965089954-0.0638036965089954
5400.0501191921834295-0.0501191921834295
5500.0521891951873008-0.0521891951873008
5600.05657374053984-0.05657374053984
5700.0328683797745128-0.0328683797745128
5800.0328683797745128-0.0328683797745128
5900.0481271236411846-0.0481271236411846
6000.0315392064913704-0.0315392064913704
6100.0328683797745128-0.0328683797745128
6200.0501191921834295-0.0501191921834295
6300.0521891951873008-0.0521891951873008
6400.0521891951873008-0.0521891951873008
6500.0328683797745128-0.0328683797745128
6600.0543398017565514-0.0543398017565514
6700.0521891951873008-0.0521891951873008
6800.0501191921834295-0.0501191921834295
6900.0521891951873008-0.0521891951873008
7000.0588937982490979-0.0588937982490979
7100.0521891951873008-0.0521891951873008
7200.0588937982490979-0.0588937982490979
7300.0501191921834295-0.0501191921834295
7400.0543398017565514-0.0543398017565514
7500.0501191921834295-0.0501191921834295
7600.0543398017565514-0.0543398017565514
7700.0501191921834295-0.0501191921834295
7800.0501191921834295-0.0501191921834295
7900.0521891951873008-0.0521891951873008
8000.0501191921834295-0.0501191921834295
8100.0543398017565514-0.0543398017565514
8200.0521891951873008-0.0521891951873008
8300.0521891951873008-0.0521891951873008
8400.0521891951873008-0.0521891951873008
8500.0543398017565514-0.0543398017565514
8600.0481271236411846-0.0481271236411846
8700.0371882778641705-0.0371882778641705
8800.0342515879813616-0.0342515879813616
8900.0328683797745128-0.0328683797745128
9000.0328683797745128-0.0328683797745128
9100.0521891951873008-0.0521891951873008
9200.0290351606044783-0.0290351606044783
9300.0481271236411846-0.0481271236411846
9400.0481271236411846-0.0481271236411846
9500.0356908579155549-0.0356908579155549
9600.0462103811931719-0.0462103811931719
9700.0543398017565514-0.0543398017565514
9800.0328683797745128-0.0328683797745128
9900.0462103811931719-0.0462103811931719
10000.0521891951873008-0.0521891951873008
10100.0521891951873008-0.0521891951873008
10200.0501191921834295-0.0501191921834295
10300.0543398017565514-0.0543398017565514
10400.0290351606044783-0.0290351606044783
10500.0521891951873008-0.0521891951873008
10600.0521891951873008-0.0521891951873008
10700.0328683797745128-0.0328683797745128
10800.0501191921834295-0.0501191921834295
10900.0302621021122409-0.0302621021122409
11000.0315392064913704-0.0315392064913704
11100.0521891951873008-0.0521891951873008
11200.0819054125547117-0.0819054125547117
11300.0543398017565514-0.0543398017565514
11400.0501191921834295-0.0501191921834295
11500.0521891951873008-0.0521891951873008
11600.0315392064913704-0.0315392064913704
11700.0462103811931719-0.0462103811931719
11800.0521891951873008-0.0521891951873008
11900.0501191921834295-0.0501191921834295
12000.0521891951873008-0.0521891951873008
12100.0501191921834295-0.0501191921834295
12200.0501191921834295-0.0501191921834295
12300.0302621021122409-0.0302621021122409
12400.05657374053984-0.05657374053984
12500.0342515879813616-0.0342515879813616
12600.0521891951873008-0.0521891951873008
12700.0521891951873008-0.0521891951873008
12800.0521891951873008-0.0521891951873008
12900.0501191921834295-0.0501191921834295

\begin{tabular}{lllllllll}
\hline
Fit of Logistic Regression \tabularnewline
Index & Actual & Fitted & Error \tabularnewline
1 & 1 & 0.999928761352181 & 7.12386478189941e-05 \tabularnewline
2 & 1 & 0.996132397635824 & 0.00386760236417627 \tabularnewline
3 & 1 & 0.999962695393277 & 3.73046067229099e-05 \tabularnewline
4 & 1 & 0.999999822348609 & 1.77651391042311e-07 \tabularnewline
5 & 1 & 0.999999999993064 & 6.93589630174074e-12 \tabularnewline
6 & 1 & 0.99951409895434 & 0.000485901045659376 \tabularnewline
7 & 1 & 0.94788276004892 & 0.05211723995108 \tabularnewline
8 & 1 & 0.999990310238089 & 9.68976191140225e-06 \tabularnewline
9 & 1 & 0.996298017992705 & 0.00370198200729477 \tabularnewline
10 & 1 & 0.9986408234679 & 0.00135917653210027 \tabularnewline
11 & 1 & 0.999992971719082 & 7.028280917587e-06 \tabularnewline
12 & 1 & 0.99994898450532 & 5.10154946808949e-05 \tabularnewline
13 & 1 & 0.9999999971084 & 2.89159929334204e-09 \tabularnewline
14 & 1 & 0.977993714242478 & 0.0220062857575221 \tabularnewline
15 & 1 & 0.999999823632104 & 1.76367895954321e-07 \tabularnewline
16 & 1 & 1 & 3.33066907387547e-16 \tabularnewline
17 & 1 & 0.999999999997153 & 2.84694490204629e-12 \tabularnewline
18 & 1 & 0.999999982939014 & 1.70609858463067e-08 \tabularnewline
19 & 1 & 1 & 0 \tabularnewline
20 & 1 & 0.999999999780266 & 2.19734008766181e-10 \tabularnewline
21 & 1 & 0.993194537836476 & 0.00680546216352351 \tabularnewline
22 & 1 & 0.999999999907866 & 9.2133856099963e-11 \tabularnewline
23 & 1 & 0.9999967046189 & 3.29538109944405e-06 \tabularnewline
24 & 1 & 0.999999999999909 & 9.12603326241879e-14 \tabularnewline
25 & 1 & 0.999999983504322 & 1.64956778236913e-08 \tabularnewline
26 & 1 & 0.999999999713397 & 2.86603407673169e-10 \tabularnewline
27 & 1 & 1 & 0 \tabularnewline
28 & 1 & 0.294695090310946 & 0.705304909689054 \tabularnewline
29 & 1 & 1 & 0 \tabularnewline
30 & 1 & 0.759911678167803 & 0.240088321832197 \tabularnewline
31 & 1 & 0.999896937870933 & 0.000103062129067411 \tabularnewline
32 & 1 & 0.441594457912379 & 0.558405542087621 \tabularnewline
33 & 1 & 1 & 0 \tabularnewline
34 & 1 & 1 & 0 \tabularnewline
35 & 1 & 1 & 2.22044604925031e-16 \tabularnewline
36 & 1 & 0.999999918877992 & 8.11220077778785e-08 \tabularnewline
37 & 1 & 1 & 0 \tabularnewline
38 & 1 & 0.224085036233934 & 0.775914963766066 \tabularnewline
39 & 1 & 0.999849430759968 & 0.000150569240031651 \tabularnewline
40 & 1 & 1 & 0 \tabularnewline
41 & 1 & 1 & 0 \tabularnewline
42 & 1 & 1 & 0 \tabularnewline
43 & 1 & 0.999999999999426 & 5.73652236823818e-13 \tabularnewline
44 & 1 & 0.999999974280365 & 2.57196348663058e-08 \tabularnewline
45 & 1 & 0.999999963434862 & 3.65651382505661e-08 \tabularnewline
46 & 1 & 0.999991533703288 & 8.46629671191756e-06 \tabularnewline
47 & 0 & 0.0543398017565514 & -0.0543398017565514 \tabularnewline
48 & 0 & 0.0481271236411846 & -0.0481271236411846 \tabularnewline
49 & 0 & 0.0328683797745128 & -0.0328683797745128 \tabularnewline
50 & 0 & 0.0543398017565514 & -0.0543398017565514 \tabularnewline
51 & 0 & 0.0481271236411846 & -0.0481271236411846 \tabularnewline
52 & 0 & 0.0278565350397756 & -0.0278565350397756 \tabularnewline
53 & 0 & 0.0638036965089954 & -0.0638036965089954 \tabularnewline
54 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
55 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
56 & 0 & 0.05657374053984 & -0.05657374053984 \tabularnewline
57 & 0 & 0.0328683797745128 & -0.0328683797745128 \tabularnewline
58 & 0 & 0.0328683797745128 & -0.0328683797745128 \tabularnewline
59 & 0 & 0.0481271236411846 & -0.0481271236411846 \tabularnewline
60 & 0 & 0.0315392064913704 & -0.0315392064913704 \tabularnewline
61 & 0 & 0.0328683797745128 & -0.0328683797745128 \tabularnewline
62 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
63 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
64 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
65 & 0 & 0.0328683797745128 & -0.0328683797745128 \tabularnewline
66 & 0 & 0.0543398017565514 & -0.0543398017565514 \tabularnewline
67 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
68 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
69 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
70 & 0 & 0.0588937982490979 & -0.0588937982490979 \tabularnewline
71 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
72 & 0 & 0.0588937982490979 & -0.0588937982490979 \tabularnewline
73 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
74 & 0 & 0.0543398017565514 & -0.0543398017565514 \tabularnewline
75 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
76 & 0 & 0.0543398017565514 & -0.0543398017565514 \tabularnewline
77 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
78 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
79 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
80 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
81 & 0 & 0.0543398017565514 & -0.0543398017565514 \tabularnewline
82 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
83 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
84 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
85 & 0 & 0.0543398017565514 & -0.0543398017565514 \tabularnewline
86 & 0 & 0.0481271236411846 & -0.0481271236411846 \tabularnewline
87 & 0 & 0.0371882778641705 & -0.0371882778641705 \tabularnewline
88 & 0 & 0.0342515879813616 & -0.0342515879813616 \tabularnewline
89 & 0 & 0.0328683797745128 & -0.0328683797745128 \tabularnewline
90 & 0 & 0.0328683797745128 & -0.0328683797745128 \tabularnewline
91 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
92 & 0 & 0.0290351606044783 & -0.0290351606044783 \tabularnewline
93 & 0 & 0.0481271236411846 & -0.0481271236411846 \tabularnewline
94 & 0 & 0.0481271236411846 & -0.0481271236411846 \tabularnewline
95 & 0 & 0.0356908579155549 & -0.0356908579155549 \tabularnewline
96 & 0 & 0.0462103811931719 & -0.0462103811931719 \tabularnewline
97 & 0 & 0.0543398017565514 & -0.0543398017565514 \tabularnewline
98 & 0 & 0.0328683797745128 & -0.0328683797745128 \tabularnewline
99 & 0 & 0.0462103811931719 & -0.0462103811931719 \tabularnewline
100 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
101 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
102 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
103 & 0 & 0.0543398017565514 & -0.0543398017565514 \tabularnewline
104 & 0 & 0.0290351606044783 & -0.0290351606044783 \tabularnewline
105 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
106 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
107 & 0 & 0.0328683797745128 & -0.0328683797745128 \tabularnewline
108 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
109 & 0 & 0.0302621021122409 & -0.0302621021122409 \tabularnewline
110 & 0 & 0.0315392064913704 & -0.0315392064913704 \tabularnewline
111 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
112 & 0 & 0.0819054125547117 & -0.0819054125547117 \tabularnewline
113 & 0 & 0.0543398017565514 & -0.0543398017565514 \tabularnewline
114 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
115 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
116 & 0 & 0.0315392064913704 & -0.0315392064913704 \tabularnewline
117 & 0 & 0.0462103811931719 & -0.0462103811931719 \tabularnewline
118 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
119 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
120 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
121 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
122 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
123 & 0 & 0.0302621021122409 & -0.0302621021122409 \tabularnewline
124 & 0 & 0.05657374053984 & -0.05657374053984 \tabularnewline
125 & 0 & 0.0342515879813616 & -0.0342515879813616 \tabularnewline
126 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
127 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
128 & 0 & 0.0521891951873008 & -0.0521891951873008 \tabularnewline
129 & 0 & 0.0501191921834295 & -0.0501191921834295 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8090&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.999928761352181[/C][C]7.12386478189941e-05[/C][/ROW]
[ROW][C]2[/C][C]1[/C][C]0.996132397635824[/C][C]0.00386760236417627[/C][/ROW]
[ROW][C]3[/C][C]1[/C][C]0.999962695393277[/C][C]3.73046067229099e-05[/C][/ROW]
[ROW][C]4[/C][C]1[/C][C]0.999999822348609[/C][C]1.77651391042311e-07[/C][/ROW]
[ROW][C]5[/C][C]1[/C][C]0.999999999993064[/C][C]6.93589630174074e-12[/C][/ROW]
[ROW][C]6[/C][C]1[/C][C]0.99951409895434[/C][C]0.000485901045659376[/C][/ROW]
[ROW][C]7[/C][C]1[/C][C]0.94788276004892[/C][C]0.05211723995108[/C][/ROW]
[ROW][C]8[/C][C]1[/C][C]0.999990310238089[/C][C]9.68976191140225e-06[/C][/ROW]
[ROW][C]9[/C][C]1[/C][C]0.996298017992705[/C][C]0.00370198200729477[/C][/ROW]
[ROW][C]10[/C][C]1[/C][C]0.9986408234679[/C][C]0.00135917653210027[/C][/ROW]
[ROW][C]11[/C][C]1[/C][C]0.999992971719082[/C][C]7.028280917587e-06[/C][/ROW]
[ROW][C]12[/C][C]1[/C][C]0.99994898450532[/C][C]5.10154946808949e-05[/C][/ROW]
[ROW][C]13[/C][C]1[/C][C]0.9999999971084[/C][C]2.89159929334204e-09[/C][/ROW]
[ROW][C]14[/C][C]1[/C][C]0.977993714242478[/C][C]0.0220062857575221[/C][/ROW]
[ROW][C]15[/C][C]1[/C][C]0.999999823632104[/C][C]1.76367895954321e-07[/C][/ROW]
[ROW][C]16[/C][C]1[/C][C]1[/C][C]3.33066907387547e-16[/C][/ROW]
[ROW][C]17[/C][C]1[/C][C]0.999999999997153[/C][C]2.84694490204629e-12[/C][/ROW]
[ROW][C]18[/C][C]1[/C][C]0.999999982939014[/C][C]1.70609858463067e-08[/C][/ROW]
[ROW][C]19[/C][C]1[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]1[/C][C]0.999999999780266[/C][C]2.19734008766181e-10[/C][/ROW]
[ROW][C]21[/C][C]1[/C][C]0.993194537836476[/C][C]0.00680546216352351[/C][/ROW]
[ROW][C]22[/C][C]1[/C][C]0.999999999907866[/C][C]9.2133856099963e-11[/C][/ROW]
[ROW][C]23[/C][C]1[/C][C]0.9999967046189[/C][C]3.29538109944405e-06[/C][/ROW]
[ROW][C]24[/C][C]1[/C][C]0.999999999999909[/C][C]9.12603326241879e-14[/C][/ROW]
[ROW][C]25[/C][C]1[/C][C]0.999999983504322[/C][C]1.64956778236913e-08[/C][/ROW]
[ROW][C]26[/C][C]1[/C][C]0.999999999713397[/C][C]2.86603407673169e-10[/C][/ROW]
[ROW][C]27[/C][C]1[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]28[/C][C]1[/C][C]0.294695090310946[/C][C]0.705304909689054[/C][/ROW]
[ROW][C]29[/C][C]1[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]30[/C][C]1[/C][C]0.759911678167803[/C][C]0.240088321832197[/C][/ROW]
[ROW][C]31[/C][C]1[/C][C]0.999896937870933[/C][C]0.000103062129067411[/C][/ROW]
[ROW][C]32[/C][C]1[/C][C]0.441594457912379[/C][C]0.558405542087621[/C][/ROW]
[ROW][C]33[/C][C]1[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]34[/C][C]1[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]35[/C][C]1[/C][C]1[/C][C]2.22044604925031e-16[/C][/ROW]
[ROW][C]36[/C][C]1[/C][C]0.999999918877992[/C][C]8.11220077778785e-08[/C][/ROW]
[ROW][C]37[/C][C]1[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]38[/C][C]1[/C][C]0.224085036233934[/C][C]0.775914963766066[/C][/ROW]
[ROW][C]39[/C][C]1[/C][C]0.999849430759968[/C][C]0.000150569240031651[/C][/ROW]
[ROW][C]40[/C][C]1[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]41[/C][C]1[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]42[/C][C]1[/C][C]1[/C][C]0[/C][/ROW]
[ROW][C]43[/C][C]1[/C][C]0.999999999999426[/C][C]5.73652236823818e-13[/C][/ROW]
[ROW][C]44[/C][C]1[/C][C]0.999999974280365[/C][C]2.57196348663058e-08[/C][/ROW]
[ROW][C]45[/C][C]1[/C][C]0.999999963434862[/C][C]3.65651382505661e-08[/C][/ROW]
[ROW][C]46[/C][C]1[/C][C]0.999991533703288[/C][C]8.46629671191756e-06[/C][/ROW]
[ROW][C]47[/C][C]0[/C][C]0.0543398017565514[/C][C]-0.0543398017565514[/C][/ROW]
[ROW][C]48[/C][C]0[/C][C]0.0481271236411846[/C][C]-0.0481271236411846[/C][/ROW]
[ROW][C]49[/C][C]0[/C][C]0.0328683797745128[/C][C]-0.0328683797745128[/C][/ROW]
[ROW][C]50[/C][C]0[/C][C]0.0543398017565514[/C][C]-0.0543398017565514[/C][/ROW]
[ROW][C]51[/C][C]0[/C][C]0.0481271236411846[/C][C]-0.0481271236411846[/C][/ROW]
[ROW][C]52[/C][C]0[/C][C]0.0278565350397756[/C][C]-0.0278565350397756[/C][/ROW]
[ROW][C]53[/C][C]0[/C][C]0.0638036965089954[/C][C]-0.0638036965089954[/C][/ROW]
[ROW][C]54[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]55[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]56[/C][C]0[/C][C]0.05657374053984[/C][C]-0.05657374053984[/C][/ROW]
[ROW][C]57[/C][C]0[/C][C]0.0328683797745128[/C][C]-0.0328683797745128[/C][/ROW]
[ROW][C]58[/C][C]0[/C][C]0.0328683797745128[/C][C]-0.0328683797745128[/C][/ROW]
[ROW][C]59[/C][C]0[/C][C]0.0481271236411846[/C][C]-0.0481271236411846[/C][/ROW]
[ROW][C]60[/C][C]0[/C][C]0.0315392064913704[/C][C]-0.0315392064913704[/C][/ROW]
[ROW][C]61[/C][C]0[/C][C]0.0328683797745128[/C][C]-0.0328683797745128[/C][/ROW]
[ROW][C]62[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]63[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]64[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]65[/C][C]0[/C][C]0.0328683797745128[/C][C]-0.0328683797745128[/C][/ROW]
[ROW][C]66[/C][C]0[/C][C]0.0543398017565514[/C][C]-0.0543398017565514[/C][/ROW]
[ROW][C]67[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]68[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]69[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]70[/C][C]0[/C][C]0.0588937982490979[/C][C]-0.0588937982490979[/C][/ROW]
[ROW][C]71[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]72[/C][C]0[/C][C]0.0588937982490979[/C][C]-0.0588937982490979[/C][/ROW]
[ROW][C]73[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]74[/C][C]0[/C][C]0.0543398017565514[/C][C]-0.0543398017565514[/C][/ROW]
[ROW][C]75[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]76[/C][C]0[/C][C]0.0543398017565514[/C][C]-0.0543398017565514[/C][/ROW]
[ROW][C]77[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]78[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]79[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]80[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]81[/C][C]0[/C][C]0.0543398017565514[/C][C]-0.0543398017565514[/C][/ROW]
[ROW][C]82[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]83[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]84[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]85[/C][C]0[/C][C]0.0543398017565514[/C][C]-0.0543398017565514[/C][/ROW]
[ROW][C]86[/C][C]0[/C][C]0.0481271236411846[/C][C]-0.0481271236411846[/C][/ROW]
[ROW][C]87[/C][C]0[/C][C]0.0371882778641705[/C][C]-0.0371882778641705[/C][/ROW]
[ROW][C]88[/C][C]0[/C][C]0.0342515879813616[/C][C]-0.0342515879813616[/C][/ROW]
[ROW][C]89[/C][C]0[/C][C]0.0328683797745128[/C][C]-0.0328683797745128[/C][/ROW]
[ROW][C]90[/C][C]0[/C][C]0.0328683797745128[/C][C]-0.0328683797745128[/C][/ROW]
[ROW][C]91[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]92[/C][C]0[/C][C]0.0290351606044783[/C][C]-0.0290351606044783[/C][/ROW]
[ROW][C]93[/C][C]0[/C][C]0.0481271236411846[/C][C]-0.0481271236411846[/C][/ROW]
[ROW][C]94[/C][C]0[/C][C]0.0481271236411846[/C][C]-0.0481271236411846[/C][/ROW]
[ROW][C]95[/C][C]0[/C][C]0.0356908579155549[/C][C]-0.0356908579155549[/C][/ROW]
[ROW][C]96[/C][C]0[/C][C]0.0462103811931719[/C][C]-0.0462103811931719[/C][/ROW]
[ROW][C]97[/C][C]0[/C][C]0.0543398017565514[/C][C]-0.0543398017565514[/C][/ROW]
[ROW][C]98[/C][C]0[/C][C]0.0328683797745128[/C][C]-0.0328683797745128[/C][/ROW]
[ROW][C]99[/C][C]0[/C][C]0.0462103811931719[/C][C]-0.0462103811931719[/C][/ROW]
[ROW][C]100[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]101[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]102[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]103[/C][C]0[/C][C]0.0543398017565514[/C][C]-0.0543398017565514[/C][/ROW]
[ROW][C]104[/C][C]0[/C][C]0.0290351606044783[/C][C]-0.0290351606044783[/C][/ROW]
[ROW][C]105[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]106[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]107[/C][C]0[/C][C]0.0328683797745128[/C][C]-0.0328683797745128[/C][/ROW]
[ROW][C]108[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]109[/C][C]0[/C][C]0.0302621021122409[/C][C]-0.0302621021122409[/C][/ROW]
[ROW][C]110[/C][C]0[/C][C]0.0315392064913704[/C][C]-0.0315392064913704[/C][/ROW]
[ROW][C]111[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]112[/C][C]0[/C][C]0.0819054125547117[/C][C]-0.0819054125547117[/C][/ROW]
[ROW][C]113[/C][C]0[/C][C]0.0543398017565514[/C][C]-0.0543398017565514[/C][/ROW]
[ROW][C]114[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]115[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]116[/C][C]0[/C][C]0.0315392064913704[/C][C]-0.0315392064913704[/C][/ROW]
[ROW][C]117[/C][C]0[/C][C]0.0462103811931719[/C][C]-0.0462103811931719[/C][/ROW]
[ROW][C]118[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]119[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]120[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]121[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]122[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[ROW][C]123[/C][C]0[/C][C]0.0302621021122409[/C][C]-0.0302621021122409[/C][/ROW]
[ROW][C]124[/C][C]0[/C][C]0.05657374053984[/C][C]-0.05657374053984[/C][/ROW]
[ROW][C]125[/C][C]0[/C][C]0.0342515879813616[/C][C]-0.0342515879813616[/C][/ROW]
[ROW][C]126[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]127[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]128[/C][C]0[/C][C]0.0521891951873008[/C][C]-0.0521891951873008[/C][/ROW]
[ROW][C]129[/C][C]0[/C][C]0.0501191921834295[/C][C]-0.0501191921834295[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8090&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8090&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.9999287613521817.12386478189941e-05
210.9961323976358240.00386760236417627
310.9999626953932773.73046067229099e-05
410.9999998223486091.77651391042311e-07
510.9999999999930646.93589630174074e-12
610.999514098954340.000485901045659376
710.947882760048920.05211723995108
810.9999903102380899.68976191140225e-06
910.9962980179927050.00370198200729477
1010.99864082346790.00135917653210027
1110.9999929717190827.028280917587e-06
1210.999948984505325.10154946808949e-05
1310.99999999710842.89159929334204e-09
1410.9779937142424780.0220062857575221
1510.9999998236321041.76367895954321e-07
16113.33066907387547e-16
1710.9999999999971532.84694490204629e-12
1810.9999999829390141.70609858463067e-08
19110
2010.9999999997802662.19734008766181e-10
2110.9931945378364760.00680546216352351
2210.9999999999078669.2133856099963e-11
2310.99999670461893.29538109944405e-06
2410.9999999999999099.12603326241879e-14
2510.9999999835043221.64956778236913e-08
2610.9999999997133972.86603407673169e-10
27110
2810.2946950903109460.705304909689054
29110
3010.7599116781678030.240088321832197
3110.9998969378709330.000103062129067411
3210.4415944579123790.558405542087621
33110
34110
35112.22044604925031e-16
3610.9999999188779928.11220077778785e-08
37110
3810.2240850362339340.775914963766066
3910.9998494307599680.000150569240031651
40110
41110
42110
4310.9999999999994265.73652236823818e-13
4410.9999999742803652.57196348663058e-08
4510.9999999634348623.65651382505661e-08
4610.9999915337032888.46629671191756e-06
4700.0543398017565514-0.0543398017565514
4800.0481271236411846-0.0481271236411846
4900.0328683797745128-0.0328683797745128
5000.0543398017565514-0.0543398017565514
5100.0481271236411846-0.0481271236411846
5200.0278565350397756-0.0278565350397756
5300.0638036965089954-0.0638036965089954
5400.0501191921834295-0.0501191921834295
5500.0521891951873008-0.0521891951873008
5600.05657374053984-0.05657374053984
5700.0328683797745128-0.0328683797745128
5800.0328683797745128-0.0328683797745128
5900.0481271236411846-0.0481271236411846
6000.0315392064913704-0.0315392064913704
6100.0328683797745128-0.0328683797745128
6200.0501191921834295-0.0501191921834295
6300.0521891951873008-0.0521891951873008
6400.0521891951873008-0.0521891951873008
6500.0328683797745128-0.0328683797745128
6600.0543398017565514-0.0543398017565514
6700.0521891951873008-0.0521891951873008
6800.0501191921834295-0.0501191921834295
6900.0521891951873008-0.0521891951873008
7000.0588937982490979-0.0588937982490979
7100.0521891951873008-0.0521891951873008
7200.0588937982490979-0.0588937982490979
7300.0501191921834295-0.0501191921834295
7400.0543398017565514-0.0543398017565514
7500.0501191921834295-0.0501191921834295
7600.0543398017565514-0.0543398017565514
7700.0501191921834295-0.0501191921834295
7800.0501191921834295-0.0501191921834295
7900.0521891951873008-0.0521891951873008
8000.0501191921834295-0.0501191921834295
8100.0543398017565514-0.0543398017565514
8200.0521891951873008-0.0521891951873008
8300.0521891951873008-0.0521891951873008
8400.0521891951873008-0.0521891951873008
8500.0543398017565514-0.0543398017565514
8600.0481271236411846-0.0481271236411846
8700.0371882778641705-0.0371882778641705
8800.0342515879813616-0.0342515879813616
8900.0328683797745128-0.0328683797745128
9000.0328683797745128-0.0328683797745128
9100.0521891951873008-0.0521891951873008
9200.0290351606044783-0.0290351606044783
9300.0481271236411846-0.0481271236411846
9400.0481271236411846-0.0481271236411846
9500.0356908579155549-0.0356908579155549
9600.0462103811931719-0.0462103811931719
9700.0543398017565514-0.0543398017565514
9800.0328683797745128-0.0328683797745128
9900.0462103811931719-0.0462103811931719
10000.0521891951873008-0.0521891951873008
10100.0521891951873008-0.0521891951873008
10200.0501191921834295-0.0501191921834295
10300.0543398017565514-0.0543398017565514
10400.0290351606044783-0.0290351606044783
10500.0521891951873008-0.0521891951873008
10600.0521891951873008-0.0521891951873008
10700.0328683797745128-0.0328683797745128
10800.0501191921834295-0.0501191921834295
10900.0302621021122409-0.0302621021122409
11000.0315392064913704-0.0315392064913704
11100.0521891951873008-0.0521891951873008
11200.0819054125547117-0.0819054125547117
11300.0543398017565514-0.0543398017565514
11400.0501191921834295-0.0501191921834295
11500.0521891951873008-0.0521891951873008
11600.0315392064913704-0.0315392064913704
11700.0462103811931719-0.0462103811931719
11800.0521891951873008-0.0521891951873008
11900.0501191921834295-0.0501191921834295
12000.0521891951873008-0.0521891951873008
12100.0501191921834295-0.0501191921834295
12200.0501191921834295-0.0501191921834295
12300.0302621021122409-0.0302621021122409
12400.05657374053984-0.05657374053984
12500.0342515879813616-0.0342515879813616
12600.0521891951873008-0.0521891951873008
12700.0521891951873008-0.0521891951873008
12800.0521891951873008-0.0521891951873008
12900.0501191921834295-0.0501191921834295







Type I & II errors for various threshold values
ThresholdType IType II
0.0101
0.0201
0.0300.963855421686747
0.0400.746987951807229
0.0500.63855421686747
0.0600.0240963855421687
0.0700.0120481927710843
0.0800.0120481927710843
0.0900
0.100
0.1100
0.1200
0.1300
0.1400
0.1500
0.1600
0.1700
0.1800
0.1900
0.200
0.2100
0.2200
0.230.02173913043478260
0.240.02173913043478260
0.250.02173913043478260
0.260.02173913043478260
0.270.02173913043478260
0.280.02173913043478260
0.290.02173913043478260
0.30.04347826086956520
0.310.04347826086956520
0.320.04347826086956520
0.330.04347826086956520
0.340.04347826086956520
0.350.04347826086956520
0.360.04347826086956520
0.370.04347826086956520
0.380.04347826086956520
0.390.04347826086956520
0.40.04347826086956520
0.410.04347826086956520
0.420.04347826086956520
0.430.04347826086956520
0.440.04347826086956520
0.450.06521739130434780
0.460.06521739130434780
0.470.06521739130434780
0.480.06521739130434780
0.490.06521739130434780
0.50.06521739130434780
0.510.06521739130434780
0.520.06521739130434780
0.530.06521739130434780
0.540.06521739130434780
0.550.06521739130434780
0.560.06521739130434780
0.570.06521739130434780
0.580.06521739130434780
0.590.06521739130434780
0.60.06521739130434780
0.610.06521739130434780
0.620.06521739130434780
0.630.06521739130434780
0.640.06521739130434780
0.650.06521739130434780
0.660.06521739130434780
0.670.06521739130434780
0.680.06521739130434780
0.690.06521739130434780
0.70.06521739130434780
0.710.06521739130434780
0.720.06521739130434780
0.730.06521739130434780
0.740.06521739130434780
0.750.06521739130434780
0.760.08695652173913040
0.770.08695652173913040
0.780.08695652173913040
0.790.08695652173913040
0.80.08695652173913040
0.810.08695652173913040
0.820.08695652173913040
0.830.08695652173913040
0.840.08695652173913040
0.850.08695652173913040
0.860.08695652173913040
0.870.08695652173913040
0.880.08695652173913040
0.890.08695652173913040
0.90.08695652173913040
0.910.08695652173913040
0.920.08695652173913040
0.930.08695652173913040
0.940.08695652173913040
0.950.1086956521739130
0.960.1086956521739130
0.970.1086956521739130
0.980.1304347826086960
0.990.1304347826086960

\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 & 0.963855421686747 \tabularnewline
0.04 & 0 & 0.746987951807229 \tabularnewline
0.05 & 0 & 0.63855421686747 \tabularnewline
0.06 & 0 & 0.0240963855421687 \tabularnewline
0.07 & 0 & 0.0120481927710843 \tabularnewline
0.08 & 0 & 0.0120481927710843 \tabularnewline
0.09 & 0 & 0 \tabularnewline
0.1 & 0 & 0 \tabularnewline
0.11 & 0 & 0 \tabularnewline
0.12 & 0 & 0 \tabularnewline
0.13 & 0 & 0 \tabularnewline
0.14 & 0 & 0 \tabularnewline
0.15 & 0 & 0 \tabularnewline
0.16 & 0 & 0 \tabularnewline
0.17 & 0 & 0 \tabularnewline
0.18 & 0 & 0 \tabularnewline
0.19 & 0 & 0 \tabularnewline
0.2 & 0 & 0 \tabularnewline
0.21 & 0 & 0 \tabularnewline
0.22 & 0 & 0 \tabularnewline
0.23 & 0.0217391304347826 & 0 \tabularnewline
0.24 & 0.0217391304347826 & 0 \tabularnewline
0.25 & 0.0217391304347826 & 0 \tabularnewline
0.26 & 0.0217391304347826 & 0 \tabularnewline
0.27 & 0.0217391304347826 & 0 \tabularnewline
0.28 & 0.0217391304347826 & 0 \tabularnewline
0.29 & 0.0217391304347826 & 0 \tabularnewline
0.3 & 0.0434782608695652 & 0 \tabularnewline
0.31 & 0.0434782608695652 & 0 \tabularnewline
0.32 & 0.0434782608695652 & 0 \tabularnewline
0.33 & 0.0434782608695652 & 0 \tabularnewline
0.34 & 0.0434782608695652 & 0 \tabularnewline
0.35 & 0.0434782608695652 & 0 \tabularnewline
0.36 & 0.0434782608695652 & 0 \tabularnewline
0.37 & 0.0434782608695652 & 0 \tabularnewline
0.38 & 0.0434782608695652 & 0 \tabularnewline
0.39 & 0.0434782608695652 & 0 \tabularnewline
0.4 & 0.0434782608695652 & 0 \tabularnewline
0.41 & 0.0434782608695652 & 0 \tabularnewline
0.42 & 0.0434782608695652 & 0 \tabularnewline
0.43 & 0.0434782608695652 & 0 \tabularnewline
0.44 & 0.0434782608695652 & 0 \tabularnewline
0.45 & 0.0652173913043478 & 0 \tabularnewline
0.46 & 0.0652173913043478 & 0 \tabularnewline
0.47 & 0.0652173913043478 & 0 \tabularnewline
0.48 & 0.0652173913043478 & 0 \tabularnewline
0.49 & 0.0652173913043478 & 0 \tabularnewline
0.5 & 0.0652173913043478 & 0 \tabularnewline
0.51 & 0.0652173913043478 & 0 \tabularnewline
0.52 & 0.0652173913043478 & 0 \tabularnewline
0.53 & 0.0652173913043478 & 0 \tabularnewline
0.54 & 0.0652173913043478 & 0 \tabularnewline
0.55 & 0.0652173913043478 & 0 \tabularnewline
0.56 & 0.0652173913043478 & 0 \tabularnewline
0.57 & 0.0652173913043478 & 0 \tabularnewline
0.58 & 0.0652173913043478 & 0 \tabularnewline
0.59 & 0.0652173913043478 & 0 \tabularnewline
0.6 & 0.0652173913043478 & 0 \tabularnewline
0.61 & 0.0652173913043478 & 0 \tabularnewline
0.62 & 0.0652173913043478 & 0 \tabularnewline
0.63 & 0.0652173913043478 & 0 \tabularnewline
0.64 & 0.0652173913043478 & 0 \tabularnewline
0.65 & 0.0652173913043478 & 0 \tabularnewline
0.66 & 0.0652173913043478 & 0 \tabularnewline
0.67 & 0.0652173913043478 & 0 \tabularnewline
0.68 & 0.0652173913043478 & 0 \tabularnewline
0.69 & 0.0652173913043478 & 0 \tabularnewline
0.7 & 0.0652173913043478 & 0 \tabularnewline
0.71 & 0.0652173913043478 & 0 \tabularnewline
0.72 & 0.0652173913043478 & 0 \tabularnewline
0.73 & 0.0652173913043478 & 0 \tabularnewline
0.74 & 0.0652173913043478 & 0 \tabularnewline
0.75 & 0.0652173913043478 & 0 \tabularnewline
0.76 & 0.0869565217391304 & 0 \tabularnewline
0.77 & 0.0869565217391304 & 0 \tabularnewline
0.78 & 0.0869565217391304 & 0 \tabularnewline
0.79 & 0.0869565217391304 & 0 \tabularnewline
0.8 & 0.0869565217391304 & 0 \tabularnewline
0.81 & 0.0869565217391304 & 0 \tabularnewline
0.82 & 0.0869565217391304 & 0 \tabularnewline
0.83 & 0.0869565217391304 & 0 \tabularnewline
0.84 & 0.0869565217391304 & 0 \tabularnewline
0.85 & 0.0869565217391304 & 0 \tabularnewline
0.86 & 0.0869565217391304 & 0 \tabularnewline
0.87 & 0.0869565217391304 & 0 \tabularnewline
0.88 & 0.0869565217391304 & 0 \tabularnewline
0.89 & 0.0869565217391304 & 0 \tabularnewline
0.9 & 0.0869565217391304 & 0 \tabularnewline
0.91 & 0.0869565217391304 & 0 \tabularnewline
0.92 & 0.0869565217391304 & 0 \tabularnewline
0.93 & 0.0869565217391304 & 0 \tabularnewline
0.94 & 0.0869565217391304 & 0 \tabularnewline
0.95 & 0.108695652173913 & 0 \tabularnewline
0.96 & 0.108695652173913 & 0 \tabularnewline
0.97 & 0.108695652173913 & 0 \tabularnewline
0.98 & 0.130434782608696 & 0 \tabularnewline
0.99 & 0.130434782608696 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8090&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]0.963855421686747[/C][/ROW]
[ROW][C]0.04[/C][C]0[/C][C]0.746987951807229[/C][/ROW]
[ROW][C]0.05[/C][C]0[/C][C]0.63855421686747[/C][/ROW]
[ROW][C]0.06[/C][C]0[/C][C]0.0240963855421687[/C][/ROW]
[ROW][C]0.07[/C][C]0[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.08[/C][C]0[/C][C]0.0120481927710843[/C][/ROW]
[ROW][C]0.09[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.1[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.11[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.12[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.13[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.14[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.15[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.16[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.17[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.18[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.19[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.2[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.21[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.22[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]0.23[/C][C]0.0217391304347826[/C][C]0[/C][/ROW]
[ROW][C]0.24[/C][C]0.0217391304347826[/C][C]0[/C][/ROW]
[ROW][C]0.25[/C][C]0.0217391304347826[/C][C]0[/C][/ROW]
[ROW][C]0.26[/C][C]0.0217391304347826[/C][C]0[/C][/ROW]
[ROW][C]0.27[/C][C]0.0217391304347826[/C][C]0[/C][/ROW]
[ROW][C]0.28[/C][C]0.0217391304347826[/C][C]0[/C][/ROW]
[ROW][C]0.29[/C][C]0.0217391304347826[/C][C]0[/C][/ROW]
[ROW][C]0.3[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.31[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.32[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.33[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.34[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.35[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.36[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.37[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.38[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.39[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.4[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.41[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.42[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.43[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.44[/C][C]0.0434782608695652[/C][C]0[/C][/ROW]
[ROW][C]0.45[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.46[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.47[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.48[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.49[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.5[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.51[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.52[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.53[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.54[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.55[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.56[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.57[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.58[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.59[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.6[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.61[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.62[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.63[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.64[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.65[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.66[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.67[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.68[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.69[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.7[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.71[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.72[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.73[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.74[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.75[/C][C]0.0652173913043478[/C][C]0[/C][/ROW]
[ROW][C]0.76[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.77[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.78[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.79[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.8[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.81[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.82[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.83[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.84[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.85[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.86[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.87[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.88[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.89[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.9[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.91[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.92[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.93[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.94[/C][C]0.0869565217391304[/C][C]0[/C][/ROW]
[ROW][C]0.95[/C][C]0.108695652173913[/C][C]0[/C][/ROW]
[ROW][C]0.96[/C][C]0.108695652173913[/C][C]0[/C][/ROW]
[ROW][C]0.97[/C][C]0.108695652173913[/C][C]0[/C][/ROW]
[ROW][C]0.98[/C][C]0.130434782608696[/C][C]0[/C][/ROW]
[ROW][C]0.99[/C][C]0.130434782608696[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8090&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8090&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.0300.963855421686747
0.0400.746987951807229
0.0500.63855421686747
0.0600.0240963855421687
0.0700.0120481927710843
0.0800.0120481927710843
0.0900
0.100
0.1100
0.1200
0.1300
0.1400
0.1500
0.1600
0.1700
0.1800
0.1900
0.200
0.2100
0.2200
0.230.02173913043478260
0.240.02173913043478260
0.250.02173913043478260
0.260.02173913043478260
0.270.02173913043478260
0.280.02173913043478260
0.290.02173913043478260
0.30.04347826086956520
0.310.04347826086956520
0.320.04347826086956520
0.330.04347826086956520
0.340.04347826086956520
0.350.04347826086956520
0.360.04347826086956520
0.370.04347826086956520
0.380.04347826086956520
0.390.04347826086956520
0.40.04347826086956520
0.410.04347826086956520
0.420.04347826086956520
0.430.04347826086956520
0.440.04347826086956520
0.450.06521739130434780
0.460.06521739130434780
0.470.06521739130434780
0.480.06521739130434780
0.490.06521739130434780
0.50.06521739130434780
0.510.06521739130434780
0.520.06521739130434780
0.530.06521739130434780
0.540.06521739130434780
0.550.06521739130434780
0.560.06521739130434780
0.570.06521739130434780
0.580.06521739130434780
0.590.06521739130434780
0.60.06521739130434780
0.610.06521739130434780
0.620.06521739130434780
0.630.06521739130434780
0.640.06521739130434780
0.650.06521739130434780
0.660.06521739130434780
0.670.06521739130434780
0.680.06521739130434780
0.690.06521739130434780
0.70.06521739130434780
0.710.06521739130434780
0.720.06521739130434780
0.730.06521739130434780
0.740.06521739130434780
0.750.06521739130434780
0.760.08695652173913040
0.770.08695652173913040
0.780.08695652173913040
0.790.08695652173913040
0.80.08695652173913040
0.810.08695652173913040
0.820.08695652173913040
0.830.08695652173913040
0.840.08695652173913040
0.850.08695652173913040
0.860.08695652173913040
0.870.08695652173913040
0.880.08695652173913040
0.890.08695652173913040
0.90.08695652173913040
0.910.08695652173913040
0.920.08695652173913040
0.930.08695652173913040
0.940.08695652173913040
0.950.1086956521739130
0.960.1086956521739130
0.970.1086956521739130
0.980.1304347826086960
0.990.1304347826086960



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