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 computationTue, 13 Dec 2011 07:42:44 -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/13/t13237801952k8hjimn97a5iie.htm/, Retrieved Thu, 02 May 2024 22:27:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=154376, Retrieved Thu, 02 May 2024 22:27:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact116
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Recursive Partitioning (Regression Trees)] [] [2010-12-05 18:59:57] [b98453cac15ba1066b407e146608df68]
- R PD    [Recursive Partitioning (Regression Trees)] [Workshop 10 - Rec...] [2011-12-13 12:42:44] [22431204c416bf26bfe4de00cd8c0d22] [Current]
Feedback Forum

Post a new message
Dataseries X:
264530	124252	25695	147	148
135248	98956	19967	126	124
207253	98073	14338	108	108
202898	106816	34117	145	142
145249	41449	9713	68	66
65295	76173	10024	49	47
442857	177551	39981	171	163
33186	22807	1271	5	5
183696	126938	30207	106	106
194006	61680	18035	88	87
287239	72117	21609	145	141
205260	79738	19836	93	88
141987	57793	9028	60	60
322679	91677	21750	145	145
199717	64631	10038	95	95
349227	106385	30276	144	137
278282	161961	34972	179	177
274382	112669	19954	102	102
157448	114029	28113	157	151
244170	124550	18830	170	156
256814	105416	37144	140	140
405942	72875	17916	133	130
161189	81964	16186	74	71
156389	104880	19195	120	116
200181	76302	29124	134	129
192645	96740	29813	108	107
249893	93071	20270	132	128
241171	78912	26105	125	119
143182	35224	9155	66	62
285266	90694	18113	130	124
243048	125369	40546	143	140
176062	80849	10096	150	144
305210	104434	32338	152	150
87995	65702	2871	28	28
343613	108179	36592	190	177
264159	63583	4914	73	73
394976	95066	30190	115	111
192718	62486	18153	101	98
114673	31081	12558	41	41
310170	94584	32894	147	139
292891	87408	24138	107	107
157518	68966	16628	103	102
180362	88766	26369	84	80
146175	57139	14171	68	66
140319	90586	8500	52	51
405293	109249	11940	70	69
78800	33032	7935	21	21
201970	96056	19456	155	155
312381	146648	21347	165	163
166270	80613	24095	124	121
199186	87026	26204	121	118
24188	5950	2694	7	7
348637	131106	20366	161	154
65029	32551	3597	21	21
101097	31701	5296	35	35
255082	91072	29463	125	122
287314	159803	35838	157	152
308944	143950	42590	256	255
280943	112368	38665	192	177
225816	82124	19442	86	83
348955	144068	25515	164	164
283283	162627	51318	213	202
199642	55062	11807	80	77
232791	95329	24130	122	118
212262	105612	34053	122	123
206826	62853	22641	113	109
180424	125976	18898	128	126
204450	79146	24539	117	114
200629	108461	21664	162	161
138731	99971	21577	87	85
219808	77826	16643	103	101
73566	22618	3007	26	25
222145	84892	18798	104	102
181728	92059	24648	127	126
150006	77993	20286	132	130
325723	104155	23999	112	112
268863	109840	26813	155	150
202410	238712	14718	57	54
173420	67486	16963	109	106
162366	68007	16673	92	90
136341	48194	14646	57	55
390163	134796	31772	145	139
145905	38692	9648	38	38
248834	93587	23096	152	148
80953	56622	7905	59	58
133301	15986	4527	27	27
138630	113402	37432	104	104
334082	97967	21082	80	75
277542	74844	30437	76	73
170849	136051	36288	163	157
236398	50548	12369	89	87
207178	112215	23774	199	186
157125	59591	8108	89	88
242395	59938	15049	107	107
273632	137639	36021	137	131
178489	143372	30391	123	123
210247	138599	30910	152	149
268066	174110	40656	202	201
351056	135062	35070	159	145
368833	175681	47250	282	273
247842	130307	36236	111	111
268118	139141	29601	197	195
174311	44244	10443	72	69
43287	43750	7409	49	49
182915	48029	18213	82	82
189021	95216	40856	192	193
237531	92288	36471	102	102
279589	94588	26077	127	124
106655	197426	24797	60	59
135798	151244	6816	61	61
292930	139206	25527	106	102
266805	106271	22139	139	138
23623	1168	238	11	11
174970	71764	24459	114	114
61857	25162	3913	31	28
151306	45635	9895	132	101
358662	101817	25902	210	208
21054	855	338	4	4
230091	100174	12937	98	93
31414	14116	3988	39	39
284519	85008	23370	119	114
209481	124254	24015	107	104
161691	105793	3870	41	40
137093	117129	14648	97	94
38214	8773	1888	16	16
166059	94747	16768	65	64
323179	107549	33400	156	154
186273	97392	23770	158	145
374269	126893	34762	160	150
280897	118850	18793	161	156
371680	234853	48186	238	229
179928	74783	20140	85	84
94381	66089	8728	50	49
273422	95684	19060	106	101
382564	139537	26880	184	179
118033	144253	415	15	15
370878	153824	38902	155	154
147989	63995	17375	90	90
236370	84891	31360	133	133
193456	61263	15051	136	133
189020	106221	16785	109	97
344751	113587	15886	118	116
224936	113864	28548	222	221
173260	37238	2805	16	15
291777	119906	34012	162	157
130908	135096	19215	108	105
209639	151611	34177	153	150
262412	144645	32990	181	177
1	0	0	0	0
14688	6023	2065	5	5
98	0	0	0	0
455	0	0	0	0
0	0	0	0	0
0	0	0	0	0
195822	77457	17428	113	111
347930	62464	19912	165	165
0	0	0	0	0
203	0	0	0	0
7199	1644	556	6	6
46660	6179	2089	13	13
17547	3926	2658	3	3
107465	42087	1801	33	33
969	0	0	0	0
182303	87656	16541	67	63




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

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







Goodness of Fit
Correlation0.9914
R-squared0.9828
RMSE7.5063

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=154376&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.9914
R-squared0.9828
RMSE7.5063







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1148141.1818181818186.81818181818181
2124124.473684210526-0.473684210526315
3108104.3076923076923.69230769230769
4142141.1818181818180.818181818181813
56658.94117647058827.05882352941177
64758.9411764705882-11.9411764705882
7163160.752.25
855.26315789473684-0.263157894736842
9106104.3076923076921.69230769230769
108782.06254.9375
11141141.181818181818-0.181818181818187
128882.06255.9375
136058.94117647058821.05882352941177
14145141.1818181818183.81818181818181
159598.375-3.375
16137141.181818181818-4.18181818181819
17177182.625-5.625
1810298.3753.625
19151150.8666666666670.133333333333326
20156160.75-4.75
21140141.181818181818-1.18181818181819
22130124.4736842105265.52631578947368
237182.0625-11.0625
24116113.2727272727272.72727272727273
25129124.4736842105264.52631578947368
26107104.3076923076922.69230769230769
27128124.4736842105263.52631578947368
28119124.473684210526-5.47368421052632
296258.94117647058823.05882352941177
30124124.473684210526-0.473684210526315
31140141.181818181818-1.18181818181819
32144141.1818181818182.81818181818181
33150150.866666666667-0.866666666666674
342831.3333333333333-3.33333333333333
35177182.625-5.625
367382.0625-9.0625
37111113.272727272727-2.27272727272727
389898.375-0.375
394131.33333333333339.66666666666667
40139141.181818181818-2.18181818181819
41107104.3076923076922.69230769230769
4210298.3753.625
438082.0625-2.0625
446658.94117647058827.05882352941177
455158.9411764705882-7.94117647058823
466958.941176470588210.0588235294118
472131.3333333333333-10.3333333333333
48155150.8666666666674.13333333333333
49163160.752.25
50121124.473684210526-3.47368421052632
51118113.2727272727274.72727272727273
5275.263157894736841.73684210526316
53154150.8666666666673.13333333333333
542131.3333333333333-10.3333333333333
553531.33333333333333.66666666666667
56122124.473684210526-2.47368421052632
57152150.8666666666671.13333333333333
5825522728
59177182.625-5.625
608382.06250.9375
61164160.753.25
62202227-25
637782.0625-5.0625
64118124.473684210526-6.47368421052632
65123124.473684210526-1.47368421052632
66109113.272727272727-4.27272727272727
67126124.4736842105261.52631578947368
68114113.2727272727270.727272727272734
69161160.750.25
708582.06252.9375
7110198.3752.625
722531.3333333333333-6.33333333333333
73102104.307692307692-2.30769230769231
74126124.4736842105261.52631578947368
75130124.4736842105265.52631578947368
76112113.272727272727-1.27272727272727
77150150.866666666667-0.866666666666674
785458.9411764705882-4.94117647058823
79106104.3076923076921.69230769230769
809082.06257.9375
815558.9411764705882-3.94117647058823
82139141.181818181818-2.18181818181819
833831.33333333333336.66666666666667
84148150.866666666667-2.86666666666667
855858.9411764705882-0.941176470588232
862731.3333333333333-4.33333333333333
87104104.307692307692-0.307692307692307
887582.0625-7.0625
897382.0625-9.0625
90157160.75-3.75
918782.06254.9375
92186182.6253.375
938882.06255.9375
94107104.3076923076922.69230769230769
95131124.4736842105266.52631578947368
96123124.473684210526-1.47368421052632
97149150.866666666667-1.86666666666667
98201227-26
99145150.866666666667-5.86666666666667
10027322746
101111113.272727272727-2.27272727272727
102195182.62512.375
1036958.941176470588210.0588235294118
1044958.9411764705882-9.94117647058823
1058282.0625-0.0625
106193182.62510.375
10710298.3753.625
108124124.473684210526-0.473684210526315
1095958.94117647058820.058823529411768
1106158.94117647058822.05882352941177
111102104.307692307692-2.30769230769231
112138141.181818181818-3.18181818181819
113115.263157894736845.73684210526316
114114113.2727272727270.727272727272734
1152831.3333333333333-3.33333333333333
116101124.473684210526-23.4736842105263
117208227-19
11845.26315789473684-1.26315789473684
1199398.375-5.375
1203931.33333333333337.66666666666667
121114113.2727272727270.727272727272734
122104104.307692307692-0.307692307692307
1234031.33333333333338.66666666666667
1249498.375-4.375
125165.2631578947368410.7368421052632
1266458.94117647058825.05882352941177
127154150.8666666666673.13333333333333
128145150.866666666667-5.86666666666667
129150150.866666666667-0.866666666666674
130156150.8666666666675.13333333333333
1312292272
1328482.06251.9375
1334958.9411764705882-9.94117647058823
134101104.307692307692-3.30769230769231
135179182.625-3.625
136155.263157894736849.73684210526316
137154150.8666666666673.13333333333333
1389082.06257.9375
139133124.4736842105268.52631578947368
140133124.4736842105268.52631578947368
14197104.307692307692-7.30769230769231
142116113.2727272727272.72727272727273
143221227-6
144155.263157894736849.73684210526316
145157160.75-3.75
146105104.3076923076920.692307692307693
147150150.866666666667-0.866666666666674
148177182.625-5.625
14905.26315789473684-5.26315789473684
15055.26315789473684-0.263157894736842
15105.26315789473684-5.26315789473684
15205.26315789473684-5.26315789473684
15305.26315789473684-5.26315789473684
15405.26315789473684-5.26315789473684
155111113.272727272727-2.27272727272727
156165160.754.25
15705.26315789473684-5.26315789473684
15805.26315789473684-5.26315789473684
15965.263157894736840.736842105263158
160135.263157894736847.73684210526316
16135.26315789473684-2.26315789473684
1623331.33333333333331.66666666666667
16305.26315789473684-5.26315789473684
1646358.94117647058824.05882352941177

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 148 & 141.181818181818 & 6.81818181818181 \tabularnewline
2 & 124 & 124.473684210526 & -0.473684210526315 \tabularnewline
3 & 108 & 104.307692307692 & 3.69230769230769 \tabularnewline
4 & 142 & 141.181818181818 & 0.818181818181813 \tabularnewline
5 & 66 & 58.9411764705882 & 7.05882352941177 \tabularnewline
6 & 47 & 58.9411764705882 & -11.9411764705882 \tabularnewline
7 & 163 & 160.75 & 2.25 \tabularnewline
8 & 5 & 5.26315789473684 & -0.263157894736842 \tabularnewline
9 & 106 & 104.307692307692 & 1.69230769230769 \tabularnewline
10 & 87 & 82.0625 & 4.9375 \tabularnewline
11 & 141 & 141.181818181818 & -0.181818181818187 \tabularnewline
12 & 88 & 82.0625 & 5.9375 \tabularnewline
13 & 60 & 58.9411764705882 & 1.05882352941177 \tabularnewline
14 & 145 & 141.181818181818 & 3.81818181818181 \tabularnewline
15 & 95 & 98.375 & -3.375 \tabularnewline
16 & 137 & 141.181818181818 & -4.18181818181819 \tabularnewline
17 & 177 & 182.625 & -5.625 \tabularnewline
18 & 102 & 98.375 & 3.625 \tabularnewline
19 & 151 & 150.866666666667 & 0.133333333333326 \tabularnewline
20 & 156 & 160.75 & -4.75 \tabularnewline
21 & 140 & 141.181818181818 & -1.18181818181819 \tabularnewline
22 & 130 & 124.473684210526 & 5.52631578947368 \tabularnewline
23 & 71 & 82.0625 & -11.0625 \tabularnewline
24 & 116 & 113.272727272727 & 2.72727272727273 \tabularnewline
25 & 129 & 124.473684210526 & 4.52631578947368 \tabularnewline
26 & 107 & 104.307692307692 & 2.69230769230769 \tabularnewline
27 & 128 & 124.473684210526 & 3.52631578947368 \tabularnewline
28 & 119 & 124.473684210526 & -5.47368421052632 \tabularnewline
29 & 62 & 58.9411764705882 & 3.05882352941177 \tabularnewline
30 & 124 & 124.473684210526 & -0.473684210526315 \tabularnewline
31 & 140 & 141.181818181818 & -1.18181818181819 \tabularnewline
32 & 144 & 141.181818181818 & 2.81818181818181 \tabularnewline
33 & 150 & 150.866666666667 & -0.866666666666674 \tabularnewline
34 & 28 & 31.3333333333333 & -3.33333333333333 \tabularnewline
35 & 177 & 182.625 & -5.625 \tabularnewline
36 & 73 & 82.0625 & -9.0625 \tabularnewline
37 & 111 & 113.272727272727 & -2.27272727272727 \tabularnewline
38 & 98 & 98.375 & -0.375 \tabularnewline
39 & 41 & 31.3333333333333 & 9.66666666666667 \tabularnewline
40 & 139 & 141.181818181818 & -2.18181818181819 \tabularnewline
41 & 107 & 104.307692307692 & 2.69230769230769 \tabularnewline
42 & 102 & 98.375 & 3.625 \tabularnewline
43 & 80 & 82.0625 & -2.0625 \tabularnewline
44 & 66 & 58.9411764705882 & 7.05882352941177 \tabularnewline
45 & 51 & 58.9411764705882 & -7.94117647058823 \tabularnewline
46 & 69 & 58.9411764705882 & 10.0588235294118 \tabularnewline
47 & 21 & 31.3333333333333 & -10.3333333333333 \tabularnewline
48 & 155 & 150.866666666667 & 4.13333333333333 \tabularnewline
49 & 163 & 160.75 & 2.25 \tabularnewline
50 & 121 & 124.473684210526 & -3.47368421052632 \tabularnewline
51 & 118 & 113.272727272727 & 4.72727272727273 \tabularnewline
52 & 7 & 5.26315789473684 & 1.73684210526316 \tabularnewline
53 & 154 & 150.866666666667 & 3.13333333333333 \tabularnewline
54 & 21 & 31.3333333333333 & -10.3333333333333 \tabularnewline
55 & 35 & 31.3333333333333 & 3.66666666666667 \tabularnewline
56 & 122 & 124.473684210526 & -2.47368421052632 \tabularnewline
57 & 152 & 150.866666666667 & 1.13333333333333 \tabularnewline
58 & 255 & 227 & 28 \tabularnewline
59 & 177 & 182.625 & -5.625 \tabularnewline
60 & 83 & 82.0625 & 0.9375 \tabularnewline
61 & 164 & 160.75 & 3.25 \tabularnewline
62 & 202 & 227 & -25 \tabularnewline
63 & 77 & 82.0625 & -5.0625 \tabularnewline
64 & 118 & 124.473684210526 & -6.47368421052632 \tabularnewline
65 & 123 & 124.473684210526 & -1.47368421052632 \tabularnewline
66 & 109 & 113.272727272727 & -4.27272727272727 \tabularnewline
67 & 126 & 124.473684210526 & 1.52631578947368 \tabularnewline
68 & 114 & 113.272727272727 & 0.727272727272734 \tabularnewline
69 & 161 & 160.75 & 0.25 \tabularnewline
70 & 85 & 82.0625 & 2.9375 \tabularnewline
71 & 101 & 98.375 & 2.625 \tabularnewline
72 & 25 & 31.3333333333333 & -6.33333333333333 \tabularnewline
73 & 102 & 104.307692307692 & -2.30769230769231 \tabularnewline
74 & 126 & 124.473684210526 & 1.52631578947368 \tabularnewline
75 & 130 & 124.473684210526 & 5.52631578947368 \tabularnewline
76 & 112 & 113.272727272727 & -1.27272727272727 \tabularnewline
77 & 150 & 150.866666666667 & -0.866666666666674 \tabularnewline
78 & 54 & 58.9411764705882 & -4.94117647058823 \tabularnewline
79 & 106 & 104.307692307692 & 1.69230769230769 \tabularnewline
80 & 90 & 82.0625 & 7.9375 \tabularnewline
81 & 55 & 58.9411764705882 & -3.94117647058823 \tabularnewline
82 & 139 & 141.181818181818 & -2.18181818181819 \tabularnewline
83 & 38 & 31.3333333333333 & 6.66666666666667 \tabularnewline
84 & 148 & 150.866666666667 & -2.86666666666667 \tabularnewline
85 & 58 & 58.9411764705882 & -0.941176470588232 \tabularnewline
86 & 27 & 31.3333333333333 & -4.33333333333333 \tabularnewline
87 & 104 & 104.307692307692 & -0.307692307692307 \tabularnewline
88 & 75 & 82.0625 & -7.0625 \tabularnewline
89 & 73 & 82.0625 & -9.0625 \tabularnewline
90 & 157 & 160.75 & -3.75 \tabularnewline
91 & 87 & 82.0625 & 4.9375 \tabularnewline
92 & 186 & 182.625 & 3.375 \tabularnewline
93 & 88 & 82.0625 & 5.9375 \tabularnewline
94 & 107 & 104.307692307692 & 2.69230769230769 \tabularnewline
95 & 131 & 124.473684210526 & 6.52631578947368 \tabularnewline
96 & 123 & 124.473684210526 & -1.47368421052632 \tabularnewline
97 & 149 & 150.866666666667 & -1.86666666666667 \tabularnewline
98 & 201 & 227 & -26 \tabularnewline
99 & 145 & 150.866666666667 & -5.86666666666667 \tabularnewline
100 & 273 & 227 & 46 \tabularnewline
101 & 111 & 113.272727272727 & -2.27272727272727 \tabularnewline
102 & 195 & 182.625 & 12.375 \tabularnewline
103 & 69 & 58.9411764705882 & 10.0588235294118 \tabularnewline
104 & 49 & 58.9411764705882 & -9.94117647058823 \tabularnewline
105 & 82 & 82.0625 & -0.0625 \tabularnewline
106 & 193 & 182.625 & 10.375 \tabularnewline
107 & 102 & 98.375 & 3.625 \tabularnewline
108 & 124 & 124.473684210526 & -0.473684210526315 \tabularnewline
109 & 59 & 58.9411764705882 & 0.058823529411768 \tabularnewline
110 & 61 & 58.9411764705882 & 2.05882352941177 \tabularnewline
111 & 102 & 104.307692307692 & -2.30769230769231 \tabularnewline
112 & 138 & 141.181818181818 & -3.18181818181819 \tabularnewline
113 & 11 & 5.26315789473684 & 5.73684210526316 \tabularnewline
114 & 114 & 113.272727272727 & 0.727272727272734 \tabularnewline
115 & 28 & 31.3333333333333 & -3.33333333333333 \tabularnewline
116 & 101 & 124.473684210526 & -23.4736842105263 \tabularnewline
117 & 208 & 227 & -19 \tabularnewline
118 & 4 & 5.26315789473684 & -1.26315789473684 \tabularnewline
119 & 93 & 98.375 & -5.375 \tabularnewline
120 & 39 & 31.3333333333333 & 7.66666666666667 \tabularnewline
121 & 114 & 113.272727272727 & 0.727272727272734 \tabularnewline
122 & 104 & 104.307692307692 & -0.307692307692307 \tabularnewline
123 & 40 & 31.3333333333333 & 8.66666666666667 \tabularnewline
124 & 94 & 98.375 & -4.375 \tabularnewline
125 & 16 & 5.26315789473684 & 10.7368421052632 \tabularnewline
126 & 64 & 58.9411764705882 & 5.05882352941177 \tabularnewline
127 & 154 & 150.866666666667 & 3.13333333333333 \tabularnewline
128 & 145 & 150.866666666667 & -5.86666666666667 \tabularnewline
129 & 150 & 150.866666666667 & -0.866666666666674 \tabularnewline
130 & 156 & 150.866666666667 & 5.13333333333333 \tabularnewline
131 & 229 & 227 & 2 \tabularnewline
132 & 84 & 82.0625 & 1.9375 \tabularnewline
133 & 49 & 58.9411764705882 & -9.94117647058823 \tabularnewline
134 & 101 & 104.307692307692 & -3.30769230769231 \tabularnewline
135 & 179 & 182.625 & -3.625 \tabularnewline
136 & 15 & 5.26315789473684 & 9.73684210526316 \tabularnewline
137 & 154 & 150.866666666667 & 3.13333333333333 \tabularnewline
138 & 90 & 82.0625 & 7.9375 \tabularnewline
139 & 133 & 124.473684210526 & 8.52631578947368 \tabularnewline
140 & 133 & 124.473684210526 & 8.52631578947368 \tabularnewline
141 & 97 & 104.307692307692 & -7.30769230769231 \tabularnewline
142 & 116 & 113.272727272727 & 2.72727272727273 \tabularnewline
143 & 221 & 227 & -6 \tabularnewline
144 & 15 & 5.26315789473684 & 9.73684210526316 \tabularnewline
145 & 157 & 160.75 & -3.75 \tabularnewline
146 & 105 & 104.307692307692 & 0.692307692307693 \tabularnewline
147 & 150 & 150.866666666667 & -0.866666666666674 \tabularnewline
148 & 177 & 182.625 & -5.625 \tabularnewline
149 & 0 & 5.26315789473684 & -5.26315789473684 \tabularnewline
150 & 5 & 5.26315789473684 & -0.263157894736842 \tabularnewline
151 & 0 & 5.26315789473684 & -5.26315789473684 \tabularnewline
152 & 0 & 5.26315789473684 & -5.26315789473684 \tabularnewline
153 & 0 & 5.26315789473684 & -5.26315789473684 \tabularnewline
154 & 0 & 5.26315789473684 & -5.26315789473684 \tabularnewline
155 & 111 & 113.272727272727 & -2.27272727272727 \tabularnewline
156 & 165 & 160.75 & 4.25 \tabularnewline
157 & 0 & 5.26315789473684 & -5.26315789473684 \tabularnewline
158 & 0 & 5.26315789473684 & -5.26315789473684 \tabularnewline
159 & 6 & 5.26315789473684 & 0.736842105263158 \tabularnewline
160 & 13 & 5.26315789473684 & 7.73684210526316 \tabularnewline
161 & 3 & 5.26315789473684 & -2.26315789473684 \tabularnewline
162 & 33 & 31.3333333333333 & 1.66666666666667 \tabularnewline
163 & 0 & 5.26315789473684 & -5.26315789473684 \tabularnewline
164 & 63 & 58.9411764705882 & 4.05882352941177 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=154376&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]148[/C][C]141.181818181818[/C][C]6.81818181818181[/C][/ROW]
[ROW][C]2[/C][C]124[/C][C]124.473684210526[/C][C]-0.473684210526315[/C][/ROW]
[ROW][C]3[/C][C]108[/C][C]104.307692307692[/C][C]3.69230769230769[/C][/ROW]
[ROW][C]4[/C][C]142[/C][C]141.181818181818[/C][C]0.818181818181813[/C][/ROW]
[ROW][C]5[/C][C]66[/C][C]58.9411764705882[/C][C]7.05882352941177[/C][/ROW]
[ROW][C]6[/C][C]47[/C][C]58.9411764705882[/C][C]-11.9411764705882[/C][/ROW]
[ROW][C]7[/C][C]163[/C][C]160.75[/C][C]2.25[/C][/ROW]
[ROW][C]8[/C][C]5[/C][C]5.26315789473684[/C][C]-0.263157894736842[/C][/ROW]
[ROW][C]9[/C][C]106[/C][C]104.307692307692[/C][C]1.69230769230769[/C][/ROW]
[ROW][C]10[/C][C]87[/C][C]82.0625[/C][C]4.9375[/C][/ROW]
[ROW][C]11[/C][C]141[/C][C]141.181818181818[/C][C]-0.181818181818187[/C][/ROW]
[ROW][C]12[/C][C]88[/C][C]82.0625[/C][C]5.9375[/C][/ROW]
[ROW][C]13[/C][C]60[/C][C]58.9411764705882[/C][C]1.05882352941177[/C][/ROW]
[ROW][C]14[/C][C]145[/C][C]141.181818181818[/C][C]3.81818181818181[/C][/ROW]
[ROW][C]15[/C][C]95[/C][C]98.375[/C][C]-3.375[/C][/ROW]
[ROW][C]16[/C][C]137[/C][C]141.181818181818[/C][C]-4.18181818181819[/C][/ROW]
[ROW][C]17[/C][C]177[/C][C]182.625[/C][C]-5.625[/C][/ROW]
[ROW][C]18[/C][C]102[/C][C]98.375[/C][C]3.625[/C][/ROW]
[ROW][C]19[/C][C]151[/C][C]150.866666666667[/C][C]0.133333333333326[/C][/ROW]
[ROW][C]20[/C][C]156[/C][C]160.75[/C][C]-4.75[/C][/ROW]
[ROW][C]21[/C][C]140[/C][C]141.181818181818[/C][C]-1.18181818181819[/C][/ROW]
[ROW][C]22[/C][C]130[/C][C]124.473684210526[/C][C]5.52631578947368[/C][/ROW]
[ROW][C]23[/C][C]71[/C][C]82.0625[/C][C]-11.0625[/C][/ROW]
[ROW][C]24[/C][C]116[/C][C]113.272727272727[/C][C]2.72727272727273[/C][/ROW]
[ROW][C]25[/C][C]129[/C][C]124.473684210526[/C][C]4.52631578947368[/C][/ROW]
[ROW][C]26[/C][C]107[/C][C]104.307692307692[/C][C]2.69230769230769[/C][/ROW]
[ROW][C]27[/C][C]128[/C][C]124.473684210526[/C][C]3.52631578947368[/C][/ROW]
[ROW][C]28[/C][C]119[/C][C]124.473684210526[/C][C]-5.47368421052632[/C][/ROW]
[ROW][C]29[/C][C]62[/C][C]58.9411764705882[/C][C]3.05882352941177[/C][/ROW]
[ROW][C]30[/C][C]124[/C][C]124.473684210526[/C][C]-0.473684210526315[/C][/ROW]
[ROW][C]31[/C][C]140[/C][C]141.181818181818[/C][C]-1.18181818181819[/C][/ROW]
[ROW][C]32[/C][C]144[/C][C]141.181818181818[/C][C]2.81818181818181[/C][/ROW]
[ROW][C]33[/C][C]150[/C][C]150.866666666667[/C][C]-0.866666666666674[/C][/ROW]
[ROW][C]34[/C][C]28[/C][C]31.3333333333333[/C][C]-3.33333333333333[/C][/ROW]
[ROW][C]35[/C][C]177[/C][C]182.625[/C][C]-5.625[/C][/ROW]
[ROW][C]36[/C][C]73[/C][C]82.0625[/C][C]-9.0625[/C][/ROW]
[ROW][C]37[/C][C]111[/C][C]113.272727272727[/C][C]-2.27272727272727[/C][/ROW]
[ROW][C]38[/C][C]98[/C][C]98.375[/C][C]-0.375[/C][/ROW]
[ROW][C]39[/C][C]41[/C][C]31.3333333333333[/C][C]9.66666666666667[/C][/ROW]
[ROW][C]40[/C][C]139[/C][C]141.181818181818[/C][C]-2.18181818181819[/C][/ROW]
[ROW][C]41[/C][C]107[/C][C]104.307692307692[/C][C]2.69230769230769[/C][/ROW]
[ROW][C]42[/C][C]102[/C][C]98.375[/C][C]3.625[/C][/ROW]
[ROW][C]43[/C][C]80[/C][C]82.0625[/C][C]-2.0625[/C][/ROW]
[ROW][C]44[/C][C]66[/C][C]58.9411764705882[/C][C]7.05882352941177[/C][/ROW]
[ROW][C]45[/C][C]51[/C][C]58.9411764705882[/C][C]-7.94117647058823[/C][/ROW]
[ROW][C]46[/C][C]69[/C][C]58.9411764705882[/C][C]10.0588235294118[/C][/ROW]
[ROW][C]47[/C][C]21[/C][C]31.3333333333333[/C][C]-10.3333333333333[/C][/ROW]
[ROW][C]48[/C][C]155[/C][C]150.866666666667[/C][C]4.13333333333333[/C][/ROW]
[ROW][C]49[/C][C]163[/C][C]160.75[/C][C]2.25[/C][/ROW]
[ROW][C]50[/C][C]121[/C][C]124.473684210526[/C][C]-3.47368421052632[/C][/ROW]
[ROW][C]51[/C][C]118[/C][C]113.272727272727[/C][C]4.72727272727273[/C][/ROW]
[ROW][C]52[/C][C]7[/C][C]5.26315789473684[/C][C]1.73684210526316[/C][/ROW]
[ROW][C]53[/C][C]154[/C][C]150.866666666667[/C][C]3.13333333333333[/C][/ROW]
[ROW][C]54[/C][C]21[/C][C]31.3333333333333[/C][C]-10.3333333333333[/C][/ROW]
[ROW][C]55[/C][C]35[/C][C]31.3333333333333[/C][C]3.66666666666667[/C][/ROW]
[ROW][C]56[/C][C]122[/C][C]124.473684210526[/C][C]-2.47368421052632[/C][/ROW]
[ROW][C]57[/C][C]152[/C][C]150.866666666667[/C][C]1.13333333333333[/C][/ROW]
[ROW][C]58[/C][C]255[/C][C]227[/C][C]28[/C][/ROW]
[ROW][C]59[/C][C]177[/C][C]182.625[/C][C]-5.625[/C][/ROW]
[ROW][C]60[/C][C]83[/C][C]82.0625[/C][C]0.9375[/C][/ROW]
[ROW][C]61[/C][C]164[/C][C]160.75[/C][C]3.25[/C][/ROW]
[ROW][C]62[/C][C]202[/C][C]227[/C][C]-25[/C][/ROW]
[ROW][C]63[/C][C]77[/C][C]82.0625[/C][C]-5.0625[/C][/ROW]
[ROW][C]64[/C][C]118[/C][C]124.473684210526[/C][C]-6.47368421052632[/C][/ROW]
[ROW][C]65[/C][C]123[/C][C]124.473684210526[/C][C]-1.47368421052632[/C][/ROW]
[ROW][C]66[/C][C]109[/C][C]113.272727272727[/C][C]-4.27272727272727[/C][/ROW]
[ROW][C]67[/C][C]126[/C][C]124.473684210526[/C][C]1.52631578947368[/C][/ROW]
[ROW][C]68[/C][C]114[/C][C]113.272727272727[/C][C]0.727272727272734[/C][/ROW]
[ROW][C]69[/C][C]161[/C][C]160.75[/C][C]0.25[/C][/ROW]
[ROW][C]70[/C][C]85[/C][C]82.0625[/C][C]2.9375[/C][/ROW]
[ROW][C]71[/C][C]101[/C][C]98.375[/C][C]2.625[/C][/ROW]
[ROW][C]72[/C][C]25[/C][C]31.3333333333333[/C][C]-6.33333333333333[/C][/ROW]
[ROW][C]73[/C][C]102[/C][C]104.307692307692[/C][C]-2.30769230769231[/C][/ROW]
[ROW][C]74[/C][C]126[/C][C]124.473684210526[/C][C]1.52631578947368[/C][/ROW]
[ROW][C]75[/C][C]130[/C][C]124.473684210526[/C][C]5.52631578947368[/C][/ROW]
[ROW][C]76[/C][C]112[/C][C]113.272727272727[/C][C]-1.27272727272727[/C][/ROW]
[ROW][C]77[/C][C]150[/C][C]150.866666666667[/C][C]-0.866666666666674[/C][/ROW]
[ROW][C]78[/C][C]54[/C][C]58.9411764705882[/C][C]-4.94117647058823[/C][/ROW]
[ROW][C]79[/C][C]106[/C][C]104.307692307692[/C][C]1.69230769230769[/C][/ROW]
[ROW][C]80[/C][C]90[/C][C]82.0625[/C][C]7.9375[/C][/ROW]
[ROW][C]81[/C][C]55[/C][C]58.9411764705882[/C][C]-3.94117647058823[/C][/ROW]
[ROW][C]82[/C][C]139[/C][C]141.181818181818[/C][C]-2.18181818181819[/C][/ROW]
[ROW][C]83[/C][C]38[/C][C]31.3333333333333[/C][C]6.66666666666667[/C][/ROW]
[ROW][C]84[/C][C]148[/C][C]150.866666666667[/C][C]-2.86666666666667[/C][/ROW]
[ROW][C]85[/C][C]58[/C][C]58.9411764705882[/C][C]-0.941176470588232[/C][/ROW]
[ROW][C]86[/C][C]27[/C][C]31.3333333333333[/C][C]-4.33333333333333[/C][/ROW]
[ROW][C]87[/C][C]104[/C][C]104.307692307692[/C][C]-0.307692307692307[/C][/ROW]
[ROW][C]88[/C][C]75[/C][C]82.0625[/C][C]-7.0625[/C][/ROW]
[ROW][C]89[/C][C]73[/C][C]82.0625[/C][C]-9.0625[/C][/ROW]
[ROW][C]90[/C][C]157[/C][C]160.75[/C][C]-3.75[/C][/ROW]
[ROW][C]91[/C][C]87[/C][C]82.0625[/C][C]4.9375[/C][/ROW]
[ROW][C]92[/C][C]186[/C][C]182.625[/C][C]3.375[/C][/ROW]
[ROW][C]93[/C][C]88[/C][C]82.0625[/C][C]5.9375[/C][/ROW]
[ROW][C]94[/C][C]107[/C][C]104.307692307692[/C][C]2.69230769230769[/C][/ROW]
[ROW][C]95[/C][C]131[/C][C]124.473684210526[/C][C]6.52631578947368[/C][/ROW]
[ROW][C]96[/C][C]123[/C][C]124.473684210526[/C][C]-1.47368421052632[/C][/ROW]
[ROW][C]97[/C][C]149[/C][C]150.866666666667[/C][C]-1.86666666666667[/C][/ROW]
[ROW][C]98[/C][C]201[/C][C]227[/C][C]-26[/C][/ROW]
[ROW][C]99[/C][C]145[/C][C]150.866666666667[/C][C]-5.86666666666667[/C][/ROW]
[ROW][C]100[/C][C]273[/C][C]227[/C][C]46[/C][/ROW]
[ROW][C]101[/C][C]111[/C][C]113.272727272727[/C][C]-2.27272727272727[/C][/ROW]
[ROW][C]102[/C][C]195[/C][C]182.625[/C][C]12.375[/C][/ROW]
[ROW][C]103[/C][C]69[/C][C]58.9411764705882[/C][C]10.0588235294118[/C][/ROW]
[ROW][C]104[/C][C]49[/C][C]58.9411764705882[/C][C]-9.94117647058823[/C][/ROW]
[ROW][C]105[/C][C]82[/C][C]82.0625[/C][C]-0.0625[/C][/ROW]
[ROW][C]106[/C][C]193[/C][C]182.625[/C][C]10.375[/C][/ROW]
[ROW][C]107[/C][C]102[/C][C]98.375[/C][C]3.625[/C][/ROW]
[ROW][C]108[/C][C]124[/C][C]124.473684210526[/C][C]-0.473684210526315[/C][/ROW]
[ROW][C]109[/C][C]59[/C][C]58.9411764705882[/C][C]0.058823529411768[/C][/ROW]
[ROW][C]110[/C][C]61[/C][C]58.9411764705882[/C][C]2.05882352941177[/C][/ROW]
[ROW][C]111[/C][C]102[/C][C]104.307692307692[/C][C]-2.30769230769231[/C][/ROW]
[ROW][C]112[/C][C]138[/C][C]141.181818181818[/C][C]-3.18181818181819[/C][/ROW]
[ROW][C]113[/C][C]11[/C][C]5.26315789473684[/C][C]5.73684210526316[/C][/ROW]
[ROW][C]114[/C][C]114[/C][C]113.272727272727[/C][C]0.727272727272734[/C][/ROW]
[ROW][C]115[/C][C]28[/C][C]31.3333333333333[/C][C]-3.33333333333333[/C][/ROW]
[ROW][C]116[/C][C]101[/C][C]124.473684210526[/C][C]-23.4736842105263[/C][/ROW]
[ROW][C]117[/C][C]208[/C][C]227[/C][C]-19[/C][/ROW]
[ROW][C]118[/C][C]4[/C][C]5.26315789473684[/C][C]-1.26315789473684[/C][/ROW]
[ROW][C]119[/C][C]93[/C][C]98.375[/C][C]-5.375[/C][/ROW]
[ROW][C]120[/C][C]39[/C][C]31.3333333333333[/C][C]7.66666666666667[/C][/ROW]
[ROW][C]121[/C][C]114[/C][C]113.272727272727[/C][C]0.727272727272734[/C][/ROW]
[ROW][C]122[/C][C]104[/C][C]104.307692307692[/C][C]-0.307692307692307[/C][/ROW]
[ROW][C]123[/C][C]40[/C][C]31.3333333333333[/C][C]8.66666666666667[/C][/ROW]
[ROW][C]124[/C][C]94[/C][C]98.375[/C][C]-4.375[/C][/ROW]
[ROW][C]125[/C][C]16[/C][C]5.26315789473684[/C][C]10.7368421052632[/C][/ROW]
[ROW][C]126[/C][C]64[/C][C]58.9411764705882[/C][C]5.05882352941177[/C][/ROW]
[ROW][C]127[/C][C]154[/C][C]150.866666666667[/C][C]3.13333333333333[/C][/ROW]
[ROW][C]128[/C][C]145[/C][C]150.866666666667[/C][C]-5.86666666666667[/C][/ROW]
[ROW][C]129[/C][C]150[/C][C]150.866666666667[/C][C]-0.866666666666674[/C][/ROW]
[ROW][C]130[/C][C]156[/C][C]150.866666666667[/C][C]5.13333333333333[/C][/ROW]
[ROW][C]131[/C][C]229[/C][C]227[/C][C]2[/C][/ROW]
[ROW][C]132[/C][C]84[/C][C]82.0625[/C][C]1.9375[/C][/ROW]
[ROW][C]133[/C][C]49[/C][C]58.9411764705882[/C][C]-9.94117647058823[/C][/ROW]
[ROW][C]134[/C][C]101[/C][C]104.307692307692[/C][C]-3.30769230769231[/C][/ROW]
[ROW][C]135[/C][C]179[/C][C]182.625[/C][C]-3.625[/C][/ROW]
[ROW][C]136[/C][C]15[/C][C]5.26315789473684[/C][C]9.73684210526316[/C][/ROW]
[ROW][C]137[/C][C]154[/C][C]150.866666666667[/C][C]3.13333333333333[/C][/ROW]
[ROW][C]138[/C][C]90[/C][C]82.0625[/C][C]7.9375[/C][/ROW]
[ROW][C]139[/C][C]133[/C][C]124.473684210526[/C][C]8.52631578947368[/C][/ROW]
[ROW][C]140[/C][C]133[/C][C]124.473684210526[/C][C]8.52631578947368[/C][/ROW]
[ROW][C]141[/C][C]97[/C][C]104.307692307692[/C][C]-7.30769230769231[/C][/ROW]
[ROW][C]142[/C][C]116[/C][C]113.272727272727[/C][C]2.72727272727273[/C][/ROW]
[ROW][C]143[/C][C]221[/C][C]227[/C][C]-6[/C][/ROW]
[ROW][C]144[/C][C]15[/C][C]5.26315789473684[/C][C]9.73684210526316[/C][/ROW]
[ROW][C]145[/C][C]157[/C][C]160.75[/C][C]-3.75[/C][/ROW]
[ROW][C]146[/C][C]105[/C][C]104.307692307692[/C][C]0.692307692307693[/C][/ROW]
[ROW][C]147[/C][C]150[/C][C]150.866666666667[/C][C]-0.866666666666674[/C][/ROW]
[ROW][C]148[/C][C]177[/C][C]182.625[/C][C]-5.625[/C][/ROW]
[ROW][C]149[/C][C]0[/C][C]5.26315789473684[/C][C]-5.26315789473684[/C][/ROW]
[ROW][C]150[/C][C]5[/C][C]5.26315789473684[/C][C]-0.263157894736842[/C][/ROW]
[ROW][C]151[/C][C]0[/C][C]5.26315789473684[/C][C]-5.26315789473684[/C][/ROW]
[ROW][C]152[/C][C]0[/C][C]5.26315789473684[/C][C]-5.26315789473684[/C][/ROW]
[ROW][C]153[/C][C]0[/C][C]5.26315789473684[/C][C]-5.26315789473684[/C][/ROW]
[ROW][C]154[/C][C]0[/C][C]5.26315789473684[/C][C]-5.26315789473684[/C][/ROW]
[ROW][C]155[/C][C]111[/C][C]113.272727272727[/C][C]-2.27272727272727[/C][/ROW]
[ROW][C]156[/C][C]165[/C][C]160.75[/C][C]4.25[/C][/ROW]
[ROW][C]157[/C][C]0[/C][C]5.26315789473684[/C][C]-5.26315789473684[/C][/ROW]
[ROW][C]158[/C][C]0[/C][C]5.26315789473684[/C][C]-5.26315789473684[/C][/ROW]
[ROW][C]159[/C][C]6[/C][C]5.26315789473684[/C][C]0.736842105263158[/C][/ROW]
[ROW][C]160[/C][C]13[/C][C]5.26315789473684[/C][C]7.73684210526316[/C][/ROW]
[ROW][C]161[/C][C]3[/C][C]5.26315789473684[/C][C]-2.26315789473684[/C][/ROW]
[ROW][C]162[/C][C]33[/C][C]31.3333333333333[/C][C]1.66666666666667[/C][/ROW]
[ROW][C]163[/C][C]0[/C][C]5.26315789473684[/C][C]-5.26315789473684[/C][/ROW]
[ROW][C]164[/C][C]63[/C][C]58.9411764705882[/C][C]4.05882352941177[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=154376&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=154376&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
1148141.1818181818186.81818181818181
2124124.473684210526-0.473684210526315
3108104.3076923076923.69230769230769
4142141.1818181818180.818181818181813
56658.94117647058827.05882352941177
64758.9411764705882-11.9411764705882
7163160.752.25
855.26315789473684-0.263157894736842
9106104.3076923076921.69230769230769
108782.06254.9375
11141141.181818181818-0.181818181818187
128882.06255.9375
136058.94117647058821.05882352941177
14145141.1818181818183.81818181818181
159598.375-3.375
16137141.181818181818-4.18181818181819
17177182.625-5.625
1810298.3753.625
19151150.8666666666670.133333333333326
20156160.75-4.75
21140141.181818181818-1.18181818181819
22130124.4736842105265.52631578947368
237182.0625-11.0625
24116113.2727272727272.72727272727273
25129124.4736842105264.52631578947368
26107104.3076923076922.69230769230769
27128124.4736842105263.52631578947368
28119124.473684210526-5.47368421052632
296258.94117647058823.05882352941177
30124124.473684210526-0.473684210526315
31140141.181818181818-1.18181818181819
32144141.1818181818182.81818181818181
33150150.866666666667-0.866666666666674
342831.3333333333333-3.33333333333333
35177182.625-5.625
367382.0625-9.0625
37111113.272727272727-2.27272727272727
389898.375-0.375
394131.33333333333339.66666666666667
40139141.181818181818-2.18181818181819
41107104.3076923076922.69230769230769
4210298.3753.625
438082.0625-2.0625
446658.94117647058827.05882352941177
455158.9411764705882-7.94117647058823
466958.941176470588210.0588235294118
472131.3333333333333-10.3333333333333
48155150.8666666666674.13333333333333
49163160.752.25
50121124.473684210526-3.47368421052632
51118113.2727272727274.72727272727273
5275.263157894736841.73684210526316
53154150.8666666666673.13333333333333
542131.3333333333333-10.3333333333333
553531.33333333333333.66666666666667
56122124.473684210526-2.47368421052632
57152150.8666666666671.13333333333333
5825522728
59177182.625-5.625
608382.06250.9375
61164160.753.25
62202227-25
637782.0625-5.0625
64118124.473684210526-6.47368421052632
65123124.473684210526-1.47368421052632
66109113.272727272727-4.27272727272727
67126124.4736842105261.52631578947368
68114113.2727272727270.727272727272734
69161160.750.25
708582.06252.9375
7110198.3752.625
722531.3333333333333-6.33333333333333
73102104.307692307692-2.30769230769231
74126124.4736842105261.52631578947368
75130124.4736842105265.52631578947368
76112113.272727272727-1.27272727272727
77150150.866666666667-0.866666666666674
785458.9411764705882-4.94117647058823
79106104.3076923076921.69230769230769
809082.06257.9375
815558.9411764705882-3.94117647058823
82139141.181818181818-2.18181818181819
833831.33333333333336.66666666666667
84148150.866666666667-2.86666666666667
855858.9411764705882-0.941176470588232
862731.3333333333333-4.33333333333333
87104104.307692307692-0.307692307692307
887582.0625-7.0625
897382.0625-9.0625
90157160.75-3.75
918782.06254.9375
92186182.6253.375
938882.06255.9375
94107104.3076923076922.69230769230769
95131124.4736842105266.52631578947368
96123124.473684210526-1.47368421052632
97149150.866666666667-1.86666666666667
98201227-26
99145150.866666666667-5.86666666666667
10027322746
101111113.272727272727-2.27272727272727
102195182.62512.375
1036958.941176470588210.0588235294118
1044958.9411764705882-9.94117647058823
1058282.0625-0.0625
106193182.62510.375
10710298.3753.625
108124124.473684210526-0.473684210526315
1095958.94117647058820.058823529411768
1106158.94117647058822.05882352941177
111102104.307692307692-2.30769230769231
112138141.181818181818-3.18181818181819
113115.263157894736845.73684210526316
114114113.2727272727270.727272727272734
1152831.3333333333333-3.33333333333333
116101124.473684210526-23.4736842105263
117208227-19
11845.26315789473684-1.26315789473684
1199398.375-5.375
1203931.33333333333337.66666666666667
121114113.2727272727270.727272727272734
122104104.307692307692-0.307692307692307
1234031.33333333333338.66666666666667
1249498.375-4.375
125165.2631578947368410.7368421052632
1266458.94117647058825.05882352941177
127154150.8666666666673.13333333333333
128145150.866666666667-5.86666666666667
129150150.866666666667-0.866666666666674
130156150.8666666666675.13333333333333
1312292272
1328482.06251.9375
1334958.9411764705882-9.94117647058823
134101104.307692307692-3.30769230769231
135179182.625-3.625
136155.263157894736849.73684210526316
137154150.8666666666673.13333333333333
1389082.06257.9375
139133124.4736842105268.52631578947368
140133124.4736842105268.52631578947368
14197104.307692307692-7.30769230769231
142116113.2727272727272.72727272727273
143221227-6
144155.263157894736849.73684210526316
145157160.75-3.75
146105104.3076923076920.692307692307693
147150150.866666666667-0.866666666666674
148177182.625-5.625
14905.26315789473684-5.26315789473684
15055.26315789473684-0.263157894736842
15105.26315789473684-5.26315789473684
15205.26315789473684-5.26315789473684
15305.26315789473684-5.26315789473684
15405.26315789473684-5.26315789473684
155111113.272727272727-2.27272727272727
156165160.754.25
15705.26315789473684-5.26315789473684
15805.26315789473684-5.26315789473684
15965.263157894736840.736842105263158
160135.263157894736847.73684210526316
16135.26315789473684-2.26315789473684
1623331.33333333333331.66666666666667
16305.26315789473684-5.26315789473684
1646358.94117647058824.05882352941177



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