Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_regression_trees1dm.wasp
Title produced by softwareRecursive Partitioning (Regression Trees)
Date of computationSun, 29 Apr 2012 07:01:04 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Apr/29/t1335697279xm3n1krfbbmnrgy.htm/, Retrieved Sat, 04 May 2024 19:36:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=165122, Retrieved Sat, 04 May 2024 19:36:11 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact150
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Recursive Partitioning (Regression Trees)] [ws5.4.1] [2012-04-29 11:01:04] [d6b8e0ceefc1e2de0b53f6dffb5d636c] [Current]
Feedback Forum

Post a new message




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=165122&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165122&T=0

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







Goodness of Fit
Correlation0.831
R-squared0.6906
RMSE2.358

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.831[/C][/ROW]
[ROW][C]R-squared[/C][C]0.6906[/C][/ROW]
[ROW][C]RMSE[/C][C]2.358[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165122&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165122&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.831
R-squared0.6906
RMSE2.358







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
13432.71428571428571.28571428571428
23837.69767441860460.302325581395351
33029.58823529411760.411764705882351
42729.7272727272727-2.72727272727273
53133.6363636363636-2.63636363636363
63435.8461538461538-1.84615384615385
72833.6363636363636-5.63636363636363
84037.69767441860462.30232558139535
93429.58823529411764.41176470588235
103835.84615384615382.15384615384615
113237.2307692307692-5.23076923076923
123635.50.5
133032.7142857142857-2.71428571428572
143229.72727272727272.27272727272727
153838.9047619047619-0.904761904761905
163132.7142857142857-1.71428571428572
173232.7142857142857-0.714285714285715
183638.9047619047619-2.90476190476191
193229.58823529411762.41176470588235
203635.84615384615380.153846153846153
213837.23076923076920.769230769230766
223835.84615384615382.15384615384615
232729.7272727272727-2.72727272727273
243535.5-0.5
253232.7142857142857-0.714285714285715
263333.6363636363636-0.636363636363633
273229.58823529411762.41176470588235
283735.51.5
293737.2307692307692-0.230769230769234
303735.51.5
313937.69767441860461.30232558139535
323337.6976744186046-4.69767441860465
333737.2307692307692-0.230769230769234
343632.71428571428573.28571428571428
353232.7142857142857-0.714285714285715
363837.23076923076920.769230769230766
373232.7142857142857-0.714285714285715
383732.71428571428574.28571428571428
393937.23076923076921.76923076923077
403435.8461538461538-1.84615384615385
413035.8461538461538-5.84615384615385
423535.8461538461538-0.846153846153847
433836.33333333333331.66666666666666
443735.51.5
452829.7272727272727-1.72727272727273
464135.84615384615385.15384615384615
473942.625-3.625
483735.84615384615381.15384615384615
493837.23076923076920.769230769230766
503529.72727272727275.27272727272727
512929.7272727272727-0.727272727272727
523232.7142857142857-0.714285714285715
533129.72727272727271.27272727272727
543235.5-3.5
553735.51.5
563635.50.5
573737.6976744186046-0.697674418604649
583532.71428571428572.28571428571428
593232.7142857142857-0.714285714285715
602832.7142857142857-4.71428571428572
613535.8461538461538-0.846153846153847
623329.72727272727273.27272727272727
632929.5882352941176-0.588235294117649
643937.69767441860461.30232558139535
653435.8461538461538-1.84615384615385
663237.6976744186046-5.69767441860465
673537.6976744186046-2.69767441860465
684037.69767441860462.30232558139535
693535.5-0.5
703538.9047619047619-3.90476190476191
714038.90476190476191.09523809523809
723232.7142857142857-0.714285714285715
733635.84615384615380.153846153846153
743937.23076923076921.76923076923077
753737.6976744186046-0.697674418604649
763937.69767441860461.30232558139535
773635.84615384615380.153846153846153
783633.63636363636362.36363636363637
793632.71428571428573.28571428571428
804338.90476190476194.09523809523809
814037.23076923076922.76923076923077
823635.84615384615380.153846153846153
833335.5-2.5
843637.6976744186046-1.69767441860465
853737.6976744186046-0.697674418604649
863735.84615384615381.15384615384615
873229.58823529411762.41176470588235
883332.71428571428570.285714285714285
894137.69767441860463.30232558139535
904037.23076923076922.76923076923077
913232.7142857142857-0.714285714285715
923535.5-0.5
933437.2307692307692-3.23076923076923
943735.51.5
953235.5-3.5
964342.6250.375
973535.5-0.5
983335.5-2.5
992629.7272727272727-3.72727272727273
1003937.69767441860461.30232558139535
1014037.69767441860462.30232558139535
1023635.50.5
1033537.6976744186046-2.69767441860465
1043737.6976744186046-0.697674418604649
10532311
1063333.6363636363636-0.636363636363633
1073537.6976744186046-2.69767441860465
1083232.7142857142857-0.714285714285715
1093837.69767441860460.302325581395351
1103532.71428571428572.28571428571428
1113837.69767441860460.302325581395351
1122929.5882352941176-0.588235294117649
1133837.69767441860460.302325581395351
1144037.69767441860462.30232558139535
1153938.90476190476190.0952380952380949
1163535.5-0.5
1174042.625-2.625
1183435.5-1.5
1193635.84615384615380.153846153846153
1203735.84615384615381.15384615384615
1213332.71428571428570.285714285714285
1223835.84615384615382.15384615384615
1233737.2307692307692-0.230769230769234
1243835.52.5
1253229.58823529411762.41176470588235
1263837.69767441860460.302325581395351
1272829.5882352941176-1.58823529411765
1283737.6976744186046-0.697674418604649
1293132.7142857142857-1.71428571428572
1303937.69767441860461.30232558139535
1313636.3333333333333-0.333333333333336
1323335.5-2.5
1334142.625-1.625
1344542.6252.375
1354341.42857142857141.57142857142857
1363536.3333333333333-1.33333333333334
1372329.5882352941176-6.58823529411765
1384337.69767441860465.30232558139535
1393635.84615384615380.153846153846153
1404137.69767441860463.30232558139535
1414141.4285714285714-0.428571428571431
14234313
1433938.90476190476190.0952380952380949
1444038.90476190476191.09523809523809
1452829.5882352941176-1.58823529411765
1463937.69767441860461.30232558139535
1473635.50.5
1483637.6976744186046-1.69767441860465
1493537.6976744186046-2.69767441860465
1503736.33333333333330.666666666666664
15135314
1523433.63636363636360.363636363636367
1533941.4285714285714-2.42857142857143
1543937.69767441860461.30232558139535
1554138.90476190476192.09523809523809
1564442.6251.375
1574238.90476190476193.09523809523809
1583129.58823529411761.41176470588235
1593937.69767441860461.30232558139535
1603942.625-3.625
1613535.5-0.5
1623835.52.5
1633736.33333333333330.666666666666664
1643935.53.5
1654342.6250.375
1663937.69767441860461.30232558139535
1674042.625-2.625
1683133.6363636363636-2.63636363636363
1692831-3
1704037.69767441860462.30232558139535
17133312
1723842.625-4.625
1733938.90476190476190.0952380952380949
1744742.6254.375
1753537.6976744186046-2.69767441860465
1763837.69767441860460.302325581395351
1773229.58823529411762.41176470588235
1783435.5-1.5
1794442.6251.375
1803435.8461538461538-1.84615384615385
1814041.4285714285714-1.42857142857143
1823738.9047619047619-1.90476190476191
1833938.90476190476190.0952380952380949
1843436.3333333333333-2.33333333333334
1852431-7
1864241.42857142857140.571428571428569
1873835.52.5
1882629.5882352941176-3.58823529411765
1892929.5882352941176-0.588235294117649
1903638.9047619047619-2.90476190476191
1913433.63636363636360.363636363636367
1924038.90476190476191.09523809523809
1933537.2307692307692-2.23076923076923
1943636.3333333333333-0.333333333333336
1953733.63636363636363.36363636363637
1964341.42857142857141.57142857142857
1973235.8461538461538-3.84615384615385
1984442.6251.375
1993938.90476190476190.0952380952380949
2003938.90476190476190.0952380952380949
2013733.63636363636363.36363636363637
2023429.58823529411764.41176470588235
2032929.7272727272727-0.727272727272727
2042229.5882352941176-7.58823529411765
2053337.6976744186046-4.69767441860465
2063737.6976744186046-0.697674418604649
2074042.625-2.625
2083737.6976744186046-0.697674418604649
2093029.72727272727270.272727272727273
2103635.84615384615380.153846153846153
2113637.6976744186046-1.69767441860465
2123735.84615384615381.15384615384615
21331310
2144842.6255.375
2153938.90476190476190.0952380952380949
2164241.42857142857140.571428571428569
2173633.63636363636362.36363636363637
2183938.90476190476190.0952380952380949
2193635.84615384615380.153846153846153
2203837.69767441860460.302325581395351
2214742.6254.375
2223635.84615384615380.153846153846153
2233636.3333333333333-0.333333333333336
2243838.9047619047619-0.904761904761905
2253937.69767441860461.30232558139535
2263735.84615384615381.15384615384615
2273836.33333333333331.66666666666666
2283938.90476190476190.0952380952380949

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 34 & 32.7142857142857 & 1.28571428571428 \tabularnewline
2 & 38 & 37.6976744186046 & 0.302325581395351 \tabularnewline
3 & 30 & 29.5882352941176 & 0.411764705882351 \tabularnewline
4 & 27 & 29.7272727272727 & -2.72727272727273 \tabularnewline
5 & 31 & 33.6363636363636 & -2.63636363636363 \tabularnewline
6 & 34 & 35.8461538461538 & -1.84615384615385 \tabularnewline
7 & 28 & 33.6363636363636 & -5.63636363636363 \tabularnewline
8 & 40 & 37.6976744186046 & 2.30232558139535 \tabularnewline
9 & 34 & 29.5882352941176 & 4.41176470588235 \tabularnewline
10 & 38 & 35.8461538461538 & 2.15384615384615 \tabularnewline
11 & 32 & 37.2307692307692 & -5.23076923076923 \tabularnewline
12 & 36 & 35.5 & 0.5 \tabularnewline
13 & 30 & 32.7142857142857 & -2.71428571428572 \tabularnewline
14 & 32 & 29.7272727272727 & 2.27272727272727 \tabularnewline
15 & 38 & 38.9047619047619 & -0.904761904761905 \tabularnewline
16 & 31 & 32.7142857142857 & -1.71428571428572 \tabularnewline
17 & 32 & 32.7142857142857 & -0.714285714285715 \tabularnewline
18 & 36 & 38.9047619047619 & -2.90476190476191 \tabularnewline
19 & 32 & 29.5882352941176 & 2.41176470588235 \tabularnewline
20 & 36 & 35.8461538461538 & 0.153846153846153 \tabularnewline
21 & 38 & 37.2307692307692 & 0.769230769230766 \tabularnewline
22 & 38 & 35.8461538461538 & 2.15384615384615 \tabularnewline
23 & 27 & 29.7272727272727 & -2.72727272727273 \tabularnewline
24 & 35 & 35.5 & -0.5 \tabularnewline
25 & 32 & 32.7142857142857 & -0.714285714285715 \tabularnewline
26 & 33 & 33.6363636363636 & -0.636363636363633 \tabularnewline
27 & 32 & 29.5882352941176 & 2.41176470588235 \tabularnewline
28 & 37 & 35.5 & 1.5 \tabularnewline
29 & 37 & 37.2307692307692 & -0.230769230769234 \tabularnewline
30 & 37 & 35.5 & 1.5 \tabularnewline
31 & 39 & 37.6976744186046 & 1.30232558139535 \tabularnewline
32 & 33 & 37.6976744186046 & -4.69767441860465 \tabularnewline
33 & 37 & 37.2307692307692 & -0.230769230769234 \tabularnewline
34 & 36 & 32.7142857142857 & 3.28571428571428 \tabularnewline
35 & 32 & 32.7142857142857 & -0.714285714285715 \tabularnewline
36 & 38 & 37.2307692307692 & 0.769230769230766 \tabularnewline
37 & 32 & 32.7142857142857 & -0.714285714285715 \tabularnewline
38 & 37 & 32.7142857142857 & 4.28571428571428 \tabularnewline
39 & 39 & 37.2307692307692 & 1.76923076923077 \tabularnewline
40 & 34 & 35.8461538461538 & -1.84615384615385 \tabularnewline
41 & 30 & 35.8461538461538 & -5.84615384615385 \tabularnewline
42 & 35 & 35.8461538461538 & -0.846153846153847 \tabularnewline
43 & 38 & 36.3333333333333 & 1.66666666666666 \tabularnewline
44 & 37 & 35.5 & 1.5 \tabularnewline
45 & 28 & 29.7272727272727 & -1.72727272727273 \tabularnewline
46 & 41 & 35.8461538461538 & 5.15384615384615 \tabularnewline
47 & 39 & 42.625 & -3.625 \tabularnewline
48 & 37 & 35.8461538461538 & 1.15384615384615 \tabularnewline
49 & 38 & 37.2307692307692 & 0.769230769230766 \tabularnewline
50 & 35 & 29.7272727272727 & 5.27272727272727 \tabularnewline
51 & 29 & 29.7272727272727 & -0.727272727272727 \tabularnewline
52 & 32 & 32.7142857142857 & -0.714285714285715 \tabularnewline
53 & 31 & 29.7272727272727 & 1.27272727272727 \tabularnewline
54 & 32 & 35.5 & -3.5 \tabularnewline
55 & 37 & 35.5 & 1.5 \tabularnewline
56 & 36 & 35.5 & 0.5 \tabularnewline
57 & 37 & 37.6976744186046 & -0.697674418604649 \tabularnewline
58 & 35 & 32.7142857142857 & 2.28571428571428 \tabularnewline
59 & 32 & 32.7142857142857 & -0.714285714285715 \tabularnewline
60 & 28 & 32.7142857142857 & -4.71428571428572 \tabularnewline
61 & 35 & 35.8461538461538 & -0.846153846153847 \tabularnewline
62 & 33 & 29.7272727272727 & 3.27272727272727 \tabularnewline
63 & 29 & 29.5882352941176 & -0.588235294117649 \tabularnewline
64 & 39 & 37.6976744186046 & 1.30232558139535 \tabularnewline
65 & 34 & 35.8461538461538 & -1.84615384615385 \tabularnewline
66 & 32 & 37.6976744186046 & -5.69767441860465 \tabularnewline
67 & 35 & 37.6976744186046 & -2.69767441860465 \tabularnewline
68 & 40 & 37.6976744186046 & 2.30232558139535 \tabularnewline
69 & 35 & 35.5 & -0.5 \tabularnewline
70 & 35 & 38.9047619047619 & -3.90476190476191 \tabularnewline
71 & 40 & 38.9047619047619 & 1.09523809523809 \tabularnewline
72 & 32 & 32.7142857142857 & -0.714285714285715 \tabularnewline
73 & 36 & 35.8461538461538 & 0.153846153846153 \tabularnewline
74 & 39 & 37.2307692307692 & 1.76923076923077 \tabularnewline
75 & 37 & 37.6976744186046 & -0.697674418604649 \tabularnewline
76 & 39 & 37.6976744186046 & 1.30232558139535 \tabularnewline
77 & 36 & 35.8461538461538 & 0.153846153846153 \tabularnewline
78 & 36 & 33.6363636363636 & 2.36363636363637 \tabularnewline
79 & 36 & 32.7142857142857 & 3.28571428571428 \tabularnewline
80 & 43 & 38.9047619047619 & 4.09523809523809 \tabularnewline
81 & 40 & 37.2307692307692 & 2.76923076923077 \tabularnewline
82 & 36 & 35.8461538461538 & 0.153846153846153 \tabularnewline
83 & 33 & 35.5 & -2.5 \tabularnewline
84 & 36 & 37.6976744186046 & -1.69767441860465 \tabularnewline
85 & 37 & 37.6976744186046 & -0.697674418604649 \tabularnewline
86 & 37 & 35.8461538461538 & 1.15384615384615 \tabularnewline
87 & 32 & 29.5882352941176 & 2.41176470588235 \tabularnewline
88 & 33 & 32.7142857142857 & 0.285714285714285 \tabularnewline
89 & 41 & 37.6976744186046 & 3.30232558139535 \tabularnewline
90 & 40 & 37.2307692307692 & 2.76923076923077 \tabularnewline
91 & 32 & 32.7142857142857 & -0.714285714285715 \tabularnewline
92 & 35 & 35.5 & -0.5 \tabularnewline
93 & 34 & 37.2307692307692 & -3.23076923076923 \tabularnewline
94 & 37 & 35.5 & 1.5 \tabularnewline
95 & 32 & 35.5 & -3.5 \tabularnewline
96 & 43 & 42.625 & 0.375 \tabularnewline
97 & 35 & 35.5 & -0.5 \tabularnewline
98 & 33 & 35.5 & -2.5 \tabularnewline
99 & 26 & 29.7272727272727 & -3.72727272727273 \tabularnewline
100 & 39 & 37.6976744186046 & 1.30232558139535 \tabularnewline
101 & 40 & 37.6976744186046 & 2.30232558139535 \tabularnewline
102 & 36 & 35.5 & 0.5 \tabularnewline
103 & 35 & 37.6976744186046 & -2.69767441860465 \tabularnewline
104 & 37 & 37.6976744186046 & -0.697674418604649 \tabularnewline
105 & 32 & 31 & 1 \tabularnewline
106 & 33 & 33.6363636363636 & -0.636363636363633 \tabularnewline
107 & 35 & 37.6976744186046 & -2.69767441860465 \tabularnewline
108 & 32 & 32.7142857142857 & -0.714285714285715 \tabularnewline
109 & 38 & 37.6976744186046 & 0.302325581395351 \tabularnewline
110 & 35 & 32.7142857142857 & 2.28571428571428 \tabularnewline
111 & 38 & 37.6976744186046 & 0.302325581395351 \tabularnewline
112 & 29 & 29.5882352941176 & -0.588235294117649 \tabularnewline
113 & 38 & 37.6976744186046 & 0.302325581395351 \tabularnewline
114 & 40 & 37.6976744186046 & 2.30232558139535 \tabularnewline
115 & 39 & 38.9047619047619 & 0.0952380952380949 \tabularnewline
116 & 35 & 35.5 & -0.5 \tabularnewline
117 & 40 & 42.625 & -2.625 \tabularnewline
118 & 34 & 35.5 & -1.5 \tabularnewline
119 & 36 & 35.8461538461538 & 0.153846153846153 \tabularnewline
120 & 37 & 35.8461538461538 & 1.15384615384615 \tabularnewline
121 & 33 & 32.7142857142857 & 0.285714285714285 \tabularnewline
122 & 38 & 35.8461538461538 & 2.15384615384615 \tabularnewline
123 & 37 & 37.2307692307692 & -0.230769230769234 \tabularnewline
124 & 38 & 35.5 & 2.5 \tabularnewline
125 & 32 & 29.5882352941176 & 2.41176470588235 \tabularnewline
126 & 38 & 37.6976744186046 & 0.302325581395351 \tabularnewline
127 & 28 & 29.5882352941176 & -1.58823529411765 \tabularnewline
128 & 37 & 37.6976744186046 & -0.697674418604649 \tabularnewline
129 & 31 & 32.7142857142857 & -1.71428571428572 \tabularnewline
130 & 39 & 37.6976744186046 & 1.30232558139535 \tabularnewline
131 & 36 & 36.3333333333333 & -0.333333333333336 \tabularnewline
132 & 33 & 35.5 & -2.5 \tabularnewline
133 & 41 & 42.625 & -1.625 \tabularnewline
134 & 45 & 42.625 & 2.375 \tabularnewline
135 & 43 & 41.4285714285714 & 1.57142857142857 \tabularnewline
136 & 35 & 36.3333333333333 & -1.33333333333334 \tabularnewline
137 & 23 & 29.5882352941176 & -6.58823529411765 \tabularnewline
138 & 43 & 37.6976744186046 & 5.30232558139535 \tabularnewline
139 & 36 & 35.8461538461538 & 0.153846153846153 \tabularnewline
140 & 41 & 37.6976744186046 & 3.30232558139535 \tabularnewline
141 & 41 & 41.4285714285714 & -0.428571428571431 \tabularnewline
142 & 34 & 31 & 3 \tabularnewline
143 & 39 & 38.9047619047619 & 0.0952380952380949 \tabularnewline
144 & 40 & 38.9047619047619 & 1.09523809523809 \tabularnewline
145 & 28 & 29.5882352941176 & -1.58823529411765 \tabularnewline
146 & 39 & 37.6976744186046 & 1.30232558139535 \tabularnewline
147 & 36 & 35.5 & 0.5 \tabularnewline
148 & 36 & 37.6976744186046 & -1.69767441860465 \tabularnewline
149 & 35 & 37.6976744186046 & -2.69767441860465 \tabularnewline
150 & 37 & 36.3333333333333 & 0.666666666666664 \tabularnewline
151 & 35 & 31 & 4 \tabularnewline
152 & 34 & 33.6363636363636 & 0.363636363636367 \tabularnewline
153 & 39 & 41.4285714285714 & -2.42857142857143 \tabularnewline
154 & 39 & 37.6976744186046 & 1.30232558139535 \tabularnewline
155 & 41 & 38.9047619047619 & 2.09523809523809 \tabularnewline
156 & 44 & 42.625 & 1.375 \tabularnewline
157 & 42 & 38.9047619047619 & 3.09523809523809 \tabularnewline
158 & 31 & 29.5882352941176 & 1.41176470588235 \tabularnewline
159 & 39 & 37.6976744186046 & 1.30232558139535 \tabularnewline
160 & 39 & 42.625 & -3.625 \tabularnewline
161 & 35 & 35.5 & -0.5 \tabularnewline
162 & 38 & 35.5 & 2.5 \tabularnewline
163 & 37 & 36.3333333333333 & 0.666666666666664 \tabularnewline
164 & 39 & 35.5 & 3.5 \tabularnewline
165 & 43 & 42.625 & 0.375 \tabularnewline
166 & 39 & 37.6976744186046 & 1.30232558139535 \tabularnewline
167 & 40 & 42.625 & -2.625 \tabularnewline
168 & 31 & 33.6363636363636 & -2.63636363636363 \tabularnewline
169 & 28 & 31 & -3 \tabularnewline
170 & 40 & 37.6976744186046 & 2.30232558139535 \tabularnewline
171 & 33 & 31 & 2 \tabularnewline
172 & 38 & 42.625 & -4.625 \tabularnewline
173 & 39 & 38.9047619047619 & 0.0952380952380949 \tabularnewline
174 & 47 & 42.625 & 4.375 \tabularnewline
175 & 35 & 37.6976744186046 & -2.69767441860465 \tabularnewline
176 & 38 & 37.6976744186046 & 0.302325581395351 \tabularnewline
177 & 32 & 29.5882352941176 & 2.41176470588235 \tabularnewline
178 & 34 & 35.5 & -1.5 \tabularnewline
179 & 44 & 42.625 & 1.375 \tabularnewline
180 & 34 & 35.8461538461538 & -1.84615384615385 \tabularnewline
181 & 40 & 41.4285714285714 & -1.42857142857143 \tabularnewline
182 & 37 & 38.9047619047619 & -1.90476190476191 \tabularnewline
183 & 39 & 38.9047619047619 & 0.0952380952380949 \tabularnewline
184 & 34 & 36.3333333333333 & -2.33333333333334 \tabularnewline
185 & 24 & 31 & -7 \tabularnewline
186 & 42 & 41.4285714285714 & 0.571428571428569 \tabularnewline
187 & 38 & 35.5 & 2.5 \tabularnewline
188 & 26 & 29.5882352941176 & -3.58823529411765 \tabularnewline
189 & 29 & 29.5882352941176 & -0.588235294117649 \tabularnewline
190 & 36 & 38.9047619047619 & -2.90476190476191 \tabularnewline
191 & 34 & 33.6363636363636 & 0.363636363636367 \tabularnewline
192 & 40 & 38.9047619047619 & 1.09523809523809 \tabularnewline
193 & 35 & 37.2307692307692 & -2.23076923076923 \tabularnewline
194 & 36 & 36.3333333333333 & -0.333333333333336 \tabularnewline
195 & 37 & 33.6363636363636 & 3.36363636363637 \tabularnewline
196 & 43 & 41.4285714285714 & 1.57142857142857 \tabularnewline
197 & 32 & 35.8461538461538 & -3.84615384615385 \tabularnewline
198 & 44 & 42.625 & 1.375 \tabularnewline
199 & 39 & 38.9047619047619 & 0.0952380952380949 \tabularnewline
200 & 39 & 38.9047619047619 & 0.0952380952380949 \tabularnewline
201 & 37 & 33.6363636363636 & 3.36363636363637 \tabularnewline
202 & 34 & 29.5882352941176 & 4.41176470588235 \tabularnewline
203 & 29 & 29.7272727272727 & -0.727272727272727 \tabularnewline
204 & 22 & 29.5882352941176 & -7.58823529411765 \tabularnewline
205 & 33 & 37.6976744186046 & -4.69767441860465 \tabularnewline
206 & 37 & 37.6976744186046 & -0.697674418604649 \tabularnewline
207 & 40 & 42.625 & -2.625 \tabularnewline
208 & 37 & 37.6976744186046 & -0.697674418604649 \tabularnewline
209 & 30 & 29.7272727272727 & 0.272727272727273 \tabularnewline
210 & 36 & 35.8461538461538 & 0.153846153846153 \tabularnewline
211 & 36 & 37.6976744186046 & -1.69767441860465 \tabularnewline
212 & 37 & 35.8461538461538 & 1.15384615384615 \tabularnewline
213 & 31 & 31 & 0 \tabularnewline
214 & 48 & 42.625 & 5.375 \tabularnewline
215 & 39 & 38.9047619047619 & 0.0952380952380949 \tabularnewline
216 & 42 & 41.4285714285714 & 0.571428571428569 \tabularnewline
217 & 36 & 33.6363636363636 & 2.36363636363637 \tabularnewline
218 & 39 & 38.9047619047619 & 0.0952380952380949 \tabularnewline
219 & 36 & 35.8461538461538 & 0.153846153846153 \tabularnewline
220 & 38 & 37.6976744186046 & 0.302325581395351 \tabularnewline
221 & 47 & 42.625 & 4.375 \tabularnewline
222 & 36 & 35.8461538461538 & 0.153846153846153 \tabularnewline
223 & 36 & 36.3333333333333 & -0.333333333333336 \tabularnewline
224 & 38 & 38.9047619047619 & -0.904761904761905 \tabularnewline
225 & 39 & 37.6976744186046 & 1.30232558139535 \tabularnewline
226 & 37 & 35.8461538461538 & 1.15384615384615 \tabularnewline
227 & 38 & 36.3333333333333 & 1.66666666666666 \tabularnewline
228 & 39 & 38.9047619047619 & 0.0952380952380949 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=165122&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]34[/C][C]32.7142857142857[/C][C]1.28571428571428[/C][/ROW]
[ROW][C]2[/C][C]38[/C][C]37.6976744186046[/C][C]0.302325581395351[/C][/ROW]
[ROW][C]3[/C][C]30[/C][C]29.5882352941176[/C][C]0.411764705882351[/C][/ROW]
[ROW][C]4[/C][C]27[/C][C]29.7272727272727[/C][C]-2.72727272727273[/C][/ROW]
[ROW][C]5[/C][C]31[/C][C]33.6363636363636[/C][C]-2.63636363636363[/C][/ROW]
[ROW][C]6[/C][C]34[/C][C]35.8461538461538[/C][C]-1.84615384615385[/C][/ROW]
[ROW][C]7[/C][C]28[/C][C]33.6363636363636[/C][C]-5.63636363636363[/C][/ROW]
[ROW][C]8[/C][C]40[/C][C]37.6976744186046[/C][C]2.30232558139535[/C][/ROW]
[ROW][C]9[/C][C]34[/C][C]29.5882352941176[/C][C]4.41176470588235[/C][/ROW]
[ROW][C]10[/C][C]38[/C][C]35.8461538461538[/C][C]2.15384615384615[/C][/ROW]
[ROW][C]11[/C][C]32[/C][C]37.2307692307692[/C][C]-5.23076923076923[/C][/ROW]
[ROW][C]12[/C][C]36[/C][C]35.5[/C][C]0.5[/C][/ROW]
[ROW][C]13[/C][C]30[/C][C]32.7142857142857[/C][C]-2.71428571428572[/C][/ROW]
[ROW][C]14[/C][C]32[/C][C]29.7272727272727[/C][C]2.27272727272727[/C][/ROW]
[ROW][C]15[/C][C]38[/C][C]38.9047619047619[/C][C]-0.904761904761905[/C][/ROW]
[ROW][C]16[/C][C]31[/C][C]32.7142857142857[/C][C]-1.71428571428572[/C][/ROW]
[ROW][C]17[/C][C]32[/C][C]32.7142857142857[/C][C]-0.714285714285715[/C][/ROW]
[ROW][C]18[/C][C]36[/C][C]38.9047619047619[/C][C]-2.90476190476191[/C][/ROW]
[ROW][C]19[/C][C]32[/C][C]29.5882352941176[/C][C]2.41176470588235[/C][/ROW]
[ROW][C]20[/C][C]36[/C][C]35.8461538461538[/C][C]0.153846153846153[/C][/ROW]
[ROW][C]21[/C][C]38[/C][C]37.2307692307692[/C][C]0.769230769230766[/C][/ROW]
[ROW][C]22[/C][C]38[/C][C]35.8461538461538[/C][C]2.15384615384615[/C][/ROW]
[ROW][C]23[/C][C]27[/C][C]29.7272727272727[/C][C]-2.72727272727273[/C][/ROW]
[ROW][C]24[/C][C]35[/C][C]35.5[/C][C]-0.5[/C][/ROW]
[ROW][C]25[/C][C]32[/C][C]32.7142857142857[/C][C]-0.714285714285715[/C][/ROW]
[ROW][C]26[/C][C]33[/C][C]33.6363636363636[/C][C]-0.636363636363633[/C][/ROW]
[ROW][C]27[/C][C]32[/C][C]29.5882352941176[/C][C]2.41176470588235[/C][/ROW]
[ROW][C]28[/C][C]37[/C][C]35.5[/C][C]1.5[/C][/ROW]
[ROW][C]29[/C][C]37[/C][C]37.2307692307692[/C][C]-0.230769230769234[/C][/ROW]
[ROW][C]30[/C][C]37[/C][C]35.5[/C][C]1.5[/C][/ROW]
[ROW][C]31[/C][C]39[/C][C]37.6976744186046[/C][C]1.30232558139535[/C][/ROW]
[ROW][C]32[/C][C]33[/C][C]37.6976744186046[/C][C]-4.69767441860465[/C][/ROW]
[ROW][C]33[/C][C]37[/C][C]37.2307692307692[/C][C]-0.230769230769234[/C][/ROW]
[ROW][C]34[/C][C]36[/C][C]32.7142857142857[/C][C]3.28571428571428[/C][/ROW]
[ROW][C]35[/C][C]32[/C][C]32.7142857142857[/C][C]-0.714285714285715[/C][/ROW]
[ROW][C]36[/C][C]38[/C][C]37.2307692307692[/C][C]0.769230769230766[/C][/ROW]
[ROW][C]37[/C][C]32[/C][C]32.7142857142857[/C][C]-0.714285714285715[/C][/ROW]
[ROW][C]38[/C][C]37[/C][C]32.7142857142857[/C][C]4.28571428571428[/C][/ROW]
[ROW][C]39[/C][C]39[/C][C]37.2307692307692[/C][C]1.76923076923077[/C][/ROW]
[ROW][C]40[/C][C]34[/C][C]35.8461538461538[/C][C]-1.84615384615385[/C][/ROW]
[ROW][C]41[/C][C]30[/C][C]35.8461538461538[/C][C]-5.84615384615385[/C][/ROW]
[ROW][C]42[/C][C]35[/C][C]35.8461538461538[/C][C]-0.846153846153847[/C][/ROW]
[ROW][C]43[/C][C]38[/C][C]36.3333333333333[/C][C]1.66666666666666[/C][/ROW]
[ROW][C]44[/C][C]37[/C][C]35.5[/C][C]1.5[/C][/ROW]
[ROW][C]45[/C][C]28[/C][C]29.7272727272727[/C][C]-1.72727272727273[/C][/ROW]
[ROW][C]46[/C][C]41[/C][C]35.8461538461538[/C][C]5.15384615384615[/C][/ROW]
[ROW][C]47[/C][C]39[/C][C]42.625[/C][C]-3.625[/C][/ROW]
[ROW][C]48[/C][C]37[/C][C]35.8461538461538[/C][C]1.15384615384615[/C][/ROW]
[ROW][C]49[/C][C]38[/C][C]37.2307692307692[/C][C]0.769230769230766[/C][/ROW]
[ROW][C]50[/C][C]35[/C][C]29.7272727272727[/C][C]5.27272727272727[/C][/ROW]
[ROW][C]51[/C][C]29[/C][C]29.7272727272727[/C][C]-0.727272727272727[/C][/ROW]
[ROW][C]52[/C][C]32[/C][C]32.7142857142857[/C][C]-0.714285714285715[/C][/ROW]
[ROW][C]53[/C][C]31[/C][C]29.7272727272727[/C][C]1.27272727272727[/C][/ROW]
[ROW][C]54[/C][C]32[/C][C]35.5[/C][C]-3.5[/C][/ROW]
[ROW][C]55[/C][C]37[/C][C]35.5[/C][C]1.5[/C][/ROW]
[ROW][C]56[/C][C]36[/C][C]35.5[/C][C]0.5[/C][/ROW]
[ROW][C]57[/C][C]37[/C][C]37.6976744186046[/C][C]-0.697674418604649[/C][/ROW]
[ROW][C]58[/C][C]35[/C][C]32.7142857142857[/C][C]2.28571428571428[/C][/ROW]
[ROW][C]59[/C][C]32[/C][C]32.7142857142857[/C][C]-0.714285714285715[/C][/ROW]
[ROW][C]60[/C][C]28[/C][C]32.7142857142857[/C][C]-4.71428571428572[/C][/ROW]
[ROW][C]61[/C][C]35[/C][C]35.8461538461538[/C][C]-0.846153846153847[/C][/ROW]
[ROW][C]62[/C][C]33[/C][C]29.7272727272727[/C][C]3.27272727272727[/C][/ROW]
[ROW][C]63[/C][C]29[/C][C]29.5882352941176[/C][C]-0.588235294117649[/C][/ROW]
[ROW][C]64[/C][C]39[/C][C]37.6976744186046[/C][C]1.30232558139535[/C][/ROW]
[ROW][C]65[/C][C]34[/C][C]35.8461538461538[/C][C]-1.84615384615385[/C][/ROW]
[ROW][C]66[/C][C]32[/C][C]37.6976744186046[/C][C]-5.69767441860465[/C][/ROW]
[ROW][C]67[/C][C]35[/C][C]37.6976744186046[/C][C]-2.69767441860465[/C][/ROW]
[ROW][C]68[/C][C]40[/C][C]37.6976744186046[/C][C]2.30232558139535[/C][/ROW]
[ROW][C]69[/C][C]35[/C][C]35.5[/C][C]-0.5[/C][/ROW]
[ROW][C]70[/C][C]35[/C][C]38.9047619047619[/C][C]-3.90476190476191[/C][/ROW]
[ROW][C]71[/C][C]40[/C][C]38.9047619047619[/C][C]1.09523809523809[/C][/ROW]
[ROW][C]72[/C][C]32[/C][C]32.7142857142857[/C][C]-0.714285714285715[/C][/ROW]
[ROW][C]73[/C][C]36[/C][C]35.8461538461538[/C][C]0.153846153846153[/C][/ROW]
[ROW][C]74[/C][C]39[/C][C]37.2307692307692[/C][C]1.76923076923077[/C][/ROW]
[ROW][C]75[/C][C]37[/C][C]37.6976744186046[/C][C]-0.697674418604649[/C][/ROW]
[ROW][C]76[/C][C]39[/C][C]37.6976744186046[/C][C]1.30232558139535[/C][/ROW]
[ROW][C]77[/C][C]36[/C][C]35.8461538461538[/C][C]0.153846153846153[/C][/ROW]
[ROW][C]78[/C][C]36[/C][C]33.6363636363636[/C][C]2.36363636363637[/C][/ROW]
[ROW][C]79[/C][C]36[/C][C]32.7142857142857[/C][C]3.28571428571428[/C][/ROW]
[ROW][C]80[/C][C]43[/C][C]38.9047619047619[/C][C]4.09523809523809[/C][/ROW]
[ROW][C]81[/C][C]40[/C][C]37.2307692307692[/C][C]2.76923076923077[/C][/ROW]
[ROW][C]82[/C][C]36[/C][C]35.8461538461538[/C][C]0.153846153846153[/C][/ROW]
[ROW][C]83[/C][C]33[/C][C]35.5[/C][C]-2.5[/C][/ROW]
[ROW][C]84[/C][C]36[/C][C]37.6976744186046[/C][C]-1.69767441860465[/C][/ROW]
[ROW][C]85[/C][C]37[/C][C]37.6976744186046[/C][C]-0.697674418604649[/C][/ROW]
[ROW][C]86[/C][C]37[/C][C]35.8461538461538[/C][C]1.15384615384615[/C][/ROW]
[ROW][C]87[/C][C]32[/C][C]29.5882352941176[/C][C]2.41176470588235[/C][/ROW]
[ROW][C]88[/C][C]33[/C][C]32.7142857142857[/C][C]0.285714285714285[/C][/ROW]
[ROW][C]89[/C][C]41[/C][C]37.6976744186046[/C][C]3.30232558139535[/C][/ROW]
[ROW][C]90[/C][C]40[/C][C]37.2307692307692[/C][C]2.76923076923077[/C][/ROW]
[ROW][C]91[/C][C]32[/C][C]32.7142857142857[/C][C]-0.714285714285715[/C][/ROW]
[ROW][C]92[/C][C]35[/C][C]35.5[/C][C]-0.5[/C][/ROW]
[ROW][C]93[/C][C]34[/C][C]37.2307692307692[/C][C]-3.23076923076923[/C][/ROW]
[ROW][C]94[/C][C]37[/C][C]35.5[/C][C]1.5[/C][/ROW]
[ROW][C]95[/C][C]32[/C][C]35.5[/C][C]-3.5[/C][/ROW]
[ROW][C]96[/C][C]43[/C][C]42.625[/C][C]0.375[/C][/ROW]
[ROW][C]97[/C][C]35[/C][C]35.5[/C][C]-0.5[/C][/ROW]
[ROW][C]98[/C][C]33[/C][C]35.5[/C][C]-2.5[/C][/ROW]
[ROW][C]99[/C][C]26[/C][C]29.7272727272727[/C][C]-3.72727272727273[/C][/ROW]
[ROW][C]100[/C][C]39[/C][C]37.6976744186046[/C][C]1.30232558139535[/C][/ROW]
[ROW][C]101[/C][C]40[/C][C]37.6976744186046[/C][C]2.30232558139535[/C][/ROW]
[ROW][C]102[/C][C]36[/C][C]35.5[/C][C]0.5[/C][/ROW]
[ROW][C]103[/C][C]35[/C][C]37.6976744186046[/C][C]-2.69767441860465[/C][/ROW]
[ROW][C]104[/C][C]37[/C][C]37.6976744186046[/C][C]-0.697674418604649[/C][/ROW]
[ROW][C]105[/C][C]32[/C][C]31[/C][C]1[/C][/ROW]
[ROW][C]106[/C][C]33[/C][C]33.6363636363636[/C][C]-0.636363636363633[/C][/ROW]
[ROW][C]107[/C][C]35[/C][C]37.6976744186046[/C][C]-2.69767441860465[/C][/ROW]
[ROW][C]108[/C][C]32[/C][C]32.7142857142857[/C][C]-0.714285714285715[/C][/ROW]
[ROW][C]109[/C][C]38[/C][C]37.6976744186046[/C][C]0.302325581395351[/C][/ROW]
[ROW][C]110[/C][C]35[/C][C]32.7142857142857[/C][C]2.28571428571428[/C][/ROW]
[ROW][C]111[/C][C]38[/C][C]37.6976744186046[/C][C]0.302325581395351[/C][/ROW]
[ROW][C]112[/C][C]29[/C][C]29.5882352941176[/C][C]-0.588235294117649[/C][/ROW]
[ROW][C]113[/C][C]38[/C][C]37.6976744186046[/C][C]0.302325581395351[/C][/ROW]
[ROW][C]114[/C][C]40[/C][C]37.6976744186046[/C][C]2.30232558139535[/C][/ROW]
[ROW][C]115[/C][C]39[/C][C]38.9047619047619[/C][C]0.0952380952380949[/C][/ROW]
[ROW][C]116[/C][C]35[/C][C]35.5[/C][C]-0.5[/C][/ROW]
[ROW][C]117[/C][C]40[/C][C]42.625[/C][C]-2.625[/C][/ROW]
[ROW][C]118[/C][C]34[/C][C]35.5[/C][C]-1.5[/C][/ROW]
[ROW][C]119[/C][C]36[/C][C]35.8461538461538[/C][C]0.153846153846153[/C][/ROW]
[ROW][C]120[/C][C]37[/C][C]35.8461538461538[/C][C]1.15384615384615[/C][/ROW]
[ROW][C]121[/C][C]33[/C][C]32.7142857142857[/C][C]0.285714285714285[/C][/ROW]
[ROW][C]122[/C][C]38[/C][C]35.8461538461538[/C][C]2.15384615384615[/C][/ROW]
[ROW][C]123[/C][C]37[/C][C]37.2307692307692[/C][C]-0.230769230769234[/C][/ROW]
[ROW][C]124[/C][C]38[/C][C]35.5[/C][C]2.5[/C][/ROW]
[ROW][C]125[/C][C]32[/C][C]29.5882352941176[/C][C]2.41176470588235[/C][/ROW]
[ROW][C]126[/C][C]38[/C][C]37.6976744186046[/C][C]0.302325581395351[/C][/ROW]
[ROW][C]127[/C][C]28[/C][C]29.5882352941176[/C][C]-1.58823529411765[/C][/ROW]
[ROW][C]128[/C][C]37[/C][C]37.6976744186046[/C][C]-0.697674418604649[/C][/ROW]
[ROW][C]129[/C][C]31[/C][C]32.7142857142857[/C][C]-1.71428571428572[/C][/ROW]
[ROW][C]130[/C][C]39[/C][C]37.6976744186046[/C][C]1.30232558139535[/C][/ROW]
[ROW][C]131[/C][C]36[/C][C]36.3333333333333[/C][C]-0.333333333333336[/C][/ROW]
[ROW][C]132[/C][C]33[/C][C]35.5[/C][C]-2.5[/C][/ROW]
[ROW][C]133[/C][C]41[/C][C]42.625[/C][C]-1.625[/C][/ROW]
[ROW][C]134[/C][C]45[/C][C]42.625[/C][C]2.375[/C][/ROW]
[ROW][C]135[/C][C]43[/C][C]41.4285714285714[/C][C]1.57142857142857[/C][/ROW]
[ROW][C]136[/C][C]35[/C][C]36.3333333333333[/C][C]-1.33333333333334[/C][/ROW]
[ROW][C]137[/C][C]23[/C][C]29.5882352941176[/C][C]-6.58823529411765[/C][/ROW]
[ROW][C]138[/C][C]43[/C][C]37.6976744186046[/C][C]5.30232558139535[/C][/ROW]
[ROW][C]139[/C][C]36[/C][C]35.8461538461538[/C][C]0.153846153846153[/C][/ROW]
[ROW][C]140[/C][C]41[/C][C]37.6976744186046[/C][C]3.30232558139535[/C][/ROW]
[ROW][C]141[/C][C]41[/C][C]41.4285714285714[/C][C]-0.428571428571431[/C][/ROW]
[ROW][C]142[/C][C]34[/C][C]31[/C][C]3[/C][/ROW]
[ROW][C]143[/C][C]39[/C][C]38.9047619047619[/C][C]0.0952380952380949[/C][/ROW]
[ROW][C]144[/C][C]40[/C][C]38.9047619047619[/C][C]1.09523809523809[/C][/ROW]
[ROW][C]145[/C][C]28[/C][C]29.5882352941176[/C][C]-1.58823529411765[/C][/ROW]
[ROW][C]146[/C][C]39[/C][C]37.6976744186046[/C][C]1.30232558139535[/C][/ROW]
[ROW][C]147[/C][C]36[/C][C]35.5[/C][C]0.5[/C][/ROW]
[ROW][C]148[/C][C]36[/C][C]37.6976744186046[/C][C]-1.69767441860465[/C][/ROW]
[ROW][C]149[/C][C]35[/C][C]37.6976744186046[/C][C]-2.69767441860465[/C][/ROW]
[ROW][C]150[/C][C]37[/C][C]36.3333333333333[/C][C]0.666666666666664[/C][/ROW]
[ROW][C]151[/C][C]35[/C][C]31[/C][C]4[/C][/ROW]
[ROW][C]152[/C][C]34[/C][C]33.6363636363636[/C][C]0.363636363636367[/C][/ROW]
[ROW][C]153[/C][C]39[/C][C]41.4285714285714[/C][C]-2.42857142857143[/C][/ROW]
[ROW][C]154[/C][C]39[/C][C]37.6976744186046[/C][C]1.30232558139535[/C][/ROW]
[ROW][C]155[/C][C]41[/C][C]38.9047619047619[/C][C]2.09523809523809[/C][/ROW]
[ROW][C]156[/C][C]44[/C][C]42.625[/C][C]1.375[/C][/ROW]
[ROW][C]157[/C][C]42[/C][C]38.9047619047619[/C][C]3.09523809523809[/C][/ROW]
[ROW][C]158[/C][C]31[/C][C]29.5882352941176[/C][C]1.41176470588235[/C][/ROW]
[ROW][C]159[/C][C]39[/C][C]37.6976744186046[/C][C]1.30232558139535[/C][/ROW]
[ROW][C]160[/C][C]39[/C][C]42.625[/C][C]-3.625[/C][/ROW]
[ROW][C]161[/C][C]35[/C][C]35.5[/C][C]-0.5[/C][/ROW]
[ROW][C]162[/C][C]38[/C][C]35.5[/C][C]2.5[/C][/ROW]
[ROW][C]163[/C][C]37[/C][C]36.3333333333333[/C][C]0.666666666666664[/C][/ROW]
[ROW][C]164[/C][C]39[/C][C]35.5[/C][C]3.5[/C][/ROW]
[ROW][C]165[/C][C]43[/C][C]42.625[/C][C]0.375[/C][/ROW]
[ROW][C]166[/C][C]39[/C][C]37.6976744186046[/C][C]1.30232558139535[/C][/ROW]
[ROW][C]167[/C][C]40[/C][C]42.625[/C][C]-2.625[/C][/ROW]
[ROW][C]168[/C][C]31[/C][C]33.6363636363636[/C][C]-2.63636363636363[/C][/ROW]
[ROW][C]169[/C][C]28[/C][C]31[/C][C]-3[/C][/ROW]
[ROW][C]170[/C][C]40[/C][C]37.6976744186046[/C][C]2.30232558139535[/C][/ROW]
[ROW][C]171[/C][C]33[/C][C]31[/C][C]2[/C][/ROW]
[ROW][C]172[/C][C]38[/C][C]42.625[/C][C]-4.625[/C][/ROW]
[ROW][C]173[/C][C]39[/C][C]38.9047619047619[/C][C]0.0952380952380949[/C][/ROW]
[ROW][C]174[/C][C]47[/C][C]42.625[/C][C]4.375[/C][/ROW]
[ROW][C]175[/C][C]35[/C][C]37.6976744186046[/C][C]-2.69767441860465[/C][/ROW]
[ROW][C]176[/C][C]38[/C][C]37.6976744186046[/C][C]0.302325581395351[/C][/ROW]
[ROW][C]177[/C][C]32[/C][C]29.5882352941176[/C][C]2.41176470588235[/C][/ROW]
[ROW][C]178[/C][C]34[/C][C]35.5[/C][C]-1.5[/C][/ROW]
[ROW][C]179[/C][C]44[/C][C]42.625[/C][C]1.375[/C][/ROW]
[ROW][C]180[/C][C]34[/C][C]35.8461538461538[/C][C]-1.84615384615385[/C][/ROW]
[ROW][C]181[/C][C]40[/C][C]41.4285714285714[/C][C]-1.42857142857143[/C][/ROW]
[ROW][C]182[/C][C]37[/C][C]38.9047619047619[/C][C]-1.90476190476191[/C][/ROW]
[ROW][C]183[/C][C]39[/C][C]38.9047619047619[/C][C]0.0952380952380949[/C][/ROW]
[ROW][C]184[/C][C]34[/C][C]36.3333333333333[/C][C]-2.33333333333334[/C][/ROW]
[ROW][C]185[/C][C]24[/C][C]31[/C][C]-7[/C][/ROW]
[ROW][C]186[/C][C]42[/C][C]41.4285714285714[/C][C]0.571428571428569[/C][/ROW]
[ROW][C]187[/C][C]38[/C][C]35.5[/C][C]2.5[/C][/ROW]
[ROW][C]188[/C][C]26[/C][C]29.5882352941176[/C][C]-3.58823529411765[/C][/ROW]
[ROW][C]189[/C][C]29[/C][C]29.5882352941176[/C][C]-0.588235294117649[/C][/ROW]
[ROW][C]190[/C][C]36[/C][C]38.9047619047619[/C][C]-2.90476190476191[/C][/ROW]
[ROW][C]191[/C][C]34[/C][C]33.6363636363636[/C][C]0.363636363636367[/C][/ROW]
[ROW][C]192[/C][C]40[/C][C]38.9047619047619[/C][C]1.09523809523809[/C][/ROW]
[ROW][C]193[/C][C]35[/C][C]37.2307692307692[/C][C]-2.23076923076923[/C][/ROW]
[ROW][C]194[/C][C]36[/C][C]36.3333333333333[/C][C]-0.333333333333336[/C][/ROW]
[ROW][C]195[/C][C]37[/C][C]33.6363636363636[/C][C]3.36363636363637[/C][/ROW]
[ROW][C]196[/C][C]43[/C][C]41.4285714285714[/C][C]1.57142857142857[/C][/ROW]
[ROW][C]197[/C][C]32[/C][C]35.8461538461538[/C][C]-3.84615384615385[/C][/ROW]
[ROW][C]198[/C][C]44[/C][C]42.625[/C][C]1.375[/C][/ROW]
[ROW][C]199[/C][C]39[/C][C]38.9047619047619[/C][C]0.0952380952380949[/C][/ROW]
[ROW][C]200[/C][C]39[/C][C]38.9047619047619[/C][C]0.0952380952380949[/C][/ROW]
[ROW][C]201[/C][C]37[/C][C]33.6363636363636[/C][C]3.36363636363637[/C][/ROW]
[ROW][C]202[/C][C]34[/C][C]29.5882352941176[/C][C]4.41176470588235[/C][/ROW]
[ROW][C]203[/C][C]29[/C][C]29.7272727272727[/C][C]-0.727272727272727[/C][/ROW]
[ROW][C]204[/C][C]22[/C][C]29.5882352941176[/C][C]-7.58823529411765[/C][/ROW]
[ROW][C]205[/C][C]33[/C][C]37.6976744186046[/C][C]-4.69767441860465[/C][/ROW]
[ROW][C]206[/C][C]37[/C][C]37.6976744186046[/C][C]-0.697674418604649[/C][/ROW]
[ROW][C]207[/C][C]40[/C][C]42.625[/C][C]-2.625[/C][/ROW]
[ROW][C]208[/C][C]37[/C][C]37.6976744186046[/C][C]-0.697674418604649[/C][/ROW]
[ROW][C]209[/C][C]30[/C][C]29.7272727272727[/C][C]0.272727272727273[/C][/ROW]
[ROW][C]210[/C][C]36[/C][C]35.8461538461538[/C][C]0.153846153846153[/C][/ROW]
[ROW][C]211[/C][C]36[/C][C]37.6976744186046[/C][C]-1.69767441860465[/C][/ROW]
[ROW][C]212[/C][C]37[/C][C]35.8461538461538[/C][C]1.15384615384615[/C][/ROW]
[ROW][C]213[/C][C]31[/C][C]31[/C][C]0[/C][/ROW]
[ROW][C]214[/C][C]48[/C][C]42.625[/C][C]5.375[/C][/ROW]
[ROW][C]215[/C][C]39[/C][C]38.9047619047619[/C][C]0.0952380952380949[/C][/ROW]
[ROW][C]216[/C][C]42[/C][C]41.4285714285714[/C][C]0.571428571428569[/C][/ROW]
[ROW][C]217[/C][C]36[/C][C]33.6363636363636[/C][C]2.36363636363637[/C][/ROW]
[ROW][C]218[/C][C]39[/C][C]38.9047619047619[/C][C]0.0952380952380949[/C][/ROW]
[ROW][C]219[/C][C]36[/C][C]35.8461538461538[/C][C]0.153846153846153[/C][/ROW]
[ROW][C]220[/C][C]38[/C][C]37.6976744186046[/C][C]0.302325581395351[/C][/ROW]
[ROW][C]221[/C][C]47[/C][C]42.625[/C][C]4.375[/C][/ROW]
[ROW][C]222[/C][C]36[/C][C]35.8461538461538[/C][C]0.153846153846153[/C][/ROW]
[ROW][C]223[/C][C]36[/C][C]36.3333333333333[/C][C]-0.333333333333336[/C][/ROW]
[ROW][C]224[/C][C]38[/C][C]38.9047619047619[/C][C]-0.904761904761905[/C][/ROW]
[ROW][C]225[/C][C]39[/C][C]37.6976744186046[/C][C]1.30232558139535[/C][/ROW]
[ROW][C]226[/C][C]37[/C][C]35.8461538461538[/C][C]1.15384615384615[/C][/ROW]
[ROW][C]227[/C][C]38[/C][C]36.3333333333333[/C][C]1.66666666666666[/C][/ROW]
[ROW][C]228[/C][C]39[/C][C]38.9047619047619[/C][C]0.0952380952380949[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165122&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165122&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
13432.71428571428571.28571428571428
23837.69767441860460.302325581395351
33029.58823529411760.411764705882351
42729.7272727272727-2.72727272727273
53133.6363636363636-2.63636363636363
63435.8461538461538-1.84615384615385
72833.6363636363636-5.63636363636363
84037.69767441860462.30232558139535
93429.58823529411764.41176470588235
103835.84615384615382.15384615384615
113237.2307692307692-5.23076923076923
123635.50.5
133032.7142857142857-2.71428571428572
143229.72727272727272.27272727272727
153838.9047619047619-0.904761904761905
163132.7142857142857-1.71428571428572
173232.7142857142857-0.714285714285715
183638.9047619047619-2.90476190476191
193229.58823529411762.41176470588235
203635.84615384615380.153846153846153
213837.23076923076920.769230769230766
223835.84615384615382.15384615384615
232729.7272727272727-2.72727272727273
243535.5-0.5
253232.7142857142857-0.714285714285715
263333.6363636363636-0.636363636363633
273229.58823529411762.41176470588235
283735.51.5
293737.2307692307692-0.230769230769234
303735.51.5
313937.69767441860461.30232558139535
323337.6976744186046-4.69767441860465
333737.2307692307692-0.230769230769234
343632.71428571428573.28571428571428
353232.7142857142857-0.714285714285715
363837.23076923076920.769230769230766
373232.7142857142857-0.714285714285715
383732.71428571428574.28571428571428
393937.23076923076921.76923076923077
403435.8461538461538-1.84615384615385
413035.8461538461538-5.84615384615385
423535.8461538461538-0.846153846153847
433836.33333333333331.66666666666666
443735.51.5
452829.7272727272727-1.72727272727273
464135.84615384615385.15384615384615
473942.625-3.625
483735.84615384615381.15384615384615
493837.23076923076920.769230769230766
503529.72727272727275.27272727272727
512929.7272727272727-0.727272727272727
523232.7142857142857-0.714285714285715
533129.72727272727271.27272727272727
543235.5-3.5
553735.51.5
563635.50.5
573737.6976744186046-0.697674418604649
583532.71428571428572.28571428571428
593232.7142857142857-0.714285714285715
602832.7142857142857-4.71428571428572
613535.8461538461538-0.846153846153847
623329.72727272727273.27272727272727
632929.5882352941176-0.588235294117649
643937.69767441860461.30232558139535
653435.8461538461538-1.84615384615385
663237.6976744186046-5.69767441860465
673537.6976744186046-2.69767441860465
684037.69767441860462.30232558139535
693535.5-0.5
703538.9047619047619-3.90476190476191
714038.90476190476191.09523809523809
723232.7142857142857-0.714285714285715
733635.84615384615380.153846153846153
743937.23076923076921.76923076923077
753737.6976744186046-0.697674418604649
763937.69767441860461.30232558139535
773635.84615384615380.153846153846153
783633.63636363636362.36363636363637
793632.71428571428573.28571428571428
804338.90476190476194.09523809523809
814037.23076923076922.76923076923077
823635.84615384615380.153846153846153
833335.5-2.5
843637.6976744186046-1.69767441860465
853737.6976744186046-0.697674418604649
863735.84615384615381.15384615384615
873229.58823529411762.41176470588235
883332.71428571428570.285714285714285
894137.69767441860463.30232558139535
904037.23076923076922.76923076923077
913232.7142857142857-0.714285714285715
923535.5-0.5
933437.2307692307692-3.23076923076923
943735.51.5
953235.5-3.5
964342.6250.375
973535.5-0.5
983335.5-2.5
992629.7272727272727-3.72727272727273
1003937.69767441860461.30232558139535
1014037.69767441860462.30232558139535
1023635.50.5
1033537.6976744186046-2.69767441860465
1043737.6976744186046-0.697674418604649
10532311
1063333.6363636363636-0.636363636363633
1073537.6976744186046-2.69767441860465
1083232.7142857142857-0.714285714285715
1093837.69767441860460.302325581395351
1103532.71428571428572.28571428571428
1113837.69767441860460.302325581395351
1122929.5882352941176-0.588235294117649
1133837.69767441860460.302325581395351
1144037.69767441860462.30232558139535
1153938.90476190476190.0952380952380949
1163535.5-0.5
1174042.625-2.625
1183435.5-1.5
1193635.84615384615380.153846153846153
1203735.84615384615381.15384615384615
1213332.71428571428570.285714285714285
1223835.84615384615382.15384615384615
1233737.2307692307692-0.230769230769234
1243835.52.5
1253229.58823529411762.41176470588235
1263837.69767441860460.302325581395351
1272829.5882352941176-1.58823529411765
1283737.6976744186046-0.697674418604649
1293132.7142857142857-1.71428571428572
1303937.69767441860461.30232558139535
1313636.3333333333333-0.333333333333336
1323335.5-2.5
1334142.625-1.625
1344542.6252.375
1354341.42857142857141.57142857142857
1363536.3333333333333-1.33333333333334
1372329.5882352941176-6.58823529411765
1384337.69767441860465.30232558139535
1393635.84615384615380.153846153846153
1404137.69767441860463.30232558139535
1414141.4285714285714-0.428571428571431
14234313
1433938.90476190476190.0952380952380949
1444038.90476190476191.09523809523809
1452829.5882352941176-1.58823529411765
1463937.69767441860461.30232558139535
1473635.50.5
1483637.6976744186046-1.69767441860465
1493537.6976744186046-2.69767441860465
1503736.33333333333330.666666666666664
15135314
1523433.63636363636360.363636363636367
1533941.4285714285714-2.42857142857143
1543937.69767441860461.30232558139535
1554138.90476190476192.09523809523809
1564442.6251.375
1574238.90476190476193.09523809523809
1583129.58823529411761.41176470588235
1593937.69767441860461.30232558139535
1603942.625-3.625
1613535.5-0.5
1623835.52.5
1633736.33333333333330.666666666666664
1643935.53.5
1654342.6250.375
1663937.69767441860461.30232558139535
1674042.625-2.625
1683133.6363636363636-2.63636363636363
1692831-3
1704037.69767441860462.30232558139535
17133312
1723842.625-4.625
1733938.90476190476190.0952380952380949
1744742.6254.375
1753537.6976744186046-2.69767441860465
1763837.69767441860460.302325581395351
1773229.58823529411762.41176470588235
1783435.5-1.5
1794442.6251.375
1803435.8461538461538-1.84615384615385
1814041.4285714285714-1.42857142857143
1823738.9047619047619-1.90476190476191
1833938.90476190476190.0952380952380949
1843436.3333333333333-2.33333333333334
1852431-7
1864241.42857142857140.571428571428569
1873835.52.5
1882629.5882352941176-3.58823529411765
1892929.5882352941176-0.588235294117649
1903638.9047619047619-2.90476190476191
1913433.63636363636360.363636363636367
1924038.90476190476191.09523809523809
1933537.2307692307692-2.23076923076923
1943636.3333333333333-0.333333333333336
1953733.63636363636363.36363636363637
1964341.42857142857141.57142857142857
1973235.8461538461538-3.84615384615385
1984442.6251.375
1993938.90476190476190.0952380952380949
2003938.90476190476190.0952380952380949
2013733.63636363636363.36363636363637
2023429.58823529411764.41176470588235
2032929.7272727272727-0.727272727272727
2042229.5882352941176-7.58823529411765
2053337.6976744186046-4.69767441860465
2063737.6976744186046-0.697674418604649
2074042.625-2.625
2083737.6976744186046-0.697674418604649
2093029.72727272727270.272727272727273
2103635.84615384615380.153846153846153
2113637.6976744186046-1.69767441860465
2123735.84615384615381.15384615384615
21331310
2144842.6255.375
2153938.90476190476190.0952380952380949
2164241.42857142857140.571428571428569
2173633.63636363636362.36363636363637
2183938.90476190476190.0952380952380949
2193635.84615384615380.153846153846153
2203837.69767441860460.302325581395351
2214742.6254.375
2223635.84615384615380.153846153846153
2233636.3333333333333-0.333333333333336
2243838.9047619047619-0.904761904761905
2253937.69767441860461.30232558139535
2263735.84615384615381.15384615384615
2273836.33333333333331.66666666666666
2283938.90476190476190.0952380952380949



Parameters (Session):
par1 = 0 ; par2 = none ; par3 = 3 ; par4 = no ; par5 = female ; par6 = prep ; par7 = all ; par8 = ATTLES connected ; par9 = ATTLES connected ;
Parameters (R input):
par1 = 0 ; par2 = none ; par3 = 3 ; par4 = no ; par5 = female ; par6 = prep ; par7 = all ; par8 = ATTLES connected ; par9 = ATTLES connected ;
R code (references can be found in the software module):
library(party)
library(Hmisc)
par1 <- as.numeric(par1)
par3 <- as.numeric(par3)
x <- as.data.frame(read.table(file='https://automated.biganalytics.eu/download/utaut.csv',sep=',',header=T))
x$U25 <- 6-x$U25
if(par5 == 'female') x <- x[x$Gender==0,]
if(par5 == 'male') x <- x[x$Gender==1,]
if(par6 == 'prep') x <- x[x$Pop==1,]
if(par6 == 'bachelor') x <- x[x$Pop==0,]
if(par7 != 'all') {
x <- x[x$Year==as.numeric(par7),]
}
cAc <- with(x,cbind( A1, A2, A3, A4, A5, A6, A7, A8, A9,A10))
cAs <- with(x,cbind(A11,A12,A13,A14,A15,A16,A17,A18,A19,A20))
cA <- cbind(cAc,cAs)
cCa <- with(x,cbind(C1,C3,C5,C7, C9,C11,C13,C15,C17,C19,C21,C23,C25,C27,C29,C31,C33,C35,C37,C39,C41,C43,C45,C47))
cCp <- with(x,cbind(C2,C4,C6,C8,C10,C12,C14,C16,C18,C20,C22,C24,C26,C28,C30,C32,C34,C36,C38,C40,C42,C44,C46,C48))
cC <- cbind(cCa,cCp)
cU <- with(x,cbind(U1,U2,U3,U4,U5,U6,U7,U8,U9,U10,U11,U12,U13,U14,U15,U16,U17,U18,U19,U20,U21,U22,U23,U24,U25,U26,U27,U28,U29,U30,U31,U32,U33))
cE <- with(x,cbind(BC,NNZFG,MRT,AFL,LPM,LPC,W,WPA))
cX <- with(x,cbind(X1,X2,X3,X4,X5,X6,X7,X8,X9,X10,X11,X12,X13,X14,X15,X16,X17,X18))
if (par8=='ATTLES connected') x <- cAc
if (par8=='ATTLES separate') x <- cAs
if (par8=='ATTLES all') x <- cA
if (par8=='COLLES actuals') x <- cCa
if (par8=='COLLES preferred') x <- cCp
if (par8=='COLLES all') x <- cC
if (par8=='CSUQ') x <- cU
if (par8=='Learning Activities') x <- cE
if (par8=='Exam Items') x <- cX
if (par9=='ATTLES connected') y <- cAc
if (par9=='ATTLES separate') y <- cAs
if (par9=='ATTLES all') y <- cA
if (par9=='COLLES actuals') y <- cCa
if (par9=='COLLES preferred') y <- cCp
if (par9=='COLLES all') y <- cC
if (par9=='CSUQ') y <- cU
if (par9=='Learning Activities') y <- cE
if (par9=='Exam Items') y <- cX
if (par1==0) {
nr <- length(y[,1])
nc <- length(y[1,])
mysum <- array(0,dim=nr)
for(jjj in 1:nr) {
for(iii in 1:nc) {
mysum[jjj] = mysum[jjj] + y[jjj,iii]
}
}
y <- mysum
} else {
y <- y[,par1]
}
nx <- cbind(y,x)
colnames(nx) <- c('endo',colnames(x))
x <- nx
par1=1
ncol <- length(x[1,])
for (jjj in 1:ncol) {
x <- x[!is.na(x[,jjj]),]
}
x <- as.data.frame(x)
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')
}