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:13:52 -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/t1324221280fer36wgkijh0hkd.htm/, Retrieved Sun, 05 May 2024 12:12:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=156960, Retrieved Sun, 05 May 2024 12:12:54 +0000
QR Codes:

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

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




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156960&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
CorrelationNA
R-squaredNA
RMSE33.3335

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156960&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
CorrelationNA
R-squaredNA
RMSE33.3335







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
19496.4588235294118-2.45882352941176
210396.45882352941186.54117647058824
39396.4588235294118-3.45882352941176
412396.458823529411826.5411764705882
514896.458823529411851.5411764705882
69096.4588235294118-6.45882352941176
712496.458823529411827.5411764705882
816896.458823529411871.5411764705882
911596.458823529411818.5411764705882
107196.4588235294118-25.4588235294118
1110896.458823529411811.5411764705882
1212096.458823529411823.5411764705882
1311496.458823529411817.5411764705882
1412096.458823529411823.5411764705882
1512496.458823529411827.5411764705882
1612696.458823529411829.5411764705882
173796.4588235294118-59.4588235294118
183896.4588235294118-58.4588235294118
1912096.458823529411823.5411764705882
209396.4588235294118-3.45882352941176
219596.4588235294118-1.45882352941176
229096.4588235294118-6.45882352941176
2311096.458823529411813.5411764705882
2413896.458823529411841.5411764705882
2513396.458823529411836.5411764705882
269696.4588235294118-0.45882352941176
2716496.458823529411867.5411764705882
287896.4588235294118-18.4588235294118
2910296.45882352941185.54117647058824
309996.45882352941182.54117647058824
3112996.458823529411832.5411764705882
3211496.458823529411817.5411764705882
339996.45882352941182.54117647058824
3410496.45882352941187.54117647058824
3513896.458823529411841.5411764705882
3615196.458823529411854.5411764705882
377296.4588235294118-24.4588235294118
3812096.458823529411823.5411764705882
3911596.458823529411818.5411764705882
409896.45882352941181.54117647058824
417196.4588235294118-25.4588235294118
4210796.458823529411810.5411764705882
437396.4588235294118-23.4588235294118
4412996.458823529411832.5411764705882
4511896.458823529411821.5411764705882
4610496.45882352941187.54117647058824
4710796.458823529411810.5411764705882
483696.4588235294118-60.4588235294118
4913996.458823529411842.5411764705882
505696.4588235294118-40.4588235294118
519396.4588235294118-3.45882352941176
528796.4588235294118-9.45882352941176
5311096.458823529411813.5411764705882
548396.4588235294118-13.4588235294118
559896.45882352941181.54117647058824
568296.4588235294118-14.4588235294118
5711596.458823529411818.5411764705882
5814096.458823529411843.5411764705882
5912096.458823529411823.5411764705882
606696.4588235294118-30.4588235294118
6113996.458823529411842.5411764705882
6211996.458823529411822.5411764705882
6314196.458823529411844.5411764705882
6413396.458823529411836.5411764705882
659896.45882352941181.54117647058824
6611796.458823529411820.5411764705882
6710596.45882352941188.54117647058824
685596.4588235294118-41.4588235294118
6913296.458823529411835.5411764705882
707396.4588235294118-23.4588235294118
718696.4588235294118-10.4588235294118
724896.4588235294118-48.4588235294118
734896.4588235294118-48.4588235294118
744396.4588235294118-53.4588235294118
754696.4588235294118-50.4588235294118
766596.4588235294118-31.4588235294118
775296.4588235294118-44.4588235294118
786896.4588235294118-28.4588235294118
794796.4588235294118-49.4588235294118
804196.4588235294118-55.4588235294118
814796.4588235294118-49.4588235294118
827196.4588235294118-25.4588235294118
833096.4588235294118-66.4588235294118
842496.4588235294118-72.4588235294118
856396.4588235294118-33.4588235294118

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 94 & 96.4588235294118 & -2.45882352941176 \tabularnewline
2 & 103 & 96.4588235294118 & 6.54117647058824 \tabularnewline
3 & 93 & 96.4588235294118 & -3.45882352941176 \tabularnewline
4 & 123 & 96.4588235294118 & 26.5411764705882 \tabularnewline
5 & 148 & 96.4588235294118 & 51.5411764705882 \tabularnewline
6 & 90 & 96.4588235294118 & -6.45882352941176 \tabularnewline
7 & 124 & 96.4588235294118 & 27.5411764705882 \tabularnewline
8 & 168 & 96.4588235294118 & 71.5411764705882 \tabularnewline
9 & 115 & 96.4588235294118 & 18.5411764705882 \tabularnewline
10 & 71 & 96.4588235294118 & -25.4588235294118 \tabularnewline
11 & 108 & 96.4588235294118 & 11.5411764705882 \tabularnewline
12 & 120 & 96.4588235294118 & 23.5411764705882 \tabularnewline
13 & 114 & 96.4588235294118 & 17.5411764705882 \tabularnewline
14 & 120 & 96.4588235294118 & 23.5411764705882 \tabularnewline
15 & 124 & 96.4588235294118 & 27.5411764705882 \tabularnewline
16 & 126 & 96.4588235294118 & 29.5411764705882 \tabularnewline
17 & 37 & 96.4588235294118 & -59.4588235294118 \tabularnewline
18 & 38 & 96.4588235294118 & -58.4588235294118 \tabularnewline
19 & 120 & 96.4588235294118 & 23.5411764705882 \tabularnewline
20 & 93 & 96.4588235294118 & -3.45882352941176 \tabularnewline
21 & 95 & 96.4588235294118 & -1.45882352941176 \tabularnewline
22 & 90 & 96.4588235294118 & -6.45882352941176 \tabularnewline
23 & 110 & 96.4588235294118 & 13.5411764705882 \tabularnewline
24 & 138 & 96.4588235294118 & 41.5411764705882 \tabularnewline
25 & 133 & 96.4588235294118 & 36.5411764705882 \tabularnewline
26 & 96 & 96.4588235294118 & -0.45882352941176 \tabularnewline
27 & 164 & 96.4588235294118 & 67.5411764705882 \tabularnewline
28 & 78 & 96.4588235294118 & -18.4588235294118 \tabularnewline
29 & 102 & 96.4588235294118 & 5.54117647058824 \tabularnewline
30 & 99 & 96.4588235294118 & 2.54117647058824 \tabularnewline
31 & 129 & 96.4588235294118 & 32.5411764705882 \tabularnewline
32 & 114 & 96.4588235294118 & 17.5411764705882 \tabularnewline
33 & 99 & 96.4588235294118 & 2.54117647058824 \tabularnewline
34 & 104 & 96.4588235294118 & 7.54117647058824 \tabularnewline
35 & 138 & 96.4588235294118 & 41.5411764705882 \tabularnewline
36 & 151 & 96.4588235294118 & 54.5411764705882 \tabularnewline
37 & 72 & 96.4588235294118 & -24.4588235294118 \tabularnewline
38 & 120 & 96.4588235294118 & 23.5411764705882 \tabularnewline
39 & 115 & 96.4588235294118 & 18.5411764705882 \tabularnewline
40 & 98 & 96.4588235294118 & 1.54117647058824 \tabularnewline
41 & 71 & 96.4588235294118 & -25.4588235294118 \tabularnewline
42 & 107 & 96.4588235294118 & 10.5411764705882 \tabularnewline
43 & 73 & 96.4588235294118 & -23.4588235294118 \tabularnewline
44 & 129 & 96.4588235294118 & 32.5411764705882 \tabularnewline
45 & 118 & 96.4588235294118 & 21.5411764705882 \tabularnewline
46 & 104 & 96.4588235294118 & 7.54117647058824 \tabularnewline
47 & 107 & 96.4588235294118 & 10.5411764705882 \tabularnewline
48 & 36 & 96.4588235294118 & -60.4588235294118 \tabularnewline
49 & 139 & 96.4588235294118 & 42.5411764705882 \tabularnewline
50 & 56 & 96.4588235294118 & -40.4588235294118 \tabularnewline
51 & 93 & 96.4588235294118 & -3.45882352941176 \tabularnewline
52 & 87 & 96.4588235294118 & -9.45882352941176 \tabularnewline
53 & 110 & 96.4588235294118 & 13.5411764705882 \tabularnewline
54 & 83 & 96.4588235294118 & -13.4588235294118 \tabularnewline
55 & 98 & 96.4588235294118 & 1.54117647058824 \tabularnewline
56 & 82 & 96.4588235294118 & -14.4588235294118 \tabularnewline
57 & 115 & 96.4588235294118 & 18.5411764705882 \tabularnewline
58 & 140 & 96.4588235294118 & 43.5411764705882 \tabularnewline
59 & 120 & 96.4588235294118 & 23.5411764705882 \tabularnewline
60 & 66 & 96.4588235294118 & -30.4588235294118 \tabularnewline
61 & 139 & 96.4588235294118 & 42.5411764705882 \tabularnewline
62 & 119 & 96.4588235294118 & 22.5411764705882 \tabularnewline
63 & 141 & 96.4588235294118 & 44.5411764705882 \tabularnewline
64 & 133 & 96.4588235294118 & 36.5411764705882 \tabularnewline
65 & 98 & 96.4588235294118 & 1.54117647058824 \tabularnewline
66 & 117 & 96.4588235294118 & 20.5411764705882 \tabularnewline
67 & 105 & 96.4588235294118 & 8.54117647058824 \tabularnewline
68 & 55 & 96.4588235294118 & -41.4588235294118 \tabularnewline
69 & 132 & 96.4588235294118 & 35.5411764705882 \tabularnewline
70 & 73 & 96.4588235294118 & -23.4588235294118 \tabularnewline
71 & 86 & 96.4588235294118 & -10.4588235294118 \tabularnewline
72 & 48 & 96.4588235294118 & -48.4588235294118 \tabularnewline
73 & 48 & 96.4588235294118 & -48.4588235294118 \tabularnewline
74 & 43 & 96.4588235294118 & -53.4588235294118 \tabularnewline
75 & 46 & 96.4588235294118 & -50.4588235294118 \tabularnewline
76 & 65 & 96.4588235294118 & -31.4588235294118 \tabularnewline
77 & 52 & 96.4588235294118 & -44.4588235294118 \tabularnewline
78 & 68 & 96.4588235294118 & -28.4588235294118 \tabularnewline
79 & 47 & 96.4588235294118 & -49.4588235294118 \tabularnewline
80 & 41 & 96.4588235294118 & -55.4588235294118 \tabularnewline
81 & 47 & 96.4588235294118 & -49.4588235294118 \tabularnewline
82 & 71 & 96.4588235294118 & -25.4588235294118 \tabularnewline
83 & 30 & 96.4588235294118 & -66.4588235294118 \tabularnewline
84 & 24 & 96.4588235294118 & -72.4588235294118 \tabularnewline
85 & 63 & 96.4588235294118 & -33.4588235294118 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=156960&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]96.4588235294118[/C][C]-2.45882352941176[/C][/ROW]
[ROW][C]2[/C][C]103[/C][C]96.4588235294118[/C][C]6.54117647058824[/C][/ROW]
[ROW][C]3[/C][C]93[/C][C]96.4588235294118[/C][C]-3.45882352941176[/C][/ROW]
[ROW][C]4[/C][C]123[/C][C]96.4588235294118[/C][C]26.5411764705882[/C][/ROW]
[ROW][C]5[/C][C]148[/C][C]96.4588235294118[/C][C]51.5411764705882[/C][/ROW]
[ROW][C]6[/C][C]90[/C][C]96.4588235294118[/C][C]-6.45882352941176[/C][/ROW]
[ROW][C]7[/C][C]124[/C][C]96.4588235294118[/C][C]27.5411764705882[/C][/ROW]
[ROW][C]8[/C][C]168[/C][C]96.4588235294118[/C][C]71.5411764705882[/C][/ROW]
[ROW][C]9[/C][C]115[/C][C]96.4588235294118[/C][C]18.5411764705882[/C][/ROW]
[ROW][C]10[/C][C]71[/C][C]96.4588235294118[/C][C]-25.4588235294118[/C][/ROW]
[ROW][C]11[/C][C]108[/C][C]96.4588235294118[/C][C]11.5411764705882[/C][/ROW]
[ROW][C]12[/C][C]120[/C][C]96.4588235294118[/C][C]23.5411764705882[/C][/ROW]
[ROW][C]13[/C][C]114[/C][C]96.4588235294118[/C][C]17.5411764705882[/C][/ROW]
[ROW][C]14[/C][C]120[/C][C]96.4588235294118[/C][C]23.5411764705882[/C][/ROW]
[ROW][C]15[/C][C]124[/C][C]96.4588235294118[/C][C]27.5411764705882[/C][/ROW]
[ROW][C]16[/C][C]126[/C][C]96.4588235294118[/C][C]29.5411764705882[/C][/ROW]
[ROW][C]17[/C][C]37[/C][C]96.4588235294118[/C][C]-59.4588235294118[/C][/ROW]
[ROW][C]18[/C][C]38[/C][C]96.4588235294118[/C][C]-58.4588235294118[/C][/ROW]
[ROW][C]19[/C][C]120[/C][C]96.4588235294118[/C][C]23.5411764705882[/C][/ROW]
[ROW][C]20[/C][C]93[/C][C]96.4588235294118[/C][C]-3.45882352941176[/C][/ROW]
[ROW][C]21[/C][C]95[/C][C]96.4588235294118[/C][C]-1.45882352941176[/C][/ROW]
[ROW][C]22[/C][C]90[/C][C]96.4588235294118[/C][C]-6.45882352941176[/C][/ROW]
[ROW][C]23[/C][C]110[/C][C]96.4588235294118[/C][C]13.5411764705882[/C][/ROW]
[ROW][C]24[/C][C]138[/C][C]96.4588235294118[/C][C]41.5411764705882[/C][/ROW]
[ROW][C]25[/C][C]133[/C][C]96.4588235294118[/C][C]36.5411764705882[/C][/ROW]
[ROW][C]26[/C][C]96[/C][C]96.4588235294118[/C][C]-0.45882352941176[/C][/ROW]
[ROW][C]27[/C][C]164[/C][C]96.4588235294118[/C][C]67.5411764705882[/C][/ROW]
[ROW][C]28[/C][C]78[/C][C]96.4588235294118[/C][C]-18.4588235294118[/C][/ROW]
[ROW][C]29[/C][C]102[/C][C]96.4588235294118[/C][C]5.54117647058824[/C][/ROW]
[ROW][C]30[/C][C]99[/C][C]96.4588235294118[/C][C]2.54117647058824[/C][/ROW]
[ROW][C]31[/C][C]129[/C][C]96.4588235294118[/C][C]32.5411764705882[/C][/ROW]
[ROW][C]32[/C][C]114[/C][C]96.4588235294118[/C][C]17.5411764705882[/C][/ROW]
[ROW][C]33[/C][C]99[/C][C]96.4588235294118[/C][C]2.54117647058824[/C][/ROW]
[ROW][C]34[/C][C]104[/C][C]96.4588235294118[/C][C]7.54117647058824[/C][/ROW]
[ROW][C]35[/C][C]138[/C][C]96.4588235294118[/C][C]41.5411764705882[/C][/ROW]
[ROW][C]36[/C][C]151[/C][C]96.4588235294118[/C][C]54.5411764705882[/C][/ROW]
[ROW][C]37[/C][C]72[/C][C]96.4588235294118[/C][C]-24.4588235294118[/C][/ROW]
[ROW][C]38[/C][C]120[/C][C]96.4588235294118[/C][C]23.5411764705882[/C][/ROW]
[ROW][C]39[/C][C]115[/C][C]96.4588235294118[/C][C]18.5411764705882[/C][/ROW]
[ROW][C]40[/C][C]98[/C][C]96.4588235294118[/C][C]1.54117647058824[/C][/ROW]
[ROW][C]41[/C][C]71[/C][C]96.4588235294118[/C][C]-25.4588235294118[/C][/ROW]
[ROW][C]42[/C][C]107[/C][C]96.4588235294118[/C][C]10.5411764705882[/C][/ROW]
[ROW][C]43[/C][C]73[/C][C]96.4588235294118[/C][C]-23.4588235294118[/C][/ROW]
[ROW][C]44[/C][C]129[/C][C]96.4588235294118[/C][C]32.5411764705882[/C][/ROW]
[ROW][C]45[/C][C]118[/C][C]96.4588235294118[/C][C]21.5411764705882[/C][/ROW]
[ROW][C]46[/C][C]104[/C][C]96.4588235294118[/C][C]7.54117647058824[/C][/ROW]
[ROW][C]47[/C][C]107[/C][C]96.4588235294118[/C][C]10.5411764705882[/C][/ROW]
[ROW][C]48[/C][C]36[/C][C]96.4588235294118[/C][C]-60.4588235294118[/C][/ROW]
[ROW][C]49[/C][C]139[/C][C]96.4588235294118[/C][C]42.5411764705882[/C][/ROW]
[ROW][C]50[/C][C]56[/C][C]96.4588235294118[/C][C]-40.4588235294118[/C][/ROW]
[ROW][C]51[/C][C]93[/C][C]96.4588235294118[/C][C]-3.45882352941176[/C][/ROW]
[ROW][C]52[/C][C]87[/C][C]96.4588235294118[/C][C]-9.45882352941176[/C][/ROW]
[ROW][C]53[/C][C]110[/C][C]96.4588235294118[/C][C]13.5411764705882[/C][/ROW]
[ROW][C]54[/C][C]83[/C][C]96.4588235294118[/C][C]-13.4588235294118[/C][/ROW]
[ROW][C]55[/C][C]98[/C][C]96.4588235294118[/C][C]1.54117647058824[/C][/ROW]
[ROW][C]56[/C][C]82[/C][C]96.4588235294118[/C][C]-14.4588235294118[/C][/ROW]
[ROW][C]57[/C][C]115[/C][C]96.4588235294118[/C][C]18.5411764705882[/C][/ROW]
[ROW][C]58[/C][C]140[/C][C]96.4588235294118[/C][C]43.5411764705882[/C][/ROW]
[ROW][C]59[/C][C]120[/C][C]96.4588235294118[/C][C]23.5411764705882[/C][/ROW]
[ROW][C]60[/C][C]66[/C][C]96.4588235294118[/C][C]-30.4588235294118[/C][/ROW]
[ROW][C]61[/C][C]139[/C][C]96.4588235294118[/C][C]42.5411764705882[/C][/ROW]
[ROW][C]62[/C][C]119[/C][C]96.4588235294118[/C][C]22.5411764705882[/C][/ROW]
[ROW][C]63[/C][C]141[/C][C]96.4588235294118[/C][C]44.5411764705882[/C][/ROW]
[ROW][C]64[/C][C]133[/C][C]96.4588235294118[/C][C]36.5411764705882[/C][/ROW]
[ROW][C]65[/C][C]98[/C][C]96.4588235294118[/C][C]1.54117647058824[/C][/ROW]
[ROW][C]66[/C][C]117[/C][C]96.4588235294118[/C][C]20.5411764705882[/C][/ROW]
[ROW][C]67[/C][C]105[/C][C]96.4588235294118[/C][C]8.54117647058824[/C][/ROW]
[ROW][C]68[/C][C]55[/C][C]96.4588235294118[/C][C]-41.4588235294118[/C][/ROW]
[ROW][C]69[/C][C]132[/C][C]96.4588235294118[/C][C]35.5411764705882[/C][/ROW]
[ROW][C]70[/C][C]73[/C][C]96.4588235294118[/C][C]-23.4588235294118[/C][/ROW]
[ROW][C]71[/C][C]86[/C][C]96.4588235294118[/C][C]-10.4588235294118[/C][/ROW]
[ROW][C]72[/C][C]48[/C][C]96.4588235294118[/C][C]-48.4588235294118[/C][/ROW]
[ROW][C]73[/C][C]48[/C][C]96.4588235294118[/C][C]-48.4588235294118[/C][/ROW]
[ROW][C]74[/C][C]43[/C][C]96.4588235294118[/C][C]-53.4588235294118[/C][/ROW]
[ROW][C]75[/C][C]46[/C][C]96.4588235294118[/C][C]-50.4588235294118[/C][/ROW]
[ROW][C]76[/C][C]65[/C][C]96.4588235294118[/C][C]-31.4588235294118[/C][/ROW]
[ROW][C]77[/C][C]52[/C][C]96.4588235294118[/C][C]-44.4588235294118[/C][/ROW]
[ROW][C]78[/C][C]68[/C][C]96.4588235294118[/C][C]-28.4588235294118[/C][/ROW]
[ROW][C]79[/C][C]47[/C][C]96.4588235294118[/C][C]-49.4588235294118[/C][/ROW]
[ROW][C]80[/C][C]41[/C][C]96.4588235294118[/C][C]-55.4588235294118[/C][/ROW]
[ROW][C]81[/C][C]47[/C][C]96.4588235294118[/C][C]-49.4588235294118[/C][/ROW]
[ROW][C]82[/C][C]71[/C][C]96.4588235294118[/C][C]-25.4588235294118[/C][/ROW]
[ROW][C]83[/C][C]30[/C][C]96.4588235294118[/C][C]-66.4588235294118[/C][/ROW]
[ROW][C]84[/C][C]24[/C][C]96.4588235294118[/C][C]-72.4588235294118[/C][/ROW]
[ROW][C]85[/C][C]63[/C][C]96.4588235294118[/C][C]-33.4588235294118[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=156960&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156960&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
19496.4588235294118-2.45882352941176
210396.45882352941186.54117647058824
39396.4588235294118-3.45882352941176
412396.458823529411826.5411764705882
514896.458823529411851.5411764705882
69096.4588235294118-6.45882352941176
712496.458823529411827.5411764705882
816896.458823529411871.5411764705882
911596.458823529411818.5411764705882
107196.4588235294118-25.4588235294118
1110896.458823529411811.5411764705882
1212096.458823529411823.5411764705882
1311496.458823529411817.5411764705882
1412096.458823529411823.5411764705882
1512496.458823529411827.5411764705882
1612696.458823529411829.5411764705882
173796.4588235294118-59.4588235294118
183896.4588235294118-58.4588235294118
1912096.458823529411823.5411764705882
209396.4588235294118-3.45882352941176
219596.4588235294118-1.45882352941176
229096.4588235294118-6.45882352941176
2311096.458823529411813.5411764705882
2413896.458823529411841.5411764705882
2513396.458823529411836.5411764705882
269696.4588235294118-0.45882352941176
2716496.458823529411867.5411764705882
287896.4588235294118-18.4588235294118
2910296.45882352941185.54117647058824
309996.45882352941182.54117647058824
3112996.458823529411832.5411764705882
3211496.458823529411817.5411764705882
339996.45882352941182.54117647058824
3410496.45882352941187.54117647058824
3513896.458823529411841.5411764705882
3615196.458823529411854.5411764705882
377296.4588235294118-24.4588235294118
3812096.458823529411823.5411764705882
3911596.458823529411818.5411764705882
409896.45882352941181.54117647058824
417196.4588235294118-25.4588235294118
4210796.458823529411810.5411764705882
437396.4588235294118-23.4588235294118
4412996.458823529411832.5411764705882
4511896.458823529411821.5411764705882
4610496.45882352941187.54117647058824
4710796.458823529411810.5411764705882
483696.4588235294118-60.4588235294118
4913996.458823529411842.5411764705882
505696.4588235294118-40.4588235294118
519396.4588235294118-3.45882352941176
528796.4588235294118-9.45882352941176
5311096.458823529411813.5411764705882
548396.4588235294118-13.4588235294118
559896.45882352941181.54117647058824
568296.4588235294118-14.4588235294118
5711596.458823529411818.5411764705882
5814096.458823529411843.5411764705882
5912096.458823529411823.5411764705882
606696.4588235294118-30.4588235294118
6113996.458823529411842.5411764705882
6211996.458823529411822.5411764705882
6314196.458823529411844.5411764705882
6413396.458823529411836.5411764705882
659896.45882352941181.54117647058824
6611796.458823529411820.5411764705882
6710596.45882352941188.54117647058824
685596.4588235294118-41.4588235294118
6913296.458823529411835.5411764705882
707396.4588235294118-23.4588235294118
718696.4588235294118-10.4588235294118
724896.4588235294118-48.4588235294118
734896.4588235294118-48.4588235294118
744396.4588235294118-53.4588235294118
754696.4588235294118-50.4588235294118
766596.4588235294118-31.4588235294118
775296.4588235294118-44.4588235294118
786896.4588235294118-28.4588235294118
794796.4588235294118-49.4588235294118
804196.4588235294118-55.4588235294118
814796.4588235294118-49.4588235294118
827196.4588235294118-25.4588235294118
833096.4588235294118-66.4588235294118
842496.4588235294118-72.4588235294118
856396.4588235294118-33.4588235294118



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