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:48:46 -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/t1323722974iiaf3t4tbfkbl5j.htm/, Retrieved Fri, 03 May 2024 08:21:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=154215, Retrieved Fri, 03 May 2024 08:21:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact121
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] [8b13b85c94b9a060d82f72930775ea89]
-    D      [Recursive Partitioning (Regression Trees)] [WS10 - Exentriek] [2011-12-12 20:48:46] [240aada53705cc48eae3e230739818e0] [Current]
Feedback Forum

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




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=154215&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=154215&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=154215&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.3715
R-squared0.138
RMSE3.3687

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.3715[/C][/ROW]
[ROW][C]R-squared[/C][C]0.138[/C][/ROW]
[ROW][C]RMSE[/C][C]3.3687[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=154215&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=154215&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.3715
R-squared0.138
RMSE3.3687







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
12321.15909090909091.84090909090909
22023.8648648648649-3.86486486486486
32021.1590909090909-1.15909090909091
42121.1590909090909-0.15909090909091
52423.86486486486490.135135135135137
62223.8648648648649-1.86486486486486
72323.8648648648649-0.864864864864863
82023.8648648648649-3.86486486486486
92523.86486486486491.13513513513514
102321.15909090909091.84090909090909
112723.86486486486493.13513513513514
122723.86486486486493.13513513513514
132223.8648648648649-1.86486486486486
142423.86486486486490.135135135135137
152523.86486486486491.13513513513514
162221.15909090909090.84090909090909
172823.86486486486494.13513513513514
182823.86486486486494.13513513513514
192723.86486486486493.13513513513514
202523.86486486486491.13513513513514
211621.1590909090909-5.15909090909091
222823.86486486486494.13513513513514
232121.1590909090909-0.15909090909091
242423.86486486486490.135135135135137
252723.86486486486493.13513513513514
261421.1590909090909-7.15909090909091
271421.1590909090909-7.15909090909091
282721.15909090909095.84090909090909
292021.1590909090909-1.15909090909091
302123.8648648648649-2.86486486486486
312223.8648648648649-1.86486486486486
322121.1590909090909-0.15909090909091
331221.1590909090909-9.15909090909091
342021.1590909090909-1.15909090909091
352421.15909090909092.84090909090909
361923.8648648648649-4.86486486486486
372821.15909090909096.84090909090909
382323.8648648648649-0.864864864864863
392723.86486486486493.13513513513514
402223.8648648648649-1.86486486486486
412723.86486486486493.13513513513514
422621.15909090909094.84090909090909
432221.15909090909090.84090909090909
442123.8648648648649-2.86486486486486
451921.1590909090909-2.15909090909091
462421.15909090909092.84090909090909
471921.1590909090909-2.15909090909091
482621.15909090909094.84090909090909
492223.8648648648649-1.86486486486486
502821.15909090909096.84090909090909
512121.1590909090909-0.15909090909091
522321.15909090909091.84090909090909
532823.86486486486494.13513513513514
541021.1590909090909-11.1590909090909
552421.15909090909092.84090909090909
562121.1590909090909-0.15909090909091
572123.8648648648649-2.86486486486486
582423.86486486486490.135135135135137
592421.15909090909092.84090909090909
602521.15909090909093.84090909090909
612521.15909090909093.84090909090909
622321.15909090909091.84090909090909
632121.1590909090909-0.15909090909091
641621.1590909090909-5.15909090909091
651721.1590909090909-4.15909090909091
662523.86486486486491.13513513513514
672423.86486486486490.135135135135137
682323.8648648648649-0.864864864864863
692523.86486486486491.13513513513514
702323.8648648648649-0.864864864864863
712823.86486486486494.13513513513514
722623.86486486486492.13513513513514
732221.15909090909090.84090909090909
741923.8648648648649-4.86486486486486
752623.86486486486492.13513513513514
761821.1590909090909-3.15909090909091
771821.1590909090909-3.15909090909091
782523.86486486486491.13513513513514
792723.86486486486493.13513513513514
801221.1590909090909-9.15909090909091
811523.8648648648649-8.86486486486486
822121.1590909090909-0.15909090909091
832321.15909090909091.84090909090909
842223.8648648648649-1.86486486486486
852121.1590909090909-0.15909090909091
862421.15909090909092.84090909090909
872723.86486486486493.13513513513514
882221.15909090909090.84090909090909
892823.86486486486494.13513513513514
902621.15909090909094.84090909090909
911021.1590909090909-11.1590909090909
921923.8648648648649-4.86486486486486
932223.8648648648649-1.86486486486486
942123.8648648648649-2.86486486486486
952423.86486486486490.135135135135137
962523.86486486486491.13513513513514
972121.1590909090909-0.15909090909091
982021.1590909090909-1.15909090909091
992121.1590909090909-0.15909090909091
1002423.86486486486490.135135135135137
1012323.8648648648649-0.864864864864863
1021821.1590909090909-3.15909090909091
1032421.15909090909092.84090909090909
1042423.86486486486490.135135135135137
1051921.1590909090909-2.15909090909091
1062021.1590909090909-1.15909090909091
1071821.1590909090909-3.15909090909091
1082021.1590909090909-1.15909090909091
1092723.86486486486493.13513513513514
1102321.15909090909091.84090909090909
1112623.86486486486492.13513513513514
1122323.8648648648649-0.864864864864863
1131721.1590909090909-4.15909090909091
1142121.1590909090909-0.15909090909091
1152523.86486486486491.13513513513514
1162321.15909090909091.84090909090909
1172721.15909090909095.84090909090909
1182423.86486486486490.135135135135137
1192021.1590909090909-1.15909090909091
1202721.15909090909095.84090909090909
1212121.1590909090909-0.15909090909091
1222421.15909090909092.84090909090909
1232123.8648648648649-2.86486486486486
1241521.1590909090909-6.15909090909091
1252523.86486486486491.13513513513514
1262523.86486486486491.13513513513514
1272221.15909090909090.84090909090909
1282423.86486486486490.135135135135137
1292121.1590909090909-0.15909090909091
1302221.15909090909090.84090909090909
1312321.15909090909091.84090909090909
1322221.15909090909090.84090909090909
1332021.1590909090909-1.15909090909091
1342323.8648648648649-0.864864864864863
1352521.15909090909093.84090909090909
1362321.15909090909091.84090909090909
1372223.8648648648649-1.86486486486486
1382521.15909090909093.84090909090909
1392623.86486486486492.13513513513514
1402221.15909090909090.84090909090909
1412421.15909090909092.84090909090909
1422423.86486486486490.135135135135137
1432521.15909090909093.84090909090909
1442021.1590909090909-1.15909090909091
1452623.86486486486492.13513513513514
1462121.1590909090909-0.15909090909091
1472621.15909090909094.84090909090909
1482123.8648648648649-2.86486486486486
1492221.15909090909090.84090909090909
1501621.1590909090909-5.15909090909091
1512621.15909090909094.84090909090909
1522823.86486486486494.13513513513514
1531823.8648648648649-5.86486486486486
1542523.86486486486491.13513513513514
1552323.8648648648649-0.864864864864863
1562121.1590909090909-0.15909090909091
1572023.8648648648649-3.86486486486486
1582521.15909090909093.84090909090909
1592223.8648648648649-1.86486486486486
1602121.1590909090909-0.15909090909091
1611621.1590909090909-5.15909090909091
1621821.1590909090909-3.15909090909091

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 23 & 21.1590909090909 & 1.84090909090909 \tabularnewline
2 & 20 & 23.8648648648649 & -3.86486486486486 \tabularnewline
3 & 20 & 21.1590909090909 & -1.15909090909091 \tabularnewline
4 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
5 & 24 & 23.8648648648649 & 0.135135135135137 \tabularnewline
6 & 22 & 23.8648648648649 & -1.86486486486486 \tabularnewline
7 & 23 & 23.8648648648649 & -0.864864864864863 \tabularnewline
8 & 20 & 23.8648648648649 & -3.86486486486486 \tabularnewline
9 & 25 & 23.8648648648649 & 1.13513513513514 \tabularnewline
10 & 23 & 21.1590909090909 & 1.84090909090909 \tabularnewline
11 & 27 & 23.8648648648649 & 3.13513513513514 \tabularnewline
12 & 27 & 23.8648648648649 & 3.13513513513514 \tabularnewline
13 & 22 & 23.8648648648649 & -1.86486486486486 \tabularnewline
14 & 24 & 23.8648648648649 & 0.135135135135137 \tabularnewline
15 & 25 & 23.8648648648649 & 1.13513513513514 \tabularnewline
16 & 22 & 21.1590909090909 & 0.84090909090909 \tabularnewline
17 & 28 & 23.8648648648649 & 4.13513513513514 \tabularnewline
18 & 28 & 23.8648648648649 & 4.13513513513514 \tabularnewline
19 & 27 & 23.8648648648649 & 3.13513513513514 \tabularnewline
20 & 25 & 23.8648648648649 & 1.13513513513514 \tabularnewline
21 & 16 & 21.1590909090909 & -5.15909090909091 \tabularnewline
22 & 28 & 23.8648648648649 & 4.13513513513514 \tabularnewline
23 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
24 & 24 & 23.8648648648649 & 0.135135135135137 \tabularnewline
25 & 27 & 23.8648648648649 & 3.13513513513514 \tabularnewline
26 & 14 & 21.1590909090909 & -7.15909090909091 \tabularnewline
27 & 14 & 21.1590909090909 & -7.15909090909091 \tabularnewline
28 & 27 & 21.1590909090909 & 5.84090909090909 \tabularnewline
29 & 20 & 21.1590909090909 & -1.15909090909091 \tabularnewline
30 & 21 & 23.8648648648649 & -2.86486486486486 \tabularnewline
31 & 22 & 23.8648648648649 & -1.86486486486486 \tabularnewline
32 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
33 & 12 & 21.1590909090909 & -9.15909090909091 \tabularnewline
34 & 20 & 21.1590909090909 & -1.15909090909091 \tabularnewline
35 & 24 & 21.1590909090909 & 2.84090909090909 \tabularnewline
36 & 19 & 23.8648648648649 & -4.86486486486486 \tabularnewline
37 & 28 & 21.1590909090909 & 6.84090909090909 \tabularnewline
38 & 23 & 23.8648648648649 & -0.864864864864863 \tabularnewline
39 & 27 & 23.8648648648649 & 3.13513513513514 \tabularnewline
40 & 22 & 23.8648648648649 & -1.86486486486486 \tabularnewline
41 & 27 & 23.8648648648649 & 3.13513513513514 \tabularnewline
42 & 26 & 21.1590909090909 & 4.84090909090909 \tabularnewline
43 & 22 & 21.1590909090909 & 0.84090909090909 \tabularnewline
44 & 21 & 23.8648648648649 & -2.86486486486486 \tabularnewline
45 & 19 & 21.1590909090909 & -2.15909090909091 \tabularnewline
46 & 24 & 21.1590909090909 & 2.84090909090909 \tabularnewline
47 & 19 & 21.1590909090909 & -2.15909090909091 \tabularnewline
48 & 26 & 21.1590909090909 & 4.84090909090909 \tabularnewline
49 & 22 & 23.8648648648649 & -1.86486486486486 \tabularnewline
50 & 28 & 21.1590909090909 & 6.84090909090909 \tabularnewline
51 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
52 & 23 & 21.1590909090909 & 1.84090909090909 \tabularnewline
53 & 28 & 23.8648648648649 & 4.13513513513514 \tabularnewline
54 & 10 & 21.1590909090909 & -11.1590909090909 \tabularnewline
55 & 24 & 21.1590909090909 & 2.84090909090909 \tabularnewline
56 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
57 & 21 & 23.8648648648649 & -2.86486486486486 \tabularnewline
58 & 24 & 23.8648648648649 & 0.135135135135137 \tabularnewline
59 & 24 & 21.1590909090909 & 2.84090909090909 \tabularnewline
60 & 25 & 21.1590909090909 & 3.84090909090909 \tabularnewline
61 & 25 & 21.1590909090909 & 3.84090909090909 \tabularnewline
62 & 23 & 21.1590909090909 & 1.84090909090909 \tabularnewline
63 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
64 & 16 & 21.1590909090909 & -5.15909090909091 \tabularnewline
65 & 17 & 21.1590909090909 & -4.15909090909091 \tabularnewline
66 & 25 & 23.8648648648649 & 1.13513513513514 \tabularnewline
67 & 24 & 23.8648648648649 & 0.135135135135137 \tabularnewline
68 & 23 & 23.8648648648649 & -0.864864864864863 \tabularnewline
69 & 25 & 23.8648648648649 & 1.13513513513514 \tabularnewline
70 & 23 & 23.8648648648649 & -0.864864864864863 \tabularnewline
71 & 28 & 23.8648648648649 & 4.13513513513514 \tabularnewline
72 & 26 & 23.8648648648649 & 2.13513513513514 \tabularnewline
73 & 22 & 21.1590909090909 & 0.84090909090909 \tabularnewline
74 & 19 & 23.8648648648649 & -4.86486486486486 \tabularnewline
75 & 26 & 23.8648648648649 & 2.13513513513514 \tabularnewline
76 & 18 & 21.1590909090909 & -3.15909090909091 \tabularnewline
77 & 18 & 21.1590909090909 & -3.15909090909091 \tabularnewline
78 & 25 & 23.8648648648649 & 1.13513513513514 \tabularnewline
79 & 27 & 23.8648648648649 & 3.13513513513514 \tabularnewline
80 & 12 & 21.1590909090909 & -9.15909090909091 \tabularnewline
81 & 15 & 23.8648648648649 & -8.86486486486486 \tabularnewline
82 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
83 & 23 & 21.1590909090909 & 1.84090909090909 \tabularnewline
84 & 22 & 23.8648648648649 & -1.86486486486486 \tabularnewline
85 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
86 & 24 & 21.1590909090909 & 2.84090909090909 \tabularnewline
87 & 27 & 23.8648648648649 & 3.13513513513514 \tabularnewline
88 & 22 & 21.1590909090909 & 0.84090909090909 \tabularnewline
89 & 28 & 23.8648648648649 & 4.13513513513514 \tabularnewline
90 & 26 & 21.1590909090909 & 4.84090909090909 \tabularnewline
91 & 10 & 21.1590909090909 & -11.1590909090909 \tabularnewline
92 & 19 & 23.8648648648649 & -4.86486486486486 \tabularnewline
93 & 22 & 23.8648648648649 & -1.86486486486486 \tabularnewline
94 & 21 & 23.8648648648649 & -2.86486486486486 \tabularnewline
95 & 24 & 23.8648648648649 & 0.135135135135137 \tabularnewline
96 & 25 & 23.8648648648649 & 1.13513513513514 \tabularnewline
97 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
98 & 20 & 21.1590909090909 & -1.15909090909091 \tabularnewline
99 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
100 & 24 & 23.8648648648649 & 0.135135135135137 \tabularnewline
101 & 23 & 23.8648648648649 & -0.864864864864863 \tabularnewline
102 & 18 & 21.1590909090909 & -3.15909090909091 \tabularnewline
103 & 24 & 21.1590909090909 & 2.84090909090909 \tabularnewline
104 & 24 & 23.8648648648649 & 0.135135135135137 \tabularnewline
105 & 19 & 21.1590909090909 & -2.15909090909091 \tabularnewline
106 & 20 & 21.1590909090909 & -1.15909090909091 \tabularnewline
107 & 18 & 21.1590909090909 & -3.15909090909091 \tabularnewline
108 & 20 & 21.1590909090909 & -1.15909090909091 \tabularnewline
109 & 27 & 23.8648648648649 & 3.13513513513514 \tabularnewline
110 & 23 & 21.1590909090909 & 1.84090909090909 \tabularnewline
111 & 26 & 23.8648648648649 & 2.13513513513514 \tabularnewline
112 & 23 & 23.8648648648649 & -0.864864864864863 \tabularnewline
113 & 17 & 21.1590909090909 & -4.15909090909091 \tabularnewline
114 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
115 & 25 & 23.8648648648649 & 1.13513513513514 \tabularnewline
116 & 23 & 21.1590909090909 & 1.84090909090909 \tabularnewline
117 & 27 & 21.1590909090909 & 5.84090909090909 \tabularnewline
118 & 24 & 23.8648648648649 & 0.135135135135137 \tabularnewline
119 & 20 & 21.1590909090909 & -1.15909090909091 \tabularnewline
120 & 27 & 21.1590909090909 & 5.84090909090909 \tabularnewline
121 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
122 & 24 & 21.1590909090909 & 2.84090909090909 \tabularnewline
123 & 21 & 23.8648648648649 & -2.86486486486486 \tabularnewline
124 & 15 & 21.1590909090909 & -6.15909090909091 \tabularnewline
125 & 25 & 23.8648648648649 & 1.13513513513514 \tabularnewline
126 & 25 & 23.8648648648649 & 1.13513513513514 \tabularnewline
127 & 22 & 21.1590909090909 & 0.84090909090909 \tabularnewline
128 & 24 & 23.8648648648649 & 0.135135135135137 \tabularnewline
129 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
130 & 22 & 21.1590909090909 & 0.84090909090909 \tabularnewline
131 & 23 & 21.1590909090909 & 1.84090909090909 \tabularnewline
132 & 22 & 21.1590909090909 & 0.84090909090909 \tabularnewline
133 & 20 & 21.1590909090909 & -1.15909090909091 \tabularnewline
134 & 23 & 23.8648648648649 & -0.864864864864863 \tabularnewline
135 & 25 & 21.1590909090909 & 3.84090909090909 \tabularnewline
136 & 23 & 21.1590909090909 & 1.84090909090909 \tabularnewline
137 & 22 & 23.8648648648649 & -1.86486486486486 \tabularnewline
138 & 25 & 21.1590909090909 & 3.84090909090909 \tabularnewline
139 & 26 & 23.8648648648649 & 2.13513513513514 \tabularnewline
140 & 22 & 21.1590909090909 & 0.84090909090909 \tabularnewline
141 & 24 & 21.1590909090909 & 2.84090909090909 \tabularnewline
142 & 24 & 23.8648648648649 & 0.135135135135137 \tabularnewline
143 & 25 & 21.1590909090909 & 3.84090909090909 \tabularnewline
144 & 20 & 21.1590909090909 & -1.15909090909091 \tabularnewline
145 & 26 & 23.8648648648649 & 2.13513513513514 \tabularnewline
146 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
147 & 26 & 21.1590909090909 & 4.84090909090909 \tabularnewline
148 & 21 & 23.8648648648649 & -2.86486486486486 \tabularnewline
149 & 22 & 21.1590909090909 & 0.84090909090909 \tabularnewline
150 & 16 & 21.1590909090909 & -5.15909090909091 \tabularnewline
151 & 26 & 21.1590909090909 & 4.84090909090909 \tabularnewline
152 & 28 & 23.8648648648649 & 4.13513513513514 \tabularnewline
153 & 18 & 23.8648648648649 & -5.86486486486486 \tabularnewline
154 & 25 & 23.8648648648649 & 1.13513513513514 \tabularnewline
155 & 23 & 23.8648648648649 & -0.864864864864863 \tabularnewline
156 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
157 & 20 & 23.8648648648649 & -3.86486486486486 \tabularnewline
158 & 25 & 21.1590909090909 & 3.84090909090909 \tabularnewline
159 & 22 & 23.8648648648649 & -1.86486486486486 \tabularnewline
160 & 21 & 21.1590909090909 & -0.15909090909091 \tabularnewline
161 & 16 & 21.1590909090909 & -5.15909090909091 \tabularnewline
162 & 18 & 21.1590909090909 & -3.15909090909091 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=154215&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]23[/C][C]21.1590909090909[/C][C]1.84090909090909[/C][/ROW]
[ROW][C]2[/C][C]20[/C][C]23.8648648648649[/C][C]-3.86486486486486[/C][/ROW]
[ROW][C]3[/C][C]20[/C][C]21.1590909090909[/C][C]-1.15909090909091[/C][/ROW]
[ROW][C]4[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]5[/C][C]24[/C][C]23.8648648648649[/C][C]0.135135135135137[/C][/ROW]
[ROW][C]6[/C][C]22[/C][C]23.8648648648649[/C][C]-1.86486486486486[/C][/ROW]
[ROW][C]7[/C][C]23[/C][C]23.8648648648649[/C][C]-0.864864864864863[/C][/ROW]
[ROW][C]8[/C][C]20[/C][C]23.8648648648649[/C][C]-3.86486486486486[/C][/ROW]
[ROW][C]9[/C][C]25[/C][C]23.8648648648649[/C][C]1.13513513513514[/C][/ROW]
[ROW][C]10[/C][C]23[/C][C]21.1590909090909[/C][C]1.84090909090909[/C][/ROW]
[ROW][C]11[/C][C]27[/C][C]23.8648648648649[/C][C]3.13513513513514[/C][/ROW]
[ROW][C]12[/C][C]27[/C][C]23.8648648648649[/C][C]3.13513513513514[/C][/ROW]
[ROW][C]13[/C][C]22[/C][C]23.8648648648649[/C][C]-1.86486486486486[/C][/ROW]
[ROW][C]14[/C][C]24[/C][C]23.8648648648649[/C][C]0.135135135135137[/C][/ROW]
[ROW][C]15[/C][C]25[/C][C]23.8648648648649[/C][C]1.13513513513514[/C][/ROW]
[ROW][C]16[/C][C]22[/C][C]21.1590909090909[/C][C]0.84090909090909[/C][/ROW]
[ROW][C]17[/C][C]28[/C][C]23.8648648648649[/C][C]4.13513513513514[/C][/ROW]
[ROW][C]18[/C][C]28[/C][C]23.8648648648649[/C][C]4.13513513513514[/C][/ROW]
[ROW][C]19[/C][C]27[/C][C]23.8648648648649[/C][C]3.13513513513514[/C][/ROW]
[ROW][C]20[/C][C]25[/C][C]23.8648648648649[/C][C]1.13513513513514[/C][/ROW]
[ROW][C]21[/C][C]16[/C][C]21.1590909090909[/C][C]-5.15909090909091[/C][/ROW]
[ROW][C]22[/C][C]28[/C][C]23.8648648648649[/C][C]4.13513513513514[/C][/ROW]
[ROW][C]23[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]24[/C][C]24[/C][C]23.8648648648649[/C][C]0.135135135135137[/C][/ROW]
[ROW][C]25[/C][C]27[/C][C]23.8648648648649[/C][C]3.13513513513514[/C][/ROW]
[ROW][C]26[/C][C]14[/C][C]21.1590909090909[/C][C]-7.15909090909091[/C][/ROW]
[ROW][C]27[/C][C]14[/C][C]21.1590909090909[/C][C]-7.15909090909091[/C][/ROW]
[ROW][C]28[/C][C]27[/C][C]21.1590909090909[/C][C]5.84090909090909[/C][/ROW]
[ROW][C]29[/C][C]20[/C][C]21.1590909090909[/C][C]-1.15909090909091[/C][/ROW]
[ROW][C]30[/C][C]21[/C][C]23.8648648648649[/C][C]-2.86486486486486[/C][/ROW]
[ROW][C]31[/C][C]22[/C][C]23.8648648648649[/C][C]-1.86486486486486[/C][/ROW]
[ROW][C]32[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]33[/C][C]12[/C][C]21.1590909090909[/C][C]-9.15909090909091[/C][/ROW]
[ROW][C]34[/C][C]20[/C][C]21.1590909090909[/C][C]-1.15909090909091[/C][/ROW]
[ROW][C]35[/C][C]24[/C][C]21.1590909090909[/C][C]2.84090909090909[/C][/ROW]
[ROW][C]36[/C][C]19[/C][C]23.8648648648649[/C][C]-4.86486486486486[/C][/ROW]
[ROW][C]37[/C][C]28[/C][C]21.1590909090909[/C][C]6.84090909090909[/C][/ROW]
[ROW][C]38[/C][C]23[/C][C]23.8648648648649[/C][C]-0.864864864864863[/C][/ROW]
[ROW][C]39[/C][C]27[/C][C]23.8648648648649[/C][C]3.13513513513514[/C][/ROW]
[ROW][C]40[/C][C]22[/C][C]23.8648648648649[/C][C]-1.86486486486486[/C][/ROW]
[ROW][C]41[/C][C]27[/C][C]23.8648648648649[/C][C]3.13513513513514[/C][/ROW]
[ROW][C]42[/C][C]26[/C][C]21.1590909090909[/C][C]4.84090909090909[/C][/ROW]
[ROW][C]43[/C][C]22[/C][C]21.1590909090909[/C][C]0.84090909090909[/C][/ROW]
[ROW][C]44[/C][C]21[/C][C]23.8648648648649[/C][C]-2.86486486486486[/C][/ROW]
[ROW][C]45[/C][C]19[/C][C]21.1590909090909[/C][C]-2.15909090909091[/C][/ROW]
[ROW][C]46[/C][C]24[/C][C]21.1590909090909[/C][C]2.84090909090909[/C][/ROW]
[ROW][C]47[/C][C]19[/C][C]21.1590909090909[/C][C]-2.15909090909091[/C][/ROW]
[ROW][C]48[/C][C]26[/C][C]21.1590909090909[/C][C]4.84090909090909[/C][/ROW]
[ROW][C]49[/C][C]22[/C][C]23.8648648648649[/C][C]-1.86486486486486[/C][/ROW]
[ROW][C]50[/C][C]28[/C][C]21.1590909090909[/C][C]6.84090909090909[/C][/ROW]
[ROW][C]51[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]52[/C][C]23[/C][C]21.1590909090909[/C][C]1.84090909090909[/C][/ROW]
[ROW][C]53[/C][C]28[/C][C]23.8648648648649[/C][C]4.13513513513514[/C][/ROW]
[ROW][C]54[/C][C]10[/C][C]21.1590909090909[/C][C]-11.1590909090909[/C][/ROW]
[ROW][C]55[/C][C]24[/C][C]21.1590909090909[/C][C]2.84090909090909[/C][/ROW]
[ROW][C]56[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]57[/C][C]21[/C][C]23.8648648648649[/C][C]-2.86486486486486[/C][/ROW]
[ROW][C]58[/C][C]24[/C][C]23.8648648648649[/C][C]0.135135135135137[/C][/ROW]
[ROW][C]59[/C][C]24[/C][C]21.1590909090909[/C][C]2.84090909090909[/C][/ROW]
[ROW][C]60[/C][C]25[/C][C]21.1590909090909[/C][C]3.84090909090909[/C][/ROW]
[ROW][C]61[/C][C]25[/C][C]21.1590909090909[/C][C]3.84090909090909[/C][/ROW]
[ROW][C]62[/C][C]23[/C][C]21.1590909090909[/C][C]1.84090909090909[/C][/ROW]
[ROW][C]63[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]64[/C][C]16[/C][C]21.1590909090909[/C][C]-5.15909090909091[/C][/ROW]
[ROW][C]65[/C][C]17[/C][C]21.1590909090909[/C][C]-4.15909090909091[/C][/ROW]
[ROW][C]66[/C][C]25[/C][C]23.8648648648649[/C][C]1.13513513513514[/C][/ROW]
[ROW][C]67[/C][C]24[/C][C]23.8648648648649[/C][C]0.135135135135137[/C][/ROW]
[ROW][C]68[/C][C]23[/C][C]23.8648648648649[/C][C]-0.864864864864863[/C][/ROW]
[ROW][C]69[/C][C]25[/C][C]23.8648648648649[/C][C]1.13513513513514[/C][/ROW]
[ROW][C]70[/C][C]23[/C][C]23.8648648648649[/C][C]-0.864864864864863[/C][/ROW]
[ROW][C]71[/C][C]28[/C][C]23.8648648648649[/C][C]4.13513513513514[/C][/ROW]
[ROW][C]72[/C][C]26[/C][C]23.8648648648649[/C][C]2.13513513513514[/C][/ROW]
[ROW][C]73[/C][C]22[/C][C]21.1590909090909[/C][C]0.84090909090909[/C][/ROW]
[ROW][C]74[/C][C]19[/C][C]23.8648648648649[/C][C]-4.86486486486486[/C][/ROW]
[ROW][C]75[/C][C]26[/C][C]23.8648648648649[/C][C]2.13513513513514[/C][/ROW]
[ROW][C]76[/C][C]18[/C][C]21.1590909090909[/C][C]-3.15909090909091[/C][/ROW]
[ROW][C]77[/C][C]18[/C][C]21.1590909090909[/C][C]-3.15909090909091[/C][/ROW]
[ROW][C]78[/C][C]25[/C][C]23.8648648648649[/C][C]1.13513513513514[/C][/ROW]
[ROW][C]79[/C][C]27[/C][C]23.8648648648649[/C][C]3.13513513513514[/C][/ROW]
[ROW][C]80[/C][C]12[/C][C]21.1590909090909[/C][C]-9.15909090909091[/C][/ROW]
[ROW][C]81[/C][C]15[/C][C]23.8648648648649[/C][C]-8.86486486486486[/C][/ROW]
[ROW][C]82[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]83[/C][C]23[/C][C]21.1590909090909[/C][C]1.84090909090909[/C][/ROW]
[ROW][C]84[/C][C]22[/C][C]23.8648648648649[/C][C]-1.86486486486486[/C][/ROW]
[ROW][C]85[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]86[/C][C]24[/C][C]21.1590909090909[/C][C]2.84090909090909[/C][/ROW]
[ROW][C]87[/C][C]27[/C][C]23.8648648648649[/C][C]3.13513513513514[/C][/ROW]
[ROW][C]88[/C][C]22[/C][C]21.1590909090909[/C][C]0.84090909090909[/C][/ROW]
[ROW][C]89[/C][C]28[/C][C]23.8648648648649[/C][C]4.13513513513514[/C][/ROW]
[ROW][C]90[/C][C]26[/C][C]21.1590909090909[/C][C]4.84090909090909[/C][/ROW]
[ROW][C]91[/C][C]10[/C][C]21.1590909090909[/C][C]-11.1590909090909[/C][/ROW]
[ROW][C]92[/C][C]19[/C][C]23.8648648648649[/C][C]-4.86486486486486[/C][/ROW]
[ROW][C]93[/C][C]22[/C][C]23.8648648648649[/C][C]-1.86486486486486[/C][/ROW]
[ROW][C]94[/C][C]21[/C][C]23.8648648648649[/C][C]-2.86486486486486[/C][/ROW]
[ROW][C]95[/C][C]24[/C][C]23.8648648648649[/C][C]0.135135135135137[/C][/ROW]
[ROW][C]96[/C][C]25[/C][C]23.8648648648649[/C][C]1.13513513513514[/C][/ROW]
[ROW][C]97[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]98[/C][C]20[/C][C]21.1590909090909[/C][C]-1.15909090909091[/C][/ROW]
[ROW][C]99[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]100[/C][C]24[/C][C]23.8648648648649[/C][C]0.135135135135137[/C][/ROW]
[ROW][C]101[/C][C]23[/C][C]23.8648648648649[/C][C]-0.864864864864863[/C][/ROW]
[ROW][C]102[/C][C]18[/C][C]21.1590909090909[/C][C]-3.15909090909091[/C][/ROW]
[ROW][C]103[/C][C]24[/C][C]21.1590909090909[/C][C]2.84090909090909[/C][/ROW]
[ROW][C]104[/C][C]24[/C][C]23.8648648648649[/C][C]0.135135135135137[/C][/ROW]
[ROW][C]105[/C][C]19[/C][C]21.1590909090909[/C][C]-2.15909090909091[/C][/ROW]
[ROW][C]106[/C][C]20[/C][C]21.1590909090909[/C][C]-1.15909090909091[/C][/ROW]
[ROW][C]107[/C][C]18[/C][C]21.1590909090909[/C][C]-3.15909090909091[/C][/ROW]
[ROW][C]108[/C][C]20[/C][C]21.1590909090909[/C][C]-1.15909090909091[/C][/ROW]
[ROW][C]109[/C][C]27[/C][C]23.8648648648649[/C][C]3.13513513513514[/C][/ROW]
[ROW][C]110[/C][C]23[/C][C]21.1590909090909[/C][C]1.84090909090909[/C][/ROW]
[ROW][C]111[/C][C]26[/C][C]23.8648648648649[/C][C]2.13513513513514[/C][/ROW]
[ROW][C]112[/C][C]23[/C][C]23.8648648648649[/C][C]-0.864864864864863[/C][/ROW]
[ROW][C]113[/C][C]17[/C][C]21.1590909090909[/C][C]-4.15909090909091[/C][/ROW]
[ROW][C]114[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]115[/C][C]25[/C][C]23.8648648648649[/C][C]1.13513513513514[/C][/ROW]
[ROW][C]116[/C][C]23[/C][C]21.1590909090909[/C][C]1.84090909090909[/C][/ROW]
[ROW][C]117[/C][C]27[/C][C]21.1590909090909[/C][C]5.84090909090909[/C][/ROW]
[ROW][C]118[/C][C]24[/C][C]23.8648648648649[/C][C]0.135135135135137[/C][/ROW]
[ROW][C]119[/C][C]20[/C][C]21.1590909090909[/C][C]-1.15909090909091[/C][/ROW]
[ROW][C]120[/C][C]27[/C][C]21.1590909090909[/C][C]5.84090909090909[/C][/ROW]
[ROW][C]121[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]122[/C][C]24[/C][C]21.1590909090909[/C][C]2.84090909090909[/C][/ROW]
[ROW][C]123[/C][C]21[/C][C]23.8648648648649[/C][C]-2.86486486486486[/C][/ROW]
[ROW][C]124[/C][C]15[/C][C]21.1590909090909[/C][C]-6.15909090909091[/C][/ROW]
[ROW][C]125[/C][C]25[/C][C]23.8648648648649[/C][C]1.13513513513514[/C][/ROW]
[ROW][C]126[/C][C]25[/C][C]23.8648648648649[/C][C]1.13513513513514[/C][/ROW]
[ROW][C]127[/C][C]22[/C][C]21.1590909090909[/C][C]0.84090909090909[/C][/ROW]
[ROW][C]128[/C][C]24[/C][C]23.8648648648649[/C][C]0.135135135135137[/C][/ROW]
[ROW][C]129[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]130[/C][C]22[/C][C]21.1590909090909[/C][C]0.84090909090909[/C][/ROW]
[ROW][C]131[/C][C]23[/C][C]21.1590909090909[/C][C]1.84090909090909[/C][/ROW]
[ROW][C]132[/C][C]22[/C][C]21.1590909090909[/C][C]0.84090909090909[/C][/ROW]
[ROW][C]133[/C][C]20[/C][C]21.1590909090909[/C][C]-1.15909090909091[/C][/ROW]
[ROW][C]134[/C][C]23[/C][C]23.8648648648649[/C][C]-0.864864864864863[/C][/ROW]
[ROW][C]135[/C][C]25[/C][C]21.1590909090909[/C][C]3.84090909090909[/C][/ROW]
[ROW][C]136[/C][C]23[/C][C]21.1590909090909[/C][C]1.84090909090909[/C][/ROW]
[ROW][C]137[/C][C]22[/C][C]23.8648648648649[/C][C]-1.86486486486486[/C][/ROW]
[ROW][C]138[/C][C]25[/C][C]21.1590909090909[/C][C]3.84090909090909[/C][/ROW]
[ROW][C]139[/C][C]26[/C][C]23.8648648648649[/C][C]2.13513513513514[/C][/ROW]
[ROW][C]140[/C][C]22[/C][C]21.1590909090909[/C][C]0.84090909090909[/C][/ROW]
[ROW][C]141[/C][C]24[/C][C]21.1590909090909[/C][C]2.84090909090909[/C][/ROW]
[ROW][C]142[/C][C]24[/C][C]23.8648648648649[/C][C]0.135135135135137[/C][/ROW]
[ROW][C]143[/C][C]25[/C][C]21.1590909090909[/C][C]3.84090909090909[/C][/ROW]
[ROW][C]144[/C][C]20[/C][C]21.1590909090909[/C][C]-1.15909090909091[/C][/ROW]
[ROW][C]145[/C][C]26[/C][C]23.8648648648649[/C][C]2.13513513513514[/C][/ROW]
[ROW][C]146[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]147[/C][C]26[/C][C]21.1590909090909[/C][C]4.84090909090909[/C][/ROW]
[ROW][C]148[/C][C]21[/C][C]23.8648648648649[/C][C]-2.86486486486486[/C][/ROW]
[ROW][C]149[/C][C]22[/C][C]21.1590909090909[/C][C]0.84090909090909[/C][/ROW]
[ROW][C]150[/C][C]16[/C][C]21.1590909090909[/C][C]-5.15909090909091[/C][/ROW]
[ROW][C]151[/C][C]26[/C][C]21.1590909090909[/C][C]4.84090909090909[/C][/ROW]
[ROW][C]152[/C][C]28[/C][C]23.8648648648649[/C][C]4.13513513513514[/C][/ROW]
[ROW][C]153[/C][C]18[/C][C]23.8648648648649[/C][C]-5.86486486486486[/C][/ROW]
[ROW][C]154[/C][C]25[/C][C]23.8648648648649[/C][C]1.13513513513514[/C][/ROW]
[ROW][C]155[/C][C]23[/C][C]23.8648648648649[/C][C]-0.864864864864863[/C][/ROW]
[ROW][C]156[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]157[/C][C]20[/C][C]23.8648648648649[/C][C]-3.86486486486486[/C][/ROW]
[ROW][C]158[/C][C]25[/C][C]21.1590909090909[/C][C]3.84090909090909[/C][/ROW]
[ROW][C]159[/C][C]22[/C][C]23.8648648648649[/C][C]-1.86486486486486[/C][/ROW]
[ROW][C]160[/C][C]21[/C][C]21.1590909090909[/C][C]-0.15909090909091[/C][/ROW]
[ROW][C]161[/C][C]16[/C][C]21.1590909090909[/C][C]-5.15909090909091[/C][/ROW]
[ROW][C]162[/C][C]18[/C][C]21.1590909090909[/C][C]-3.15909090909091[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=154215&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=154215&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
12321.15909090909091.84090909090909
22023.8648648648649-3.86486486486486
32021.1590909090909-1.15909090909091
42121.1590909090909-0.15909090909091
52423.86486486486490.135135135135137
62223.8648648648649-1.86486486486486
72323.8648648648649-0.864864864864863
82023.8648648648649-3.86486486486486
92523.86486486486491.13513513513514
102321.15909090909091.84090909090909
112723.86486486486493.13513513513514
122723.86486486486493.13513513513514
132223.8648648648649-1.86486486486486
142423.86486486486490.135135135135137
152523.86486486486491.13513513513514
162221.15909090909090.84090909090909
172823.86486486486494.13513513513514
182823.86486486486494.13513513513514
192723.86486486486493.13513513513514
202523.86486486486491.13513513513514
211621.1590909090909-5.15909090909091
222823.86486486486494.13513513513514
232121.1590909090909-0.15909090909091
242423.86486486486490.135135135135137
252723.86486486486493.13513513513514
261421.1590909090909-7.15909090909091
271421.1590909090909-7.15909090909091
282721.15909090909095.84090909090909
292021.1590909090909-1.15909090909091
302123.8648648648649-2.86486486486486
312223.8648648648649-1.86486486486486
322121.1590909090909-0.15909090909091
331221.1590909090909-9.15909090909091
342021.1590909090909-1.15909090909091
352421.15909090909092.84090909090909
361923.8648648648649-4.86486486486486
372821.15909090909096.84090909090909
382323.8648648648649-0.864864864864863
392723.86486486486493.13513513513514
402223.8648648648649-1.86486486486486
412723.86486486486493.13513513513514
422621.15909090909094.84090909090909
432221.15909090909090.84090909090909
442123.8648648648649-2.86486486486486
451921.1590909090909-2.15909090909091
462421.15909090909092.84090909090909
471921.1590909090909-2.15909090909091
482621.15909090909094.84090909090909
492223.8648648648649-1.86486486486486
502821.15909090909096.84090909090909
512121.1590909090909-0.15909090909091
522321.15909090909091.84090909090909
532823.86486486486494.13513513513514
541021.1590909090909-11.1590909090909
552421.15909090909092.84090909090909
562121.1590909090909-0.15909090909091
572123.8648648648649-2.86486486486486
582423.86486486486490.135135135135137
592421.15909090909092.84090909090909
602521.15909090909093.84090909090909
612521.15909090909093.84090909090909
622321.15909090909091.84090909090909
632121.1590909090909-0.15909090909091
641621.1590909090909-5.15909090909091
651721.1590909090909-4.15909090909091
662523.86486486486491.13513513513514
672423.86486486486490.135135135135137
682323.8648648648649-0.864864864864863
692523.86486486486491.13513513513514
702323.8648648648649-0.864864864864863
712823.86486486486494.13513513513514
722623.86486486486492.13513513513514
732221.15909090909090.84090909090909
741923.8648648648649-4.86486486486486
752623.86486486486492.13513513513514
761821.1590909090909-3.15909090909091
771821.1590909090909-3.15909090909091
782523.86486486486491.13513513513514
792723.86486486486493.13513513513514
801221.1590909090909-9.15909090909091
811523.8648648648649-8.86486486486486
822121.1590909090909-0.15909090909091
832321.15909090909091.84090909090909
842223.8648648648649-1.86486486486486
852121.1590909090909-0.15909090909091
862421.15909090909092.84090909090909
872723.86486486486493.13513513513514
882221.15909090909090.84090909090909
892823.86486486486494.13513513513514
902621.15909090909094.84090909090909
911021.1590909090909-11.1590909090909
921923.8648648648649-4.86486486486486
932223.8648648648649-1.86486486486486
942123.8648648648649-2.86486486486486
952423.86486486486490.135135135135137
962523.86486486486491.13513513513514
972121.1590909090909-0.15909090909091
982021.1590909090909-1.15909090909091
992121.1590909090909-0.15909090909091
1002423.86486486486490.135135135135137
1012323.8648648648649-0.864864864864863
1021821.1590909090909-3.15909090909091
1032421.15909090909092.84090909090909
1042423.86486486486490.135135135135137
1051921.1590909090909-2.15909090909091
1062021.1590909090909-1.15909090909091
1071821.1590909090909-3.15909090909091
1082021.1590909090909-1.15909090909091
1092723.86486486486493.13513513513514
1102321.15909090909091.84090909090909
1112623.86486486486492.13513513513514
1122323.8648648648649-0.864864864864863
1131721.1590909090909-4.15909090909091
1142121.1590909090909-0.15909090909091
1152523.86486486486491.13513513513514
1162321.15909090909091.84090909090909
1172721.15909090909095.84090909090909
1182423.86486486486490.135135135135137
1192021.1590909090909-1.15909090909091
1202721.15909090909095.84090909090909
1212121.1590909090909-0.15909090909091
1222421.15909090909092.84090909090909
1232123.8648648648649-2.86486486486486
1241521.1590909090909-6.15909090909091
1252523.86486486486491.13513513513514
1262523.86486486486491.13513513513514
1272221.15909090909090.84090909090909
1282423.86486486486490.135135135135137
1292121.1590909090909-0.15909090909091
1302221.15909090909090.84090909090909
1312321.15909090909091.84090909090909
1322221.15909090909090.84090909090909
1332021.1590909090909-1.15909090909091
1342323.8648648648649-0.864864864864863
1352521.15909090909093.84090909090909
1362321.15909090909091.84090909090909
1372223.8648648648649-1.86486486486486
1382521.15909090909093.84090909090909
1392623.86486486486492.13513513513514
1402221.15909090909090.84090909090909
1412421.15909090909092.84090909090909
1422423.86486486486490.135135135135137
1432521.15909090909093.84090909090909
1442021.1590909090909-1.15909090909091
1452623.86486486486492.13513513513514
1462121.1590909090909-0.15909090909091
1472621.15909090909094.84090909090909
1482123.8648648648649-2.86486486486486
1492221.15909090909090.84090909090909
1501621.1590909090909-5.15909090909091
1512621.15909090909094.84090909090909
1522823.86486486486494.13513513513514
1531823.8648648648649-5.86486486486486
1542523.86486486486491.13513513513514
1552323.8648648648649-0.864864864864863
1562121.1590909090909-0.15909090909091
1572023.8648648648649-3.86486486486486
1582521.15909090909093.84090909090909
1592223.8648648648649-1.86486486486486
1602121.1590909090909-0.15909090909091
1611621.1590909090909-5.15909090909091
1621821.1590909090909-3.15909090909091



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