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 computationSun, 18 Dec 2011 10:17:47 -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/18/t1324221520ymk9yjsxe9nm7u1.htm/, Retrieved Sun, 05 May 2024 10:41:43 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=156967, Retrieved Sun, 05 May 2024 10:41:43 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact74
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Recursive Partitioning (Regression Trees)] [FDB - ACM] [2011-12-18 15:17:47] [10a6f28c51bb1cb94db47cee32729d66] [Current]
Feedback Forum

Post a new message
Dataseries X:
94	11	8	7	18	12	20	4
103	0	0	0	0	0	0	0
93	16	12	9	22	14	18	5
123	24	24	19	22	25	24	4
148	0	0	0	0	0	0	0
90	15	16	12	19	15	20	4
124	0	0	0	0	0	0	0
168	17	19	16	25	20	20	9
115	19	16	17	28	21	24	8
71	19	15	9	16	15	21	11
108	28	28	28	28	28	28	4
120	26	21	20	21	11	10	4
114	15	18	16	22	22	22	6
120	26	22	22	24	22	19	4
124	24	22	12	26	24	23	4
126	10	13	11	25	20	24	10
37	25	25	18	28	23	24	4
38	22	20	20	24	24	24	11
120	15	16	12	20	21	25	4
93	0	0	0	0	0	0	0
95	21	19	16	26	20	24	4
90	27	26	21	28	25	28	6
110	26	20	17	23	24	22	8
138	22	19	17	24	21	26	5
133	0	0	0	0	0	0	0
96	22	23	18	22	25	21	9
164	20	18	15	21	23	26	4
78	21	16	20	25	20	23	7
102	0	0	0	0	0	0	0
99	0	0	0	0	0	0	0
129	0	0	0	0	0	0	0
114	0	0	0	0	0	0	0
99	22	21	21	21	22	24	4
104	21	20	12	26	25	25	4
138	0	0	0	0	0	0	0
151	0	0	0	0	0	0	0
72	8	15	6	23	23	24	7
120	22	19	13	21	19	20	12
115	0	0	0	0	0	0	0
98	20	19	19	27	21	24	7
71	17	20	14	23	25	23	8
107	23	19	12	23	24	23	4
73	20	19	17	19	24	21	9
129	20	19	9	23	21	21	4
118	19	18	10	24	28	24	4
104	22	17	11	27	18	23	4
107	13	8	10	25	26	25	4
36	14	9	7	25	18	18	7
139	24	22	22	19	22	22	4
56	18	22	16	25	26	24	4
93	18	14	11	24	12	24	4
87	23	24	20	28	20	25	4
110	24	21	17	20	20	23	4
83	23	20	14	19	24	27	4
98	20	18	16	21	22	23	12
82	18	15	12	25	20	25	4
115	22	24	15	18	23	23	4
140	0	0	0	0	0	0	0
120	22	19	15	27	19	24	5
66	15	16	10	25	24	26	15
139	19	16	18	21	16	23	10
119	21	15	10	27	19	20	5
141	0	0	0	0	0	0	0
133	20	15	16	23	18	18	9
98	18	14	5	27	25	26	4
117	16	16	10	25	17	25	7
105	0	0	0	0	0	0	0
55	17	13	8	19	17	23	5
132	24	26	16	24	24	18	4
73	19	18	16	23	22	26	4
86	24	21	24	24	20	23	8
48	19	19	18	22	19	20	5
48	20	15	14	23	18	25	4
43	19	21	9	26	20	26	4
46	21	17	21	26	21	24	6
65	15	18	7	16	21	22	10
52	22	25	16	25	25	28	4
68	14	12	8	20	21	24	11
47	11	16	5	20	22	23	14
41	16	11	10	19	12	17	11
47	22	23	22	24	24	23	4
71	25	19	17	27	18	27	4
30	0	0	0	0	0	0	0
24	22	18	20	23	19	24	5
63	22	23	18	24	22	23	4




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156967&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'AstonUniversity' @ aston.wessa.net







Goodness of Fit
Correlation0.3046
R-squared0.0928
RMSE31.7496

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.3046[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0928[/C][/ROW]
[ROW][C]RMSE[/C][C]31.7496[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=156967&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156967&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.3046
R-squared0.0928
RMSE31.7496







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
19491.38235294117652.61764705882354
2103116.764705882353-13.7647058823529
39391.38235294117651.61764705882354
412391.382352941176531.6176470588235
5148116.76470588235331.2352941176471
69091.3823529411765-1.38235294117646
7124116.7647058823537.23529411764706
816891.382352941176576.6176470588235
911591.382352941176523.6176470588235
107191.3823529411765-20.3823529411765
1110891.382352941176516.6176470588235
12120116.7647058823533.23529411764706
1311491.382352941176522.6176470588235
1412091.382352941176528.6176470588235
1512491.382352941176532.6176470588235
1612691.382352941176534.6176470588235
173791.3823529411765-54.3823529411765
183891.3823529411765-53.3823529411765
1912091.382352941176528.6176470588235
2093116.764705882353-23.7647058823529
219591.38235294117653.61764705882354
229091.3823529411765-1.38235294117646
2311091.382352941176518.6176470588235
2413891.382352941176546.6176470588235
25133116.76470588235316.2352941176471
269691.38235294117654.61764705882354
2716491.382352941176572.6176470588235
287891.3823529411765-13.3823529411765
29102116.764705882353-14.7647058823529
3099116.764705882353-17.7647058823529
31129116.76470588235312.2352941176471
32114116.764705882353-2.76470588235294
339991.38235294117657.61764705882354
3410491.382352941176512.6176470588235
35138116.76470588235321.2352941176471
36151116.76470588235334.2352941176471
377291.3823529411765-19.3823529411765
3812091.382352941176528.6176470588235
39115116.764705882353-1.76470588235294
409891.38235294117656.61764705882354
417191.3823529411765-20.3823529411765
4210791.382352941176515.6176470588235
437391.3823529411765-18.3823529411765
4412991.382352941176537.6176470588235
4511891.382352941176526.6176470588235
4610491.382352941176512.6176470588235
4710791.382352941176515.6176470588235
483691.3823529411765-55.3823529411765
4913991.382352941176547.6176470588235
505691.3823529411765-35.3823529411765
519391.38235294117651.61764705882354
528791.3823529411765-4.38235294117646
5311091.382352941176518.6176470588235
548391.3823529411765-8.38235294117646
559891.38235294117656.61764705882354
568291.3823529411765-9.38235294117646
5711591.382352941176523.6176470588235
58140116.76470588235323.2352941176471
5912091.382352941176528.6176470588235
606691.3823529411765-25.3823529411765
6113991.382352941176547.6176470588235
6211991.382352941176527.6176470588235
63141116.76470588235324.2352941176471
6413391.382352941176541.6176470588235
659891.38235294117656.61764705882354
6611791.382352941176525.6176470588235
67105116.764705882353-11.7647058823529
685591.3823529411765-36.3823529411765
6913291.382352941176540.6176470588235
707391.3823529411765-18.3823529411765
718691.3823529411765-5.38235294117646
724891.3823529411765-43.3823529411765
734891.3823529411765-43.3823529411765
744391.3823529411765-48.3823529411765
754691.3823529411765-45.3823529411765
766591.3823529411765-26.3823529411765
775291.3823529411765-39.3823529411765
786891.3823529411765-23.3823529411765
794791.3823529411765-44.3823529411765
804191.3823529411765-50.3823529411765
814791.3823529411765-44.3823529411765
827191.3823529411765-20.3823529411765
8330116.764705882353-86.764705882353
842491.3823529411765-67.3823529411765
856391.3823529411765-28.3823529411765

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 94 & 91.3823529411765 & 2.61764705882354 \tabularnewline
2 & 103 & 116.764705882353 & -13.7647058823529 \tabularnewline
3 & 93 & 91.3823529411765 & 1.61764705882354 \tabularnewline
4 & 123 & 91.3823529411765 & 31.6176470588235 \tabularnewline
5 & 148 & 116.764705882353 & 31.2352941176471 \tabularnewline
6 & 90 & 91.3823529411765 & -1.38235294117646 \tabularnewline
7 & 124 & 116.764705882353 & 7.23529411764706 \tabularnewline
8 & 168 & 91.3823529411765 & 76.6176470588235 \tabularnewline
9 & 115 & 91.3823529411765 & 23.6176470588235 \tabularnewline
10 & 71 & 91.3823529411765 & -20.3823529411765 \tabularnewline
11 & 108 & 91.3823529411765 & 16.6176470588235 \tabularnewline
12 & 120 & 116.764705882353 & 3.23529411764706 \tabularnewline
13 & 114 & 91.3823529411765 & 22.6176470588235 \tabularnewline
14 & 120 & 91.3823529411765 & 28.6176470588235 \tabularnewline
15 & 124 & 91.3823529411765 & 32.6176470588235 \tabularnewline
16 & 126 & 91.3823529411765 & 34.6176470588235 \tabularnewline
17 & 37 & 91.3823529411765 & -54.3823529411765 \tabularnewline
18 & 38 & 91.3823529411765 & -53.3823529411765 \tabularnewline
19 & 120 & 91.3823529411765 & 28.6176470588235 \tabularnewline
20 & 93 & 116.764705882353 & -23.7647058823529 \tabularnewline
21 & 95 & 91.3823529411765 & 3.61764705882354 \tabularnewline
22 & 90 & 91.3823529411765 & -1.38235294117646 \tabularnewline
23 & 110 & 91.3823529411765 & 18.6176470588235 \tabularnewline
24 & 138 & 91.3823529411765 & 46.6176470588235 \tabularnewline
25 & 133 & 116.764705882353 & 16.2352941176471 \tabularnewline
26 & 96 & 91.3823529411765 & 4.61764705882354 \tabularnewline
27 & 164 & 91.3823529411765 & 72.6176470588235 \tabularnewline
28 & 78 & 91.3823529411765 & -13.3823529411765 \tabularnewline
29 & 102 & 116.764705882353 & -14.7647058823529 \tabularnewline
30 & 99 & 116.764705882353 & -17.7647058823529 \tabularnewline
31 & 129 & 116.764705882353 & 12.2352941176471 \tabularnewline
32 & 114 & 116.764705882353 & -2.76470588235294 \tabularnewline
33 & 99 & 91.3823529411765 & 7.61764705882354 \tabularnewline
34 & 104 & 91.3823529411765 & 12.6176470588235 \tabularnewline
35 & 138 & 116.764705882353 & 21.2352941176471 \tabularnewline
36 & 151 & 116.764705882353 & 34.2352941176471 \tabularnewline
37 & 72 & 91.3823529411765 & -19.3823529411765 \tabularnewline
38 & 120 & 91.3823529411765 & 28.6176470588235 \tabularnewline
39 & 115 & 116.764705882353 & -1.76470588235294 \tabularnewline
40 & 98 & 91.3823529411765 & 6.61764705882354 \tabularnewline
41 & 71 & 91.3823529411765 & -20.3823529411765 \tabularnewline
42 & 107 & 91.3823529411765 & 15.6176470588235 \tabularnewline
43 & 73 & 91.3823529411765 & -18.3823529411765 \tabularnewline
44 & 129 & 91.3823529411765 & 37.6176470588235 \tabularnewline
45 & 118 & 91.3823529411765 & 26.6176470588235 \tabularnewline
46 & 104 & 91.3823529411765 & 12.6176470588235 \tabularnewline
47 & 107 & 91.3823529411765 & 15.6176470588235 \tabularnewline
48 & 36 & 91.3823529411765 & -55.3823529411765 \tabularnewline
49 & 139 & 91.3823529411765 & 47.6176470588235 \tabularnewline
50 & 56 & 91.3823529411765 & -35.3823529411765 \tabularnewline
51 & 93 & 91.3823529411765 & 1.61764705882354 \tabularnewline
52 & 87 & 91.3823529411765 & -4.38235294117646 \tabularnewline
53 & 110 & 91.3823529411765 & 18.6176470588235 \tabularnewline
54 & 83 & 91.3823529411765 & -8.38235294117646 \tabularnewline
55 & 98 & 91.3823529411765 & 6.61764705882354 \tabularnewline
56 & 82 & 91.3823529411765 & -9.38235294117646 \tabularnewline
57 & 115 & 91.3823529411765 & 23.6176470588235 \tabularnewline
58 & 140 & 116.764705882353 & 23.2352941176471 \tabularnewline
59 & 120 & 91.3823529411765 & 28.6176470588235 \tabularnewline
60 & 66 & 91.3823529411765 & -25.3823529411765 \tabularnewline
61 & 139 & 91.3823529411765 & 47.6176470588235 \tabularnewline
62 & 119 & 91.3823529411765 & 27.6176470588235 \tabularnewline
63 & 141 & 116.764705882353 & 24.2352941176471 \tabularnewline
64 & 133 & 91.3823529411765 & 41.6176470588235 \tabularnewline
65 & 98 & 91.3823529411765 & 6.61764705882354 \tabularnewline
66 & 117 & 91.3823529411765 & 25.6176470588235 \tabularnewline
67 & 105 & 116.764705882353 & -11.7647058823529 \tabularnewline
68 & 55 & 91.3823529411765 & -36.3823529411765 \tabularnewline
69 & 132 & 91.3823529411765 & 40.6176470588235 \tabularnewline
70 & 73 & 91.3823529411765 & -18.3823529411765 \tabularnewline
71 & 86 & 91.3823529411765 & -5.38235294117646 \tabularnewline
72 & 48 & 91.3823529411765 & -43.3823529411765 \tabularnewline
73 & 48 & 91.3823529411765 & -43.3823529411765 \tabularnewline
74 & 43 & 91.3823529411765 & -48.3823529411765 \tabularnewline
75 & 46 & 91.3823529411765 & -45.3823529411765 \tabularnewline
76 & 65 & 91.3823529411765 & -26.3823529411765 \tabularnewline
77 & 52 & 91.3823529411765 & -39.3823529411765 \tabularnewline
78 & 68 & 91.3823529411765 & -23.3823529411765 \tabularnewline
79 & 47 & 91.3823529411765 & -44.3823529411765 \tabularnewline
80 & 41 & 91.3823529411765 & -50.3823529411765 \tabularnewline
81 & 47 & 91.3823529411765 & -44.3823529411765 \tabularnewline
82 & 71 & 91.3823529411765 & -20.3823529411765 \tabularnewline
83 & 30 & 116.764705882353 & -86.764705882353 \tabularnewline
84 & 24 & 91.3823529411765 & -67.3823529411765 \tabularnewline
85 & 63 & 91.3823529411765 & -28.3823529411765 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=156967&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]94[/C][C]91.3823529411765[/C][C]2.61764705882354[/C][/ROW]
[ROW][C]2[/C][C]103[/C][C]116.764705882353[/C][C]-13.7647058823529[/C][/ROW]
[ROW][C]3[/C][C]93[/C][C]91.3823529411765[/C][C]1.61764705882354[/C][/ROW]
[ROW][C]4[/C][C]123[/C][C]91.3823529411765[/C][C]31.6176470588235[/C][/ROW]
[ROW][C]5[/C][C]148[/C][C]116.764705882353[/C][C]31.2352941176471[/C][/ROW]
[ROW][C]6[/C][C]90[/C][C]91.3823529411765[/C][C]-1.38235294117646[/C][/ROW]
[ROW][C]7[/C][C]124[/C][C]116.764705882353[/C][C]7.23529411764706[/C][/ROW]
[ROW][C]8[/C][C]168[/C][C]91.3823529411765[/C][C]76.6176470588235[/C][/ROW]
[ROW][C]9[/C][C]115[/C][C]91.3823529411765[/C][C]23.6176470588235[/C][/ROW]
[ROW][C]10[/C][C]71[/C][C]91.3823529411765[/C][C]-20.3823529411765[/C][/ROW]
[ROW][C]11[/C][C]108[/C][C]91.3823529411765[/C][C]16.6176470588235[/C][/ROW]
[ROW][C]12[/C][C]120[/C][C]116.764705882353[/C][C]3.23529411764706[/C][/ROW]
[ROW][C]13[/C][C]114[/C][C]91.3823529411765[/C][C]22.6176470588235[/C][/ROW]
[ROW][C]14[/C][C]120[/C][C]91.3823529411765[/C][C]28.6176470588235[/C][/ROW]
[ROW][C]15[/C][C]124[/C][C]91.3823529411765[/C][C]32.6176470588235[/C][/ROW]
[ROW][C]16[/C][C]126[/C][C]91.3823529411765[/C][C]34.6176470588235[/C][/ROW]
[ROW][C]17[/C][C]37[/C][C]91.3823529411765[/C][C]-54.3823529411765[/C][/ROW]
[ROW][C]18[/C][C]38[/C][C]91.3823529411765[/C][C]-53.3823529411765[/C][/ROW]
[ROW][C]19[/C][C]120[/C][C]91.3823529411765[/C][C]28.6176470588235[/C][/ROW]
[ROW][C]20[/C][C]93[/C][C]116.764705882353[/C][C]-23.7647058823529[/C][/ROW]
[ROW][C]21[/C][C]95[/C][C]91.3823529411765[/C][C]3.61764705882354[/C][/ROW]
[ROW][C]22[/C][C]90[/C][C]91.3823529411765[/C][C]-1.38235294117646[/C][/ROW]
[ROW][C]23[/C][C]110[/C][C]91.3823529411765[/C][C]18.6176470588235[/C][/ROW]
[ROW][C]24[/C][C]138[/C][C]91.3823529411765[/C][C]46.6176470588235[/C][/ROW]
[ROW][C]25[/C][C]133[/C][C]116.764705882353[/C][C]16.2352941176471[/C][/ROW]
[ROW][C]26[/C][C]96[/C][C]91.3823529411765[/C][C]4.61764705882354[/C][/ROW]
[ROW][C]27[/C][C]164[/C][C]91.3823529411765[/C][C]72.6176470588235[/C][/ROW]
[ROW][C]28[/C][C]78[/C][C]91.3823529411765[/C][C]-13.3823529411765[/C][/ROW]
[ROW][C]29[/C][C]102[/C][C]116.764705882353[/C][C]-14.7647058823529[/C][/ROW]
[ROW][C]30[/C][C]99[/C][C]116.764705882353[/C][C]-17.7647058823529[/C][/ROW]
[ROW][C]31[/C][C]129[/C][C]116.764705882353[/C][C]12.2352941176471[/C][/ROW]
[ROW][C]32[/C][C]114[/C][C]116.764705882353[/C][C]-2.76470588235294[/C][/ROW]
[ROW][C]33[/C][C]99[/C][C]91.3823529411765[/C][C]7.61764705882354[/C][/ROW]
[ROW][C]34[/C][C]104[/C][C]91.3823529411765[/C][C]12.6176470588235[/C][/ROW]
[ROW][C]35[/C][C]138[/C][C]116.764705882353[/C][C]21.2352941176471[/C][/ROW]
[ROW][C]36[/C][C]151[/C][C]116.764705882353[/C][C]34.2352941176471[/C][/ROW]
[ROW][C]37[/C][C]72[/C][C]91.3823529411765[/C][C]-19.3823529411765[/C][/ROW]
[ROW][C]38[/C][C]120[/C][C]91.3823529411765[/C][C]28.6176470588235[/C][/ROW]
[ROW][C]39[/C][C]115[/C][C]116.764705882353[/C][C]-1.76470588235294[/C][/ROW]
[ROW][C]40[/C][C]98[/C][C]91.3823529411765[/C][C]6.61764705882354[/C][/ROW]
[ROW][C]41[/C][C]71[/C][C]91.3823529411765[/C][C]-20.3823529411765[/C][/ROW]
[ROW][C]42[/C][C]107[/C][C]91.3823529411765[/C][C]15.6176470588235[/C][/ROW]
[ROW][C]43[/C][C]73[/C][C]91.3823529411765[/C][C]-18.3823529411765[/C][/ROW]
[ROW][C]44[/C][C]129[/C][C]91.3823529411765[/C][C]37.6176470588235[/C][/ROW]
[ROW][C]45[/C][C]118[/C][C]91.3823529411765[/C][C]26.6176470588235[/C][/ROW]
[ROW][C]46[/C][C]104[/C][C]91.3823529411765[/C][C]12.6176470588235[/C][/ROW]
[ROW][C]47[/C][C]107[/C][C]91.3823529411765[/C][C]15.6176470588235[/C][/ROW]
[ROW][C]48[/C][C]36[/C][C]91.3823529411765[/C][C]-55.3823529411765[/C][/ROW]
[ROW][C]49[/C][C]139[/C][C]91.3823529411765[/C][C]47.6176470588235[/C][/ROW]
[ROW][C]50[/C][C]56[/C][C]91.3823529411765[/C][C]-35.3823529411765[/C][/ROW]
[ROW][C]51[/C][C]93[/C][C]91.3823529411765[/C][C]1.61764705882354[/C][/ROW]
[ROW][C]52[/C][C]87[/C][C]91.3823529411765[/C][C]-4.38235294117646[/C][/ROW]
[ROW][C]53[/C][C]110[/C][C]91.3823529411765[/C][C]18.6176470588235[/C][/ROW]
[ROW][C]54[/C][C]83[/C][C]91.3823529411765[/C][C]-8.38235294117646[/C][/ROW]
[ROW][C]55[/C][C]98[/C][C]91.3823529411765[/C][C]6.61764705882354[/C][/ROW]
[ROW][C]56[/C][C]82[/C][C]91.3823529411765[/C][C]-9.38235294117646[/C][/ROW]
[ROW][C]57[/C][C]115[/C][C]91.3823529411765[/C][C]23.6176470588235[/C][/ROW]
[ROW][C]58[/C][C]140[/C][C]116.764705882353[/C][C]23.2352941176471[/C][/ROW]
[ROW][C]59[/C][C]120[/C][C]91.3823529411765[/C][C]28.6176470588235[/C][/ROW]
[ROW][C]60[/C][C]66[/C][C]91.3823529411765[/C][C]-25.3823529411765[/C][/ROW]
[ROW][C]61[/C][C]139[/C][C]91.3823529411765[/C][C]47.6176470588235[/C][/ROW]
[ROW][C]62[/C][C]119[/C][C]91.3823529411765[/C][C]27.6176470588235[/C][/ROW]
[ROW][C]63[/C][C]141[/C][C]116.764705882353[/C][C]24.2352941176471[/C][/ROW]
[ROW][C]64[/C][C]133[/C][C]91.3823529411765[/C][C]41.6176470588235[/C][/ROW]
[ROW][C]65[/C][C]98[/C][C]91.3823529411765[/C][C]6.61764705882354[/C][/ROW]
[ROW][C]66[/C][C]117[/C][C]91.3823529411765[/C][C]25.6176470588235[/C][/ROW]
[ROW][C]67[/C][C]105[/C][C]116.764705882353[/C][C]-11.7647058823529[/C][/ROW]
[ROW][C]68[/C][C]55[/C][C]91.3823529411765[/C][C]-36.3823529411765[/C][/ROW]
[ROW][C]69[/C][C]132[/C][C]91.3823529411765[/C][C]40.6176470588235[/C][/ROW]
[ROW][C]70[/C][C]73[/C][C]91.3823529411765[/C][C]-18.3823529411765[/C][/ROW]
[ROW][C]71[/C][C]86[/C][C]91.3823529411765[/C][C]-5.38235294117646[/C][/ROW]
[ROW][C]72[/C][C]48[/C][C]91.3823529411765[/C][C]-43.3823529411765[/C][/ROW]
[ROW][C]73[/C][C]48[/C][C]91.3823529411765[/C][C]-43.3823529411765[/C][/ROW]
[ROW][C]74[/C][C]43[/C][C]91.3823529411765[/C][C]-48.3823529411765[/C][/ROW]
[ROW][C]75[/C][C]46[/C][C]91.3823529411765[/C][C]-45.3823529411765[/C][/ROW]
[ROW][C]76[/C][C]65[/C][C]91.3823529411765[/C][C]-26.3823529411765[/C][/ROW]
[ROW][C]77[/C][C]52[/C][C]91.3823529411765[/C][C]-39.3823529411765[/C][/ROW]
[ROW][C]78[/C][C]68[/C][C]91.3823529411765[/C][C]-23.3823529411765[/C][/ROW]
[ROW][C]79[/C][C]47[/C][C]91.3823529411765[/C][C]-44.3823529411765[/C][/ROW]
[ROW][C]80[/C][C]41[/C][C]91.3823529411765[/C][C]-50.3823529411765[/C][/ROW]
[ROW][C]81[/C][C]47[/C][C]91.3823529411765[/C][C]-44.3823529411765[/C][/ROW]
[ROW][C]82[/C][C]71[/C][C]91.3823529411765[/C][C]-20.3823529411765[/C][/ROW]
[ROW][C]83[/C][C]30[/C][C]116.764705882353[/C][C]-86.764705882353[/C][/ROW]
[ROW][C]84[/C][C]24[/C][C]91.3823529411765[/C][C]-67.3823529411765[/C][/ROW]
[ROW][C]85[/C][C]63[/C][C]91.3823529411765[/C][C]-28.3823529411765[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=156967&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156967&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
19491.38235294117652.61764705882354
2103116.764705882353-13.7647058823529
39391.38235294117651.61764705882354
412391.382352941176531.6176470588235
5148116.76470588235331.2352941176471
69091.3823529411765-1.38235294117646
7124116.7647058823537.23529411764706
816891.382352941176576.6176470588235
911591.382352941176523.6176470588235
107191.3823529411765-20.3823529411765
1110891.382352941176516.6176470588235
12120116.7647058823533.23529411764706
1311491.382352941176522.6176470588235
1412091.382352941176528.6176470588235
1512491.382352941176532.6176470588235
1612691.382352941176534.6176470588235
173791.3823529411765-54.3823529411765
183891.3823529411765-53.3823529411765
1912091.382352941176528.6176470588235
2093116.764705882353-23.7647058823529
219591.38235294117653.61764705882354
229091.3823529411765-1.38235294117646
2311091.382352941176518.6176470588235
2413891.382352941176546.6176470588235
25133116.76470588235316.2352941176471
269691.38235294117654.61764705882354
2716491.382352941176572.6176470588235
287891.3823529411765-13.3823529411765
29102116.764705882353-14.7647058823529
3099116.764705882353-17.7647058823529
31129116.76470588235312.2352941176471
32114116.764705882353-2.76470588235294
339991.38235294117657.61764705882354
3410491.382352941176512.6176470588235
35138116.76470588235321.2352941176471
36151116.76470588235334.2352941176471
377291.3823529411765-19.3823529411765
3812091.382352941176528.6176470588235
39115116.764705882353-1.76470588235294
409891.38235294117656.61764705882354
417191.3823529411765-20.3823529411765
4210791.382352941176515.6176470588235
437391.3823529411765-18.3823529411765
4412991.382352941176537.6176470588235
4511891.382352941176526.6176470588235
4610491.382352941176512.6176470588235
4710791.382352941176515.6176470588235
483691.3823529411765-55.3823529411765
4913991.382352941176547.6176470588235
505691.3823529411765-35.3823529411765
519391.38235294117651.61764705882354
528791.3823529411765-4.38235294117646
5311091.382352941176518.6176470588235
548391.3823529411765-8.38235294117646
559891.38235294117656.61764705882354
568291.3823529411765-9.38235294117646
5711591.382352941176523.6176470588235
58140116.76470588235323.2352941176471
5912091.382352941176528.6176470588235
606691.3823529411765-25.3823529411765
6113991.382352941176547.6176470588235
6211991.382352941176527.6176470588235
63141116.76470588235324.2352941176471
6413391.382352941176541.6176470588235
659891.38235294117656.61764705882354
6611791.382352941176525.6176470588235
67105116.764705882353-11.7647058823529
685591.3823529411765-36.3823529411765
6913291.382352941176540.6176470588235
707391.3823529411765-18.3823529411765
718691.3823529411765-5.38235294117646
724891.3823529411765-43.3823529411765
734891.3823529411765-43.3823529411765
744391.3823529411765-48.3823529411765
754691.3823529411765-45.3823529411765
766591.3823529411765-26.3823529411765
775291.3823529411765-39.3823529411765
786891.3823529411765-23.3823529411765
794791.3823529411765-44.3823529411765
804191.3823529411765-50.3823529411765
814791.3823529411765-44.3823529411765
827191.3823529411765-20.3823529411765
8330116.764705882353-86.764705882353
842491.3823529411765-67.3823529411765
856391.3823529411765-28.3823529411765



Parameters (Session):
par1 = 1 ; par2 = quantiles ; par3 = 3 ; par4 = yes ;
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')
}