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, 13 Dec 2010 10:18:16 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/13/t12922356123tdqpiauq7k3rr9.htm/, Retrieved Mon, 06 May 2024 18:37:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=108777, Retrieved Mon, 06 May 2024 18:37:24 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact197
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 18:59:57] [b98453cac15ba1066b407e146608df68]
-   PD    [Recursive Partitioning (Regression Trees)] [] [2010-12-13 10:18:16] [6c31f786e793d35ef3a03978bc5de774] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	15	15	13	6
2	9	12	11	4
2	12	15	14	6
2	15	12	12	5
2	17	14	12	5
2	14	8	6	4
1	9	11	10	5
1	12	15	11	3
2	11	4	10	2
2	13	13	12	5
1	16	19	15	6
1	16	10	13	6
1	15	15	18	8
2	10	6	11	6
1	16	7	12	3
2	12	14	13	6
2	15	16	14	6
1	13	16	16	7
1	18	14	16	8
2	13	15	16	6
1	17	14	15	7
1	14	12	13	4
2	13	9	8	4
1	13	12	14	2
1	15	14	15	6
1	13	12	13	6
1	15	14	16	6
1	13	10	13	6
1	14	14	12	6
1	13	16	15	7
1	16	10	11	4
1	14	8	14	3
2	12	8	14	3
1	18	12	13	5
1	15	11	13	6
2	9	8	12	4
2	16	13	14	6
1	16	11	13	3
2	17	12	12	3
2	13	16	14	6
1	17	16	15	6
1	15	13	16	6
1	14	14	15	8
2	10	5	5	2
2	13	14	15	6
1	11	13	8	4
1	11	16	16	7
2	16	15	14	6
2	16	15	14	6
1	11	15	16	6
1	15	11	14	5
1	15	15	13	6
1	12	16	14	6
1	17	13	14	5
2	15	11	12	6
2	16	12	13	7
1	14	12	15	5
1	17	10	15	6
1	10	8	13	6
2	11	9	10	4
1	15	12	13	5
2	15	14	14	6
1	7	12	13	6
2	17	11	13	4
2	14	14	18	6
2	18	7	12	4
2	14	16	14	7
1	12	16	16	8
2	14	11	13	6
1	9	16	16	6
1	14	13	15	6
1	11	11	14	5
1	15	11	14	5
1	16	13	13	6
1	17	14	12	6
1	16	15	16	4
2	12	10	9	5
1	15	15	15	8
2	15	11	16	6
1	16	6	11	2
1	16	11	13	2
2	11	12	13	4
2	15	13	14	6
1	12	12	15	6
2	14	8	14	5
1	15	9	12	4
1	17	10	16	4
1	19	16	14	6
1	15	15	13	5
2	16	14	12	6
1	14	12	13	7
1	16	12	12	6
1	15	10	9	4
1	15	12	13	4
2	17	8	10	3
1	12	16	15	8
1	18	11	9	4
1	13	12	13	4
1	14	9	13	5
2	14	14	13	5
2	14	15	15	7
2	12	8	13	4
1	14	12	14	5
2	12	10	11	5
1	15	16	15	8
1	11	17	14	5
2	11	8	15	2
1	15	9	12	5
1	14	8	15	4
2	15	11	14	5
1	16	16	16	7
2	12	13	14	6
1	14	5	12	3
1	14	5	12	3
1	18	15	11	5
1	14	15	13	6
1	13	12	12	5
2	14	12	12	6
1	14	16	16	7
1	17	12	13	6
1	12	10	12	6
1	16	12	14	5
1	15	4	4	4
2	10	11	14	6
2	13	16	15	6
2	15	7	12	3
1	16	9	11	4
2	15	14	12	4
1	14	11	11	4
1	11	10	12	5
2	13	6	11	4
1	17	14	13	6
1	14	11	12	6
1	16	11	12	4
2	15	9	15	7
1	12	16	14	4
2	16	7	12	4
2	8	8	12	4
2	9	10	12	4
1	13	14	13	5
1	19	9	11	4
1	11	13	13	7
2	15	13	12	3
2	11	12	14	5
2	15	11	15	5
2	16	10	15	6
1	15	12	13	5
1	12	14	16	6
2	16	11	17	6
2	15	13	13	3
2	13	14	14	6
1	14	13	13	5
1	11	16	16	8
1	15	13	13	6
1	12	13	13	6
1	16	12	14	4
1	14	9	13	3
1	13	14	14	4
1	15	15	16	7




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 6 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108777&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108777&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108777&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 time6 seconds
R Server'George Udny Yule' @ 72.249.76.132







Goodness of Fit
Correlation0.6806
R-squared0.4632
RMSE2.1802

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.6806[/C][/ROW]
[ROW][C]R-squared[/C][C]0.4632[/C][/ROW]
[ROW][C]RMSE[/C][C]2.1802[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108777&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108777&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.6806
R-squared0.4632
RMSE2.1802







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
11512.54285714285712.45714285714286
2128.81253.1875
31514.38775510204080.612244897959183
41212.5428571428571-0.542857142857143
51412.54285714285711.45714285714286
688.8125-0.8125
71110.63636363636360.363636363636363
8158.81256.1875
948.8125-4.8125
101312.54285714285710.457142857142857
111914.38775510204084.61224489795918
121012.5428571428571-2.54285714285714
131514.38775510204080.612244897959183
14610.6363636363636-4.63636363636364
1578.8125-1.8125
161410.63636363636363.36363636363636
171614.38775510204081.61224489795918
181614.38775510204081.61224489795918
191414.3877551020408-0.387755102040817
201514.38775510204080.612244897959183
211414.3877551020408-0.387755102040817
221211.10.9
2398.81250.1875
241211.10.9
251414.3877551020408-0.387755102040817
261212.5428571428571-0.542857142857143
271414.3877551020408-0.387755102040817
281012.5428571428571-2.54285714285714
291412.54285714285711.45714285714286
301614.38775510204081.61224489795918
31108.81251.1875
32811.1-3.1
33811.1-3.1
341212.5428571428571-0.542857142857143
351112.5428571428571-1.54285714285714
3688.8125-0.8125
371314.3877551020408-1.38775510204082
381111.1-0.0999999999999996
39128.81253.1875
401614.38775510204081.61224489795918
411614.38775510204081.61224489795918
421314.3877551020408-1.38775510204082
431414.3877551020408-0.387755102040817
4458.8125-3.8125
451414.3877551020408-0.387755102040817
46138.81254.1875
471614.38775510204081.61224489795918
481514.38775510204080.612244897959183
491514.38775510204080.612244897959183
501514.38775510204080.612244897959183
511111.75-0.75
521512.54285714285712.45714285714286
531614.38775510204081.61224489795918
541311.751.25
551112.5428571428571-1.54285714285714
561212.5428571428571-0.542857142857143
571211.750.25
581014.3877551020408-4.38775510204082
59810.6363636363636-2.63636363636364
6098.81250.1875
611212.5428571428571-0.542857142857143
621414.3877551020408-0.387755102040817
631210.63636363636361.36363636363636
641111.1-0.0999999999999996
651414.3877551020408-0.387755102040817
6678.8125-1.8125
671614.38775510204081.61224489795918
681614.38775510204081.61224489795918
691112.5428571428571-1.54285714285714
701614.38775510204081.61224489795918
711314.3877551020408-1.38775510204082
721111.75-0.75
731111.75-0.75
741312.54285714285710.457142857142857
751412.54285714285711.45714285714286
761511.13.9
771010.6363636363636-0.636363636363637
781514.38775510204080.612244897959183
791114.3877551020408-3.38775510204082
8068.8125-2.8125
811111.1-0.0999999999999996
821211.10.9
831314.3877551020408-1.38775510204082
841214.3877551020408-2.38775510204082
85811.75-3.75
8698.81250.1875
871011.1-1.1
881614.38775510204081.61224489795918
891512.54285714285712.45714285714286
901412.54285714285711.45714285714286
911212.5428571428571-0.542857142857143
921212.5428571428571-0.542857142857143
93108.81251.1875
941211.10.9
9588.8125-0.8125
961614.38775510204081.61224489795918
97118.81252.1875
981211.10.9
99912.5428571428571-3.54285714285714
1001412.54285714285711.45714285714286
1011514.38775510204080.612244897959183
102811.1-3.1
1031211.750.25
1041010.6363636363636-0.636363636363637
1051614.38775510204081.61224489795918
1061711.755.25
107811.1-3.1
108912.5428571428571-3.54285714285714
109811.1-3.1
1101111.75-0.75
1111614.38775510204081.61224489795918
1121314.3877551020408-1.38775510204082
11358.8125-3.8125
11458.8125-3.8125
1151512.54285714285712.45714285714286
1161512.54285714285712.45714285714286
1171212.5428571428571-0.542857142857143
1181212.5428571428571-0.542857142857143
1191614.38775510204081.61224489795918
1201212.5428571428571-0.542857142857143
1211010.6363636363636-0.636363636363637
1221211.750.25
12348.8125-4.8125
1241114.3877551020408-3.38775510204082
1251614.38775510204081.61224489795918
12678.8125-1.8125
12798.81250.1875
128148.81255.1875
129118.81252.1875
1301010.6363636363636-0.636363636363637
13168.8125-2.8125
1321412.54285714285711.45714285714286
1331112.5428571428571-1.54285714285714
134118.81252.1875
135914.3877551020408-5.38775510204082
1361611.14.9
13778.8125-1.8125
13888.8125-0.8125
139108.81251.1875
1401412.54285714285711.45714285714286
14198.81250.1875
1421310.63636363636362.36363636363636
143138.81254.1875
1441211.750.25
1451111.75-0.75
1461014.3877551020408-4.38775510204082
1471212.5428571428571-0.542857142857143
1481414.3877551020408-0.387755102040817
1491114.3877551020408-3.38775510204082
1501311.11.9
1511414.3877551020408-0.387755102040817
1521312.54285714285710.457142857142857
1531614.38775510204081.61224489795918
1541312.54285714285710.457142857142857
1551310.63636363636362.36363636363636
1561211.10.9
157911.1-2.1
1581411.12.9
1591514.38775510204080.612244897959183

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 15 & 12.5428571428571 & 2.45714285714286 \tabularnewline
2 & 12 & 8.8125 & 3.1875 \tabularnewline
3 & 15 & 14.3877551020408 & 0.612244897959183 \tabularnewline
4 & 12 & 12.5428571428571 & -0.542857142857143 \tabularnewline
5 & 14 & 12.5428571428571 & 1.45714285714286 \tabularnewline
6 & 8 & 8.8125 & -0.8125 \tabularnewline
7 & 11 & 10.6363636363636 & 0.363636363636363 \tabularnewline
8 & 15 & 8.8125 & 6.1875 \tabularnewline
9 & 4 & 8.8125 & -4.8125 \tabularnewline
10 & 13 & 12.5428571428571 & 0.457142857142857 \tabularnewline
11 & 19 & 14.3877551020408 & 4.61224489795918 \tabularnewline
12 & 10 & 12.5428571428571 & -2.54285714285714 \tabularnewline
13 & 15 & 14.3877551020408 & 0.612244897959183 \tabularnewline
14 & 6 & 10.6363636363636 & -4.63636363636364 \tabularnewline
15 & 7 & 8.8125 & -1.8125 \tabularnewline
16 & 14 & 10.6363636363636 & 3.36363636363636 \tabularnewline
17 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
18 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
19 & 14 & 14.3877551020408 & -0.387755102040817 \tabularnewline
20 & 15 & 14.3877551020408 & 0.612244897959183 \tabularnewline
21 & 14 & 14.3877551020408 & -0.387755102040817 \tabularnewline
22 & 12 & 11.1 & 0.9 \tabularnewline
23 & 9 & 8.8125 & 0.1875 \tabularnewline
24 & 12 & 11.1 & 0.9 \tabularnewline
25 & 14 & 14.3877551020408 & -0.387755102040817 \tabularnewline
26 & 12 & 12.5428571428571 & -0.542857142857143 \tabularnewline
27 & 14 & 14.3877551020408 & -0.387755102040817 \tabularnewline
28 & 10 & 12.5428571428571 & -2.54285714285714 \tabularnewline
29 & 14 & 12.5428571428571 & 1.45714285714286 \tabularnewline
30 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
31 & 10 & 8.8125 & 1.1875 \tabularnewline
32 & 8 & 11.1 & -3.1 \tabularnewline
33 & 8 & 11.1 & -3.1 \tabularnewline
34 & 12 & 12.5428571428571 & -0.542857142857143 \tabularnewline
35 & 11 & 12.5428571428571 & -1.54285714285714 \tabularnewline
36 & 8 & 8.8125 & -0.8125 \tabularnewline
37 & 13 & 14.3877551020408 & -1.38775510204082 \tabularnewline
38 & 11 & 11.1 & -0.0999999999999996 \tabularnewline
39 & 12 & 8.8125 & 3.1875 \tabularnewline
40 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
41 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
42 & 13 & 14.3877551020408 & -1.38775510204082 \tabularnewline
43 & 14 & 14.3877551020408 & -0.387755102040817 \tabularnewline
44 & 5 & 8.8125 & -3.8125 \tabularnewline
45 & 14 & 14.3877551020408 & -0.387755102040817 \tabularnewline
46 & 13 & 8.8125 & 4.1875 \tabularnewline
47 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
48 & 15 & 14.3877551020408 & 0.612244897959183 \tabularnewline
49 & 15 & 14.3877551020408 & 0.612244897959183 \tabularnewline
50 & 15 & 14.3877551020408 & 0.612244897959183 \tabularnewline
51 & 11 & 11.75 & -0.75 \tabularnewline
52 & 15 & 12.5428571428571 & 2.45714285714286 \tabularnewline
53 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
54 & 13 & 11.75 & 1.25 \tabularnewline
55 & 11 & 12.5428571428571 & -1.54285714285714 \tabularnewline
56 & 12 & 12.5428571428571 & -0.542857142857143 \tabularnewline
57 & 12 & 11.75 & 0.25 \tabularnewline
58 & 10 & 14.3877551020408 & -4.38775510204082 \tabularnewline
59 & 8 & 10.6363636363636 & -2.63636363636364 \tabularnewline
60 & 9 & 8.8125 & 0.1875 \tabularnewline
61 & 12 & 12.5428571428571 & -0.542857142857143 \tabularnewline
62 & 14 & 14.3877551020408 & -0.387755102040817 \tabularnewline
63 & 12 & 10.6363636363636 & 1.36363636363636 \tabularnewline
64 & 11 & 11.1 & -0.0999999999999996 \tabularnewline
65 & 14 & 14.3877551020408 & -0.387755102040817 \tabularnewline
66 & 7 & 8.8125 & -1.8125 \tabularnewline
67 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
68 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
69 & 11 & 12.5428571428571 & -1.54285714285714 \tabularnewline
70 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
71 & 13 & 14.3877551020408 & -1.38775510204082 \tabularnewline
72 & 11 & 11.75 & -0.75 \tabularnewline
73 & 11 & 11.75 & -0.75 \tabularnewline
74 & 13 & 12.5428571428571 & 0.457142857142857 \tabularnewline
75 & 14 & 12.5428571428571 & 1.45714285714286 \tabularnewline
76 & 15 & 11.1 & 3.9 \tabularnewline
77 & 10 & 10.6363636363636 & -0.636363636363637 \tabularnewline
78 & 15 & 14.3877551020408 & 0.612244897959183 \tabularnewline
79 & 11 & 14.3877551020408 & -3.38775510204082 \tabularnewline
80 & 6 & 8.8125 & -2.8125 \tabularnewline
81 & 11 & 11.1 & -0.0999999999999996 \tabularnewline
82 & 12 & 11.1 & 0.9 \tabularnewline
83 & 13 & 14.3877551020408 & -1.38775510204082 \tabularnewline
84 & 12 & 14.3877551020408 & -2.38775510204082 \tabularnewline
85 & 8 & 11.75 & -3.75 \tabularnewline
86 & 9 & 8.8125 & 0.1875 \tabularnewline
87 & 10 & 11.1 & -1.1 \tabularnewline
88 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
89 & 15 & 12.5428571428571 & 2.45714285714286 \tabularnewline
90 & 14 & 12.5428571428571 & 1.45714285714286 \tabularnewline
91 & 12 & 12.5428571428571 & -0.542857142857143 \tabularnewline
92 & 12 & 12.5428571428571 & -0.542857142857143 \tabularnewline
93 & 10 & 8.8125 & 1.1875 \tabularnewline
94 & 12 & 11.1 & 0.9 \tabularnewline
95 & 8 & 8.8125 & -0.8125 \tabularnewline
96 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
97 & 11 & 8.8125 & 2.1875 \tabularnewline
98 & 12 & 11.1 & 0.9 \tabularnewline
99 & 9 & 12.5428571428571 & -3.54285714285714 \tabularnewline
100 & 14 & 12.5428571428571 & 1.45714285714286 \tabularnewline
101 & 15 & 14.3877551020408 & 0.612244897959183 \tabularnewline
102 & 8 & 11.1 & -3.1 \tabularnewline
103 & 12 & 11.75 & 0.25 \tabularnewline
104 & 10 & 10.6363636363636 & -0.636363636363637 \tabularnewline
105 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
106 & 17 & 11.75 & 5.25 \tabularnewline
107 & 8 & 11.1 & -3.1 \tabularnewline
108 & 9 & 12.5428571428571 & -3.54285714285714 \tabularnewline
109 & 8 & 11.1 & -3.1 \tabularnewline
110 & 11 & 11.75 & -0.75 \tabularnewline
111 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
112 & 13 & 14.3877551020408 & -1.38775510204082 \tabularnewline
113 & 5 & 8.8125 & -3.8125 \tabularnewline
114 & 5 & 8.8125 & -3.8125 \tabularnewline
115 & 15 & 12.5428571428571 & 2.45714285714286 \tabularnewline
116 & 15 & 12.5428571428571 & 2.45714285714286 \tabularnewline
117 & 12 & 12.5428571428571 & -0.542857142857143 \tabularnewline
118 & 12 & 12.5428571428571 & -0.542857142857143 \tabularnewline
119 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
120 & 12 & 12.5428571428571 & -0.542857142857143 \tabularnewline
121 & 10 & 10.6363636363636 & -0.636363636363637 \tabularnewline
122 & 12 & 11.75 & 0.25 \tabularnewline
123 & 4 & 8.8125 & -4.8125 \tabularnewline
124 & 11 & 14.3877551020408 & -3.38775510204082 \tabularnewline
125 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
126 & 7 & 8.8125 & -1.8125 \tabularnewline
127 & 9 & 8.8125 & 0.1875 \tabularnewline
128 & 14 & 8.8125 & 5.1875 \tabularnewline
129 & 11 & 8.8125 & 2.1875 \tabularnewline
130 & 10 & 10.6363636363636 & -0.636363636363637 \tabularnewline
131 & 6 & 8.8125 & -2.8125 \tabularnewline
132 & 14 & 12.5428571428571 & 1.45714285714286 \tabularnewline
133 & 11 & 12.5428571428571 & -1.54285714285714 \tabularnewline
134 & 11 & 8.8125 & 2.1875 \tabularnewline
135 & 9 & 14.3877551020408 & -5.38775510204082 \tabularnewline
136 & 16 & 11.1 & 4.9 \tabularnewline
137 & 7 & 8.8125 & -1.8125 \tabularnewline
138 & 8 & 8.8125 & -0.8125 \tabularnewline
139 & 10 & 8.8125 & 1.1875 \tabularnewline
140 & 14 & 12.5428571428571 & 1.45714285714286 \tabularnewline
141 & 9 & 8.8125 & 0.1875 \tabularnewline
142 & 13 & 10.6363636363636 & 2.36363636363636 \tabularnewline
143 & 13 & 8.8125 & 4.1875 \tabularnewline
144 & 12 & 11.75 & 0.25 \tabularnewline
145 & 11 & 11.75 & -0.75 \tabularnewline
146 & 10 & 14.3877551020408 & -4.38775510204082 \tabularnewline
147 & 12 & 12.5428571428571 & -0.542857142857143 \tabularnewline
148 & 14 & 14.3877551020408 & -0.387755102040817 \tabularnewline
149 & 11 & 14.3877551020408 & -3.38775510204082 \tabularnewline
150 & 13 & 11.1 & 1.9 \tabularnewline
151 & 14 & 14.3877551020408 & -0.387755102040817 \tabularnewline
152 & 13 & 12.5428571428571 & 0.457142857142857 \tabularnewline
153 & 16 & 14.3877551020408 & 1.61224489795918 \tabularnewline
154 & 13 & 12.5428571428571 & 0.457142857142857 \tabularnewline
155 & 13 & 10.6363636363636 & 2.36363636363636 \tabularnewline
156 & 12 & 11.1 & 0.9 \tabularnewline
157 & 9 & 11.1 & -2.1 \tabularnewline
158 & 14 & 11.1 & 2.9 \tabularnewline
159 & 15 & 14.3877551020408 & 0.612244897959183 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108777&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]15[/C][C]12.5428571428571[/C][C]2.45714285714286[/C][/ROW]
[ROW][C]2[/C][C]12[/C][C]8.8125[/C][C]3.1875[/C][/ROW]
[ROW][C]3[/C][C]15[/C][C]14.3877551020408[/C][C]0.612244897959183[/C][/ROW]
[ROW][C]4[/C][C]12[/C][C]12.5428571428571[/C][C]-0.542857142857143[/C][/ROW]
[ROW][C]5[/C][C]14[/C][C]12.5428571428571[/C][C]1.45714285714286[/C][/ROW]
[ROW][C]6[/C][C]8[/C][C]8.8125[/C][C]-0.8125[/C][/ROW]
[ROW][C]7[/C][C]11[/C][C]10.6363636363636[/C][C]0.363636363636363[/C][/ROW]
[ROW][C]8[/C][C]15[/C][C]8.8125[/C][C]6.1875[/C][/ROW]
[ROW][C]9[/C][C]4[/C][C]8.8125[/C][C]-4.8125[/C][/ROW]
[ROW][C]10[/C][C]13[/C][C]12.5428571428571[/C][C]0.457142857142857[/C][/ROW]
[ROW][C]11[/C][C]19[/C][C]14.3877551020408[/C][C]4.61224489795918[/C][/ROW]
[ROW][C]12[/C][C]10[/C][C]12.5428571428571[/C][C]-2.54285714285714[/C][/ROW]
[ROW][C]13[/C][C]15[/C][C]14.3877551020408[/C][C]0.612244897959183[/C][/ROW]
[ROW][C]14[/C][C]6[/C][C]10.6363636363636[/C][C]-4.63636363636364[/C][/ROW]
[ROW][C]15[/C][C]7[/C][C]8.8125[/C][C]-1.8125[/C][/ROW]
[ROW][C]16[/C][C]14[/C][C]10.6363636363636[/C][C]3.36363636363636[/C][/ROW]
[ROW][C]17[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]18[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]19[/C][C]14[/C][C]14.3877551020408[/C][C]-0.387755102040817[/C][/ROW]
[ROW][C]20[/C][C]15[/C][C]14.3877551020408[/C][C]0.612244897959183[/C][/ROW]
[ROW][C]21[/C][C]14[/C][C]14.3877551020408[/C][C]-0.387755102040817[/C][/ROW]
[ROW][C]22[/C][C]12[/C][C]11.1[/C][C]0.9[/C][/ROW]
[ROW][C]23[/C][C]9[/C][C]8.8125[/C][C]0.1875[/C][/ROW]
[ROW][C]24[/C][C]12[/C][C]11.1[/C][C]0.9[/C][/ROW]
[ROW][C]25[/C][C]14[/C][C]14.3877551020408[/C][C]-0.387755102040817[/C][/ROW]
[ROW][C]26[/C][C]12[/C][C]12.5428571428571[/C][C]-0.542857142857143[/C][/ROW]
[ROW][C]27[/C][C]14[/C][C]14.3877551020408[/C][C]-0.387755102040817[/C][/ROW]
[ROW][C]28[/C][C]10[/C][C]12.5428571428571[/C][C]-2.54285714285714[/C][/ROW]
[ROW][C]29[/C][C]14[/C][C]12.5428571428571[/C][C]1.45714285714286[/C][/ROW]
[ROW][C]30[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]31[/C][C]10[/C][C]8.8125[/C][C]1.1875[/C][/ROW]
[ROW][C]32[/C][C]8[/C][C]11.1[/C][C]-3.1[/C][/ROW]
[ROW][C]33[/C][C]8[/C][C]11.1[/C][C]-3.1[/C][/ROW]
[ROW][C]34[/C][C]12[/C][C]12.5428571428571[/C][C]-0.542857142857143[/C][/ROW]
[ROW][C]35[/C][C]11[/C][C]12.5428571428571[/C][C]-1.54285714285714[/C][/ROW]
[ROW][C]36[/C][C]8[/C][C]8.8125[/C][C]-0.8125[/C][/ROW]
[ROW][C]37[/C][C]13[/C][C]14.3877551020408[/C][C]-1.38775510204082[/C][/ROW]
[ROW][C]38[/C][C]11[/C][C]11.1[/C][C]-0.0999999999999996[/C][/ROW]
[ROW][C]39[/C][C]12[/C][C]8.8125[/C][C]3.1875[/C][/ROW]
[ROW][C]40[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]41[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]42[/C][C]13[/C][C]14.3877551020408[/C][C]-1.38775510204082[/C][/ROW]
[ROW][C]43[/C][C]14[/C][C]14.3877551020408[/C][C]-0.387755102040817[/C][/ROW]
[ROW][C]44[/C][C]5[/C][C]8.8125[/C][C]-3.8125[/C][/ROW]
[ROW][C]45[/C][C]14[/C][C]14.3877551020408[/C][C]-0.387755102040817[/C][/ROW]
[ROW][C]46[/C][C]13[/C][C]8.8125[/C][C]4.1875[/C][/ROW]
[ROW][C]47[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]48[/C][C]15[/C][C]14.3877551020408[/C][C]0.612244897959183[/C][/ROW]
[ROW][C]49[/C][C]15[/C][C]14.3877551020408[/C][C]0.612244897959183[/C][/ROW]
[ROW][C]50[/C][C]15[/C][C]14.3877551020408[/C][C]0.612244897959183[/C][/ROW]
[ROW][C]51[/C][C]11[/C][C]11.75[/C][C]-0.75[/C][/ROW]
[ROW][C]52[/C][C]15[/C][C]12.5428571428571[/C][C]2.45714285714286[/C][/ROW]
[ROW][C]53[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]54[/C][C]13[/C][C]11.75[/C][C]1.25[/C][/ROW]
[ROW][C]55[/C][C]11[/C][C]12.5428571428571[/C][C]-1.54285714285714[/C][/ROW]
[ROW][C]56[/C][C]12[/C][C]12.5428571428571[/C][C]-0.542857142857143[/C][/ROW]
[ROW][C]57[/C][C]12[/C][C]11.75[/C][C]0.25[/C][/ROW]
[ROW][C]58[/C][C]10[/C][C]14.3877551020408[/C][C]-4.38775510204082[/C][/ROW]
[ROW][C]59[/C][C]8[/C][C]10.6363636363636[/C][C]-2.63636363636364[/C][/ROW]
[ROW][C]60[/C][C]9[/C][C]8.8125[/C][C]0.1875[/C][/ROW]
[ROW][C]61[/C][C]12[/C][C]12.5428571428571[/C][C]-0.542857142857143[/C][/ROW]
[ROW][C]62[/C][C]14[/C][C]14.3877551020408[/C][C]-0.387755102040817[/C][/ROW]
[ROW][C]63[/C][C]12[/C][C]10.6363636363636[/C][C]1.36363636363636[/C][/ROW]
[ROW][C]64[/C][C]11[/C][C]11.1[/C][C]-0.0999999999999996[/C][/ROW]
[ROW][C]65[/C][C]14[/C][C]14.3877551020408[/C][C]-0.387755102040817[/C][/ROW]
[ROW][C]66[/C][C]7[/C][C]8.8125[/C][C]-1.8125[/C][/ROW]
[ROW][C]67[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]68[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]69[/C][C]11[/C][C]12.5428571428571[/C][C]-1.54285714285714[/C][/ROW]
[ROW][C]70[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]71[/C][C]13[/C][C]14.3877551020408[/C][C]-1.38775510204082[/C][/ROW]
[ROW][C]72[/C][C]11[/C][C]11.75[/C][C]-0.75[/C][/ROW]
[ROW][C]73[/C][C]11[/C][C]11.75[/C][C]-0.75[/C][/ROW]
[ROW][C]74[/C][C]13[/C][C]12.5428571428571[/C][C]0.457142857142857[/C][/ROW]
[ROW][C]75[/C][C]14[/C][C]12.5428571428571[/C][C]1.45714285714286[/C][/ROW]
[ROW][C]76[/C][C]15[/C][C]11.1[/C][C]3.9[/C][/ROW]
[ROW][C]77[/C][C]10[/C][C]10.6363636363636[/C][C]-0.636363636363637[/C][/ROW]
[ROW][C]78[/C][C]15[/C][C]14.3877551020408[/C][C]0.612244897959183[/C][/ROW]
[ROW][C]79[/C][C]11[/C][C]14.3877551020408[/C][C]-3.38775510204082[/C][/ROW]
[ROW][C]80[/C][C]6[/C][C]8.8125[/C][C]-2.8125[/C][/ROW]
[ROW][C]81[/C][C]11[/C][C]11.1[/C][C]-0.0999999999999996[/C][/ROW]
[ROW][C]82[/C][C]12[/C][C]11.1[/C][C]0.9[/C][/ROW]
[ROW][C]83[/C][C]13[/C][C]14.3877551020408[/C][C]-1.38775510204082[/C][/ROW]
[ROW][C]84[/C][C]12[/C][C]14.3877551020408[/C][C]-2.38775510204082[/C][/ROW]
[ROW][C]85[/C][C]8[/C][C]11.75[/C][C]-3.75[/C][/ROW]
[ROW][C]86[/C][C]9[/C][C]8.8125[/C][C]0.1875[/C][/ROW]
[ROW][C]87[/C][C]10[/C][C]11.1[/C][C]-1.1[/C][/ROW]
[ROW][C]88[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]89[/C][C]15[/C][C]12.5428571428571[/C][C]2.45714285714286[/C][/ROW]
[ROW][C]90[/C][C]14[/C][C]12.5428571428571[/C][C]1.45714285714286[/C][/ROW]
[ROW][C]91[/C][C]12[/C][C]12.5428571428571[/C][C]-0.542857142857143[/C][/ROW]
[ROW][C]92[/C][C]12[/C][C]12.5428571428571[/C][C]-0.542857142857143[/C][/ROW]
[ROW][C]93[/C][C]10[/C][C]8.8125[/C][C]1.1875[/C][/ROW]
[ROW][C]94[/C][C]12[/C][C]11.1[/C][C]0.9[/C][/ROW]
[ROW][C]95[/C][C]8[/C][C]8.8125[/C][C]-0.8125[/C][/ROW]
[ROW][C]96[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]97[/C][C]11[/C][C]8.8125[/C][C]2.1875[/C][/ROW]
[ROW][C]98[/C][C]12[/C][C]11.1[/C][C]0.9[/C][/ROW]
[ROW][C]99[/C][C]9[/C][C]12.5428571428571[/C][C]-3.54285714285714[/C][/ROW]
[ROW][C]100[/C][C]14[/C][C]12.5428571428571[/C][C]1.45714285714286[/C][/ROW]
[ROW][C]101[/C][C]15[/C][C]14.3877551020408[/C][C]0.612244897959183[/C][/ROW]
[ROW][C]102[/C][C]8[/C][C]11.1[/C][C]-3.1[/C][/ROW]
[ROW][C]103[/C][C]12[/C][C]11.75[/C][C]0.25[/C][/ROW]
[ROW][C]104[/C][C]10[/C][C]10.6363636363636[/C][C]-0.636363636363637[/C][/ROW]
[ROW][C]105[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]106[/C][C]17[/C][C]11.75[/C][C]5.25[/C][/ROW]
[ROW][C]107[/C][C]8[/C][C]11.1[/C][C]-3.1[/C][/ROW]
[ROW][C]108[/C][C]9[/C][C]12.5428571428571[/C][C]-3.54285714285714[/C][/ROW]
[ROW][C]109[/C][C]8[/C][C]11.1[/C][C]-3.1[/C][/ROW]
[ROW][C]110[/C][C]11[/C][C]11.75[/C][C]-0.75[/C][/ROW]
[ROW][C]111[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]112[/C][C]13[/C][C]14.3877551020408[/C][C]-1.38775510204082[/C][/ROW]
[ROW][C]113[/C][C]5[/C][C]8.8125[/C][C]-3.8125[/C][/ROW]
[ROW][C]114[/C][C]5[/C][C]8.8125[/C][C]-3.8125[/C][/ROW]
[ROW][C]115[/C][C]15[/C][C]12.5428571428571[/C][C]2.45714285714286[/C][/ROW]
[ROW][C]116[/C][C]15[/C][C]12.5428571428571[/C][C]2.45714285714286[/C][/ROW]
[ROW][C]117[/C][C]12[/C][C]12.5428571428571[/C][C]-0.542857142857143[/C][/ROW]
[ROW][C]118[/C][C]12[/C][C]12.5428571428571[/C][C]-0.542857142857143[/C][/ROW]
[ROW][C]119[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]120[/C][C]12[/C][C]12.5428571428571[/C][C]-0.542857142857143[/C][/ROW]
[ROW][C]121[/C][C]10[/C][C]10.6363636363636[/C][C]-0.636363636363637[/C][/ROW]
[ROW][C]122[/C][C]12[/C][C]11.75[/C][C]0.25[/C][/ROW]
[ROW][C]123[/C][C]4[/C][C]8.8125[/C][C]-4.8125[/C][/ROW]
[ROW][C]124[/C][C]11[/C][C]14.3877551020408[/C][C]-3.38775510204082[/C][/ROW]
[ROW][C]125[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]126[/C][C]7[/C][C]8.8125[/C][C]-1.8125[/C][/ROW]
[ROW][C]127[/C][C]9[/C][C]8.8125[/C][C]0.1875[/C][/ROW]
[ROW][C]128[/C][C]14[/C][C]8.8125[/C][C]5.1875[/C][/ROW]
[ROW][C]129[/C][C]11[/C][C]8.8125[/C][C]2.1875[/C][/ROW]
[ROW][C]130[/C][C]10[/C][C]10.6363636363636[/C][C]-0.636363636363637[/C][/ROW]
[ROW][C]131[/C][C]6[/C][C]8.8125[/C][C]-2.8125[/C][/ROW]
[ROW][C]132[/C][C]14[/C][C]12.5428571428571[/C][C]1.45714285714286[/C][/ROW]
[ROW][C]133[/C][C]11[/C][C]12.5428571428571[/C][C]-1.54285714285714[/C][/ROW]
[ROW][C]134[/C][C]11[/C][C]8.8125[/C][C]2.1875[/C][/ROW]
[ROW][C]135[/C][C]9[/C][C]14.3877551020408[/C][C]-5.38775510204082[/C][/ROW]
[ROW][C]136[/C][C]16[/C][C]11.1[/C][C]4.9[/C][/ROW]
[ROW][C]137[/C][C]7[/C][C]8.8125[/C][C]-1.8125[/C][/ROW]
[ROW][C]138[/C][C]8[/C][C]8.8125[/C][C]-0.8125[/C][/ROW]
[ROW][C]139[/C][C]10[/C][C]8.8125[/C][C]1.1875[/C][/ROW]
[ROW][C]140[/C][C]14[/C][C]12.5428571428571[/C][C]1.45714285714286[/C][/ROW]
[ROW][C]141[/C][C]9[/C][C]8.8125[/C][C]0.1875[/C][/ROW]
[ROW][C]142[/C][C]13[/C][C]10.6363636363636[/C][C]2.36363636363636[/C][/ROW]
[ROW][C]143[/C][C]13[/C][C]8.8125[/C][C]4.1875[/C][/ROW]
[ROW][C]144[/C][C]12[/C][C]11.75[/C][C]0.25[/C][/ROW]
[ROW][C]145[/C][C]11[/C][C]11.75[/C][C]-0.75[/C][/ROW]
[ROW][C]146[/C][C]10[/C][C]14.3877551020408[/C][C]-4.38775510204082[/C][/ROW]
[ROW][C]147[/C][C]12[/C][C]12.5428571428571[/C][C]-0.542857142857143[/C][/ROW]
[ROW][C]148[/C][C]14[/C][C]14.3877551020408[/C][C]-0.387755102040817[/C][/ROW]
[ROW][C]149[/C][C]11[/C][C]14.3877551020408[/C][C]-3.38775510204082[/C][/ROW]
[ROW][C]150[/C][C]13[/C][C]11.1[/C][C]1.9[/C][/ROW]
[ROW][C]151[/C][C]14[/C][C]14.3877551020408[/C][C]-0.387755102040817[/C][/ROW]
[ROW][C]152[/C][C]13[/C][C]12.5428571428571[/C][C]0.457142857142857[/C][/ROW]
[ROW][C]153[/C][C]16[/C][C]14.3877551020408[/C][C]1.61224489795918[/C][/ROW]
[ROW][C]154[/C][C]13[/C][C]12.5428571428571[/C][C]0.457142857142857[/C][/ROW]
[ROW][C]155[/C][C]13[/C][C]10.6363636363636[/C][C]2.36363636363636[/C][/ROW]
[ROW][C]156[/C][C]12[/C][C]11.1[/C][C]0.9[/C][/ROW]
[ROW][C]157[/C][C]9[/C][C]11.1[/C][C]-2.1[/C][/ROW]
[ROW][C]158[/C][C]14[/C][C]11.1[/C][C]2.9[/C][/ROW]
[ROW][C]159[/C][C]15[/C][C]14.3877551020408[/C][C]0.612244897959183[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108777&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108777&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
11512.54285714285712.45714285714286
2128.81253.1875
31514.38775510204080.612244897959183
41212.5428571428571-0.542857142857143
51412.54285714285711.45714285714286
688.8125-0.8125
71110.63636363636360.363636363636363
8158.81256.1875
948.8125-4.8125
101312.54285714285710.457142857142857
111914.38775510204084.61224489795918
121012.5428571428571-2.54285714285714
131514.38775510204080.612244897959183
14610.6363636363636-4.63636363636364
1578.8125-1.8125
161410.63636363636363.36363636363636
171614.38775510204081.61224489795918
181614.38775510204081.61224489795918
191414.3877551020408-0.387755102040817
201514.38775510204080.612244897959183
211414.3877551020408-0.387755102040817
221211.10.9
2398.81250.1875
241211.10.9
251414.3877551020408-0.387755102040817
261212.5428571428571-0.542857142857143
271414.3877551020408-0.387755102040817
281012.5428571428571-2.54285714285714
291412.54285714285711.45714285714286
301614.38775510204081.61224489795918
31108.81251.1875
32811.1-3.1
33811.1-3.1
341212.5428571428571-0.542857142857143
351112.5428571428571-1.54285714285714
3688.8125-0.8125
371314.3877551020408-1.38775510204082
381111.1-0.0999999999999996
39128.81253.1875
401614.38775510204081.61224489795918
411614.38775510204081.61224489795918
421314.3877551020408-1.38775510204082
431414.3877551020408-0.387755102040817
4458.8125-3.8125
451414.3877551020408-0.387755102040817
46138.81254.1875
471614.38775510204081.61224489795918
481514.38775510204080.612244897959183
491514.38775510204080.612244897959183
501514.38775510204080.612244897959183
511111.75-0.75
521512.54285714285712.45714285714286
531614.38775510204081.61224489795918
541311.751.25
551112.5428571428571-1.54285714285714
561212.5428571428571-0.542857142857143
571211.750.25
581014.3877551020408-4.38775510204082
59810.6363636363636-2.63636363636364
6098.81250.1875
611212.5428571428571-0.542857142857143
621414.3877551020408-0.387755102040817
631210.63636363636361.36363636363636
641111.1-0.0999999999999996
651414.3877551020408-0.387755102040817
6678.8125-1.8125
671614.38775510204081.61224489795918
681614.38775510204081.61224489795918
691112.5428571428571-1.54285714285714
701614.38775510204081.61224489795918
711314.3877551020408-1.38775510204082
721111.75-0.75
731111.75-0.75
741312.54285714285710.457142857142857
751412.54285714285711.45714285714286
761511.13.9
771010.6363636363636-0.636363636363637
781514.38775510204080.612244897959183
791114.3877551020408-3.38775510204082
8068.8125-2.8125
811111.1-0.0999999999999996
821211.10.9
831314.3877551020408-1.38775510204082
841214.3877551020408-2.38775510204082
85811.75-3.75
8698.81250.1875
871011.1-1.1
881614.38775510204081.61224489795918
891512.54285714285712.45714285714286
901412.54285714285711.45714285714286
911212.5428571428571-0.542857142857143
921212.5428571428571-0.542857142857143
93108.81251.1875
941211.10.9
9588.8125-0.8125
961614.38775510204081.61224489795918
97118.81252.1875
981211.10.9
99912.5428571428571-3.54285714285714
1001412.54285714285711.45714285714286
1011514.38775510204080.612244897959183
102811.1-3.1
1031211.750.25
1041010.6363636363636-0.636363636363637
1051614.38775510204081.61224489795918
1061711.755.25
107811.1-3.1
108912.5428571428571-3.54285714285714
109811.1-3.1
1101111.75-0.75
1111614.38775510204081.61224489795918
1121314.3877551020408-1.38775510204082
11358.8125-3.8125
11458.8125-3.8125
1151512.54285714285712.45714285714286
1161512.54285714285712.45714285714286
1171212.5428571428571-0.542857142857143
1181212.5428571428571-0.542857142857143
1191614.38775510204081.61224489795918
1201212.5428571428571-0.542857142857143
1211010.6363636363636-0.636363636363637
1221211.750.25
12348.8125-4.8125
1241114.3877551020408-3.38775510204082
1251614.38775510204081.61224489795918
12678.8125-1.8125
12798.81250.1875
128148.81255.1875
129118.81252.1875
1301010.6363636363636-0.636363636363637
13168.8125-2.8125
1321412.54285714285711.45714285714286
1331112.5428571428571-1.54285714285714
134118.81252.1875
135914.3877551020408-5.38775510204082
1361611.14.9
13778.8125-1.8125
13888.8125-0.8125
139108.81251.1875
1401412.54285714285711.45714285714286
14198.81250.1875
1421310.63636363636362.36363636363636
143138.81254.1875
1441211.750.25
1451111.75-0.75
1461014.3877551020408-4.38775510204082
1471212.5428571428571-0.542857142857143
1481414.3877551020408-0.387755102040817
1491114.3877551020408-3.38775510204082
1501311.11.9
1511414.3877551020408-0.387755102040817
1521312.54285714285710.457142857142857
1531614.38775510204081.61224489795918
1541312.54285714285710.457142857142857
1551310.63636363636362.36363636363636
1561211.10.9
157911.1-2.1
1581411.12.9
1591514.38775510204080.612244897959183



Parameters (Session):
par1 = 3 ; par2 = none ; par3 = 3 ; par4 = no ;
Parameters (R input):
par1 = 3 ; 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')
}