Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_regression_trees1.wasp
Title produced by softwareRecursive Partitioning (Regression Trees)
Date of computationFri, 10 Dec 2010 13:40:23 +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/10/t1291988318ilo8t1gvrlrwg5q.htm/, Retrieved Mon, 29 Apr 2024 12:14:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=107671, Retrieved Mon, 29 Apr 2024 12:14:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact132
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)] [Recursive Partici...] [2010-12-10 13:40:23] [5398da98f4f83c6a353e4d3806d4bcaa] [Current]
-    D      [Recursive Partitioning (Regression Trees)] [paper - recursive...] [2010-12-21 21:38:27] [9894f466352df31a128e82ec8d720241]
-   P         [Recursive Partitioning (Regression Trees)] [paper- recursive ...] [2010-12-21 21:54:09] [9894f466352df31a128e82ec8d720241]
Feedback Forum

Post a new message
Dataseries X:
235.1	1
280.7	1
264.6	2
240.7	0
201.4	1
240.8	0
241.1	-1
223.8	-3
206.1	-3
174.7	-3
203.3	-4
220.5	-8
299.5	-9
347.4	-13
338.3	-18
327.7	-11
351.6	-9
396.6	-10
438.8	-13
395.6	-11
363.5	-5
378.8	-15
357	-6
369	-6
464.8	-3
479.1	-1
431.3	-3
366.5	-4
326.3	-6
355.1	0
331.6	-4
261.3	-2
249	-2
205.5	-6
235.6	-7
240.9	-6
264.9	-6
253.8	-3
232.3	-2
193.8	-5
177	-11
213.2	-11
207.2	-11
180.6	-10
188.6	-14
175.4	-8
199	-9
179.6	-5
225.8	-1
234	-2
200.2	-5
183.6	-4
178.2	-6
203.2	-2
208.5	-2
191.8	-2
172.8	-2
148	2
159.4	1
154.5	-8
213.2	-1
196.4	1
182.8	-1
176.4	2
153.6	2
173.2	1
171	-1
151.2	-2
161.9	-2
157.2	-1
201.7	-8
236.4	-4
356.1	-6
398.3	-3
403.7	-3
384.6	-7
365.8	-9
368.1	-11
367.9	-13
347	-11
343.3	-9
292.9	-17
311.5	-22
300.9	-25
366.9	-20
356.9	-24
329.7	-24
316.2	-22
269	-19
289.3	-18
266.2	-17
253.6	-11
233.8	-11
228.4	-12
253.6	-10
260.1	-15
306.6	-15
309.2	-15
309.5	-13
271	-8
279.9	-13
317.9	-9
298.4	-7
246.7	-4
227.3	-4
209.1	-2




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107671&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107671&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Goodness of Fit
Correlation0.3972
R-squared0.1578
RMSE73.3205

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.3972[/C][/ROW]
[ROW][C]R-squared[/C][C]0.1578[/C][/ROW]
[ROW][C]RMSE[/C][C]73.3205[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107671&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107671&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.3972
R-squared0.1578
RMSE73.3205







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1235.1218.40967741935516.6903225806452
2280.7218.40967741935562.2903225806452
3264.6218.40967741935546.1903225806452
4240.7218.40967741935522.2903225806452
5201.4218.409677419355-17.0096774193548
6240.8218.40967741935522.3903225806452
7241.1218.40967741935522.6903225806452
8223.8288.169333333333-64.3693333333333
9206.1288.169333333333-82.0693333333333
10174.7288.169333333333-113.469333333333
11203.3288.169333333333-84.8693333333333
12220.5288.169333333333-67.6693333333333
13299.5288.16933333333311.3306666666667
14347.4288.16933333333359.2306666666667
15338.3288.16933333333350.1306666666667
16327.7288.16933333333339.5306666666667
17351.6288.16933333333363.4306666666667
18396.6288.169333333333108.430666666667
19438.8288.169333333333150.630666666667
20395.6288.169333333333107.430666666667
21363.5288.16933333333375.3306666666667
22378.8288.16933333333390.6306666666667
23357288.16933333333368.8306666666667
24369288.16933333333380.8306666666667
25464.8288.169333333333176.630666666667
26479.1218.409677419355260.690322580645
27431.3288.169333333333143.130666666667
28366.5288.16933333333378.3306666666667
29326.3288.16933333333338.1306666666667
30355.1218.409677419355136.690322580645
31331.6288.16933333333343.4306666666667
32261.3218.40967741935542.8903225806452
33249218.40967741935530.5903225806452
34205.5288.169333333333-82.6693333333333
35235.6288.169333333333-52.5693333333333
36240.9288.169333333333-47.2693333333333
37264.9288.169333333333-23.2693333333333
38253.8288.169333333333-34.3693333333333
39232.3218.40967741935513.8903225806452
40193.8288.169333333333-94.3693333333333
41177288.169333333333-111.169333333333
42213.2288.169333333333-74.9693333333333
43207.2288.169333333333-80.9693333333333
44180.6288.169333333333-107.569333333333
45188.6288.169333333333-99.5693333333333
46175.4288.169333333333-112.769333333333
47199288.169333333333-89.1693333333333
48179.6288.169333333333-108.569333333333
49225.8218.4096774193557.39032258064518
50234218.40967741935515.5903225806452
51200.2288.169333333333-87.9693333333333
52183.6288.169333333333-104.569333333333
53178.2288.169333333333-109.969333333333
54203.2218.409677419355-15.2096774193548
55208.5218.409677419355-9.90967741935484
56191.8218.409677419355-26.6096774193548
57172.8218.409677419355-45.6096774193548
58148218.409677419355-70.4096774193548
59159.4218.409677419355-59.0096774193548
60154.5288.169333333333-133.669333333333
61213.2218.409677419355-5.20967741935485
62196.4218.409677419355-22.0096774193548
63182.8218.409677419355-35.6096774193548
64176.4218.409677419355-42.0096774193548
65153.6218.409677419355-64.8096774193548
66173.2218.409677419355-45.2096774193548
67171218.409677419355-47.4096774193548
68151.2218.409677419355-67.2096774193548
69161.9218.409677419355-56.5096774193548
70157.2218.409677419355-61.2096774193548
71201.7288.169333333333-86.4693333333333
72236.4288.169333333333-51.7693333333333
73356.1288.16933333333367.9306666666667
74398.3288.169333333333110.130666666667
75403.7288.169333333333115.530666666667
76384.6288.16933333333396.4306666666667
77365.8288.16933333333377.6306666666667
78368.1288.16933333333379.9306666666667
79367.9288.16933333333379.7306666666667
80347288.16933333333358.8306666666667
81343.3288.16933333333355.1306666666667
82292.9288.1693333333334.73066666666665
83311.5288.16933333333323.3306666666667
84300.9288.16933333333312.7306666666667
85366.9288.16933333333378.7306666666667
86356.9288.16933333333368.7306666666667
87329.7288.16933333333341.5306666666667
88316.2288.16933333333328.0306666666667
89269288.169333333333-19.1693333333333
90289.3288.1693333333331.13066666666668
91266.2288.169333333333-21.9693333333333
92253.6288.169333333333-34.5693333333333
93233.8288.169333333333-54.3693333333333
94228.4288.169333333333-59.7693333333333
95253.6288.169333333333-34.5693333333333
96260.1288.169333333333-28.0693333333333
97306.6288.16933333333318.4306666666667
98309.2288.16933333333321.0306666666667
99309.5288.16933333333321.3306666666667
100271288.169333333333-17.1693333333333
101279.9288.169333333333-8.26933333333335
102317.9288.16933333333329.7306666666667
103298.4288.16933333333310.2306666666667
104246.7288.169333333333-41.4693333333333
105227.3288.169333333333-60.8693333333333
106209.1218.409677419355-9.30967741935484

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 235.1 & 218.409677419355 & 16.6903225806452 \tabularnewline
2 & 280.7 & 218.409677419355 & 62.2903225806452 \tabularnewline
3 & 264.6 & 218.409677419355 & 46.1903225806452 \tabularnewline
4 & 240.7 & 218.409677419355 & 22.2903225806452 \tabularnewline
5 & 201.4 & 218.409677419355 & -17.0096774193548 \tabularnewline
6 & 240.8 & 218.409677419355 & 22.3903225806452 \tabularnewline
7 & 241.1 & 218.409677419355 & 22.6903225806452 \tabularnewline
8 & 223.8 & 288.169333333333 & -64.3693333333333 \tabularnewline
9 & 206.1 & 288.169333333333 & -82.0693333333333 \tabularnewline
10 & 174.7 & 288.169333333333 & -113.469333333333 \tabularnewline
11 & 203.3 & 288.169333333333 & -84.8693333333333 \tabularnewline
12 & 220.5 & 288.169333333333 & -67.6693333333333 \tabularnewline
13 & 299.5 & 288.169333333333 & 11.3306666666667 \tabularnewline
14 & 347.4 & 288.169333333333 & 59.2306666666667 \tabularnewline
15 & 338.3 & 288.169333333333 & 50.1306666666667 \tabularnewline
16 & 327.7 & 288.169333333333 & 39.5306666666667 \tabularnewline
17 & 351.6 & 288.169333333333 & 63.4306666666667 \tabularnewline
18 & 396.6 & 288.169333333333 & 108.430666666667 \tabularnewline
19 & 438.8 & 288.169333333333 & 150.630666666667 \tabularnewline
20 & 395.6 & 288.169333333333 & 107.430666666667 \tabularnewline
21 & 363.5 & 288.169333333333 & 75.3306666666667 \tabularnewline
22 & 378.8 & 288.169333333333 & 90.6306666666667 \tabularnewline
23 & 357 & 288.169333333333 & 68.8306666666667 \tabularnewline
24 & 369 & 288.169333333333 & 80.8306666666667 \tabularnewline
25 & 464.8 & 288.169333333333 & 176.630666666667 \tabularnewline
26 & 479.1 & 218.409677419355 & 260.690322580645 \tabularnewline
27 & 431.3 & 288.169333333333 & 143.130666666667 \tabularnewline
28 & 366.5 & 288.169333333333 & 78.3306666666667 \tabularnewline
29 & 326.3 & 288.169333333333 & 38.1306666666667 \tabularnewline
30 & 355.1 & 218.409677419355 & 136.690322580645 \tabularnewline
31 & 331.6 & 288.169333333333 & 43.4306666666667 \tabularnewline
32 & 261.3 & 218.409677419355 & 42.8903225806452 \tabularnewline
33 & 249 & 218.409677419355 & 30.5903225806452 \tabularnewline
34 & 205.5 & 288.169333333333 & -82.6693333333333 \tabularnewline
35 & 235.6 & 288.169333333333 & -52.5693333333333 \tabularnewline
36 & 240.9 & 288.169333333333 & -47.2693333333333 \tabularnewline
37 & 264.9 & 288.169333333333 & -23.2693333333333 \tabularnewline
38 & 253.8 & 288.169333333333 & -34.3693333333333 \tabularnewline
39 & 232.3 & 218.409677419355 & 13.8903225806452 \tabularnewline
40 & 193.8 & 288.169333333333 & -94.3693333333333 \tabularnewline
41 & 177 & 288.169333333333 & -111.169333333333 \tabularnewline
42 & 213.2 & 288.169333333333 & -74.9693333333333 \tabularnewline
43 & 207.2 & 288.169333333333 & -80.9693333333333 \tabularnewline
44 & 180.6 & 288.169333333333 & -107.569333333333 \tabularnewline
45 & 188.6 & 288.169333333333 & -99.5693333333333 \tabularnewline
46 & 175.4 & 288.169333333333 & -112.769333333333 \tabularnewline
47 & 199 & 288.169333333333 & -89.1693333333333 \tabularnewline
48 & 179.6 & 288.169333333333 & -108.569333333333 \tabularnewline
49 & 225.8 & 218.409677419355 & 7.39032258064518 \tabularnewline
50 & 234 & 218.409677419355 & 15.5903225806452 \tabularnewline
51 & 200.2 & 288.169333333333 & -87.9693333333333 \tabularnewline
52 & 183.6 & 288.169333333333 & -104.569333333333 \tabularnewline
53 & 178.2 & 288.169333333333 & -109.969333333333 \tabularnewline
54 & 203.2 & 218.409677419355 & -15.2096774193548 \tabularnewline
55 & 208.5 & 218.409677419355 & -9.90967741935484 \tabularnewline
56 & 191.8 & 218.409677419355 & -26.6096774193548 \tabularnewline
57 & 172.8 & 218.409677419355 & -45.6096774193548 \tabularnewline
58 & 148 & 218.409677419355 & -70.4096774193548 \tabularnewline
59 & 159.4 & 218.409677419355 & -59.0096774193548 \tabularnewline
60 & 154.5 & 288.169333333333 & -133.669333333333 \tabularnewline
61 & 213.2 & 218.409677419355 & -5.20967741935485 \tabularnewline
62 & 196.4 & 218.409677419355 & -22.0096774193548 \tabularnewline
63 & 182.8 & 218.409677419355 & -35.6096774193548 \tabularnewline
64 & 176.4 & 218.409677419355 & -42.0096774193548 \tabularnewline
65 & 153.6 & 218.409677419355 & -64.8096774193548 \tabularnewline
66 & 173.2 & 218.409677419355 & -45.2096774193548 \tabularnewline
67 & 171 & 218.409677419355 & -47.4096774193548 \tabularnewline
68 & 151.2 & 218.409677419355 & -67.2096774193548 \tabularnewline
69 & 161.9 & 218.409677419355 & -56.5096774193548 \tabularnewline
70 & 157.2 & 218.409677419355 & -61.2096774193548 \tabularnewline
71 & 201.7 & 288.169333333333 & -86.4693333333333 \tabularnewline
72 & 236.4 & 288.169333333333 & -51.7693333333333 \tabularnewline
73 & 356.1 & 288.169333333333 & 67.9306666666667 \tabularnewline
74 & 398.3 & 288.169333333333 & 110.130666666667 \tabularnewline
75 & 403.7 & 288.169333333333 & 115.530666666667 \tabularnewline
76 & 384.6 & 288.169333333333 & 96.4306666666667 \tabularnewline
77 & 365.8 & 288.169333333333 & 77.6306666666667 \tabularnewline
78 & 368.1 & 288.169333333333 & 79.9306666666667 \tabularnewline
79 & 367.9 & 288.169333333333 & 79.7306666666667 \tabularnewline
80 & 347 & 288.169333333333 & 58.8306666666667 \tabularnewline
81 & 343.3 & 288.169333333333 & 55.1306666666667 \tabularnewline
82 & 292.9 & 288.169333333333 & 4.73066666666665 \tabularnewline
83 & 311.5 & 288.169333333333 & 23.3306666666667 \tabularnewline
84 & 300.9 & 288.169333333333 & 12.7306666666667 \tabularnewline
85 & 366.9 & 288.169333333333 & 78.7306666666667 \tabularnewline
86 & 356.9 & 288.169333333333 & 68.7306666666667 \tabularnewline
87 & 329.7 & 288.169333333333 & 41.5306666666667 \tabularnewline
88 & 316.2 & 288.169333333333 & 28.0306666666667 \tabularnewline
89 & 269 & 288.169333333333 & -19.1693333333333 \tabularnewline
90 & 289.3 & 288.169333333333 & 1.13066666666668 \tabularnewline
91 & 266.2 & 288.169333333333 & -21.9693333333333 \tabularnewline
92 & 253.6 & 288.169333333333 & -34.5693333333333 \tabularnewline
93 & 233.8 & 288.169333333333 & -54.3693333333333 \tabularnewline
94 & 228.4 & 288.169333333333 & -59.7693333333333 \tabularnewline
95 & 253.6 & 288.169333333333 & -34.5693333333333 \tabularnewline
96 & 260.1 & 288.169333333333 & -28.0693333333333 \tabularnewline
97 & 306.6 & 288.169333333333 & 18.4306666666667 \tabularnewline
98 & 309.2 & 288.169333333333 & 21.0306666666667 \tabularnewline
99 & 309.5 & 288.169333333333 & 21.3306666666667 \tabularnewline
100 & 271 & 288.169333333333 & -17.1693333333333 \tabularnewline
101 & 279.9 & 288.169333333333 & -8.26933333333335 \tabularnewline
102 & 317.9 & 288.169333333333 & 29.7306666666667 \tabularnewline
103 & 298.4 & 288.169333333333 & 10.2306666666667 \tabularnewline
104 & 246.7 & 288.169333333333 & -41.4693333333333 \tabularnewline
105 & 227.3 & 288.169333333333 & -60.8693333333333 \tabularnewline
106 & 209.1 & 218.409677419355 & -9.30967741935484 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107671&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]235.1[/C][C]218.409677419355[/C][C]16.6903225806452[/C][/ROW]
[ROW][C]2[/C][C]280.7[/C][C]218.409677419355[/C][C]62.2903225806452[/C][/ROW]
[ROW][C]3[/C][C]264.6[/C][C]218.409677419355[/C][C]46.1903225806452[/C][/ROW]
[ROW][C]4[/C][C]240.7[/C][C]218.409677419355[/C][C]22.2903225806452[/C][/ROW]
[ROW][C]5[/C][C]201.4[/C][C]218.409677419355[/C][C]-17.0096774193548[/C][/ROW]
[ROW][C]6[/C][C]240.8[/C][C]218.409677419355[/C][C]22.3903225806452[/C][/ROW]
[ROW][C]7[/C][C]241.1[/C][C]218.409677419355[/C][C]22.6903225806452[/C][/ROW]
[ROW][C]8[/C][C]223.8[/C][C]288.169333333333[/C][C]-64.3693333333333[/C][/ROW]
[ROW][C]9[/C][C]206.1[/C][C]288.169333333333[/C][C]-82.0693333333333[/C][/ROW]
[ROW][C]10[/C][C]174.7[/C][C]288.169333333333[/C][C]-113.469333333333[/C][/ROW]
[ROW][C]11[/C][C]203.3[/C][C]288.169333333333[/C][C]-84.8693333333333[/C][/ROW]
[ROW][C]12[/C][C]220.5[/C][C]288.169333333333[/C][C]-67.6693333333333[/C][/ROW]
[ROW][C]13[/C][C]299.5[/C][C]288.169333333333[/C][C]11.3306666666667[/C][/ROW]
[ROW][C]14[/C][C]347.4[/C][C]288.169333333333[/C][C]59.2306666666667[/C][/ROW]
[ROW][C]15[/C][C]338.3[/C][C]288.169333333333[/C][C]50.1306666666667[/C][/ROW]
[ROW][C]16[/C][C]327.7[/C][C]288.169333333333[/C][C]39.5306666666667[/C][/ROW]
[ROW][C]17[/C][C]351.6[/C][C]288.169333333333[/C][C]63.4306666666667[/C][/ROW]
[ROW][C]18[/C][C]396.6[/C][C]288.169333333333[/C][C]108.430666666667[/C][/ROW]
[ROW][C]19[/C][C]438.8[/C][C]288.169333333333[/C][C]150.630666666667[/C][/ROW]
[ROW][C]20[/C][C]395.6[/C][C]288.169333333333[/C][C]107.430666666667[/C][/ROW]
[ROW][C]21[/C][C]363.5[/C][C]288.169333333333[/C][C]75.3306666666667[/C][/ROW]
[ROW][C]22[/C][C]378.8[/C][C]288.169333333333[/C][C]90.6306666666667[/C][/ROW]
[ROW][C]23[/C][C]357[/C][C]288.169333333333[/C][C]68.8306666666667[/C][/ROW]
[ROW][C]24[/C][C]369[/C][C]288.169333333333[/C][C]80.8306666666667[/C][/ROW]
[ROW][C]25[/C][C]464.8[/C][C]288.169333333333[/C][C]176.630666666667[/C][/ROW]
[ROW][C]26[/C][C]479.1[/C][C]218.409677419355[/C][C]260.690322580645[/C][/ROW]
[ROW][C]27[/C][C]431.3[/C][C]288.169333333333[/C][C]143.130666666667[/C][/ROW]
[ROW][C]28[/C][C]366.5[/C][C]288.169333333333[/C][C]78.3306666666667[/C][/ROW]
[ROW][C]29[/C][C]326.3[/C][C]288.169333333333[/C][C]38.1306666666667[/C][/ROW]
[ROW][C]30[/C][C]355.1[/C][C]218.409677419355[/C][C]136.690322580645[/C][/ROW]
[ROW][C]31[/C][C]331.6[/C][C]288.169333333333[/C][C]43.4306666666667[/C][/ROW]
[ROW][C]32[/C][C]261.3[/C][C]218.409677419355[/C][C]42.8903225806452[/C][/ROW]
[ROW][C]33[/C][C]249[/C][C]218.409677419355[/C][C]30.5903225806452[/C][/ROW]
[ROW][C]34[/C][C]205.5[/C][C]288.169333333333[/C][C]-82.6693333333333[/C][/ROW]
[ROW][C]35[/C][C]235.6[/C][C]288.169333333333[/C][C]-52.5693333333333[/C][/ROW]
[ROW][C]36[/C][C]240.9[/C][C]288.169333333333[/C][C]-47.2693333333333[/C][/ROW]
[ROW][C]37[/C][C]264.9[/C][C]288.169333333333[/C][C]-23.2693333333333[/C][/ROW]
[ROW][C]38[/C][C]253.8[/C][C]288.169333333333[/C][C]-34.3693333333333[/C][/ROW]
[ROW][C]39[/C][C]232.3[/C][C]218.409677419355[/C][C]13.8903225806452[/C][/ROW]
[ROW][C]40[/C][C]193.8[/C][C]288.169333333333[/C][C]-94.3693333333333[/C][/ROW]
[ROW][C]41[/C][C]177[/C][C]288.169333333333[/C][C]-111.169333333333[/C][/ROW]
[ROW][C]42[/C][C]213.2[/C][C]288.169333333333[/C][C]-74.9693333333333[/C][/ROW]
[ROW][C]43[/C][C]207.2[/C][C]288.169333333333[/C][C]-80.9693333333333[/C][/ROW]
[ROW][C]44[/C][C]180.6[/C][C]288.169333333333[/C][C]-107.569333333333[/C][/ROW]
[ROW][C]45[/C][C]188.6[/C][C]288.169333333333[/C][C]-99.5693333333333[/C][/ROW]
[ROW][C]46[/C][C]175.4[/C][C]288.169333333333[/C][C]-112.769333333333[/C][/ROW]
[ROW][C]47[/C][C]199[/C][C]288.169333333333[/C][C]-89.1693333333333[/C][/ROW]
[ROW][C]48[/C][C]179.6[/C][C]288.169333333333[/C][C]-108.569333333333[/C][/ROW]
[ROW][C]49[/C][C]225.8[/C][C]218.409677419355[/C][C]7.39032258064518[/C][/ROW]
[ROW][C]50[/C][C]234[/C][C]218.409677419355[/C][C]15.5903225806452[/C][/ROW]
[ROW][C]51[/C][C]200.2[/C][C]288.169333333333[/C][C]-87.9693333333333[/C][/ROW]
[ROW][C]52[/C][C]183.6[/C][C]288.169333333333[/C][C]-104.569333333333[/C][/ROW]
[ROW][C]53[/C][C]178.2[/C][C]288.169333333333[/C][C]-109.969333333333[/C][/ROW]
[ROW][C]54[/C][C]203.2[/C][C]218.409677419355[/C][C]-15.2096774193548[/C][/ROW]
[ROW][C]55[/C][C]208.5[/C][C]218.409677419355[/C][C]-9.90967741935484[/C][/ROW]
[ROW][C]56[/C][C]191.8[/C][C]218.409677419355[/C][C]-26.6096774193548[/C][/ROW]
[ROW][C]57[/C][C]172.8[/C][C]218.409677419355[/C][C]-45.6096774193548[/C][/ROW]
[ROW][C]58[/C][C]148[/C][C]218.409677419355[/C][C]-70.4096774193548[/C][/ROW]
[ROW][C]59[/C][C]159.4[/C][C]218.409677419355[/C][C]-59.0096774193548[/C][/ROW]
[ROW][C]60[/C][C]154.5[/C][C]288.169333333333[/C][C]-133.669333333333[/C][/ROW]
[ROW][C]61[/C][C]213.2[/C][C]218.409677419355[/C][C]-5.20967741935485[/C][/ROW]
[ROW][C]62[/C][C]196.4[/C][C]218.409677419355[/C][C]-22.0096774193548[/C][/ROW]
[ROW][C]63[/C][C]182.8[/C][C]218.409677419355[/C][C]-35.6096774193548[/C][/ROW]
[ROW][C]64[/C][C]176.4[/C][C]218.409677419355[/C][C]-42.0096774193548[/C][/ROW]
[ROW][C]65[/C][C]153.6[/C][C]218.409677419355[/C][C]-64.8096774193548[/C][/ROW]
[ROW][C]66[/C][C]173.2[/C][C]218.409677419355[/C][C]-45.2096774193548[/C][/ROW]
[ROW][C]67[/C][C]171[/C][C]218.409677419355[/C][C]-47.4096774193548[/C][/ROW]
[ROW][C]68[/C][C]151.2[/C][C]218.409677419355[/C][C]-67.2096774193548[/C][/ROW]
[ROW][C]69[/C][C]161.9[/C][C]218.409677419355[/C][C]-56.5096774193548[/C][/ROW]
[ROW][C]70[/C][C]157.2[/C][C]218.409677419355[/C][C]-61.2096774193548[/C][/ROW]
[ROW][C]71[/C][C]201.7[/C][C]288.169333333333[/C][C]-86.4693333333333[/C][/ROW]
[ROW][C]72[/C][C]236.4[/C][C]288.169333333333[/C][C]-51.7693333333333[/C][/ROW]
[ROW][C]73[/C][C]356.1[/C][C]288.169333333333[/C][C]67.9306666666667[/C][/ROW]
[ROW][C]74[/C][C]398.3[/C][C]288.169333333333[/C][C]110.130666666667[/C][/ROW]
[ROW][C]75[/C][C]403.7[/C][C]288.169333333333[/C][C]115.530666666667[/C][/ROW]
[ROW][C]76[/C][C]384.6[/C][C]288.169333333333[/C][C]96.4306666666667[/C][/ROW]
[ROW][C]77[/C][C]365.8[/C][C]288.169333333333[/C][C]77.6306666666667[/C][/ROW]
[ROW][C]78[/C][C]368.1[/C][C]288.169333333333[/C][C]79.9306666666667[/C][/ROW]
[ROW][C]79[/C][C]367.9[/C][C]288.169333333333[/C][C]79.7306666666667[/C][/ROW]
[ROW][C]80[/C][C]347[/C][C]288.169333333333[/C][C]58.8306666666667[/C][/ROW]
[ROW][C]81[/C][C]343.3[/C][C]288.169333333333[/C][C]55.1306666666667[/C][/ROW]
[ROW][C]82[/C][C]292.9[/C][C]288.169333333333[/C][C]4.73066666666665[/C][/ROW]
[ROW][C]83[/C][C]311.5[/C][C]288.169333333333[/C][C]23.3306666666667[/C][/ROW]
[ROW][C]84[/C][C]300.9[/C][C]288.169333333333[/C][C]12.7306666666667[/C][/ROW]
[ROW][C]85[/C][C]366.9[/C][C]288.169333333333[/C][C]78.7306666666667[/C][/ROW]
[ROW][C]86[/C][C]356.9[/C][C]288.169333333333[/C][C]68.7306666666667[/C][/ROW]
[ROW][C]87[/C][C]329.7[/C][C]288.169333333333[/C][C]41.5306666666667[/C][/ROW]
[ROW][C]88[/C][C]316.2[/C][C]288.169333333333[/C][C]28.0306666666667[/C][/ROW]
[ROW][C]89[/C][C]269[/C][C]288.169333333333[/C][C]-19.1693333333333[/C][/ROW]
[ROW][C]90[/C][C]289.3[/C][C]288.169333333333[/C][C]1.13066666666668[/C][/ROW]
[ROW][C]91[/C][C]266.2[/C][C]288.169333333333[/C][C]-21.9693333333333[/C][/ROW]
[ROW][C]92[/C][C]253.6[/C][C]288.169333333333[/C][C]-34.5693333333333[/C][/ROW]
[ROW][C]93[/C][C]233.8[/C][C]288.169333333333[/C][C]-54.3693333333333[/C][/ROW]
[ROW][C]94[/C][C]228.4[/C][C]288.169333333333[/C][C]-59.7693333333333[/C][/ROW]
[ROW][C]95[/C][C]253.6[/C][C]288.169333333333[/C][C]-34.5693333333333[/C][/ROW]
[ROW][C]96[/C][C]260.1[/C][C]288.169333333333[/C][C]-28.0693333333333[/C][/ROW]
[ROW][C]97[/C][C]306.6[/C][C]288.169333333333[/C][C]18.4306666666667[/C][/ROW]
[ROW][C]98[/C][C]309.2[/C][C]288.169333333333[/C][C]21.0306666666667[/C][/ROW]
[ROW][C]99[/C][C]309.5[/C][C]288.169333333333[/C][C]21.3306666666667[/C][/ROW]
[ROW][C]100[/C][C]271[/C][C]288.169333333333[/C][C]-17.1693333333333[/C][/ROW]
[ROW][C]101[/C][C]279.9[/C][C]288.169333333333[/C][C]-8.26933333333335[/C][/ROW]
[ROW][C]102[/C][C]317.9[/C][C]288.169333333333[/C][C]29.7306666666667[/C][/ROW]
[ROW][C]103[/C][C]298.4[/C][C]288.169333333333[/C][C]10.2306666666667[/C][/ROW]
[ROW][C]104[/C][C]246.7[/C][C]288.169333333333[/C][C]-41.4693333333333[/C][/ROW]
[ROW][C]105[/C][C]227.3[/C][C]288.169333333333[/C][C]-60.8693333333333[/C][/ROW]
[ROW][C]106[/C][C]209.1[/C][C]218.409677419355[/C][C]-9.30967741935484[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107671&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107671&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
1235.1218.40967741935516.6903225806452
2280.7218.40967741935562.2903225806452
3264.6218.40967741935546.1903225806452
4240.7218.40967741935522.2903225806452
5201.4218.409677419355-17.0096774193548
6240.8218.40967741935522.3903225806452
7241.1218.40967741935522.6903225806452
8223.8288.169333333333-64.3693333333333
9206.1288.169333333333-82.0693333333333
10174.7288.169333333333-113.469333333333
11203.3288.169333333333-84.8693333333333
12220.5288.169333333333-67.6693333333333
13299.5288.16933333333311.3306666666667
14347.4288.16933333333359.2306666666667
15338.3288.16933333333350.1306666666667
16327.7288.16933333333339.5306666666667
17351.6288.16933333333363.4306666666667
18396.6288.169333333333108.430666666667
19438.8288.169333333333150.630666666667
20395.6288.169333333333107.430666666667
21363.5288.16933333333375.3306666666667
22378.8288.16933333333390.6306666666667
23357288.16933333333368.8306666666667
24369288.16933333333380.8306666666667
25464.8288.169333333333176.630666666667
26479.1218.409677419355260.690322580645
27431.3288.169333333333143.130666666667
28366.5288.16933333333378.3306666666667
29326.3288.16933333333338.1306666666667
30355.1218.409677419355136.690322580645
31331.6288.16933333333343.4306666666667
32261.3218.40967741935542.8903225806452
33249218.40967741935530.5903225806452
34205.5288.169333333333-82.6693333333333
35235.6288.169333333333-52.5693333333333
36240.9288.169333333333-47.2693333333333
37264.9288.169333333333-23.2693333333333
38253.8288.169333333333-34.3693333333333
39232.3218.40967741935513.8903225806452
40193.8288.169333333333-94.3693333333333
41177288.169333333333-111.169333333333
42213.2288.169333333333-74.9693333333333
43207.2288.169333333333-80.9693333333333
44180.6288.169333333333-107.569333333333
45188.6288.169333333333-99.5693333333333
46175.4288.169333333333-112.769333333333
47199288.169333333333-89.1693333333333
48179.6288.169333333333-108.569333333333
49225.8218.4096774193557.39032258064518
50234218.40967741935515.5903225806452
51200.2288.169333333333-87.9693333333333
52183.6288.169333333333-104.569333333333
53178.2288.169333333333-109.969333333333
54203.2218.409677419355-15.2096774193548
55208.5218.409677419355-9.90967741935484
56191.8218.409677419355-26.6096774193548
57172.8218.409677419355-45.6096774193548
58148218.409677419355-70.4096774193548
59159.4218.409677419355-59.0096774193548
60154.5288.169333333333-133.669333333333
61213.2218.409677419355-5.20967741935485
62196.4218.409677419355-22.0096774193548
63182.8218.409677419355-35.6096774193548
64176.4218.409677419355-42.0096774193548
65153.6218.409677419355-64.8096774193548
66173.2218.409677419355-45.2096774193548
67171218.409677419355-47.4096774193548
68151.2218.409677419355-67.2096774193548
69161.9218.409677419355-56.5096774193548
70157.2218.409677419355-61.2096774193548
71201.7288.169333333333-86.4693333333333
72236.4288.169333333333-51.7693333333333
73356.1288.16933333333367.9306666666667
74398.3288.169333333333110.130666666667
75403.7288.169333333333115.530666666667
76384.6288.16933333333396.4306666666667
77365.8288.16933333333377.6306666666667
78368.1288.16933333333379.9306666666667
79367.9288.16933333333379.7306666666667
80347288.16933333333358.8306666666667
81343.3288.16933333333355.1306666666667
82292.9288.1693333333334.73066666666665
83311.5288.16933333333323.3306666666667
84300.9288.16933333333312.7306666666667
85366.9288.16933333333378.7306666666667
86356.9288.16933333333368.7306666666667
87329.7288.16933333333341.5306666666667
88316.2288.16933333333328.0306666666667
89269288.169333333333-19.1693333333333
90289.3288.1693333333331.13066666666668
91266.2288.169333333333-21.9693333333333
92253.6288.169333333333-34.5693333333333
93233.8288.169333333333-54.3693333333333
94228.4288.169333333333-59.7693333333333
95253.6288.169333333333-34.5693333333333
96260.1288.169333333333-28.0693333333333
97306.6288.16933333333318.4306666666667
98309.2288.16933333333321.0306666666667
99309.5288.16933333333321.3306666666667
100271288.169333333333-17.1693333333333
101279.9288.169333333333-8.26933333333335
102317.9288.16933333333329.7306666666667
103298.4288.16933333333310.2306666666667
104246.7288.169333333333-41.4693333333333
105227.3288.169333333333-60.8693333333333
106209.1218.409677419355-9.30967741935484



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