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

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact87
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Recursive Partitioning (Regression Trees)] [] [2010-12-05 20:06:20] [b98453cac15ba1066b407e146608df68]
- R PD  [Recursive Partitioning (Regression Trees)] [] [2011-12-16 13:36:38] [aefb5c2d4042694c5b6b82f93ac1885a]
-   PD      [Recursive Partitioning (Regression Trees)] [] [2011-12-18 18:54:54] [5f7ae77ad4c15dc18491c39fdf8bddde] [Current]
-             [Recursive Partitioning (Regression Trees)] [] [2011-12-19 19:09:16] [74be16979710d4c4e7c6647856088456]
Feedback Forum

Post a new message
Dataseries X:
269998	38	116	140824	186099	165
176565	34	127	110459	113854	132
222373	42	106	105079	99776	121
218443	38	133	112098	106194	145
157206	27	64	43929	100792	71
70849	35	89	76173	47552	47
482608	33	122	187326	250931	177
33186	18	22	22807	6853	5
207822	34	117	144408	115466	124
211698	33	82	66485	110896	92
292874	42	136	79089	169351	149
235891	55	184	81625	94853	93
156623	35	106	68788	72591	70
344166	52	162	103297	101345	148
211787	42	86	69446	113713	100
369753	59	199	114948	165354	142
292100	36	139	167949	164263	194
315018	39	92	125081	135213	113
172883	29	85	125818	111669	162
256016	46	174	136588	134163	186
269240	45	148	112431	140303	147
425544	39	144	103037	150773	137
161962	25	84	82317	111848	71
189897	52	208	118906	102509	123
207445	41	144	83515	96785	134
203723	38	139	104581	116136	115
267198	41	127	103129	158376	138
263212	39	136	83243	153990	125
155915	32	99	37110	64057	66
326805	41	135	113344	230054	137
271661	45	165	139165	184531	152
197192	47	139	86652	114198	159
318563	48	178	112302	198299	159
97717	37	137	69652	33750	31
346931	39	148	119442	189723	185
273950	42	127	69867	100826	78
411809	41	141	101629	188355	117
208192	36	89	70168	104470	109
115469	17	46	31081	58391	41
328339	39	143	103925	164808	149
324178	39	122	92622	134097	123
157897	38	103	79011	80238	103
192883	36	108	93487	133252	87
173450	42	126	64520	54518	71
153778	45	45	93473	121850	51
445562	38	122	114360	79367	70
78800	26	66	33032	56968	21
208051	52	180	96125	106314	155
323152	47	165	151911	191889	172
175523	45	146	89256	104864	133
213050	40	137	95671	160791	125
24188	4	7	5950	15049	7
372225	44	157	149695	191179	158
65029	18	61	32551	25109	21
101097	14	41	31701	45824	35
269593	37	120	100087	129711	133
302218	56	208	169707	210012	169
315889	36	127	150491	194679	256
322546	41	147	120192	197680	190
246873	36	127	95893	81180	100
360665	46	161	151715	197765	171
296186	28	73	176225	214738	267
232391	42	94	59900	96252	80
254550	42	142	104767	124527	126
228595	37	125	114799	153242	132
216027	30	87	72128	145707	121
187959	35	128	143592	113963	156
227699	44	148	89626	134904	133
229698	36	116	131072	114268	199
166791	28	89	126817	94333	98
239277	45	154	81351	102204	109
73566	23	67	22618	23824	25
242498	45	171	88977	111563	113
187167	38	90	92059	91313	126
178281	38	133	81897	89770	137
349060	42	137	108146	100125	121
323126	36	133	126372	165278	178
206059	41	125	249771	181712	63
184970	38	134	71154	80906	109
168990	37	110	71571	75881	101
153613	28	89	55918	83963	61
429481	45	138	160141	175721	157
145919	26	99	38692	68580	38
280343	44	92	102812	136323	159
80953	8	27	56622	55792	58
148106	27	77	15986	25157	27
146777	35	127	123534	100922	108
336054	37	137	108535	118845	83
307486	57	122	93879	170492	88
178495	41	143	144551	81716	164
251466	37	85	56750	115750	96
230961	38	131	127654	105590	192
175244	31	90	65594	92795	94
261494	36	135	59938	82390	107
301883	36	132	146975	135599	144
189252	36	139	143372	111542	123
222504	35	127	168553	162519	170
278170	39	104	183500	211381	210
367723	58	221	165986	189944	193
392346	30	106	184923	226168	297
284676	51	176	140358	117495	125
273642	41	130	149959	195894	204
186856	36	59	57224	80684	70
43287	19	64	43750	19630	49
185302	23	36	48029	88634	82
203088	40	88	104978	139292	205
259692	40	125	100046	128602	111
301456	40	124	101047	135848	135
119969	30	83	197426	178377	59
153028	41	127	160902	106330	70
306952	40	143	147172	178303	108
297807	45	115	109432	116938	141
23623	1	0	1168	5841	11
175532	36	94	83248	106020	130
61857	11	30	25162	24610	28
163766	45	119	45724	74151	101
384053	38	102	110529	232241	216
21054	0	0	855	6622	4
252805	30	77	101382	127097	97
31961	8	9	14116	13155	39
294609	39	137	89506	160501	119
235069	46	157	135356	91502	118
174862	48	146	116066	24469	41
152043	29	84	144244	88229	107
38214	8	21	8773	13983	16
189451	39	139	102153	80716	69
344802	47	168	117440	157384	160
190943	50	163	104128	122975	158
396160	48	167	134238	191469	161
314212	48	145	134047	231257	165
396712	50	175	279488	258287	246
187992	40	137	79756	122531	89
102424	36	100	66089	61394	49
283392	40	150	102070	86480	107
401260	46	163	146760	195791	182
135936	39	137	154771	18284	16
373146	42	149	165933	147581	173
157429	39	112	64593	72558	90
236370	41	135	92280	147341	140
258959	42	114	67150	114651	142
214338	32	45	128692	100187	126
363154	39	120	124089	130332	123
232339	36	115	125386	134218	239
173260	21	78	37238	10901	15
317676	45	136	140015	145758	170
168994	50	179	150047	75767	123
233293	36	118	154451	134969	151
301585	44	147	156349	169216	194
216803	37	88	84601	105406	122
365230	47	115	68946	174586	173
46660	5	13	6179	21509	13
116678	43	76	52789	15673	35
195592	31	63	100350	75882	72




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157132&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 time4 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Goodness of Fit
Correlation0.8754
R-squared0.7663
RMSE20.731

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157132&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.8754
R-squared0.7663
RMSE20.731







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1116131.833333333333-15.8333333333333
2127114.87234042553212.1276595744681
3106114.872340425532-8.87234042553192
4133114.87234042553218.1276595744681
56477.5-13.5
689114.872340425532-25.8723404255319
7122131.833333333333-9.83333333333334
82223.0833333333333-1.08333333333333
9117114.8723404255322.12765957446808
1082114.872340425532-32.8723404255319
11136131.8333333333334.16666666666666
12184168.95833333333315.0416666666667
13106114.872340425532-8.87234042553192
14162168.958333333333-6.95833333333334
1586114.872340425532-28.8723404255319
16199168.95833333333330.0416666666667
17139131.8333333333337.16666666666666
1892131.833333333333-39.8333333333333
198577.57.5
20174168.9583333333335.04166666666666
21148131.83333333333316.1666666666667
22144131.83333333333312.1666666666667
238477.56.5
24208168.95833333333339.0416666666667
25144114.87234042553229.1276595744681
26139114.87234042553224.1276595744681
27127131.833333333333-4.83333333333334
28136131.8333333333334.16666666666666
299977.521.5
30135131.8333333333333.16666666666666
31165131.83333333333333.1666666666667
32139168.958333333333-29.9583333333333
33178168.9583333333339.04166666666666
34137114.87234042553222.1276595744681
35148131.83333333333316.1666666666667
36127131.833333333333-4.83333333333334
37141131.8333333333339.16666666666666
3889114.872340425532-25.8723404255319
394623.083333333333322.9166666666667
40143131.83333333333311.1666666666667
41122131.833333333333-9.83333333333334
42103114.872340425532-11.8723404255319
43108114.872340425532-6.87234042553192
44126114.87234042553211.1276595744681
4545114.872340425532-69.8723404255319
46122131.833333333333-9.83333333333334
476677.5-11.5
48180168.95833333333311.0416666666667
49165168.958333333333-3.95833333333334
50146114.87234042553231.1276595744681
51137114.87234042553222.1276595744681
52723.0833333333333-16.0833333333333
53157131.83333333333325.1666666666667
546123.083333333333337.9166666666667
554123.083333333333317.9166666666667
56120131.833333333333-11.8333333333333
57208168.95833333333339.0416666666667
58127131.833333333333-4.83333333333334
59147131.83333333333315.1666666666667
60127131.833333333333-4.83333333333334
61161168.958333333333-7.95833333333334
627377.5-4.5
6394114.872340425532-20.8723404255319
64142131.83333333333310.1666666666667
65125114.87234042553210.1276595744681
668777.59.5
67128114.87234042553213.1276595744681
68148114.87234042553233.1276595744681
69116114.8723404255321.12765957446808
708977.511.5
71154131.83333333333322.1666666666667
726777.5-10.5
73171131.83333333333339.1666666666667
7490114.872340425532-24.8723404255319
75133114.87234042553218.1276595744681
76137131.8333333333335.16666666666666
77133131.8333333333331.16666666666666
78125114.87234042553210.1276595744681
79134114.87234042553219.1276595744681
80110114.872340425532-4.87234042553192
818977.511.5
82138131.8333333333336.16666666666666
839977.521.5
8492131.833333333333-39.8333333333333
852723.08333333333333.91666666666667
867777.5-0.5
87127114.87234042553212.1276595744681
88137131.8333333333335.16666666666666
89122168.958333333333-46.9583333333333
90143114.87234042553228.1276595744681
9185131.833333333333-46.8333333333333
92131114.87234042553216.1276595744681
939077.512.5
94135131.8333333333333.16666666666666
95132131.8333333333330.166666666666657
96139114.87234042553224.1276595744681
97127114.87234042553212.1276595744681
98104131.833333333333-27.8333333333333
99221168.95833333333352.0416666666667
10010677.528.5
101176168.9583333333337.04166666666666
102130131.833333333333-1.83333333333334
10359114.872340425532-55.8723404255319
1046477.5-13.5
1053677.5-41.5
10688114.872340425532-26.8723404255319
107125131.833333333333-6.83333333333334
108124131.833333333333-7.83333333333334
1098377.55.5
110127114.87234042553212.1276595744681
111143131.83333333333311.1666666666667
112115131.833333333333-16.8333333333333
113023.0833333333333-23.0833333333333
11494114.872340425532-20.8723404255319
1153023.08333333333336.91666666666667
116119114.8723404255324.12765957446808
117102131.833333333333-29.8333333333333
118023.0833333333333-23.0833333333333
1197777.5-0.5
120923.0833333333333-14.0833333333333
121137131.8333333333335.16666666666666
122157168.958333333333-11.9583333333333
123146168.958333333333-22.9583333333333
1248477.56.5
1252123.0833333333333-2.08333333333333
126139114.87234042553224.1276595744681
127168168.958333333333-0.958333333333343
128163168.958333333333-5.95833333333334
129167168.958333333333-1.95833333333334
130145168.958333333333-23.9583333333333
131175168.9583333333336.04166666666666
132137114.87234042553222.1276595744681
133100114.872340425532-14.8723404255319
134150131.83333333333318.1666666666667
135163168.958333333333-5.95833333333334
136137114.87234042553222.1276595744681
137149131.83333333333317.1666666666667
138112114.872340425532-2.87234042553192
139135131.8333333333333.16666666666666
140114131.833333333333-17.8333333333333
1414577.5-32.5
142120131.833333333333-11.8333333333333
143115114.8723404255320.127659574468083
1447877.50.5
145136131.8333333333334.16666666666666
146179168.95833333333310.0416666666667
147118114.8723404255323.12765957446808
148147131.83333333333315.1666666666667
14988114.872340425532-26.8723404255319
150115168.958333333333-53.9583333333333
1511323.0833333333333-10.0833333333333
15276114.872340425532-38.8723404255319
1536377.5-14.5

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 116 & 131.833333333333 & -15.8333333333333 \tabularnewline
2 & 127 & 114.872340425532 & 12.1276595744681 \tabularnewline
3 & 106 & 114.872340425532 & -8.87234042553192 \tabularnewline
4 & 133 & 114.872340425532 & 18.1276595744681 \tabularnewline
5 & 64 & 77.5 & -13.5 \tabularnewline
6 & 89 & 114.872340425532 & -25.8723404255319 \tabularnewline
7 & 122 & 131.833333333333 & -9.83333333333334 \tabularnewline
8 & 22 & 23.0833333333333 & -1.08333333333333 \tabularnewline
9 & 117 & 114.872340425532 & 2.12765957446808 \tabularnewline
10 & 82 & 114.872340425532 & -32.8723404255319 \tabularnewline
11 & 136 & 131.833333333333 & 4.16666666666666 \tabularnewline
12 & 184 & 168.958333333333 & 15.0416666666667 \tabularnewline
13 & 106 & 114.872340425532 & -8.87234042553192 \tabularnewline
14 & 162 & 168.958333333333 & -6.95833333333334 \tabularnewline
15 & 86 & 114.872340425532 & -28.8723404255319 \tabularnewline
16 & 199 & 168.958333333333 & 30.0416666666667 \tabularnewline
17 & 139 & 131.833333333333 & 7.16666666666666 \tabularnewline
18 & 92 & 131.833333333333 & -39.8333333333333 \tabularnewline
19 & 85 & 77.5 & 7.5 \tabularnewline
20 & 174 & 168.958333333333 & 5.04166666666666 \tabularnewline
21 & 148 & 131.833333333333 & 16.1666666666667 \tabularnewline
22 & 144 & 131.833333333333 & 12.1666666666667 \tabularnewline
23 & 84 & 77.5 & 6.5 \tabularnewline
24 & 208 & 168.958333333333 & 39.0416666666667 \tabularnewline
25 & 144 & 114.872340425532 & 29.1276595744681 \tabularnewline
26 & 139 & 114.872340425532 & 24.1276595744681 \tabularnewline
27 & 127 & 131.833333333333 & -4.83333333333334 \tabularnewline
28 & 136 & 131.833333333333 & 4.16666666666666 \tabularnewline
29 & 99 & 77.5 & 21.5 \tabularnewline
30 & 135 & 131.833333333333 & 3.16666666666666 \tabularnewline
31 & 165 & 131.833333333333 & 33.1666666666667 \tabularnewline
32 & 139 & 168.958333333333 & -29.9583333333333 \tabularnewline
33 & 178 & 168.958333333333 & 9.04166666666666 \tabularnewline
34 & 137 & 114.872340425532 & 22.1276595744681 \tabularnewline
35 & 148 & 131.833333333333 & 16.1666666666667 \tabularnewline
36 & 127 & 131.833333333333 & -4.83333333333334 \tabularnewline
37 & 141 & 131.833333333333 & 9.16666666666666 \tabularnewline
38 & 89 & 114.872340425532 & -25.8723404255319 \tabularnewline
39 & 46 & 23.0833333333333 & 22.9166666666667 \tabularnewline
40 & 143 & 131.833333333333 & 11.1666666666667 \tabularnewline
41 & 122 & 131.833333333333 & -9.83333333333334 \tabularnewline
42 & 103 & 114.872340425532 & -11.8723404255319 \tabularnewline
43 & 108 & 114.872340425532 & -6.87234042553192 \tabularnewline
44 & 126 & 114.872340425532 & 11.1276595744681 \tabularnewline
45 & 45 & 114.872340425532 & -69.8723404255319 \tabularnewline
46 & 122 & 131.833333333333 & -9.83333333333334 \tabularnewline
47 & 66 & 77.5 & -11.5 \tabularnewline
48 & 180 & 168.958333333333 & 11.0416666666667 \tabularnewline
49 & 165 & 168.958333333333 & -3.95833333333334 \tabularnewline
50 & 146 & 114.872340425532 & 31.1276595744681 \tabularnewline
51 & 137 & 114.872340425532 & 22.1276595744681 \tabularnewline
52 & 7 & 23.0833333333333 & -16.0833333333333 \tabularnewline
53 & 157 & 131.833333333333 & 25.1666666666667 \tabularnewline
54 & 61 & 23.0833333333333 & 37.9166666666667 \tabularnewline
55 & 41 & 23.0833333333333 & 17.9166666666667 \tabularnewline
56 & 120 & 131.833333333333 & -11.8333333333333 \tabularnewline
57 & 208 & 168.958333333333 & 39.0416666666667 \tabularnewline
58 & 127 & 131.833333333333 & -4.83333333333334 \tabularnewline
59 & 147 & 131.833333333333 & 15.1666666666667 \tabularnewline
60 & 127 & 131.833333333333 & -4.83333333333334 \tabularnewline
61 & 161 & 168.958333333333 & -7.95833333333334 \tabularnewline
62 & 73 & 77.5 & -4.5 \tabularnewline
63 & 94 & 114.872340425532 & -20.8723404255319 \tabularnewline
64 & 142 & 131.833333333333 & 10.1666666666667 \tabularnewline
65 & 125 & 114.872340425532 & 10.1276595744681 \tabularnewline
66 & 87 & 77.5 & 9.5 \tabularnewline
67 & 128 & 114.872340425532 & 13.1276595744681 \tabularnewline
68 & 148 & 114.872340425532 & 33.1276595744681 \tabularnewline
69 & 116 & 114.872340425532 & 1.12765957446808 \tabularnewline
70 & 89 & 77.5 & 11.5 \tabularnewline
71 & 154 & 131.833333333333 & 22.1666666666667 \tabularnewline
72 & 67 & 77.5 & -10.5 \tabularnewline
73 & 171 & 131.833333333333 & 39.1666666666667 \tabularnewline
74 & 90 & 114.872340425532 & -24.8723404255319 \tabularnewline
75 & 133 & 114.872340425532 & 18.1276595744681 \tabularnewline
76 & 137 & 131.833333333333 & 5.16666666666666 \tabularnewline
77 & 133 & 131.833333333333 & 1.16666666666666 \tabularnewline
78 & 125 & 114.872340425532 & 10.1276595744681 \tabularnewline
79 & 134 & 114.872340425532 & 19.1276595744681 \tabularnewline
80 & 110 & 114.872340425532 & -4.87234042553192 \tabularnewline
81 & 89 & 77.5 & 11.5 \tabularnewline
82 & 138 & 131.833333333333 & 6.16666666666666 \tabularnewline
83 & 99 & 77.5 & 21.5 \tabularnewline
84 & 92 & 131.833333333333 & -39.8333333333333 \tabularnewline
85 & 27 & 23.0833333333333 & 3.91666666666667 \tabularnewline
86 & 77 & 77.5 & -0.5 \tabularnewline
87 & 127 & 114.872340425532 & 12.1276595744681 \tabularnewline
88 & 137 & 131.833333333333 & 5.16666666666666 \tabularnewline
89 & 122 & 168.958333333333 & -46.9583333333333 \tabularnewline
90 & 143 & 114.872340425532 & 28.1276595744681 \tabularnewline
91 & 85 & 131.833333333333 & -46.8333333333333 \tabularnewline
92 & 131 & 114.872340425532 & 16.1276595744681 \tabularnewline
93 & 90 & 77.5 & 12.5 \tabularnewline
94 & 135 & 131.833333333333 & 3.16666666666666 \tabularnewline
95 & 132 & 131.833333333333 & 0.166666666666657 \tabularnewline
96 & 139 & 114.872340425532 & 24.1276595744681 \tabularnewline
97 & 127 & 114.872340425532 & 12.1276595744681 \tabularnewline
98 & 104 & 131.833333333333 & -27.8333333333333 \tabularnewline
99 & 221 & 168.958333333333 & 52.0416666666667 \tabularnewline
100 & 106 & 77.5 & 28.5 \tabularnewline
101 & 176 & 168.958333333333 & 7.04166666666666 \tabularnewline
102 & 130 & 131.833333333333 & -1.83333333333334 \tabularnewline
103 & 59 & 114.872340425532 & -55.8723404255319 \tabularnewline
104 & 64 & 77.5 & -13.5 \tabularnewline
105 & 36 & 77.5 & -41.5 \tabularnewline
106 & 88 & 114.872340425532 & -26.8723404255319 \tabularnewline
107 & 125 & 131.833333333333 & -6.83333333333334 \tabularnewline
108 & 124 & 131.833333333333 & -7.83333333333334 \tabularnewline
109 & 83 & 77.5 & 5.5 \tabularnewline
110 & 127 & 114.872340425532 & 12.1276595744681 \tabularnewline
111 & 143 & 131.833333333333 & 11.1666666666667 \tabularnewline
112 & 115 & 131.833333333333 & -16.8333333333333 \tabularnewline
113 & 0 & 23.0833333333333 & -23.0833333333333 \tabularnewline
114 & 94 & 114.872340425532 & -20.8723404255319 \tabularnewline
115 & 30 & 23.0833333333333 & 6.91666666666667 \tabularnewline
116 & 119 & 114.872340425532 & 4.12765957446808 \tabularnewline
117 & 102 & 131.833333333333 & -29.8333333333333 \tabularnewline
118 & 0 & 23.0833333333333 & -23.0833333333333 \tabularnewline
119 & 77 & 77.5 & -0.5 \tabularnewline
120 & 9 & 23.0833333333333 & -14.0833333333333 \tabularnewline
121 & 137 & 131.833333333333 & 5.16666666666666 \tabularnewline
122 & 157 & 168.958333333333 & -11.9583333333333 \tabularnewline
123 & 146 & 168.958333333333 & -22.9583333333333 \tabularnewline
124 & 84 & 77.5 & 6.5 \tabularnewline
125 & 21 & 23.0833333333333 & -2.08333333333333 \tabularnewline
126 & 139 & 114.872340425532 & 24.1276595744681 \tabularnewline
127 & 168 & 168.958333333333 & -0.958333333333343 \tabularnewline
128 & 163 & 168.958333333333 & -5.95833333333334 \tabularnewline
129 & 167 & 168.958333333333 & -1.95833333333334 \tabularnewline
130 & 145 & 168.958333333333 & -23.9583333333333 \tabularnewline
131 & 175 & 168.958333333333 & 6.04166666666666 \tabularnewline
132 & 137 & 114.872340425532 & 22.1276595744681 \tabularnewline
133 & 100 & 114.872340425532 & -14.8723404255319 \tabularnewline
134 & 150 & 131.833333333333 & 18.1666666666667 \tabularnewline
135 & 163 & 168.958333333333 & -5.95833333333334 \tabularnewline
136 & 137 & 114.872340425532 & 22.1276595744681 \tabularnewline
137 & 149 & 131.833333333333 & 17.1666666666667 \tabularnewline
138 & 112 & 114.872340425532 & -2.87234042553192 \tabularnewline
139 & 135 & 131.833333333333 & 3.16666666666666 \tabularnewline
140 & 114 & 131.833333333333 & -17.8333333333333 \tabularnewline
141 & 45 & 77.5 & -32.5 \tabularnewline
142 & 120 & 131.833333333333 & -11.8333333333333 \tabularnewline
143 & 115 & 114.872340425532 & 0.127659574468083 \tabularnewline
144 & 78 & 77.5 & 0.5 \tabularnewline
145 & 136 & 131.833333333333 & 4.16666666666666 \tabularnewline
146 & 179 & 168.958333333333 & 10.0416666666667 \tabularnewline
147 & 118 & 114.872340425532 & 3.12765957446808 \tabularnewline
148 & 147 & 131.833333333333 & 15.1666666666667 \tabularnewline
149 & 88 & 114.872340425532 & -26.8723404255319 \tabularnewline
150 & 115 & 168.958333333333 & -53.9583333333333 \tabularnewline
151 & 13 & 23.0833333333333 & -10.0833333333333 \tabularnewline
152 & 76 & 114.872340425532 & -38.8723404255319 \tabularnewline
153 & 63 & 77.5 & -14.5 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157132&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]116[/C][C]131.833333333333[/C][C]-15.8333333333333[/C][/ROW]
[ROW][C]2[/C][C]127[/C][C]114.872340425532[/C][C]12.1276595744681[/C][/ROW]
[ROW][C]3[/C][C]106[/C][C]114.872340425532[/C][C]-8.87234042553192[/C][/ROW]
[ROW][C]4[/C][C]133[/C][C]114.872340425532[/C][C]18.1276595744681[/C][/ROW]
[ROW][C]5[/C][C]64[/C][C]77.5[/C][C]-13.5[/C][/ROW]
[ROW][C]6[/C][C]89[/C][C]114.872340425532[/C][C]-25.8723404255319[/C][/ROW]
[ROW][C]7[/C][C]122[/C][C]131.833333333333[/C][C]-9.83333333333334[/C][/ROW]
[ROW][C]8[/C][C]22[/C][C]23.0833333333333[/C][C]-1.08333333333333[/C][/ROW]
[ROW][C]9[/C][C]117[/C][C]114.872340425532[/C][C]2.12765957446808[/C][/ROW]
[ROW][C]10[/C][C]82[/C][C]114.872340425532[/C][C]-32.8723404255319[/C][/ROW]
[ROW][C]11[/C][C]136[/C][C]131.833333333333[/C][C]4.16666666666666[/C][/ROW]
[ROW][C]12[/C][C]184[/C][C]168.958333333333[/C][C]15.0416666666667[/C][/ROW]
[ROW][C]13[/C][C]106[/C][C]114.872340425532[/C][C]-8.87234042553192[/C][/ROW]
[ROW][C]14[/C][C]162[/C][C]168.958333333333[/C][C]-6.95833333333334[/C][/ROW]
[ROW][C]15[/C][C]86[/C][C]114.872340425532[/C][C]-28.8723404255319[/C][/ROW]
[ROW][C]16[/C][C]199[/C][C]168.958333333333[/C][C]30.0416666666667[/C][/ROW]
[ROW][C]17[/C][C]139[/C][C]131.833333333333[/C][C]7.16666666666666[/C][/ROW]
[ROW][C]18[/C][C]92[/C][C]131.833333333333[/C][C]-39.8333333333333[/C][/ROW]
[ROW][C]19[/C][C]85[/C][C]77.5[/C][C]7.5[/C][/ROW]
[ROW][C]20[/C][C]174[/C][C]168.958333333333[/C][C]5.04166666666666[/C][/ROW]
[ROW][C]21[/C][C]148[/C][C]131.833333333333[/C][C]16.1666666666667[/C][/ROW]
[ROW][C]22[/C][C]144[/C][C]131.833333333333[/C][C]12.1666666666667[/C][/ROW]
[ROW][C]23[/C][C]84[/C][C]77.5[/C][C]6.5[/C][/ROW]
[ROW][C]24[/C][C]208[/C][C]168.958333333333[/C][C]39.0416666666667[/C][/ROW]
[ROW][C]25[/C][C]144[/C][C]114.872340425532[/C][C]29.1276595744681[/C][/ROW]
[ROW][C]26[/C][C]139[/C][C]114.872340425532[/C][C]24.1276595744681[/C][/ROW]
[ROW][C]27[/C][C]127[/C][C]131.833333333333[/C][C]-4.83333333333334[/C][/ROW]
[ROW][C]28[/C][C]136[/C][C]131.833333333333[/C][C]4.16666666666666[/C][/ROW]
[ROW][C]29[/C][C]99[/C][C]77.5[/C][C]21.5[/C][/ROW]
[ROW][C]30[/C][C]135[/C][C]131.833333333333[/C][C]3.16666666666666[/C][/ROW]
[ROW][C]31[/C][C]165[/C][C]131.833333333333[/C][C]33.1666666666667[/C][/ROW]
[ROW][C]32[/C][C]139[/C][C]168.958333333333[/C][C]-29.9583333333333[/C][/ROW]
[ROW][C]33[/C][C]178[/C][C]168.958333333333[/C][C]9.04166666666666[/C][/ROW]
[ROW][C]34[/C][C]137[/C][C]114.872340425532[/C][C]22.1276595744681[/C][/ROW]
[ROW][C]35[/C][C]148[/C][C]131.833333333333[/C][C]16.1666666666667[/C][/ROW]
[ROW][C]36[/C][C]127[/C][C]131.833333333333[/C][C]-4.83333333333334[/C][/ROW]
[ROW][C]37[/C][C]141[/C][C]131.833333333333[/C][C]9.16666666666666[/C][/ROW]
[ROW][C]38[/C][C]89[/C][C]114.872340425532[/C][C]-25.8723404255319[/C][/ROW]
[ROW][C]39[/C][C]46[/C][C]23.0833333333333[/C][C]22.9166666666667[/C][/ROW]
[ROW][C]40[/C][C]143[/C][C]131.833333333333[/C][C]11.1666666666667[/C][/ROW]
[ROW][C]41[/C][C]122[/C][C]131.833333333333[/C][C]-9.83333333333334[/C][/ROW]
[ROW][C]42[/C][C]103[/C][C]114.872340425532[/C][C]-11.8723404255319[/C][/ROW]
[ROW][C]43[/C][C]108[/C][C]114.872340425532[/C][C]-6.87234042553192[/C][/ROW]
[ROW][C]44[/C][C]126[/C][C]114.872340425532[/C][C]11.1276595744681[/C][/ROW]
[ROW][C]45[/C][C]45[/C][C]114.872340425532[/C][C]-69.8723404255319[/C][/ROW]
[ROW][C]46[/C][C]122[/C][C]131.833333333333[/C][C]-9.83333333333334[/C][/ROW]
[ROW][C]47[/C][C]66[/C][C]77.5[/C][C]-11.5[/C][/ROW]
[ROW][C]48[/C][C]180[/C][C]168.958333333333[/C][C]11.0416666666667[/C][/ROW]
[ROW][C]49[/C][C]165[/C][C]168.958333333333[/C][C]-3.95833333333334[/C][/ROW]
[ROW][C]50[/C][C]146[/C][C]114.872340425532[/C][C]31.1276595744681[/C][/ROW]
[ROW][C]51[/C][C]137[/C][C]114.872340425532[/C][C]22.1276595744681[/C][/ROW]
[ROW][C]52[/C][C]7[/C][C]23.0833333333333[/C][C]-16.0833333333333[/C][/ROW]
[ROW][C]53[/C][C]157[/C][C]131.833333333333[/C][C]25.1666666666667[/C][/ROW]
[ROW][C]54[/C][C]61[/C][C]23.0833333333333[/C][C]37.9166666666667[/C][/ROW]
[ROW][C]55[/C][C]41[/C][C]23.0833333333333[/C][C]17.9166666666667[/C][/ROW]
[ROW][C]56[/C][C]120[/C][C]131.833333333333[/C][C]-11.8333333333333[/C][/ROW]
[ROW][C]57[/C][C]208[/C][C]168.958333333333[/C][C]39.0416666666667[/C][/ROW]
[ROW][C]58[/C][C]127[/C][C]131.833333333333[/C][C]-4.83333333333334[/C][/ROW]
[ROW][C]59[/C][C]147[/C][C]131.833333333333[/C][C]15.1666666666667[/C][/ROW]
[ROW][C]60[/C][C]127[/C][C]131.833333333333[/C][C]-4.83333333333334[/C][/ROW]
[ROW][C]61[/C][C]161[/C][C]168.958333333333[/C][C]-7.95833333333334[/C][/ROW]
[ROW][C]62[/C][C]73[/C][C]77.5[/C][C]-4.5[/C][/ROW]
[ROW][C]63[/C][C]94[/C][C]114.872340425532[/C][C]-20.8723404255319[/C][/ROW]
[ROW][C]64[/C][C]142[/C][C]131.833333333333[/C][C]10.1666666666667[/C][/ROW]
[ROW][C]65[/C][C]125[/C][C]114.872340425532[/C][C]10.1276595744681[/C][/ROW]
[ROW][C]66[/C][C]87[/C][C]77.5[/C][C]9.5[/C][/ROW]
[ROW][C]67[/C][C]128[/C][C]114.872340425532[/C][C]13.1276595744681[/C][/ROW]
[ROW][C]68[/C][C]148[/C][C]114.872340425532[/C][C]33.1276595744681[/C][/ROW]
[ROW][C]69[/C][C]116[/C][C]114.872340425532[/C][C]1.12765957446808[/C][/ROW]
[ROW][C]70[/C][C]89[/C][C]77.5[/C][C]11.5[/C][/ROW]
[ROW][C]71[/C][C]154[/C][C]131.833333333333[/C][C]22.1666666666667[/C][/ROW]
[ROW][C]72[/C][C]67[/C][C]77.5[/C][C]-10.5[/C][/ROW]
[ROW][C]73[/C][C]171[/C][C]131.833333333333[/C][C]39.1666666666667[/C][/ROW]
[ROW][C]74[/C][C]90[/C][C]114.872340425532[/C][C]-24.8723404255319[/C][/ROW]
[ROW][C]75[/C][C]133[/C][C]114.872340425532[/C][C]18.1276595744681[/C][/ROW]
[ROW][C]76[/C][C]137[/C][C]131.833333333333[/C][C]5.16666666666666[/C][/ROW]
[ROW][C]77[/C][C]133[/C][C]131.833333333333[/C][C]1.16666666666666[/C][/ROW]
[ROW][C]78[/C][C]125[/C][C]114.872340425532[/C][C]10.1276595744681[/C][/ROW]
[ROW][C]79[/C][C]134[/C][C]114.872340425532[/C][C]19.1276595744681[/C][/ROW]
[ROW][C]80[/C][C]110[/C][C]114.872340425532[/C][C]-4.87234042553192[/C][/ROW]
[ROW][C]81[/C][C]89[/C][C]77.5[/C][C]11.5[/C][/ROW]
[ROW][C]82[/C][C]138[/C][C]131.833333333333[/C][C]6.16666666666666[/C][/ROW]
[ROW][C]83[/C][C]99[/C][C]77.5[/C][C]21.5[/C][/ROW]
[ROW][C]84[/C][C]92[/C][C]131.833333333333[/C][C]-39.8333333333333[/C][/ROW]
[ROW][C]85[/C][C]27[/C][C]23.0833333333333[/C][C]3.91666666666667[/C][/ROW]
[ROW][C]86[/C][C]77[/C][C]77.5[/C][C]-0.5[/C][/ROW]
[ROW][C]87[/C][C]127[/C][C]114.872340425532[/C][C]12.1276595744681[/C][/ROW]
[ROW][C]88[/C][C]137[/C][C]131.833333333333[/C][C]5.16666666666666[/C][/ROW]
[ROW][C]89[/C][C]122[/C][C]168.958333333333[/C][C]-46.9583333333333[/C][/ROW]
[ROW][C]90[/C][C]143[/C][C]114.872340425532[/C][C]28.1276595744681[/C][/ROW]
[ROW][C]91[/C][C]85[/C][C]131.833333333333[/C][C]-46.8333333333333[/C][/ROW]
[ROW][C]92[/C][C]131[/C][C]114.872340425532[/C][C]16.1276595744681[/C][/ROW]
[ROW][C]93[/C][C]90[/C][C]77.5[/C][C]12.5[/C][/ROW]
[ROW][C]94[/C][C]135[/C][C]131.833333333333[/C][C]3.16666666666666[/C][/ROW]
[ROW][C]95[/C][C]132[/C][C]131.833333333333[/C][C]0.166666666666657[/C][/ROW]
[ROW][C]96[/C][C]139[/C][C]114.872340425532[/C][C]24.1276595744681[/C][/ROW]
[ROW][C]97[/C][C]127[/C][C]114.872340425532[/C][C]12.1276595744681[/C][/ROW]
[ROW][C]98[/C][C]104[/C][C]131.833333333333[/C][C]-27.8333333333333[/C][/ROW]
[ROW][C]99[/C][C]221[/C][C]168.958333333333[/C][C]52.0416666666667[/C][/ROW]
[ROW][C]100[/C][C]106[/C][C]77.5[/C][C]28.5[/C][/ROW]
[ROW][C]101[/C][C]176[/C][C]168.958333333333[/C][C]7.04166666666666[/C][/ROW]
[ROW][C]102[/C][C]130[/C][C]131.833333333333[/C][C]-1.83333333333334[/C][/ROW]
[ROW][C]103[/C][C]59[/C][C]114.872340425532[/C][C]-55.8723404255319[/C][/ROW]
[ROW][C]104[/C][C]64[/C][C]77.5[/C][C]-13.5[/C][/ROW]
[ROW][C]105[/C][C]36[/C][C]77.5[/C][C]-41.5[/C][/ROW]
[ROW][C]106[/C][C]88[/C][C]114.872340425532[/C][C]-26.8723404255319[/C][/ROW]
[ROW][C]107[/C][C]125[/C][C]131.833333333333[/C][C]-6.83333333333334[/C][/ROW]
[ROW][C]108[/C][C]124[/C][C]131.833333333333[/C][C]-7.83333333333334[/C][/ROW]
[ROW][C]109[/C][C]83[/C][C]77.5[/C][C]5.5[/C][/ROW]
[ROW][C]110[/C][C]127[/C][C]114.872340425532[/C][C]12.1276595744681[/C][/ROW]
[ROW][C]111[/C][C]143[/C][C]131.833333333333[/C][C]11.1666666666667[/C][/ROW]
[ROW][C]112[/C][C]115[/C][C]131.833333333333[/C][C]-16.8333333333333[/C][/ROW]
[ROW][C]113[/C][C]0[/C][C]23.0833333333333[/C][C]-23.0833333333333[/C][/ROW]
[ROW][C]114[/C][C]94[/C][C]114.872340425532[/C][C]-20.8723404255319[/C][/ROW]
[ROW][C]115[/C][C]30[/C][C]23.0833333333333[/C][C]6.91666666666667[/C][/ROW]
[ROW][C]116[/C][C]119[/C][C]114.872340425532[/C][C]4.12765957446808[/C][/ROW]
[ROW][C]117[/C][C]102[/C][C]131.833333333333[/C][C]-29.8333333333333[/C][/ROW]
[ROW][C]118[/C][C]0[/C][C]23.0833333333333[/C][C]-23.0833333333333[/C][/ROW]
[ROW][C]119[/C][C]77[/C][C]77.5[/C][C]-0.5[/C][/ROW]
[ROW][C]120[/C][C]9[/C][C]23.0833333333333[/C][C]-14.0833333333333[/C][/ROW]
[ROW][C]121[/C][C]137[/C][C]131.833333333333[/C][C]5.16666666666666[/C][/ROW]
[ROW][C]122[/C][C]157[/C][C]168.958333333333[/C][C]-11.9583333333333[/C][/ROW]
[ROW][C]123[/C][C]146[/C][C]168.958333333333[/C][C]-22.9583333333333[/C][/ROW]
[ROW][C]124[/C][C]84[/C][C]77.5[/C][C]6.5[/C][/ROW]
[ROW][C]125[/C][C]21[/C][C]23.0833333333333[/C][C]-2.08333333333333[/C][/ROW]
[ROW][C]126[/C][C]139[/C][C]114.872340425532[/C][C]24.1276595744681[/C][/ROW]
[ROW][C]127[/C][C]168[/C][C]168.958333333333[/C][C]-0.958333333333343[/C][/ROW]
[ROW][C]128[/C][C]163[/C][C]168.958333333333[/C][C]-5.95833333333334[/C][/ROW]
[ROW][C]129[/C][C]167[/C][C]168.958333333333[/C][C]-1.95833333333334[/C][/ROW]
[ROW][C]130[/C][C]145[/C][C]168.958333333333[/C][C]-23.9583333333333[/C][/ROW]
[ROW][C]131[/C][C]175[/C][C]168.958333333333[/C][C]6.04166666666666[/C][/ROW]
[ROW][C]132[/C][C]137[/C][C]114.872340425532[/C][C]22.1276595744681[/C][/ROW]
[ROW][C]133[/C][C]100[/C][C]114.872340425532[/C][C]-14.8723404255319[/C][/ROW]
[ROW][C]134[/C][C]150[/C][C]131.833333333333[/C][C]18.1666666666667[/C][/ROW]
[ROW][C]135[/C][C]163[/C][C]168.958333333333[/C][C]-5.95833333333334[/C][/ROW]
[ROW][C]136[/C][C]137[/C][C]114.872340425532[/C][C]22.1276595744681[/C][/ROW]
[ROW][C]137[/C][C]149[/C][C]131.833333333333[/C][C]17.1666666666667[/C][/ROW]
[ROW][C]138[/C][C]112[/C][C]114.872340425532[/C][C]-2.87234042553192[/C][/ROW]
[ROW][C]139[/C][C]135[/C][C]131.833333333333[/C][C]3.16666666666666[/C][/ROW]
[ROW][C]140[/C][C]114[/C][C]131.833333333333[/C][C]-17.8333333333333[/C][/ROW]
[ROW][C]141[/C][C]45[/C][C]77.5[/C][C]-32.5[/C][/ROW]
[ROW][C]142[/C][C]120[/C][C]131.833333333333[/C][C]-11.8333333333333[/C][/ROW]
[ROW][C]143[/C][C]115[/C][C]114.872340425532[/C][C]0.127659574468083[/C][/ROW]
[ROW][C]144[/C][C]78[/C][C]77.5[/C][C]0.5[/C][/ROW]
[ROW][C]145[/C][C]136[/C][C]131.833333333333[/C][C]4.16666666666666[/C][/ROW]
[ROW][C]146[/C][C]179[/C][C]168.958333333333[/C][C]10.0416666666667[/C][/ROW]
[ROW][C]147[/C][C]118[/C][C]114.872340425532[/C][C]3.12765957446808[/C][/ROW]
[ROW][C]148[/C][C]147[/C][C]131.833333333333[/C][C]15.1666666666667[/C][/ROW]
[ROW][C]149[/C][C]88[/C][C]114.872340425532[/C][C]-26.8723404255319[/C][/ROW]
[ROW][C]150[/C][C]115[/C][C]168.958333333333[/C][C]-53.9583333333333[/C][/ROW]
[ROW][C]151[/C][C]13[/C][C]23.0833333333333[/C][C]-10.0833333333333[/C][/ROW]
[ROW][C]152[/C][C]76[/C][C]114.872340425532[/C][C]-38.8723404255319[/C][/ROW]
[ROW][C]153[/C][C]63[/C][C]77.5[/C][C]-14.5[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157132&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157132&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
1116131.833333333333-15.8333333333333
2127114.87234042553212.1276595744681
3106114.872340425532-8.87234042553192
4133114.87234042553218.1276595744681
56477.5-13.5
689114.872340425532-25.8723404255319
7122131.833333333333-9.83333333333334
82223.0833333333333-1.08333333333333
9117114.8723404255322.12765957446808
1082114.872340425532-32.8723404255319
11136131.8333333333334.16666666666666
12184168.95833333333315.0416666666667
13106114.872340425532-8.87234042553192
14162168.958333333333-6.95833333333334
1586114.872340425532-28.8723404255319
16199168.95833333333330.0416666666667
17139131.8333333333337.16666666666666
1892131.833333333333-39.8333333333333
198577.57.5
20174168.9583333333335.04166666666666
21148131.83333333333316.1666666666667
22144131.83333333333312.1666666666667
238477.56.5
24208168.95833333333339.0416666666667
25144114.87234042553229.1276595744681
26139114.87234042553224.1276595744681
27127131.833333333333-4.83333333333334
28136131.8333333333334.16666666666666
299977.521.5
30135131.8333333333333.16666666666666
31165131.83333333333333.1666666666667
32139168.958333333333-29.9583333333333
33178168.9583333333339.04166666666666
34137114.87234042553222.1276595744681
35148131.83333333333316.1666666666667
36127131.833333333333-4.83333333333334
37141131.8333333333339.16666666666666
3889114.872340425532-25.8723404255319
394623.083333333333322.9166666666667
40143131.83333333333311.1666666666667
41122131.833333333333-9.83333333333334
42103114.872340425532-11.8723404255319
43108114.872340425532-6.87234042553192
44126114.87234042553211.1276595744681
4545114.872340425532-69.8723404255319
46122131.833333333333-9.83333333333334
476677.5-11.5
48180168.95833333333311.0416666666667
49165168.958333333333-3.95833333333334
50146114.87234042553231.1276595744681
51137114.87234042553222.1276595744681
52723.0833333333333-16.0833333333333
53157131.83333333333325.1666666666667
546123.083333333333337.9166666666667
554123.083333333333317.9166666666667
56120131.833333333333-11.8333333333333
57208168.95833333333339.0416666666667
58127131.833333333333-4.83333333333334
59147131.83333333333315.1666666666667
60127131.833333333333-4.83333333333334
61161168.958333333333-7.95833333333334
627377.5-4.5
6394114.872340425532-20.8723404255319
64142131.83333333333310.1666666666667
65125114.87234042553210.1276595744681
668777.59.5
67128114.87234042553213.1276595744681
68148114.87234042553233.1276595744681
69116114.8723404255321.12765957446808
708977.511.5
71154131.83333333333322.1666666666667
726777.5-10.5
73171131.83333333333339.1666666666667
7490114.872340425532-24.8723404255319
75133114.87234042553218.1276595744681
76137131.8333333333335.16666666666666
77133131.8333333333331.16666666666666
78125114.87234042553210.1276595744681
79134114.87234042553219.1276595744681
80110114.872340425532-4.87234042553192
818977.511.5
82138131.8333333333336.16666666666666
839977.521.5
8492131.833333333333-39.8333333333333
852723.08333333333333.91666666666667
867777.5-0.5
87127114.87234042553212.1276595744681
88137131.8333333333335.16666666666666
89122168.958333333333-46.9583333333333
90143114.87234042553228.1276595744681
9185131.833333333333-46.8333333333333
92131114.87234042553216.1276595744681
939077.512.5
94135131.8333333333333.16666666666666
95132131.8333333333330.166666666666657
96139114.87234042553224.1276595744681
97127114.87234042553212.1276595744681
98104131.833333333333-27.8333333333333
99221168.95833333333352.0416666666667
10010677.528.5
101176168.9583333333337.04166666666666
102130131.833333333333-1.83333333333334
10359114.872340425532-55.8723404255319
1046477.5-13.5
1053677.5-41.5
10688114.872340425532-26.8723404255319
107125131.833333333333-6.83333333333334
108124131.833333333333-7.83333333333334
1098377.55.5
110127114.87234042553212.1276595744681
111143131.83333333333311.1666666666667
112115131.833333333333-16.8333333333333
113023.0833333333333-23.0833333333333
11494114.872340425532-20.8723404255319
1153023.08333333333336.91666666666667
116119114.8723404255324.12765957446808
117102131.833333333333-29.8333333333333
118023.0833333333333-23.0833333333333
1197777.5-0.5
120923.0833333333333-14.0833333333333
121137131.8333333333335.16666666666666
122157168.958333333333-11.9583333333333
123146168.958333333333-22.9583333333333
1248477.56.5
1252123.0833333333333-2.08333333333333
126139114.87234042553224.1276595744681
127168168.958333333333-0.958333333333343
128163168.958333333333-5.95833333333334
129167168.958333333333-1.95833333333334
130145168.958333333333-23.9583333333333
131175168.9583333333336.04166666666666
132137114.87234042553222.1276595744681
133100114.872340425532-14.8723404255319
134150131.83333333333318.1666666666667
135163168.958333333333-5.95833333333334
136137114.87234042553222.1276595744681
137149131.83333333333317.1666666666667
138112114.872340425532-2.87234042553192
139135131.8333333333333.16666666666666
140114131.833333333333-17.8333333333333
1414577.5-32.5
142120131.833333333333-11.8333333333333
143115114.8723404255320.127659574468083
1447877.50.5
145136131.8333333333334.16666666666666
146179168.95833333333310.0416666666667
147118114.8723404255323.12765957446808
148147131.83333333333315.1666666666667
14988114.872340425532-26.8723404255319
150115168.958333333333-53.9583333333333
1511323.0833333333333-10.0833333333333
15276114.872340425532-38.8723404255319
1536377.5-14.5



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