Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_regression_trees1.wasp
Title produced by softwareRecursive Partitioning (Regression Trees)
Date of computationFri, 06 Dec 2013 03:57:44 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2013/Dec/06/t1386320278ki10rhy8u95f40t.htm/, Retrieved Wed, 24 Apr 2024 09:30:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=231295, Retrieved Wed, 24 Apr 2024 09:30:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact110
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Kendall tau Correlation Matrix] [ws10] [2013-12-06 08:03:23] [a42ee995bae2f8379b6c063b00748297]
- RMP     [Recursive Partitioning (Regression Trees)] [ws10] [2013-12-06 08:57:44] [b11444c1beff55480dbed17c58cce579] [Current]
Feedback Forum

Post a new message
Dataseries X:
1 21.033 0.02211 0.414783 0.815285
1 19.085 0.01929 0.458359 0.819521
1 20.651 0.01309 0.429895 0.825288
1 20.644 0.01353 0.434969 0.819235
1 19.649 0.01767 0.417356 0.823484
1 21.378 0.01222 0.415564 0.825069
1 24.886 0.00607 0.59604 0.764112
1 26.892 0.00344 0.63742 0.763262
1 21.812 0.0107 0.615551 0.773587
1 21.862 0.01022 0.547037 0.798463
1 21.118 0.01166 0.611137 0.776156
1 21.414 0.01141 0.58339 0.79252
1 25.703 0.00581 0.4606 0.646846
1 24.889 0.01041 0.430166 0.665833
1 24.922 0.00609 0.474791 0.654027
1 25.175 0.00839 0.565924 0.658245
1 22.333 0.01859 0.56738 0.644692
1 20.376 0.02919 0.631099 0.605417
1 17.28 0.0316 0.665318 0.719467
1 17.153 0.03365 0.649554 0.68608
1 17.536 0.03871 0.660125 0.704087
1 19.493 0.01849 0.629017 0.698951
1 22.468 0.0128 0.61906 0.679834
1 20.422 0.0184 0.537264 0.686894
1 23.831 0.01778 0.397937 0.732479
1 22.066 0.02887 0.522746 0.737948
1 25.908 0.01095 0.418622 0.720916
1 25.119 0.01328 0.358773 0.726652
1 25.97 0.00677 0.470478 0.676258
1 25.678 0.0117 0.427785 0.723797
0 26.775 0.00339 0.422229 0.741367
0 30.94 0.00167 0.432439 0.742055
0 30.775 0.00119 0.465946 0.738703
0 32.684 0.00072 0.368535 0.742133
0 33.047 0.00065 0.340068 0.741899
0 31.732 0.00135 0.344252 0.742737
1 23.216 0.00586 0.360148 0.778834
1 24.951 0.0034 0.341435 0.783626
1 26.738 0.00231 0.403884 0.766209
1 26.31 0.00265 0.396793 0.758324
1 26.822 0.00231 0.32648 0.765623
1 26.453 0.00257 0.306443 0.759203
0 22.736 0.0074 0.305062 0.654172
0 23.145 0.00675 0.457702 0.634267
0 25.368 0.00454 0.438296 0.635285
0 25.032 0.00476 0.431285 0.638928
0 24.602 0.00476 0.467489 0.631653
0 26.805 0.00432 0.610367 0.635204
0 23.162 0.00839 0.579597 0.733659
0 24.971 0.00462 0.538688 0.754073
0 25.135 0.00479 0.553134 0.775933
0 25.03 0.00474 0.507504 0.760361
0 24.692 0.00481 0.459766 0.766204
0 25.429 0.00484 0.420383 0.785714
1 21.028 0.01036 0.536009 0.819032
1 20.767 0.0118 0.558586 0.811843
1 21.422 0.00969 0.541781 0.821364
1 22.817 0.00681 0.530529 0.817756
1 22.603 0.00786 0.540049 0.813432
1 21.66 0.01143 0.547975 0.817396
0 25.554 0.00871 0.341788 0.678874
0 26.138 0.00301 0.447979 0.686264
0 25.856 0.0034 0.364867 0.694399
0 25.964 0.00351 0.25657 0.683296
0 26.415 0.003 0.27685 0.673636
0 24.547 0.0042 0.305429 0.681811
1 19.56 0.02183 0.460139 0.720908
1 19.979 0.02659 0.498133 0.729067
1 20.338 0.04882 0.513237 0.731444
1 21.718 0.02431 0.487407 0.727313
1 20.264 0.02599 0.489345 0.730387
1 18.57 0.03361 0.543299 0.733232
1 25.742 0.00442 0.495954 0.762959
1 24.178 0.00623 0.509127 0.789532
1 25.438 0.00479 0.437031 0.815908
1 25.197 0.00472 0.463514 0.807217
1 23.37 0.00905 0.489538 0.789977
1 25.82 0.0042 0.429484 0.81634
1 21.875 0.01062 0.644954 0.779612
1 19.2 0.0222 0.594387 0.790117
1 19.055 0.01823 0.544805 0.770466
1 19.659 0.01825 0.576084 0.778747
1 20.536 0.01237 0.55461 0.787896
1 22.244 0.00882 0.576644 0.772416
1 13.893 0.0547 0.556494 0.729586
1 16.176 0.02782 0.583574 0.727747
1 15.924 0.03151 0.598714 0.712199
1 13.922 0.04824 0.602874 0.740837
1 14.739 0.04214 0.599371 0.743937
1 11.866 0.07223 0.590951 0.745526
1 11.744 0.08725 0.65341 0.733165
1 19.664 0.01658 0.501037 0.71436
1 18.78 0.01914 0.454444 0.734504
1 20.969 0.01211 0.447456 0.69779
1 22.219 0.0085 0.50238 0.71217
1 21.693 0.01018 0.447285 0.705658
1 22.663 0.00852 0.366329 0.693429
1 15.338 0.08151 0.629574 0.714485
1 15.433 0.10323 0.57101 0.690892
1 12.435 0.16744 0.638545 0.674953
1 8.867 0.31482 0.671299 0.656846
1 15.06 0.11843 0.639808 0.643327
1 10.489 0.2593 0.596362 0.641418
1 26.759 0.00495 0.296888 0.722356
1 28.409 0.00243 0.263654 0.691483
1 27.421 0.00578 0.365488 0.719974
1 29.746 0.00233 0.334171 0.67793
1 26.833 0.00659 0.393563 0.700246
1 29.928 0.00238 0.311369 0.676066
1 21.934 0.00947 0.497554 0.740539
1 23.239 0.00704 0.436084 0.727863
1 22.407 0.0083 0.338097 0.712466
1 21.305 0.01316 0.498877 0.722085
1 23.671 0.0062 0.441097 0.722254
1 21.864 0.01048 0.331508 0.715121
1 23.693 0.06051 0.407701 0.662668
1 26.356 0.01554 0.450798 0.653823
1 25.69 0.01802 0.486738 0.676023
1 25.02 0.00856 0.470422 0.655239
1 24.581 0.00681 0.462516 0.58271
1 24.743 0.0235 0.487756 0.68413
1 27.166 0.01161 0.400088 0.656182
1 18.305 0.01968 0.538016 0.74148
1 18.784 0.01813 0.589956 0.732903
1 19.196 0.0202 0.618663 0.728421
1 18.857 0.01874 0.637518 0.735546
1 18.178 0.01794 0.623209 0.738245
1 18.33 0.01796 0.585169 0.736964
1 26.842 0.01724 0.457541 0.699787
1 26.369 0.00487 0.491345 0.718839
1 23.949 0.0161 0.46716 0.724045
1 26.017 0.01015 0.468621 0.735136
1 23.389 0.00903 0.470972 0.721308
1 25.619 0.00504 0.482296 0.723096
1 17.06 0.03031 0.637814 0.744064
1 17.707 0.02529 0.653427 0.706687
1 19.013 0.02278 0.6479 0.708144
1 16.747 0.0369 0.625362 0.708617
1 17.366 0.02629 0.640945 0.701404
1 18.801 0.01827 0.624811 0.696049
1 18.54 0.02485 0.677131 0.685057
1 15.648 0.04238 0.606344 0.665945
1 18.702 0.01728 0.606273 0.661735
1 18.687 0.0201 0.536102 0.632631
1 20.68 0.01049 0.49748 0.630409
1 20.366 0.01493 0.566849 0.574282
1 12.359 0.0753 0.56161 0.793509
1 14.367 0.06057 0.478024 0.768974
1 12.298 0.08069 0.55287 0.764036
1 14.989 0.07889 0.427627 0.775708
1 12.529 0.10952 0.507826 0.762726
1 8.441 0.21713 0.625866 0.76832
1 9.449 0.16265 0.584164 0.754449
1 21.52 0.04179 0.566867 0.670475
1 21.824 0.04611 0.65168 0.659333
1 22.431 0.02631 0.6283 0.652025
1 22.953 0.03191 0.611679 0.623731
1 19.075 0.10748 0.630547 0.646786
1 21.534 0.03828 0.635015 0.627337
1 19.651 0.02663 0.654945 0.675865
1 20.437 0.02073 0.653139 0.694571
1 19.388 0.0281 0.577802 0.684373
1 18.954 0.02707 0.685151 0.719576
1 21.219 0.01435 0.557045 0.673086
1 18.447 0.03882 0.671378 0.674562
0 24.078 0.0062 0.469928 0.628232
0 24.679 0.00533 0.384868 0.62671
0 21.083 0.0091 0.440988 0.628058
0 19.269 0.01337 0.372222 0.725216
0 21.02 0.00965 0.371837 0.646167
0 21.528 0.01049 0.522812 0.646818
0 26.436 0.00435 0.413295 0.7567
0 26.55 0.0043 0.36909 0.776158
0 26.547 0.00478 0.380253 0.7667
0 25.445 0.0059 0.387482 0.756482
0 26.005 0.00401 0.405991 0.761255
0 26.143 0.00415 0.361232 0.763242
1 24.151 0.0057 0.39661 0.745957
1 24.412 0.00488 0.402591 0.762508
1 23.683 0.0054 0.398499 0.778349
1 23.133 0.00611 0.352396 0.75932
1 22.866 0.00639 0.408598 0.768845
1 23.008 0.00595 0.329577 0.75718
0 23.079 0.00955 0.603515 0.669565
0 22.085 0.01179 0.663842 0.656516
0 24.199 0.00737 0.598515 0.654331
0 23.958 0.01397 0.566424 0.667654
0 25.023 0.0068 0.528485 0.663884
0 24.775 0.00703 0.555303 0.659132
0 19.368 0.04441 0.508479 0.683761
0 19.517 0.02764 0.448439 0.657899
0 19.147 0.0181 0.431674 0.683244
0 17.883 0.10715 0.407567 0.655683
0 19.02 0.07223 0.451221 0.643956
0 21.209 0.04398 0.462803 0.664357





Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time12 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 12 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ fisher.wessa.net \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=231295&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]12 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ fisher.wessa.net[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=231295&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time12 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Goodness of Fit
Correlation0.6672
R-squared0.4451
RMSE0.3209

\begin{tabular}{lllllllll}
\hline
Goodness of Fit \tabularnewline
Correlation & 0.6672 \tabularnewline
R-squared & 0.4451 \tabularnewline
RMSE & 0.3209 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=231295&T=1

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.6672[/C][/ROW]
[ROW][C]R-squared[/C][C]0.4451[/C][/ROW]
[ROW][C]RMSE[/C][C]0.3209[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=231295&T=1

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

As an alternative you can also use a QR Code:  

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

Goodness of Fit
Correlation0.6672
R-squared0.4451
RMSE0.3209







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
110.977528089887640.0224719101123596
210.977528089887640.0224719101123596
310.977528089887640.0224719101123596
410.977528089887640.0224719101123596
510.977528089887640.0224719101123596
610.977528089887640.0224719101123596
710.7575757575757580.242424242424242
810.3421052631578950.657894736842105
910.977528089887640.0224719101123596
1010.977528089887640.0224719101123596
1110.977528089887640.0224719101123596
1210.977528089887640.0224719101123596
1310.7575757575757580.242424242424242
1410.7575757575757580.242424242424242
1510.7575757575757580.242424242424242
1610.7575757575757580.242424242424242
1710.9090909090909090.0909090909090909
1810.9090909090909090.0909090909090909
1910.977528089887640.0224719101123596
2010.977528089887640.0224719101123596
2110.977528089887640.0224719101123596
2210.977528089887640.0224719101123596
2310.9090909090909090.0909090909090909
2410.977528089887640.0224719101123596
2510.977528089887640.0224719101123596
2610.977528089887640.0224719101123596
2710.7575757575757580.242424242424242
2810.7575757575757580.242424242424242
2910.7575757575757580.242424242424242
3010.7575757575757580.242424242424242
3100.342105263157895-0.342105263157895
3200.342105263157895-0.342105263157895
3300.342105263157895-0.342105263157895
3400.342105263157895-0.342105263157895
3500.342105263157895-0.342105263157895
3600.342105263157895-0.342105263157895
3710.977528089887640.0224719101123596
3810.3421052631578950.657894736842105
3910.3421052631578950.657894736842105
4010.3421052631578950.657894736842105
4110.3421052631578950.657894736842105
4210.3421052631578950.657894736842105
4300.153846153846154-0.153846153846154
4400.153846153846154-0.153846153846154
4500.342105263157895-0.342105263157895
4600.342105263157895-0.342105263157895
4700.342105263157895-0.342105263157895
4800.342105263157895-0.342105263157895
4900.97752808988764-0.97752808988764
5000.342105263157895-0.342105263157895
5100.342105263157895-0.342105263157895
5200.342105263157895-0.342105263157895
5300.342105263157895-0.342105263157895
5400.342105263157895-0.342105263157895
5510.977528089887640.0224719101123596
5610.977528089887640.0224719101123596
5710.977528089887640.0224719101123596
5810.977528089887640.0224719101123596
5910.977528089887640.0224719101123596
6010.977528089887640.0224719101123596
6100.757575757575758-0.757575757575758
6200.342105263157895-0.342105263157895
6300.342105263157895-0.342105263157895
6400.342105263157895-0.342105263157895
6500.342105263157895-0.342105263157895
6600.342105263157895-0.342105263157895
6710.977528089887640.0224719101123596
6810.977528089887640.0224719101123596
6910.977528089887640.0224719101123596
7010.977528089887640.0224719101123596
7110.977528089887640.0224719101123596
7210.977528089887640.0224719101123596
7310.3421052631578950.657894736842105
7410.7575757575757580.242424242424242
7510.3421052631578950.657894736842105
7610.3421052631578950.657894736842105
7710.977528089887640.0224719101123596
7810.3421052631578950.657894736842105
7910.977528089887640.0224719101123596
8010.977528089887640.0224719101123596
8110.977528089887640.0224719101123596
8210.977528089887640.0224719101123596
8310.977528089887640.0224719101123596
8410.977528089887640.0224719101123596
8510.977528089887640.0224719101123596
8610.977528089887640.0224719101123596
8710.977528089887640.0224719101123596
8810.977528089887640.0224719101123596
8910.977528089887640.0224719101123596
9010.977528089887640.0224719101123596
9110.977528089887640.0224719101123596
9210.977528089887640.0224719101123596
9310.977528089887640.0224719101123596
9410.977528089887640.0224719101123596
9510.977528089887640.0224719101123596
9610.977528089887640.0224719101123596
9710.977528089887640.0224719101123596
9810.977528089887640.0224719101123596
9910.977528089887640.0224719101123596
10010.9090909090909090.0909090909090909
10110.9090909090909090.0909090909090909
10210.9090909090909090.0909090909090909
10310.9090909090909090.0909090909090909
10410.7575757575757580.242424242424242
10510.3421052631578950.657894736842105
10610.7575757575757580.242424242424242
10710.3421052631578950.657894736842105
10810.7575757575757580.242424242424242
10910.3421052631578950.657894736842105
11010.977528089887640.0224719101123596
11110.977528089887640.0224719101123596
11210.977528089887640.0224719101123596
11310.977528089887640.0224719101123596
11410.977528089887640.0224719101123596
11510.977528089887640.0224719101123596
11610.1538461538461540.846153846153846
11710.7575757575757580.242424242424242
11810.7575757575757580.242424242424242
11910.7575757575757580.242424242424242
12010.7575757575757580.242424242424242
12110.7575757575757580.242424242424242
12210.7575757575757580.242424242424242
12310.977528089887640.0224719101123596
12410.977528089887640.0224719101123596
12510.977528089887640.0224719101123596
12610.977528089887640.0224719101123596
12710.977528089887640.0224719101123596
12810.977528089887640.0224719101123596
12910.7575757575757580.242424242424242
13010.7575757575757580.242424242424242
13110.977528089887640.0224719101123596
13210.7575757575757580.242424242424242
13310.977528089887640.0224719101123596
13410.7575757575757580.242424242424242
13510.977528089887640.0224719101123596
13610.977528089887640.0224719101123596
13710.977528089887640.0224719101123596
13810.977528089887640.0224719101123596
13910.977528089887640.0224719101123596
14010.977528089887640.0224719101123596
14110.977528089887640.0224719101123596
14210.9090909090909090.0909090909090909
14310.9090909090909090.0909090909090909
14410.9090909090909090.0909090909090909
14510.1538461538461540.846153846153846
14610.9090909090909090.0909090909090909
14710.977528089887640.0224719101123596
14810.977528089887640.0224719101123596
14910.977528089887640.0224719101123596
15010.977528089887640.0224719101123596
15110.977528089887640.0224719101123596
15210.977528089887640.0224719101123596
15310.977528089887640.0224719101123596
15410.9090909090909090.0909090909090909
15510.9090909090909090.0909090909090909
15610.9090909090909090.0909090909090909
15710.9090909090909090.0909090909090909
15810.9090909090909090.0909090909090909
15910.9090909090909090.0909090909090909
16010.9090909090909090.0909090909090909
16110.977528089887640.0224719101123596
16210.977528089887640.0224719101123596
16310.977528089887640.0224719101123596
16410.9090909090909090.0909090909090909
16510.9090909090909090.0909090909090909
16600.757575757575758-0.757575757575758
16700.757575757575758-0.757575757575758
16800.153846153846154-0.153846153846154
16900.97752808988764-0.97752808988764
17000.153846153846154-0.153846153846154
17100.153846153846154-0.153846153846154
17200.342105263157895-0.342105263157895
17300.342105263157895-0.342105263157895
17400.342105263157895-0.342105263157895
17500.757575757575758-0.757575757575758
17600.342105263157895-0.342105263157895
17700.342105263157895-0.342105263157895
17810.7575757575757580.242424242424242
17910.7575757575757580.242424242424242
18010.977528089887640.0224719101123596
18110.977528089887640.0224719101123596
18210.977528089887640.0224719101123596
18310.977528089887640.0224719101123596
18400.909090909090909-0.909090909090909
18500.909090909090909-0.909090909090909
18600.757575757575758-0.757575757575758
18700.757575757575758-0.757575757575758
18800.757575757575758-0.757575757575758
18900.757575757575758-0.757575757575758
19000.153846153846154-0.153846153846154
19100.153846153846154-0.153846153846154
19200.153846153846154-0.153846153846154
19300.153846153846154-0.153846153846154
19400.153846153846154-0.153846153846154
19500.153846153846154-0.153846153846154

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
2 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
3 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
4 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
5 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
6 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
7 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
8 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
9 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
10 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
11 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
12 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
13 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
14 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
15 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
16 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
17 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
18 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
19 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
20 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
21 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
22 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
23 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
24 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
25 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
26 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
27 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
28 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
29 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
30 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
31 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
32 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
33 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
34 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
35 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
36 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
37 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
38 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
39 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
40 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
41 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
42 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
43 & 0 & 0.153846153846154 & -0.153846153846154 \tabularnewline
44 & 0 & 0.153846153846154 & -0.153846153846154 \tabularnewline
45 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
46 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
47 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
48 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
49 & 0 & 0.97752808988764 & -0.97752808988764 \tabularnewline
50 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
51 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
52 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
53 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
54 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
55 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
56 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
57 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
58 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
59 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
60 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
61 & 0 & 0.757575757575758 & -0.757575757575758 \tabularnewline
62 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
63 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
64 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
65 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
66 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
67 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
68 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
69 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
70 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
71 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
72 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
73 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
74 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
75 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
76 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
77 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
78 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
79 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
80 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
81 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
82 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
83 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
84 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
85 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
86 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
87 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
88 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
89 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
90 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
91 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
92 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
93 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
94 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
95 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
96 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
97 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
98 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
99 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
100 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
101 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
102 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
103 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
104 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
105 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
106 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
107 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
108 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
109 & 1 & 0.342105263157895 & 0.657894736842105 \tabularnewline
110 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
111 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
112 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
113 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
114 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
115 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
116 & 1 & 0.153846153846154 & 0.846153846153846 \tabularnewline
117 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
118 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
119 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
120 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
121 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
122 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
123 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
124 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
125 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
126 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
127 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
128 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
129 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
130 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
131 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
132 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
133 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
134 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
135 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
136 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
137 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
138 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
139 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
140 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
141 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
142 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
143 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
144 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
145 & 1 & 0.153846153846154 & 0.846153846153846 \tabularnewline
146 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
147 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
148 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
149 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
150 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
151 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
152 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
153 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
154 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
155 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
156 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
157 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
158 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
159 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
160 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
161 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
162 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
163 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
164 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
165 & 1 & 0.909090909090909 & 0.0909090909090909 \tabularnewline
166 & 0 & 0.757575757575758 & -0.757575757575758 \tabularnewline
167 & 0 & 0.757575757575758 & -0.757575757575758 \tabularnewline
168 & 0 & 0.153846153846154 & -0.153846153846154 \tabularnewline
169 & 0 & 0.97752808988764 & -0.97752808988764 \tabularnewline
170 & 0 & 0.153846153846154 & -0.153846153846154 \tabularnewline
171 & 0 & 0.153846153846154 & -0.153846153846154 \tabularnewline
172 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
173 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
174 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
175 & 0 & 0.757575757575758 & -0.757575757575758 \tabularnewline
176 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
177 & 0 & 0.342105263157895 & -0.342105263157895 \tabularnewline
178 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
179 & 1 & 0.757575757575758 & 0.242424242424242 \tabularnewline
180 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
181 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
182 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
183 & 1 & 0.97752808988764 & 0.0224719101123596 \tabularnewline
184 & 0 & 0.909090909090909 & -0.909090909090909 \tabularnewline
185 & 0 & 0.909090909090909 & -0.909090909090909 \tabularnewline
186 & 0 & 0.757575757575758 & -0.757575757575758 \tabularnewline
187 & 0 & 0.757575757575758 & -0.757575757575758 \tabularnewline
188 & 0 & 0.757575757575758 & -0.757575757575758 \tabularnewline
189 & 0 & 0.757575757575758 & -0.757575757575758 \tabularnewline
190 & 0 & 0.153846153846154 & -0.153846153846154 \tabularnewline
191 & 0 & 0.153846153846154 & -0.153846153846154 \tabularnewline
192 & 0 & 0.153846153846154 & -0.153846153846154 \tabularnewline
193 & 0 & 0.153846153846154 & -0.153846153846154 \tabularnewline
194 & 0 & 0.153846153846154 & -0.153846153846154 \tabularnewline
195 & 0 & 0.153846153846154 & -0.153846153846154 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=231295&T=2

[TABLE]
[ROW][C]Actuals, Predictions, and Residuals[/C][/ROW]
[ROW][C]#[/C][C]Actuals[/C][C]Forecasts[/C][C]Residuals[/C][/ROW]
[ROW][C]1[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]2[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]3[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]4[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]5[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]6[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]7[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]8[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]9[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]10[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]11[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]12[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]13[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]14[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]15[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]16[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]17[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]18[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]19[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]20[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]21[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]22[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]23[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]24[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]25[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]26[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]27[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]28[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]29[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]30[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]31[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]32[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]33[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]34[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]35[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]36[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]37[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]38[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]39[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]40[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]41[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]42[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]43[/C][C]0[/C][C]0.153846153846154[/C][C]-0.153846153846154[/C][/ROW]
[ROW][C]44[/C][C]0[/C][C]0.153846153846154[/C][C]-0.153846153846154[/C][/ROW]
[ROW][C]45[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]46[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]47[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]48[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]49[/C][C]0[/C][C]0.97752808988764[/C][C]-0.97752808988764[/C][/ROW]
[ROW][C]50[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]51[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]52[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]53[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]54[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]55[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]56[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]57[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]58[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]59[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]60[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]61[/C][C]0[/C][C]0.757575757575758[/C][C]-0.757575757575758[/C][/ROW]
[ROW][C]62[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]63[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]64[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]65[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]66[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]67[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]68[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]69[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]70[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]71[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]72[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]73[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]74[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]75[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]76[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]77[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]78[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]79[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]80[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]81[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]82[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]83[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]84[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]85[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]86[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]87[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]88[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]89[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]90[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]91[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]92[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]93[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]94[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]95[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]96[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]97[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]98[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]99[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]100[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]101[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]102[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]103[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]104[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]105[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]106[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]107[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]108[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]109[/C][C]1[/C][C]0.342105263157895[/C][C]0.657894736842105[/C][/ROW]
[ROW][C]110[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]111[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]112[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]113[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]114[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]115[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]116[/C][C]1[/C][C]0.153846153846154[/C][C]0.846153846153846[/C][/ROW]
[ROW][C]117[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]118[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]119[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]120[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]121[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]122[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]123[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]124[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]125[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]126[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]127[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]128[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]129[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]130[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]131[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]132[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]133[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]134[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]135[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]136[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]137[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]138[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]139[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]140[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]141[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]142[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]143[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]144[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]145[/C][C]1[/C][C]0.153846153846154[/C][C]0.846153846153846[/C][/ROW]
[ROW][C]146[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]147[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]148[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]149[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]150[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]151[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]152[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]153[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]154[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]155[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]156[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]157[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]158[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]159[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]160[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]161[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]162[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]163[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]164[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]165[/C][C]1[/C][C]0.909090909090909[/C][C]0.0909090909090909[/C][/ROW]
[ROW][C]166[/C][C]0[/C][C]0.757575757575758[/C][C]-0.757575757575758[/C][/ROW]
[ROW][C]167[/C][C]0[/C][C]0.757575757575758[/C][C]-0.757575757575758[/C][/ROW]
[ROW][C]168[/C][C]0[/C][C]0.153846153846154[/C][C]-0.153846153846154[/C][/ROW]
[ROW][C]169[/C][C]0[/C][C]0.97752808988764[/C][C]-0.97752808988764[/C][/ROW]
[ROW][C]170[/C][C]0[/C][C]0.153846153846154[/C][C]-0.153846153846154[/C][/ROW]
[ROW][C]171[/C][C]0[/C][C]0.153846153846154[/C][C]-0.153846153846154[/C][/ROW]
[ROW][C]172[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]173[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]174[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]175[/C][C]0[/C][C]0.757575757575758[/C][C]-0.757575757575758[/C][/ROW]
[ROW][C]176[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]177[/C][C]0[/C][C]0.342105263157895[/C][C]-0.342105263157895[/C][/ROW]
[ROW][C]178[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]179[/C][C]1[/C][C]0.757575757575758[/C][C]0.242424242424242[/C][/ROW]
[ROW][C]180[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]181[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]182[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]183[/C][C]1[/C][C]0.97752808988764[/C][C]0.0224719101123596[/C][/ROW]
[ROW][C]184[/C][C]0[/C][C]0.909090909090909[/C][C]-0.909090909090909[/C][/ROW]
[ROW][C]185[/C][C]0[/C][C]0.909090909090909[/C][C]-0.909090909090909[/C][/ROW]
[ROW][C]186[/C][C]0[/C][C]0.757575757575758[/C][C]-0.757575757575758[/C][/ROW]
[ROW][C]187[/C][C]0[/C][C]0.757575757575758[/C][C]-0.757575757575758[/C][/ROW]
[ROW][C]188[/C][C]0[/C][C]0.757575757575758[/C][C]-0.757575757575758[/C][/ROW]
[ROW][C]189[/C][C]0[/C][C]0.757575757575758[/C][C]-0.757575757575758[/C][/ROW]
[ROW][C]190[/C][C]0[/C][C]0.153846153846154[/C][C]-0.153846153846154[/C][/ROW]
[ROW][C]191[/C][C]0[/C][C]0.153846153846154[/C][C]-0.153846153846154[/C][/ROW]
[ROW][C]192[/C][C]0[/C][C]0.153846153846154[/C][C]-0.153846153846154[/C][/ROW]
[ROW][C]193[/C][C]0[/C][C]0.153846153846154[/C][C]-0.153846153846154[/C][/ROW]
[ROW][C]194[/C][C]0[/C][C]0.153846153846154[/C][C]-0.153846153846154[/C][/ROW]
[ROW][C]195[/C][C]0[/C][C]0.153846153846154[/C][C]-0.153846153846154[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=231295&T=2

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

As an alternative you can also use a QR Code:  

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

Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
110.977528089887640.0224719101123596
210.977528089887640.0224719101123596
310.977528089887640.0224719101123596
410.977528089887640.0224719101123596
510.977528089887640.0224719101123596
610.977528089887640.0224719101123596
710.7575757575757580.242424242424242
810.3421052631578950.657894736842105
910.977528089887640.0224719101123596
1010.977528089887640.0224719101123596
1110.977528089887640.0224719101123596
1210.977528089887640.0224719101123596
1310.7575757575757580.242424242424242
1410.7575757575757580.242424242424242
1510.7575757575757580.242424242424242
1610.7575757575757580.242424242424242
1710.9090909090909090.0909090909090909
1810.9090909090909090.0909090909090909
1910.977528089887640.0224719101123596
2010.977528089887640.0224719101123596
2110.977528089887640.0224719101123596
2210.977528089887640.0224719101123596
2310.9090909090909090.0909090909090909
2410.977528089887640.0224719101123596
2510.977528089887640.0224719101123596
2610.977528089887640.0224719101123596
2710.7575757575757580.242424242424242
2810.7575757575757580.242424242424242
2910.7575757575757580.242424242424242
3010.7575757575757580.242424242424242
3100.342105263157895-0.342105263157895
3200.342105263157895-0.342105263157895
3300.342105263157895-0.342105263157895
3400.342105263157895-0.342105263157895
3500.342105263157895-0.342105263157895
3600.342105263157895-0.342105263157895
3710.977528089887640.0224719101123596
3810.3421052631578950.657894736842105
3910.3421052631578950.657894736842105
4010.3421052631578950.657894736842105
4110.3421052631578950.657894736842105
4210.3421052631578950.657894736842105
4300.153846153846154-0.153846153846154
4400.153846153846154-0.153846153846154
4500.342105263157895-0.342105263157895
4600.342105263157895-0.342105263157895
4700.342105263157895-0.342105263157895
4800.342105263157895-0.342105263157895
4900.97752808988764-0.97752808988764
5000.342105263157895-0.342105263157895
5100.342105263157895-0.342105263157895
5200.342105263157895-0.342105263157895
5300.342105263157895-0.342105263157895
5400.342105263157895-0.342105263157895
5510.977528089887640.0224719101123596
5610.977528089887640.0224719101123596
5710.977528089887640.0224719101123596
5810.977528089887640.0224719101123596
5910.977528089887640.0224719101123596
6010.977528089887640.0224719101123596
6100.757575757575758-0.757575757575758
6200.342105263157895-0.342105263157895
6300.342105263157895-0.342105263157895
6400.342105263157895-0.342105263157895
6500.342105263157895-0.342105263157895
6600.342105263157895-0.342105263157895
6710.977528089887640.0224719101123596
6810.977528089887640.0224719101123596
6910.977528089887640.0224719101123596
7010.977528089887640.0224719101123596
7110.977528089887640.0224719101123596
7210.977528089887640.0224719101123596
7310.3421052631578950.657894736842105
7410.7575757575757580.242424242424242
7510.3421052631578950.657894736842105
7610.3421052631578950.657894736842105
7710.977528089887640.0224719101123596
7810.3421052631578950.657894736842105
7910.977528089887640.0224719101123596
8010.977528089887640.0224719101123596
8110.977528089887640.0224719101123596
8210.977528089887640.0224719101123596
8310.977528089887640.0224719101123596
8410.977528089887640.0224719101123596
8510.977528089887640.0224719101123596
8610.977528089887640.0224719101123596
8710.977528089887640.0224719101123596
8810.977528089887640.0224719101123596
8910.977528089887640.0224719101123596
9010.977528089887640.0224719101123596
9110.977528089887640.0224719101123596
9210.977528089887640.0224719101123596
9310.977528089887640.0224719101123596
9410.977528089887640.0224719101123596
9510.977528089887640.0224719101123596
9610.977528089887640.0224719101123596
9710.977528089887640.0224719101123596
9810.977528089887640.0224719101123596
9910.977528089887640.0224719101123596
10010.9090909090909090.0909090909090909
10110.9090909090909090.0909090909090909
10210.9090909090909090.0909090909090909
10310.9090909090909090.0909090909090909
10410.7575757575757580.242424242424242
10510.3421052631578950.657894736842105
10610.7575757575757580.242424242424242
10710.3421052631578950.657894736842105
10810.7575757575757580.242424242424242
10910.3421052631578950.657894736842105
11010.977528089887640.0224719101123596
11110.977528089887640.0224719101123596
11210.977528089887640.0224719101123596
11310.977528089887640.0224719101123596
11410.977528089887640.0224719101123596
11510.977528089887640.0224719101123596
11610.1538461538461540.846153846153846
11710.7575757575757580.242424242424242
11810.7575757575757580.242424242424242
11910.7575757575757580.242424242424242
12010.7575757575757580.242424242424242
12110.7575757575757580.242424242424242
12210.7575757575757580.242424242424242
12310.977528089887640.0224719101123596
12410.977528089887640.0224719101123596
12510.977528089887640.0224719101123596
12610.977528089887640.0224719101123596
12710.977528089887640.0224719101123596
12810.977528089887640.0224719101123596
12910.7575757575757580.242424242424242
13010.7575757575757580.242424242424242
13110.977528089887640.0224719101123596
13210.7575757575757580.242424242424242
13310.977528089887640.0224719101123596
13410.7575757575757580.242424242424242
13510.977528089887640.0224719101123596
13610.977528089887640.0224719101123596
13710.977528089887640.0224719101123596
13810.977528089887640.0224719101123596
13910.977528089887640.0224719101123596
14010.977528089887640.0224719101123596
14110.977528089887640.0224719101123596
14210.9090909090909090.0909090909090909
14310.9090909090909090.0909090909090909
14410.9090909090909090.0909090909090909
14510.1538461538461540.846153846153846
14610.9090909090909090.0909090909090909
14710.977528089887640.0224719101123596
14810.977528089887640.0224719101123596
14910.977528089887640.0224719101123596
15010.977528089887640.0224719101123596
15110.977528089887640.0224719101123596
15210.977528089887640.0224719101123596
15310.977528089887640.0224719101123596
15410.9090909090909090.0909090909090909
15510.9090909090909090.0909090909090909
15610.9090909090909090.0909090909090909
15710.9090909090909090.0909090909090909
15810.9090909090909090.0909090909090909
15910.9090909090909090.0909090909090909
16010.9090909090909090.0909090909090909
16110.977528089887640.0224719101123596
16210.977528089887640.0224719101123596
16310.977528089887640.0224719101123596
16410.9090909090909090.0909090909090909
16510.9090909090909090.0909090909090909
16600.757575757575758-0.757575757575758
16700.757575757575758-0.757575757575758
16800.153846153846154-0.153846153846154
16900.97752808988764-0.97752808988764
17000.153846153846154-0.153846153846154
17100.153846153846154-0.153846153846154
17200.342105263157895-0.342105263157895
17300.342105263157895-0.342105263157895
17400.342105263157895-0.342105263157895
17500.757575757575758-0.757575757575758
17600.342105263157895-0.342105263157895
17700.342105263157895-0.342105263157895
17810.7575757575757580.242424242424242
17910.7575757575757580.242424242424242
18010.977528089887640.0224719101123596
18110.977528089887640.0224719101123596
18210.977528089887640.0224719101123596
18310.977528089887640.0224719101123596
18400.909090909090909-0.909090909090909
18500.909090909090909-0.909090909090909
18600.757575757575758-0.757575757575758
18700.757575757575758-0.757575757575758
18800.757575757575758-0.757575757575758
18900.757575757575758-0.757575757575758
19000.153846153846154-0.153846153846154
19100.153846153846154-0.153846153846154
19200.153846153846154-0.153846153846154
19300.153846153846154-0.153846153846154
19400.153846153846154-0.153846153846154
19500.153846153846154-0.153846153846154



Parameters (Session):
par1 = 1 ; par2 = none ; par3 = 3 ; par4 = no ;
Parameters (R input):
par1 = 1 ; par2 = none ; par3 = 3 ; par4 = no ;
R code (references can be found in the software module):
library(party)
library(Hmisc)
par1 <- as.numeric(par1)
par3 <- as.numeric(par3)
x <- data.frame(t(y))
is.data.frame(x)
x <- x[!is.na(x[,par1]),]
k <- length(x[1,])
n <- length(x[,1])
colnames(x)[par1]
x[,par1]
if (par2 == 'kmeans') {
cl <- kmeans(x[,par1], par3)
print(cl)
clm <- matrix(cbind(cl$centers,1:par3),ncol=2)
clm <- clm[sort.list(clm[,1]),]
for (i in 1:par3) {
cl$cluster[cl$cluster==clm[i,2]] <- paste('C',i,sep='')
}
cl$cluster <- as.factor(cl$cluster)
print(cl$cluster)
x[,par1] <- cl$cluster
}
if (par2 == 'quantiles') {
x[,par1] <- cut2(x[,par1],g=par3)
}
if (par2 == 'hclust') {
hc <- hclust(dist(x[,par1])^2, 'cen')
print(hc)
memb <- cutree(hc, k = par3)
dum <- c(mean(x[memb==1,par1]))
for (i in 2:par3) {
dum <- c(dum, mean(x[memb==i,par1]))
}
hcm <- matrix(cbind(dum,1:par3),ncol=2)
hcm <- hcm[sort.list(hcm[,1]),]
for (i in 1:par3) {
memb[memb==hcm[i,2]] <- paste('C',i,sep='')
}
memb <- as.factor(memb)
print(memb)
x[,par1] <- memb
}
if (par2=='equal') {
ed <- cut(as.numeric(x[,par1]),par3,labels=paste('C',1:par3,sep=''))
x[,par1] <- as.factor(ed)
}
table(x[,par1])
colnames(x)
colnames(x)[par1]
x[,par1]
if (par2 == 'none') {
m <- ctree(as.formula(paste(colnames(x)[par1],' ~ .',sep='')),data = x)
}
load(file='createtable')
if (par2 != 'none') {
m <- ctree(as.formula(paste('as.factor(',colnames(x)[par1],') ~ .',sep='')),data = x)
if (par4=='yes') {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'10-Fold Cross Validation',3+2*par3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'',1,TRUE)
a<-table.element(a,'Prediction (training)',par3+1,TRUE)
a<-table.element(a,'Prediction (testing)',par3+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Actual',1,TRUE)
for (jjj in 1:par3) a<-table.element(a,paste('C',jjj,sep=''),1,TRUE)
a<-table.element(a,'CV',1,TRUE)
for (jjj in 1:par3) a<-table.element(a,paste('C',jjj,sep=''),1,TRUE)
a<-table.element(a,'CV',1,TRUE)
a<-table.row.end(a)
for (i in 1:10) {
ind <- sample(2, nrow(x), replace=T, prob=c(0.9,0.1))
m.ct <- ctree(as.formula(paste('as.factor(',colnames(x)[par1],') ~ .',sep='')),data =x[ind==1,])
if (i==1) {
m.ct.i.pred <- predict(m.ct, newdata=x[ind==1,])
m.ct.i.actu <- x[ind==1,par1]
m.ct.x.pred <- predict(m.ct, newdata=x[ind==2,])
m.ct.x.actu <- x[ind==2,par1]
} else {
m.ct.i.pred <- c(m.ct.i.pred,predict(m.ct, newdata=x[ind==1,]))
m.ct.i.actu <- c(m.ct.i.actu,x[ind==1,par1])
m.ct.x.pred <- c(m.ct.x.pred,predict(m.ct, newdata=x[ind==2,]))
m.ct.x.actu <- c(m.ct.x.actu,x[ind==2,par1])
}
}
print(m.ct.i.tab <- table(m.ct.i.actu,m.ct.i.pred))
numer <- 0
for (i in 1:par3) {
print(m.ct.i.tab[i,i] / sum(m.ct.i.tab[i,]))
numer <- numer + m.ct.i.tab[i,i]
}
print(m.ct.i.cp <- numer / sum(m.ct.i.tab))
print(m.ct.x.tab <- table(m.ct.x.actu,m.ct.x.pred))
numer <- 0
for (i in 1:par3) {
print(m.ct.x.tab[i,i] / sum(m.ct.x.tab[i,]))
numer <- numer + m.ct.x.tab[i,i]
}
print(m.ct.x.cp <- numer / sum(m.ct.x.tab))
for (i in 1:par3) {
a<-table.row.start(a)
a<-table.element(a,paste('C',i,sep=''),1,TRUE)
for (jjj in 1:par3) a<-table.element(a,m.ct.i.tab[i,jjj])
a<-table.element(a,round(m.ct.i.tab[i,i]/sum(m.ct.i.tab[i,]),4))
for (jjj in 1:par3) a<-table.element(a,m.ct.x.tab[i,jjj])
a<-table.element(a,round(m.ct.x.tab[i,i]/sum(m.ct.x.tab[i,]),4))
a<-table.row.end(a)
}
a<-table.row.start(a)
a<-table.element(a,'Overall',1,TRUE)
for (jjj in 1:par3) a<-table.element(a,'-')
a<-table.element(a,round(m.ct.i.cp,4))
for (jjj in 1:par3) a<-table.element(a,'-')
a<-table.element(a,round(m.ct.x.cp,4))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
}
}
m
bitmap(file='test1.png')
plot(m)
dev.off()
bitmap(file='test1a.png')
plot(x[,par1] ~ as.factor(where(m)),main='Response by Terminal Node',xlab='Terminal Node',ylab='Response')
dev.off()
if (par2 == 'none') {
forec <- predict(m)
result <- as.data.frame(cbind(x[,par1],forec,x[,par1]-forec))
colnames(result) <- c('Actuals','Forecasts','Residuals')
print(result)
}
if (par2 != 'none') {
print(cbind(as.factor(x[,par1]),predict(m)))
myt <- table(as.factor(x[,par1]),predict(m))
print(myt)
}
bitmap(file='test2.png')
if(par2=='none') {
op <- par(mfrow=c(2,2))
plot(density(result$Actuals),main='Kernel Density Plot of Actuals')
plot(density(result$Residuals),main='Kernel Density Plot of Residuals')
plot(result$Forecasts,result$Actuals,main='Actuals versus Predictions',xlab='Predictions',ylab='Actuals')
plot(density(result$Forecasts),main='Kernel Density Plot of Predictions')
par(op)
}
if(par2!='none') {
plot(myt,main='Confusion Matrix',xlab='Actual',ylab='Predicted')
}
dev.off()
if (par2 == 'none') {
detcoef <- cor(result$Forecasts,result$Actuals)
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goodness of Fit',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Correlation',1,TRUE)
a<-table.element(a,round(detcoef,4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'R-squared',1,TRUE)
a<-table.element(a,round(detcoef*detcoef,4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'RMSE',1,TRUE)
a<-table.element(a,round(sqrt(mean((result$Residuals)^2)),4))
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,'Actuals, Predictions, and Residuals',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'#',header=TRUE)
a<-table.element(a,'Actuals',header=TRUE)
a<-table.element(a,'Forecasts',header=TRUE)
a<-table.element(a,'Residuals',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(result$Actuals)) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,result$Actuals[i])
a<-table.element(a,result$Forecasts[i])
a<-table.element(a,result$Residuals[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
}
if (par2 != 'none') {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Confusion Matrix (predicted in columns / actuals in rows)',par3+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'',1,TRUE)
for (i in 1:par3) {
a<-table.element(a,paste('C',i,sep=''),1,TRUE)
}
a<-table.row.end(a)
for (i in 1:par3) {
a<-table.row.start(a)
a<-table.element(a,paste('C',i,sep=''),1,TRUE)
for (j in 1:par3) {
a<-table.element(a,myt[i,j])
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
}