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 computationMon, 12 Dec 2011 15:42:42 -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/2011/Dec/12/t1323722740w8lpo7u4fc5cd4k.htm/, Retrieved Fri, 03 May 2024 11:25:58 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=154214, Retrieved Fri, 03 May 2024 11:25:58 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact137
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Recursive Partitioning (Regression Trees)] [] [2010-12-05 20:06:20] [b98453cac15ba1066b407e146608df68]
- R PD    [Recursive Partitioning (Regression Trees)] [WS 10 - Intrinsiek] [2011-12-12 20:42:42] [240aada53705cc48eae3e230739818e0] [Current]
-    D      [Recursive Partitioning (Regression Trees)] [WS10 - Exentriek] [2011-12-12 20:48:46] [8b13b85c94b9a060d82f72930775ea89]
Feedback Forum

Post a new message
Dataseries X:
1	1	26	21	21
1	1	20	16	15
1	1	19	19	18
1	2	19	18	11
1	1	20	16	8
1	1	25	23	19
1	2	25	17	4
1	1	22	12	20
1	1	26	19	16
1	1	22	16	14
1	2	17	19	10
1	2	22	20	13
1	1	19	13	14
1	1	24	20	8
1	1	26	27	23
1	2	21	17	11
1	1	13	8	9
1	2	26	25	24
1	2	20	26	5
1	1	22	13	15
1	2	14	19	5
1	1	21	15	19
1	1	7	5	6
1	2	23	16	13
1	1	17	14	11
1	1	25	24	17
1	1	25	24	17
1	1	19	9	5
1	2	20	19	9
1	1	23	19	15
1	2	22	25	17
1	1	22	19	17
1	1	21	18	20
1	2	15	15	12
1	2	20	12	7
1	2	22	21	16
1	1	18	12	7
1	2	20	15	14
1	2	28	28	24
1	1	22	25	15
1	1	18	19	15
1	1	23	20	10
1	1	20	24	14
1	2	25	26	18
1	2	26	25	12
1	1	15	12	9
1	2	17	12	9
1	2	23	15	8
1	1	21	17	18
1	2	13	14	10
1	1	18	16	17
1	1	19	11	14
1	1	22	20	16
1	1	16	11	10
1	2	24	22	19
1	1	18	20	10
1	1	20	19	14
1	1	24	17	10
1	2	14	21	4
1	2	22	23	19
1	1	24	18	9
1	1	18	17	12
1	1	21	27	16
1	2	23	25	11
1	1	17	19	18
1	2	22	22	11
1	2	24	24	24
1	2	21	20	17
1	1	22	19	18
1	1	16	11	9
1	1	21	22	19
1	2	23	22	18
1	2	22	16	12
1	1	24	20	23
1	1	24	24	22
1	1	16	16	14
1	1	16	16	14
1	2	21	22	16
1	2	26	24	23
1	2	15	16	7
1	2	25	27	10
1	1	18	11	12
1	0	23	21	12
1	1	20	20	12
1	2	17	20	17
1	2	25	27	21
1	1	24	20	16
1	1	17	12	11
1	1	19	8	14
1	1	20	21	13
1	1	15	18	9
1	2	27	24	19
1	1	22	16	13
1	1	23	18	19
1	1	16	20	13
1	1	19	20	13
1	2	25	19	13
1	1	19	17	14
1	2	19	16	12
0	2	26	26	22
0	1	21	15	11
0	2	20	22	5
0	1	24	17	18
0	1	22	23	19
0	2	20	21	14
0	1	18	19	15
0	2	18	14	12
0	1	24	17	19
0	1	24	12	15
0	1	22	24	17
0	1	23	18	8
0	1	22	20	10
0	1	20	16	12
0	1	18	20	12
0	1	25	22	20
0	2	18	12	12
0	1	16	16	12
0	1	20	17	14
0	2	19	22	6
0	1	15	12	10
0	1	19	14	18
0	1	19	23	18
0	1	16	15	7
0	1	17	17	18
0	1	28	28	9
0	2	23	20	17
0	1	25	23	22
0	1	20	13	11
0	2	17	18	15
0	2	23	23	17
0	1	16	19	15
0	2	23	23	22
0	2	11	12	9
0	2	18	16	13
0	2	24	23	20
0	1	23	13	14
0	1	21	22	14
0	2	16	18	12
0	2	24	23	20
0	1	23	20	20
0	1	18	10	8
0	1	20	17	17
0	1	9	18	9
0	2	24	15	18
0	1	25	23	22
0	1	20	17	10
0	2	21	17	13
0	2	25	22	15
0	2	22	20	18
0	2	21	20	18
0	1	21	19	12
0	1	22	18	12
0	1	27	22	20
0	2	24	20	12
0	2	24	22	16
0	2	21	18	16
0	1	18	16	18
0	1	16	16	16
0	1	22	16	13
0	1	20	16	17
0	2	18	17	13
0	1	20	18	17




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gertrude Mary Cox' @ cox.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 & 3 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=154214&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=154214&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=154214&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 time3 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Goodness of Fit
Correlation0.6206
R-squared0.3851
RMSE3.5964

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.6206[/C][/ROW]
[ROW][C]R-squared[/C][C]0.3851[/C][/ROW]
[ROW][C]RMSE[/C][C]3.5964[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=154214&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=154214&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.6206
R-squared0.3851
RMSE3.5964







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
12118.0476190476192.95238095238095
21513.78947368421051.21052631578947
31813.78947368421054.21052631578947
41110.1250.875
5813.7894736842105-5.78947368421053
61918.0476190476190.952380952380953
7414.4666666666667-10.4666666666667
82014.46666666666675.53333333333333
91614.46666666666671.53333333333333
101414.4666666666667-0.466666666666667
111010.125-0.125
121314.4666666666667-1.46666666666667
131413.78947368421050.210526315789474
14814.4666666666667-6.46666666666667
152318.0476190476194.95238095238095
161114.4666666666667-3.46666666666667
1799.53846153846154-0.538461538461538
182418.0476190476195.95238095238095
19510.125-5.125
201514.46666666666670.533333333333333
21510.125-5.125
221914.46666666666674.53333333333333
2369.53846153846154-3.53846153846154
241314.4666666666667-1.46666666666667
251113.7894736842105-2.78947368421053
261718.047619047619-1.04761904761905
271718.047619047619-1.04761904761905
2859.53846153846154-4.53846153846154
29910.125-1.125
301514.46666666666670.533333333333333
311718.047619047619-1.04761904761905
321714.46666666666672.53333333333333
332014.46666666666675.53333333333333
341210.1251.875
35710.125-3.125
361618.047619047619-2.04761904761905
3779.53846153846154-2.53846153846154
381410.1253.875
392418.0476190476195.95238095238095
401518.047619047619-3.04761904761905
411513.78947368421051.21052631578947
421014.4666666666667-4.46666666666667
431413.78947368421050.210526315789474
441818.047619047619-0.0476190476190474
451218.047619047619-6.04761904761905
4699.53846153846154-0.538461538461538
47910.125-1.125
48814.4666666666667-6.46666666666667
491814.46666666666673.53333333333333
501010.125-0.125
511713.78947368421053.21052631578947
52149.538461538461544.46153846153846
531614.46666666666671.53333333333333
54109.538461538461540.461538461538462
551918.0476190476190.952380952380953
561013.7894736842105-3.78947368421053
571413.78947368421050.210526315789474
581014.4666666666667-4.46666666666667
59410.125-6.125
601918.0476190476190.952380952380953
61914.4666666666667-5.46666666666667
621213.7894736842105-1.78947368421053
631618.047619047619-2.04761904761905
641118.047619047619-7.04761904761905
651813.78947368421054.21052631578947
661118.047619047619-7.04761904761905
672418.0476190476195.95238095238095
681714.46666666666672.53333333333333
691814.46666666666673.53333333333333
7099.53846153846154-0.538461538461538
711918.0476190476190.952380952380953
721818.047619047619-0.0476190476190474
731214.4666666666667-2.46666666666667
742314.46666666666678.53333333333333
752218.0476190476193.95238095238095
761413.78947368421050.210526315789474
771413.78947368421050.210526315789474
781618.047619047619-2.04761904761905
792318.0476190476194.95238095238095
80710.125-3.125
811018.047619047619-8.04761904761905
82129.538461538461542.46153846153846
831218.047619047619-6.04761904761905
841213.7894736842105-1.78947368421053
851710.1256.875
862118.0476190476192.95238095238095
871614.46666666666671.53333333333333
88119.538461538461541.46153846153846
89149.538461538461544.46153846153846
901313.7894736842105-0.789473684210526
91913.7894736842105-4.78947368421053
921918.0476190476190.952380952380953
931314.4666666666667-1.46666666666667
941914.46666666666674.53333333333333
951313.7894736842105-0.789473684210526
961313.7894736842105-0.789473684210526
971314.4666666666667-1.46666666666667
981413.78947368421050.210526315789474
991210.1251.875
1002218.0476190476193.95238095238095
1011114.4666666666667-3.46666666666667
102510.125-5.125
1031814.46666666666673.53333333333333
1041918.0476190476190.952380952380953
1051410.1253.875
1061513.78947368421051.21052631578947
1071210.1251.875
1081914.46666666666674.53333333333333
1091514.46666666666670.533333333333333
1101718.047619047619-1.04761904761905
111814.4666666666667-6.46666666666667
1121014.4666666666667-4.46666666666667
1131213.7894736842105-1.78947368421053
1141213.7894736842105-1.78947368421053
1152018.0476190476191.95238095238095
1161210.1251.875
1171213.7894736842105-1.78947368421053
1181413.78947368421050.210526315789474
119610.125-4.125
120109.538461538461540.461538461538462
1211813.78947368421054.21052631578947
1221813.78947368421054.21052631578947
123713.7894736842105-6.78947368421053
1241813.78947368421054.21052631578947
125918.047619047619-9.04761904761905
1261714.46666666666672.53333333333333
1272218.0476190476193.95238095238095
1281113.7894736842105-2.78947368421053
1291510.1254.875
1301718.047619047619-1.04761904761905
1311513.78947368421051.21052631578947
1322218.0476190476193.95238095238095
133910.125-1.125
1341310.1252.875
1352018.0476190476191.95238095238095
1361414.4666666666667-0.466666666666667
1371418.047619047619-4.04761904761905
1381210.1251.875
1392018.0476190476191.95238095238095
1402014.46666666666675.53333333333333
14189.53846153846154-1.53846153846154
1421713.78947368421053.21052631578947
143913.7894736842105-4.78947368421053
1441814.46666666666673.53333333333333
1452218.0476190476193.95238095238095
1461013.7894736842105-3.78947368421053
1471314.4666666666667-1.46666666666667
1481518.047619047619-3.04761904761905
1491814.46666666666673.53333333333333
1501814.46666666666673.53333333333333
1511214.4666666666667-2.46666666666667
1521214.4666666666667-2.46666666666667
1532018.0476190476191.95238095238095
1541214.4666666666667-2.46666666666667
1551618.047619047619-2.04761904761905
1561614.46666666666671.53333333333333
1571813.78947368421054.21052631578947
1581613.78947368421052.21052631578947
1591314.4666666666667-1.46666666666667
1601713.78947368421053.21052631578947
1611310.1252.875
1621713.78947368421053.21052631578947

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 21 & 18.047619047619 & 2.95238095238095 \tabularnewline
2 & 15 & 13.7894736842105 & 1.21052631578947 \tabularnewline
3 & 18 & 13.7894736842105 & 4.21052631578947 \tabularnewline
4 & 11 & 10.125 & 0.875 \tabularnewline
5 & 8 & 13.7894736842105 & -5.78947368421053 \tabularnewline
6 & 19 & 18.047619047619 & 0.952380952380953 \tabularnewline
7 & 4 & 14.4666666666667 & -10.4666666666667 \tabularnewline
8 & 20 & 14.4666666666667 & 5.53333333333333 \tabularnewline
9 & 16 & 14.4666666666667 & 1.53333333333333 \tabularnewline
10 & 14 & 14.4666666666667 & -0.466666666666667 \tabularnewline
11 & 10 & 10.125 & -0.125 \tabularnewline
12 & 13 & 14.4666666666667 & -1.46666666666667 \tabularnewline
13 & 14 & 13.7894736842105 & 0.210526315789474 \tabularnewline
14 & 8 & 14.4666666666667 & -6.46666666666667 \tabularnewline
15 & 23 & 18.047619047619 & 4.95238095238095 \tabularnewline
16 & 11 & 14.4666666666667 & -3.46666666666667 \tabularnewline
17 & 9 & 9.53846153846154 & -0.538461538461538 \tabularnewline
18 & 24 & 18.047619047619 & 5.95238095238095 \tabularnewline
19 & 5 & 10.125 & -5.125 \tabularnewline
20 & 15 & 14.4666666666667 & 0.533333333333333 \tabularnewline
21 & 5 & 10.125 & -5.125 \tabularnewline
22 & 19 & 14.4666666666667 & 4.53333333333333 \tabularnewline
23 & 6 & 9.53846153846154 & -3.53846153846154 \tabularnewline
24 & 13 & 14.4666666666667 & -1.46666666666667 \tabularnewline
25 & 11 & 13.7894736842105 & -2.78947368421053 \tabularnewline
26 & 17 & 18.047619047619 & -1.04761904761905 \tabularnewline
27 & 17 & 18.047619047619 & -1.04761904761905 \tabularnewline
28 & 5 & 9.53846153846154 & -4.53846153846154 \tabularnewline
29 & 9 & 10.125 & -1.125 \tabularnewline
30 & 15 & 14.4666666666667 & 0.533333333333333 \tabularnewline
31 & 17 & 18.047619047619 & -1.04761904761905 \tabularnewline
32 & 17 & 14.4666666666667 & 2.53333333333333 \tabularnewline
33 & 20 & 14.4666666666667 & 5.53333333333333 \tabularnewline
34 & 12 & 10.125 & 1.875 \tabularnewline
35 & 7 & 10.125 & -3.125 \tabularnewline
36 & 16 & 18.047619047619 & -2.04761904761905 \tabularnewline
37 & 7 & 9.53846153846154 & -2.53846153846154 \tabularnewline
38 & 14 & 10.125 & 3.875 \tabularnewline
39 & 24 & 18.047619047619 & 5.95238095238095 \tabularnewline
40 & 15 & 18.047619047619 & -3.04761904761905 \tabularnewline
41 & 15 & 13.7894736842105 & 1.21052631578947 \tabularnewline
42 & 10 & 14.4666666666667 & -4.46666666666667 \tabularnewline
43 & 14 & 13.7894736842105 & 0.210526315789474 \tabularnewline
44 & 18 & 18.047619047619 & -0.0476190476190474 \tabularnewline
45 & 12 & 18.047619047619 & -6.04761904761905 \tabularnewline
46 & 9 & 9.53846153846154 & -0.538461538461538 \tabularnewline
47 & 9 & 10.125 & -1.125 \tabularnewline
48 & 8 & 14.4666666666667 & -6.46666666666667 \tabularnewline
49 & 18 & 14.4666666666667 & 3.53333333333333 \tabularnewline
50 & 10 & 10.125 & -0.125 \tabularnewline
51 & 17 & 13.7894736842105 & 3.21052631578947 \tabularnewline
52 & 14 & 9.53846153846154 & 4.46153846153846 \tabularnewline
53 & 16 & 14.4666666666667 & 1.53333333333333 \tabularnewline
54 & 10 & 9.53846153846154 & 0.461538461538462 \tabularnewline
55 & 19 & 18.047619047619 & 0.952380952380953 \tabularnewline
56 & 10 & 13.7894736842105 & -3.78947368421053 \tabularnewline
57 & 14 & 13.7894736842105 & 0.210526315789474 \tabularnewline
58 & 10 & 14.4666666666667 & -4.46666666666667 \tabularnewline
59 & 4 & 10.125 & -6.125 \tabularnewline
60 & 19 & 18.047619047619 & 0.952380952380953 \tabularnewline
61 & 9 & 14.4666666666667 & -5.46666666666667 \tabularnewline
62 & 12 & 13.7894736842105 & -1.78947368421053 \tabularnewline
63 & 16 & 18.047619047619 & -2.04761904761905 \tabularnewline
64 & 11 & 18.047619047619 & -7.04761904761905 \tabularnewline
65 & 18 & 13.7894736842105 & 4.21052631578947 \tabularnewline
66 & 11 & 18.047619047619 & -7.04761904761905 \tabularnewline
67 & 24 & 18.047619047619 & 5.95238095238095 \tabularnewline
68 & 17 & 14.4666666666667 & 2.53333333333333 \tabularnewline
69 & 18 & 14.4666666666667 & 3.53333333333333 \tabularnewline
70 & 9 & 9.53846153846154 & -0.538461538461538 \tabularnewline
71 & 19 & 18.047619047619 & 0.952380952380953 \tabularnewline
72 & 18 & 18.047619047619 & -0.0476190476190474 \tabularnewline
73 & 12 & 14.4666666666667 & -2.46666666666667 \tabularnewline
74 & 23 & 14.4666666666667 & 8.53333333333333 \tabularnewline
75 & 22 & 18.047619047619 & 3.95238095238095 \tabularnewline
76 & 14 & 13.7894736842105 & 0.210526315789474 \tabularnewline
77 & 14 & 13.7894736842105 & 0.210526315789474 \tabularnewline
78 & 16 & 18.047619047619 & -2.04761904761905 \tabularnewline
79 & 23 & 18.047619047619 & 4.95238095238095 \tabularnewline
80 & 7 & 10.125 & -3.125 \tabularnewline
81 & 10 & 18.047619047619 & -8.04761904761905 \tabularnewline
82 & 12 & 9.53846153846154 & 2.46153846153846 \tabularnewline
83 & 12 & 18.047619047619 & -6.04761904761905 \tabularnewline
84 & 12 & 13.7894736842105 & -1.78947368421053 \tabularnewline
85 & 17 & 10.125 & 6.875 \tabularnewline
86 & 21 & 18.047619047619 & 2.95238095238095 \tabularnewline
87 & 16 & 14.4666666666667 & 1.53333333333333 \tabularnewline
88 & 11 & 9.53846153846154 & 1.46153846153846 \tabularnewline
89 & 14 & 9.53846153846154 & 4.46153846153846 \tabularnewline
90 & 13 & 13.7894736842105 & -0.789473684210526 \tabularnewline
91 & 9 & 13.7894736842105 & -4.78947368421053 \tabularnewline
92 & 19 & 18.047619047619 & 0.952380952380953 \tabularnewline
93 & 13 & 14.4666666666667 & -1.46666666666667 \tabularnewline
94 & 19 & 14.4666666666667 & 4.53333333333333 \tabularnewline
95 & 13 & 13.7894736842105 & -0.789473684210526 \tabularnewline
96 & 13 & 13.7894736842105 & -0.789473684210526 \tabularnewline
97 & 13 & 14.4666666666667 & -1.46666666666667 \tabularnewline
98 & 14 & 13.7894736842105 & 0.210526315789474 \tabularnewline
99 & 12 & 10.125 & 1.875 \tabularnewline
100 & 22 & 18.047619047619 & 3.95238095238095 \tabularnewline
101 & 11 & 14.4666666666667 & -3.46666666666667 \tabularnewline
102 & 5 & 10.125 & -5.125 \tabularnewline
103 & 18 & 14.4666666666667 & 3.53333333333333 \tabularnewline
104 & 19 & 18.047619047619 & 0.952380952380953 \tabularnewline
105 & 14 & 10.125 & 3.875 \tabularnewline
106 & 15 & 13.7894736842105 & 1.21052631578947 \tabularnewline
107 & 12 & 10.125 & 1.875 \tabularnewline
108 & 19 & 14.4666666666667 & 4.53333333333333 \tabularnewline
109 & 15 & 14.4666666666667 & 0.533333333333333 \tabularnewline
110 & 17 & 18.047619047619 & -1.04761904761905 \tabularnewline
111 & 8 & 14.4666666666667 & -6.46666666666667 \tabularnewline
112 & 10 & 14.4666666666667 & -4.46666666666667 \tabularnewline
113 & 12 & 13.7894736842105 & -1.78947368421053 \tabularnewline
114 & 12 & 13.7894736842105 & -1.78947368421053 \tabularnewline
115 & 20 & 18.047619047619 & 1.95238095238095 \tabularnewline
116 & 12 & 10.125 & 1.875 \tabularnewline
117 & 12 & 13.7894736842105 & -1.78947368421053 \tabularnewline
118 & 14 & 13.7894736842105 & 0.210526315789474 \tabularnewline
119 & 6 & 10.125 & -4.125 \tabularnewline
120 & 10 & 9.53846153846154 & 0.461538461538462 \tabularnewline
121 & 18 & 13.7894736842105 & 4.21052631578947 \tabularnewline
122 & 18 & 13.7894736842105 & 4.21052631578947 \tabularnewline
123 & 7 & 13.7894736842105 & -6.78947368421053 \tabularnewline
124 & 18 & 13.7894736842105 & 4.21052631578947 \tabularnewline
125 & 9 & 18.047619047619 & -9.04761904761905 \tabularnewline
126 & 17 & 14.4666666666667 & 2.53333333333333 \tabularnewline
127 & 22 & 18.047619047619 & 3.95238095238095 \tabularnewline
128 & 11 & 13.7894736842105 & -2.78947368421053 \tabularnewline
129 & 15 & 10.125 & 4.875 \tabularnewline
130 & 17 & 18.047619047619 & -1.04761904761905 \tabularnewline
131 & 15 & 13.7894736842105 & 1.21052631578947 \tabularnewline
132 & 22 & 18.047619047619 & 3.95238095238095 \tabularnewline
133 & 9 & 10.125 & -1.125 \tabularnewline
134 & 13 & 10.125 & 2.875 \tabularnewline
135 & 20 & 18.047619047619 & 1.95238095238095 \tabularnewline
136 & 14 & 14.4666666666667 & -0.466666666666667 \tabularnewline
137 & 14 & 18.047619047619 & -4.04761904761905 \tabularnewline
138 & 12 & 10.125 & 1.875 \tabularnewline
139 & 20 & 18.047619047619 & 1.95238095238095 \tabularnewline
140 & 20 & 14.4666666666667 & 5.53333333333333 \tabularnewline
141 & 8 & 9.53846153846154 & -1.53846153846154 \tabularnewline
142 & 17 & 13.7894736842105 & 3.21052631578947 \tabularnewline
143 & 9 & 13.7894736842105 & -4.78947368421053 \tabularnewline
144 & 18 & 14.4666666666667 & 3.53333333333333 \tabularnewline
145 & 22 & 18.047619047619 & 3.95238095238095 \tabularnewline
146 & 10 & 13.7894736842105 & -3.78947368421053 \tabularnewline
147 & 13 & 14.4666666666667 & -1.46666666666667 \tabularnewline
148 & 15 & 18.047619047619 & -3.04761904761905 \tabularnewline
149 & 18 & 14.4666666666667 & 3.53333333333333 \tabularnewline
150 & 18 & 14.4666666666667 & 3.53333333333333 \tabularnewline
151 & 12 & 14.4666666666667 & -2.46666666666667 \tabularnewline
152 & 12 & 14.4666666666667 & -2.46666666666667 \tabularnewline
153 & 20 & 18.047619047619 & 1.95238095238095 \tabularnewline
154 & 12 & 14.4666666666667 & -2.46666666666667 \tabularnewline
155 & 16 & 18.047619047619 & -2.04761904761905 \tabularnewline
156 & 16 & 14.4666666666667 & 1.53333333333333 \tabularnewline
157 & 18 & 13.7894736842105 & 4.21052631578947 \tabularnewline
158 & 16 & 13.7894736842105 & 2.21052631578947 \tabularnewline
159 & 13 & 14.4666666666667 & -1.46666666666667 \tabularnewline
160 & 17 & 13.7894736842105 & 3.21052631578947 \tabularnewline
161 & 13 & 10.125 & 2.875 \tabularnewline
162 & 17 & 13.7894736842105 & 3.21052631578947 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=154214&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]21[/C][C]18.047619047619[/C][C]2.95238095238095[/C][/ROW]
[ROW][C]2[/C][C]15[/C][C]13.7894736842105[/C][C]1.21052631578947[/C][/ROW]
[ROW][C]3[/C][C]18[/C][C]13.7894736842105[/C][C]4.21052631578947[/C][/ROW]
[ROW][C]4[/C][C]11[/C][C]10.125[/C][C]0.875[/C][/ROW]
[ROW][C]5[/C][C]8[/C][C]13.7894736842105[/C][C]-5.78947368421053[/C][/ROW]
[ROW][C]6[/C][C]19[/C][C]18.047619047619[/C][C]0.952380952380953[/C][/ROW]
[ROW][C]7[/C][C]4[/C][C]14.4666666666667[/C][C]-10.4666666666667[/C][/ROW]
[ROW][C]8[/C][C]20[/C][C]14.4666666666667[/C][C]5.53333333333333[/C][/ROW]
[ROW][C]9[/C][C]16[/C][C]14.4666666666667[/C][C]1.53333333333333[/C][/ROW]
[ROW][C]10[/C][C]14[/C][C]14.4666666666667[/C][C]-0.466666666666667[/C][/ROW]
[ROW][C]11[/C][C]10[/C][C]10.125[/C][C]-0.125[/C][/ROW]
[ROW][C]12[/C][C]13[/C][C]14.4666666666667[/C][C]-1.46666666666667[/C][/ROW]
[ROW][C]13[/C][C]14[/C][C]13.7894736842105[/C][C]0.210526315789474[/C][/ROW]
[ROW][C]14[/C][C]8[/C][C]14.4666666666667[/C][C]-6.46666666666667[/C][/ROW]
[ROW][C]15[/C][C]23[/C][C]18.047619047619[/C][C]4.95238095238095[/C][/ROW]
[ROW][C]16[/C][C]11[/C][C]14.4666666666667[/C][C]-3.46666666666667[/C][/ROW]
[ROW][C]17[/C][C]9[/C][C]9.53846153846154[/C][C]-0.538461538461538[/C][/ROW]
[ROW][C]18[/C][C]24[/C][C]18.047619047619[/C][C]5.95238095238095[/C][/ROW]
[ROW][C]19[/C][C]5[/C][C]10.125[/C][C]-5.125[/C][/ROW]
[ROW][C]20[/C][C]15[/C][C]14.4666666666667[/C][C]0.533333333333333[/C][/ROW]
[ROW][C]21[/C][C]5[/C][C]10.125[/C][C]-5.125[/C][/ROW]
[ROW][C]22[/C][C]19[/C][C]14.4666666666667[/C][C]4.53333333333333[/C][/ROW]
[ROW][C]23[/C][C]6[/C][C]9.53846153846154[/C][C]-3.53846153846154[/C][/ROW]
[ROW][C]24[/C][C]13[/C][C]14.4666666666667[/C][C]-1.46666666666667[/C][/ROW]
[ROW][C]25[/C][C]11[/C][C]13.7894736842105[/C][C]-2.78947368421053[/C][/ROW]
[ROW][C]26[/C][C]17[/C][C]18.047619047619[/C][C]-1.04761904761905[/C][/ROW]
[ROW][C]27[/C][C]17[/C][C]18.047619047619[/C][C]-1.04761904761905[/C][/ROW]
[ROW][C]28[/C][C]5[/C][C]9.53846153846154[/C][C]-4.53846153846154[/C][/ROW]
[ROW][C]29[/C][C]9[/C][C]10.125[/C][C]-1.125[/C][/ROW]
[ROW][C]30[/C][C]15[/C][C]14.4666666666667[/C][C]0.533333333333333[/C][/ROW]
[ROW][C]31[/C][C]17[/C][C]18.047619047619[/C][C]-1.04761904761905[/C][/ROW]
[ROW][C]32[/C][C]17[/C][C]14.4666666666667[/C][C]2.53333333333333[/C][/ROW]
[ROW][C]33[/C][C]20[/C][C]14.4666666666667[/C][C]5.53333333333333[/C][/ROW]
[ROW][C]34[/C][C]12[/C][C]10.125[/C][C]1.875[/C][/ROW]
[ROW][C]35[/C][C]7[/C][C]10.125[/C][C]-3.125[/C][/ROW]
[ROW][C]36[/C][C]16[/C][C]18.047619047619[/C][C]-2.04761904761905[/C][/ROW]
[ROW][C]37[/C][C]7[/C][C]9.53846153846154[/C][C]-2.53846153846154[/C][/ROW]
[ROW][C]38[/C][C]14[/C][C]10.125[/C][C]3.875[/C][/ROW]
[ROW][C]39[/C][C]24[/C][C]18.047619047619[/C][C]5.95238095238095[/C][/ROW]
[ROW][C]40[/C][C]15[/C][C]18.047619047619[/C][C]-3.04761904761905[/C][/ROW]
[ROW][C]41[/C][C]15[/C][C]13.7894736842105[/C][C]1.21052631578947[/C][/ROW]
[ROW][C]42[/C][C]10[/C][C]14.4666666666667[/C][C]-4.46666666666667[/C][/ROW]
[ROW][C]43[/C][C]14[/C][C]13.7894736842105[/C][C]0.210526315789474[/C][/ROW]
[ROW][C]44[/C][C]18[/C][C]18.047619047619[/C][C]-0.0476190476190474[/C][/ROW]
[ROW][C]45[/C][C]12[/C][C]18.047619047619[/C][C]-6.04761904761905[/C][/ROW]
[ROW][C]46[/C][C]9[/C][C]9.53846153846154[/C][C]-0.538461538461538[/C][/ROW]
[ROW][C]47[/C][C]9[/C][C]10.125[/C][C]-1.125[/C][/ROW]
[ROW][C]48[/C][C]8[/C][C]14.4666666666667[/C][C]-6.46666666666667[/C][/ROW]
[ROW][C]49[/C][C]18[/C][C]14.4666666666667[/C][C]3.53333333333333[/C][/ROW]
[ROW][C]50[/C][C]10[/C][C]10.125[/C][C]-0.125[/C][/ROW]
[ROW][C]51[/C][C]17[/C][C]13.7894736842105[/C][C]3.21052631578947[/C][/ROW]
[ROW][C]52[/C][C]14[/C][C]9.53846153846154[/C][C]4.46153846153846[/C][/ROW]
[ROW][C]53[/C][C]16[/C][C]14.4666666666667[/C][C]1.53333333333333[/C][/ROW]
[ROW][C]54[/C][C]10[/C][C]9.53846153846154[/C][C]0.461538461538462[/C][/ROW]
[ROW][C]55[/C][C]19[/C][C]18.047619047619[/C][C]0.952380952380953[/C][/ROW]
[ROW][C]56[/C][C]10[/C][C]13.7894736842105[/C][C]-3.78947368421053[/C][/ROW]
[ROW][C]57[/C][C]14[/C][C]13.7894736842105[/C][C]0.210526315789474[/C][/ROW]
[ROW][C]58[/C][C]10[/C][C]14.4666666666667[/C][C]-4.46666666666667[/C][/ROW]
[ROW][C]59[/C][C]4[/C][C]10.125[/C][C]-6.125[/C][/ROW]
[ROW][C]60[/C][C]19[/C][C]18.047619047619[/C][C]0.952380952380953[/C][/ROW]
[ROW][C]61[/C][C]9[/C][C]14.4666666666667[/C][C]-5.46666666666667[/C][/ROW]
[ROW][C]62[/C][C]12[/C][C]13.7894736842105[/C][C]-1.78947368421053[/C][/ROW]
[ROW][C]63[/C][C]16[/C][C]18.047619047619[/C][C]-2.04761904761905[/C][/ROW]
[ROW][C]64[/C][C]11[/C][C]18.047619047619[/C][C]-7.04761904761905[/C][/ROW]
[ROW][C]65[/C][C]18[/C][C]13.7894736842105[/C][C]4.21052631578947[/C][/ROW]
[ROW][C]66[/C][C]11[/C][C]18.047619047619[/C][C]-7.04761904761905[/C][/ROW]
[ROW][C]67[/C][C]24[/C][C]18.047619047619[/C][C]5.95238095238095[/C][/ROW]
[ROW][C]68[/C][C]17[/C][C]14.4666666666667[/C][C]2.53333333333333[/C][/ROW]
[ROW][C]69[/C][C]18[/C][C]14.4666666666667[/C][C]3.53333333333333[/C][/ROW]
[ROW][C]70[/C][C]9[/C][C]9.53846153846154[/C][C]-0.538461538461538[/C][/ROW]
[ROW][C]71[/C][C]19[/C][C]18.047619047619[/C][C]0.952380952380953[/C][/ROW]
[ROW][C]72[/C][C]18[/C][C]18.047619047619[/C][C]-0.0476190476190474[/C][/ROW]
[ROW][C]73[/C][C]12[/C][C]14.4666666666667[/C][C]-2.46666666666667[/C][/ROW]
[ROW][C]74[/C][C]23[/C][C]14.4666666666667[/C][C]8.53333333333333[/C][/ROW]
[ROW][C]75[/C][C]22[/C][C]18.047619047619[/C][C]3.95238095238095[/C][/ROW]
[ROW][C]76[/C][C]14[/C][C]13.7894736842105[/C][C]0.210526315789474[/C][/ROW]
[ROW][C]77[/C][C]14[/C][C]13.7894736842105[/C][C]0.210526315789474[/C][/ROW]
[ROW][C]78[/C][C]16[/C][C]18.047619047619[/C][C]-2.04761904761905[/C][/ROW]
[ROW][C]79[/C][C]23[/C][C]18.047619047619[/C][C]4.95238095238095[/C][/ROW]
[ROW][C]80[/C][C]7[/C][C]10.125[/C][C]-3.125[/C][/ROW]
[ROW][C]81[/C][C]10[/C][C]18.047619047619[/C][C]-8.04761904761905[/C][/ROW]
[ROW][C]82[/C][C]12[/C][C]9.53846153846154[/C][C]2.46153846153846[/C][/ROW]
[ROW][C]83[/C][C]12[/C][C]18.047619047619[/C][C]-6.04761904761905[/C][/ROW]
[ROW][C]84[/C][C]12[/C][C]13.7894736842105[/C][C]-1.78947368421053[/C][/ROW]
[ROW][C]85[/C][C]17[/C][C]10.125[/C][C]6.875[/C][/ROW]
[ROW][C]86[/C][C]21[/C][C]18.047619047619[/C][C]2.95238095238095[/C][/ROW]
[ROW][C]87[/C][C]16[/C][C]14.4666666666667[/C][C]1.53333333333333[/C][/ROW]
[ROW][C]88[/C][C]11[/C][C]9.53846153846154[/C][C]1.46153846153846[/C][/ROW]
[ROW][C]89[/C][C]14[/C][C]9.53846153846154[/C][C]4.46153846153846[/C][/ROW]
[ROW][C]90[/C][C]13[/C][C]13.7894736842105[/C][C]-0.789473684210526[/C][/ROW]
[ROW][C]91[/C][C]9[/C][C]13.7894736842105[/C][C]-4.78947368421053[/C][/ROW]
[ROW][C]92[/C][C]19[/C][C]18.047619047619[/C][C]0.952380952380953[/C][/ROW]
[ROW][C]93[/C][C]13[/C][C]14.4666666666667[/C][C]-1.46666666666667[/C][/ROW]
[ROW][C]94[/C][C]19[/C][C]14.4666666666667[/C][C]4.53333333333333[/C][/ROW]
[ROW][C]95[/C][C]13[/C][C]13.7894736842105[/C][C]-0.789473684210526[/C][/ROW]
[ROW][C]96[/C][C]13[/C][C]13.7894736842105[/C][C]-0.789473684210526[/C][/ROW]
[ROW][C]97[/C][C]13[/C][C]14.4666666666667[/C][C]-1.46666666666667[/C][/ROW]
[ROW][C]98[/C][C]14[/C][C]13.7894736842105[/C][C]0.210526315789474[/C][/ROW]
[ROW][C]99[/C][C]12[/C][C]10.125[/C][C]1.875[/C][/ROW]
[ROW][C]100[/C][C]22[/C][C]18.047619047619[/C][C]3.95238095238095[/C][/ROW]
[ROW][C]101[/C][C]11[/C][C]14.4666666666667[/C][C]-3.46666666666667[/C][/ROW]
[ROW][C]102[/C][C]5[/C][C]10.125[/C][C]-5.125[/C][/ROW]
[ROW][C]103[/C][C]18[/C][C]14.4666666666667[/C][C]3.53333333333333[/C][/ROW]
[ROW][C]104[/C][C]19[/C][C]18.047619047619[/C][C]0.952380952380953[/C][/ROW]
[ROW][C]105[/C][C]14[/C][C]10.125[/C][C]3.875[/C][/ROW]
[ROW][C]106[/C][C]15[/C][C]13.7894736842105[/C][C]1.21052631578947[/C][/ROW]
[ROW][C]107[/C][C]12[/C][C]10.125[/C][C]1.875[/C][/ROW]
[ROW][C]108[/C][C]19[/C][C]14.4666666666667[/C][C]4.53333333333333[/C][/ROW]
[ROW][C]109[/C][C]15[/C][C]14.4666666666667[/C][C]0.533333333333333[/C][/ROW]
[ROW][C]110[/C][C]17[/C][C]18.047619047619[/C][C]-1.04761904761905[/C][/ROW]
[ROW][C]111[/C][C]8[/C][C]14.4666666666667[/C][C]-6.46666666666667[/C][/ROW]
[ROW][C]112[/C][C]10[/C][C]14.4666666666667[/C][C]-4.46666666666667[/C][/ROW]
[ROW][C]113[/C][C]12[/C][C]13.7894736842105[/C][C]-1.78947368421053[/C][/ROW]
[ROW][C]114[/C][C]12[/C][C]13.7894736842105[/C][C]-1.78947368421053[/C][/ROW]
[ROW][C]115[/C][C]20[/C][C]18.047619047619[/C][C]1.95238095238095[/C][/ROW]
[ROW][C]116[/C][C]12[/C][C]10.125[/C][C]1.875[/C][/ROW]
[ROW][C]117[/C][C]12[/C][C]13.7894736842105[/C][C]-1.78947368421053[/C][/ROW]
[ROW][C]118[/C][C]14[/C][C]13.7894736842105[/C][C]0.210526315789474[/C][/ROW]
[ROW][C]119[/C][C]6[/C][C]10.125[/C][C]-4.125[/C][/ROW]
[ROW][C]120[/C][C]10[/C][C]9.53846153846154[/C][C]0.461538461538462[/C][/ROW]
[ROW][C]121[/C][C]18[/C][C]13.7894736842105[/C][C]4.21052631578947[/C][/ROW]
[ROW][C]122[/C][C]18[/C][C]13.7894736842105[/C][C]4.21052631578947[/C][/ROW]
[ROW][C]123[/C][C]7[/C][C]13.7894736842105[/C][C]-6.78947368421053[/C][/ROW]
[ROW][C]124[/C][C]18[/C][C]13.7894736842105[/C][C]4.21052631578947[/C][/ROW]
[ROW][C]125[/C][C]9[/C][C]18.047619047619[/C][C]-9.04761904761905[/C][/ROW]
[ROW][C]126[/C][C]17[/C][C]14.4666666666667[/C][C]2.53333333333333[/C][/ROW]
[ROW][C]127[/C][C]22[/C][C]18.047619047619[/C][C]3.95238095238095[/C][/ROW]
[ROW][C]128[/C][C]11[/C][C]13.7894736842105[/C][C]-2.78947368421053[/C][/ROW]
[ROW][C]129[/C][C]15[/C][C]10.125[/C][C]4.875[/C][/ROW]
[ROW][C]130[/C][C]17[/C][C]18.047619047619[/C][C]-1.04761904761905[/C][/ROW]
[ROW][C]131[/C][C]15[/C][C]13.7894736842105[/C][C]1.21052631578947[/C][/ROW]
[ROW][C]132[/C][C]22[/C][C]18.047619047619[/C][C]3.95238095238095[/C][/ROW]
[ROW][C]133[/C][C]9[/C][C]10.125[/C][C]-1.125[/C][/ROW]
[ROW][C]134[/C][C]13[/C][C]10.125[/C][C]2.875[/C][/ROW]
[ROW][C]135[/C][C]20[/C][C]18.047619047619[/C][C]1.95238095238095[/C][/ROW]
[ROW][C]136[/C][C]14[/C][C]14.4666666666667[/C][C]-0.466666666666667[/C][/ROW]
[ROW][C]137[/C][C]14[/C][C]18.047619047619[/C][C]-4.04761904761905[/C][/ROW]
[ROW][C]138[/C][C]12[/C][C]10.125[/C][C]1.875[/C][/ROW]
[ROW][C]139[/C][C]20[/C][C]18.047619047619[/C][C]1.95238095238095[/C][/ROW]
[ROW][C]140[/C][C]20[/C][C]14.4666666666667[/C][C]5.53333333333333[/C][/ROW]
[ROW][C]141[/C][C]8[/C][C]9.53846153846154[/C][C]-1.53846153846154[/C][/ROW]
[ROW][C]142[/C][C]17[/C][C]13.7894736842105[/C][C]3.21052631578947[/C][/ROW]
[ROW][C]143[/C][C]9[/C][C]13.7894736842105[/C][C]-4.78947368421053[/C][/ROW]
[ROW][C]144[/C][C]18[/C][C]14.4666666666667[/C][C]3.53333333333333[/C][/ROW]
[ROW][C]145[/C][C]22[/C][C]18.047619047619[/C][C]3.95238095238095[/C][/ROW]
[ROW][C]146[/C][C]10[/C][C]13.7894736842105[/C][C]-3.78947368421053[/C][/ROW]
[ROW][C]147[/C][C]13[/C][C]14.4666666666667[/C][C]-1.46666666666667[/C][/ROW]
[ROW][C]148[/C][C]15[/C][C]18.047619047619[/C][C]-3.04761904761905[/C][/ROW]
[ROW][C]149[/C][C]18[/C][C]14.4666666666667[/C][C]3.53333333333333[/C][/ROW]
[ROW][C]150[/C][C]18[/C][C]14.4666666666667[/C][C]3.53333333333333[/C][/ROW]
[ROW][C]151[/C][C]12[/C][C]14.4666666666667[/C][C]-2.46666666666667[/C][/ROW]
[ROW][C]152[/C][C]12[/C][C]14.4666666666667[/C][C]-2.46666666666667[/C][/ROW]
[ROW][C]153[/C][C]20[/C][C]18.047619047619[/C][C]1.95238095238095[/C][/ROW]
[ROW][C]154[/C][C]12[/C][C]14.4666666666667[/C][C]-2.46666666666667[/C][/ROW]
[ROW][C]155[/C][C]16[/C][C]18.047619047619[/C][C]-2.04761904761905[/C][/ROW]
[ROW][C]156[/C][C]16[/C][C]14.4666666666667[/C][C]1.53333333333333[/C][/ROW]
[ROW][C]157[/C][C]18[/C][C]13.7894736842105[/C][C]4.21052631578947[/C][/ROW]
[ROW][C]158[/C][C]16[/C][C]13.7894736842105[/C][C]2.21052631578947[/C][/ROW]
[ROW][C]159[/C][C]13[/C][C]14.4666666666667[/C][C]-1.46666666666667[/C][/ROW]
[ROW][C]160[/C][C]17[/C][C]13.7894736842105[/C][C]3.21052631578947[/C][/ROW]
[ROW][C]161[/C][C]13[/C][C]10.125[/C][C]2.875[/C][/ROW]
[ROW][C]162[/C][C]17[/C][C]13.7894736842105[/C][C]3.21052631578947[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=154214&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=154214&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
12118.0476190476192.95238095238095
21513.78947368421051.21052631578947
31813.78947368421054.21052631578947
41110.1250.875
5813.7894736842105-5.78947368421053
61918.0476190476190.952380952380953
7414.4666666666667-10.4666666666667
82014.46666666666675.53333333333333
91614.46666666666671.53333333333333
101414.4666666666667-0.466666666666667
111010.125-0.125
121314.4666666666667-1.46666666666667
131413.78947368421050.210526315789474
14814.4666666666667-6.46666666666667
152318.0476190476194.95238095238095
161114.4666666666667-3.46666666666667
1799.53846153846154-0.538461538461538
182418.0476190476195.95238095238095
19510.125-5.125
201514.46666666666670.533333333333333
21510.125-5.125
221914.46666666666674.53333333333333
2369.53846153846154-3.53846153846154
241314.4666666666667-1.46666666666667
251113.7894736842105-2.78947368421053
261718.047619047619-1.04761904761905
271718.047619047619-1.04761904761905
2859.53846153846154-4.53846153846154
29910.125-1.125
301514.46666666666670.533333333333333
311718.047619047619-1.04761904761905
321714.46666666666672.53333333333333
332014.46666666666675.53333333333333
341210.1251.875
35710.125-3.125
361618.047619047619-2.04761904761905
3779.53846153846154-2.53846153846154
381410.1253.875
392418.0476190476195.95238095238095
401518.047619047619-3.04761904761905
411513.78947368421051.21052631578947
421014.4666666666667-4.46666666666667
431413.78947368421050.210526315789474
441818.047619047619-0.0476190476190474
451218.047619047619-6.04761904761905
4699.53846153846154-0.538461538461538
47910.125-1.125
48814.4666666666667-6.46666666666667
491814.46666666666673.53333333333333
501010.125-0.125
511713.78947368421053.21052631578947
52149.538461538461544.46153846153846
531614.46666666666671.53333333333333
54109.538461538461540.461538461538462
551918.0476190476190.952380952380953
561013.7894736842105-3.78947368421053
571413.78947368421050.210526315789474
581014.4666666666667-4.46666666666667
59410.125-6.125
601918.0476190476190.952380952380953
61914.4666666666667-5.46666666666667
621213.7894736842105-1.78947368421053
631618.047619047619-2.04761904761905
641118.047619047619-7.04761904761905
651813.78947368421054.21052631578947
661118.047619047619-7.04761904761905
672418.0476190476195.95238095238095
681714.46666666666672.53333333333333
691814.46666666666673.53333333333333
7099.53846153846154-0.538461538461538
711918.0476190476190.952380952380953
721818.047619047619-0.0476190476190474
731214.4666666666667-2.46666666666667
742314.46666666666678.53333333333333
752218.0476190476193.95238095238095
761413.78947368421050.210526315789474
771413.78947368421050.210526315789474
781618.047619047619-2.04761904761905
792318.0476190476194.95238095238095
80710.125-3.125
811018.047619047619-8.04761904761905
82129.538461538461542.46153846153846
831218.047619047619-6.04761904761905
841213.7894736842105-1.78947368421053
851710.1256.875
862118.0476190476192.95238095238095
871614.46666666666671.53333333333333
88119.538461538461541.46153846153846
89149.538461538461544.46153846153846
901313.7894736842105-0.789473684210526
91913.7894736842105-4.78947368421053
921918.0476190476190.952380952380953
931314.4666666666667-1.46666666666667
941914.46666666666674.53333333333333
951313.7894736842105-0.789473684210526
961313.7894736842105-0.789473684210526
971314.4666666666667-1.46666666666667
981413.78947368421050.210526315789474
991210.1251.875
1002218.0476190476193.95238095238095
1011114.4666666666667-3.46666666666667
102510.125-5.125
1031814.46666666666673.53333333333333
1041918.0476190476190.952380952380953
1051410.1253.875
1061513.78947368421051.21052631578947
1071210.1251.875
1081914.46666666666674.53333333333333
1091514.46666666666670.533333333333333
1101718.047619047619-1.04761904761905
111814.4666666666667-6.46666666666667
1121014.4666666666667-4.46666666666667
1131213.7894736842105-1.78947368421053
1141213.7894736842105-1.78947368421053
1152018.0476190476191.95238095238095
1161210.1251.875
1171213.7894736842105-1.78947368421053
1181413.78947368421050.210526315789474
119610.125-4.125
120109.538461538461540.461538461538462
1211813.78947368421054.21052631578947
1221813.78947368421054.21052631578947
123713.7894736842105-6.78947368421053
1241813.78947368421054.21052631578947
125918.047619047619-9.04761904761905
1261714.46666666666672.53333333333333
1272218.0476190476193.95238095238095
1281113.7894736842105-2.78947368421053
1291510.1254.875
1301718.047619047619-1.04761904761905
1311513.78947368421051.21052631578947
1322218.0476190476193.95238095238095
133910.125-1.125
1341310.1252.875
1352018.0476190476191.95238095238095
1361414.4666666666667-0.466666666666667
1371418.047619047619-4.04761904761905
1381210.1251.875
1392018.0476190476191.95238095238095
1402014.46666666666675.53333333333333
14189.53846153846154-1.53846153846154
1421713.78947368421053.21052631578947
143913.7894736842105-4.78947368421053
1441814.46666666666673.53333333333333
1452218.0476190476193.95238095238095
1461013.7894736842105-3.78947368421053
1471314.4666666666667-1.46666666666667
1481518.047619047619-3.04761904761905
1491814.46666666666673.53333333333333
1501814.46666666666673.53333333333333
1511214.4666666666667-2.46666666666667
1521214.4666666666667-2.46666666666667
1532018.0476190476191.95238095238095
1541214.4666666666667-2.46666666666667
1551618.047619047619-2.04761904761905
1561614.46666666666671.53333333333333
1571813.78947368421054.21052631578947
1581613.78947368421052.21052631578947
1591314.4666666666667-1.46666666666667
1601713.78947368421053.21052631578947
1611310.1252.875
1621713.78947368421053.21052631578947



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 5 ; 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')
}