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 computationSat, 17 Dec 2011 05:32:36 -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/17/t1324118750wwb23q81tovt8n4.htm/, Retrieved Thu, 28 Mar 2024 09:10:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=156198, Retrieved Thu, 28 Mar 2024 09:10:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact119
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)] [] [2011-12-17 10:32:36] [86c924663d3d275e16f9cde57b3a6185] [Current]
Feedback Forum

Post a new message
Dataseries X:
210907	1418	396	79	30	112285	144	146283	94
120982	869	297	58	28	84786	103	98364	103
176508	1530	559	60	38	83123	98	86146	93
179321	2172	967	108	30	101193	135	96933	103
123185	901	270	49	22	38361	61	79234	51
52746	463	143	0	26	68504	39	42551	70
385534	3201	1562	121	25	119182	150	195663	91
33170	371	109	1	18	22807	5	6853	22
101645	1192	371	20	11	17140	28	21529	38
149061	1583	656	43	26	116174	84	95757	93
165446	1439	511	69	25	57635	80	85584	60
237213	1764	655	78	38	66198	130	143983	123
173326	1495	465	86	44	71701	82	75851	148
133131	1373	525	44	30	57793	60	59238	90
258873	2187	885	104	40	80444	131	93163	124
180083	1491	497	63	34	53855	84	96037	70
324799	4041	1436	158	47	97668	140	151511	168
230964	1706	612	102	30	133824	151	136368	115
236785	2152	865	77	31	101481	91	112642	71
135473	1036	385	82	23	99645	138	94728	66
202925	1882	567	115	36	114789	150	105499	134
215147	1929	639	101	36	99052	124	121527	117
344297	2242	963	80	30	67654	119	127766	108
153935	1220	398	50	25	65553	73	98958	84
132943	1289	410	83	39	97500	110	77900	156
174724	2515	966	123	34	69112	123	85646	120
174415	2147	801	73	31	82753	90	98579	114
225548	2352	892	81	31	85323	116	130767	94
223632	1638	513	105	33	72654	113	131741	120
124817	1222	469	47	25	30727	56	53907	81
221698	1812	683	105	33	77873	115	178812	110
210767	1677	643	94	35	117478	119	146761	133
170266	1579	535	44	42	74007	129	82036	122
260561	1731	625	114	43	90183	127	163253	158
84853	807	264	38	30	61542	27	27032	109
294424	2452	992	107	33	101494	175	171975	124
101011	829	238	30	13	27570	35	65990	39
215641	1940	818	71	32	55813	64	86572	92
325107	2662	937	84	36	79215	96	159676	126
7176	186	70	0	0	1423	0	1929	0
167542	1499	507	59	28	55461	84	85371	70
106408	865	260	33	14	31081	41	58391	37
96560	1793	503	42	17	22996	47	31580	38
265769	2527	927	96	32	83122	126	136815	120
269651	2747	1269	106	30	70106	105	120642	93
149112	1324	537	56	35	60578	80	69107	95
175824	2702	910	57	20	39992	70	50495	77
152871	1383	532	59	28	79892	73	108016	90
111665	1179	345	39	28	49810	57	46341	80
116408	2099	918	34	39	71570	40	78348	31
362301	4308	1635	76	34	100708	68	79336	110
78800	918	330	20	26	33032	21	56968	66
183167	1831	557	91	39	82875	127	93176	138
277965	3373	1178	115	39	139077	154	161632	133
150629	1713	740	85	33	71595	116	87850	113
168809	1438	452	76	28	72260	102	127969	100
24188	496	218	8	4	5950	7	15049	7
329267	2253	764	79	39	115762	148	155135	140
65029	744	255	21	18	32551	21	25109	61
101097	1161	454	30	14	31701	35	45824	41
218946	2352	866	76	29	80670	112	102996	96
244052	2144	574	101	44	143558	137	160604	164
341570	4691	1276	94	21	117105	135	158051	78
103597	1112	379	27	16	23789	26	44547	49
233328	2694	825	92	28	120733	230	162647	102
256462	1973	798	123	35	105195	181	174141	124
206161	1769	663	75	28	73107	71	60622	99
311473	3148	1069	128	38	132068	147	179566	129
235800	2474	921	105	23	149193	190	184301	62
177939	2084	858	55	36	46821	64	75661	73
207176	1954	711	56	32	87011	105	96144	114
196553	1226	503	41	29	95260	107	129847	99
174184	1389	382	72	25	55183	94	117286	70
143246	1496	464	67	27	106671	116	71180	104
187559	2269	717	75	36	73511	106	109377	116
187681	1833	690	114	28	92945	143	85298	91
119016	1268	462	118	23	78664	81	73631	74
182192	1943	657	77	40	70054	89	86767	138
73566	893	385	22	23	22618	26	23824	67
194979	1762	577	66	40	74011	84	93487	151
167488	1403	619	69	28	83737	113	82981	72
143756	1425	479	105	34	69094	120	73815	120
275541	1857	817	116	33	93133	110	94552	115
243199	1840	752	88	28	95536	134	132190	105
182999	1502	430	73	34	225920	54	128754	104
135649	1441	451	99	30	62133	96	66363	108
152299	1420	537	62	33	61370	78	67808	98
120221	1416	519	53	22	43836	51	61724	69
346485	2970	1000	118	38	106117	121	131722	111
145790	1317	637	30	26	38692	38	68580	99
193339	1644	465	100	35	84651	145	106175	71
80953	870	437	49	8	56622	59	55792	27
122774	1654	711	24	24	15986	27	25157	69
130585	1054	299	67	29	95364	91	76669	107
112611	937	248	46	20	26706	48	57283	73
286468	3004	1162	57	29	89691	68	105805	107
241066	2008	714	75	45	67267	58	129484	93
148446	2547	905	135	37	126846	150	72413	129
204713	1885	649	68	33	41140	74	87831	69
182079	1626	512	124	33	102860	181	96971	118
140344	1468	472	33	25	51715	65	71299	73
220516	2445	905	98	32	55801	97	77494	119
243060	1964	786	58	29	111813	121	120336	104
162765	1381	489	68	28	120293	99	93913	107
182613	1369	479	81	28	138599	152	136048	99
232138	1659	617	131	31	161647	188	181248	90
265318	2888	925	110	52	115929	138	146123	197
85574	1290	351	37	21	24266	40	32036	36
310839	2845	1144	130	24	162901	254	186646	85
225060	1982	669	93	41	109825	87	102255	139
232317	1904	707	118	33	129838	178	168237	106
144966	1391	458	39	32	37510	51	64219	50
43287	602	214	13	19	43750	49	19630	64
155754	1743	599	74	20	40652	73	76825	31
164709	1559	572	81	31	87771	176	115338	63
201940	2014	897	109	31	85872	94	109427	92
235454	2143	819	151	32	89275	120	118168	106
220801	2146	720	51	18	44418	66	84845	63
99466	874	273	28	23	192565	56	153197	69
92661	1590	508	40	17	35232	39	29877	41
133328	1590	506	56	20	40909	66	63506	56
61361	1210	451	27	12	13294	27	22445	25
125930	2072	699	37	17	32387	65	47695	65
100750	1281	407	83	30	140867	58	68370	93
224549	1401	465	54	31	120662	98	146304	114
82316	834	245	27	10	21233	25	38233	38
102010	1105	370	28	13	44332	26	42071	44
101523	1272	316	59	22	61056	77	50517	87
243511	1944	603	133	42	101338	130	103950	110
22938	391	154	12	1	1168	11	5841	0
41566	761	229	0	9	13497	2	2341	27
152474	1605	577	106	32	65567	101	84396	83
61857	530	192	23	11	25162	31	24610	30
99923	1988	617	44	25	32334	36	35753	80
132487	1386	411	71	36	40735	120	55515	98
317394	2395	975	116	31	91413	195	209056	82
21054	387	146	4	0	855	4	6622	0
209641	1742	705	62	24	97068	89	115814	60
22648	620	184	12	13	44339	24	11609	28
31414	449	200	18	8	14116	39	13155	9
46698	800	274	14	13	10288	14	18274	33
131698	1684	502	60	19	65622	78	72875	59
91735	1050	382	7	18	16563	15	10112	49
244749	2699	964	98	33	76643	106	142775	115
184510	1606	537	64	40	110681	83	68847	140
79863	1502	438	29	22	29011	24	17659	49
128423	1204	369	32	38	92696	37	20112	120
97839	1138	417	25	24	94785	77	61023	66
38214	568	276	16	8	8773	16	13983	21
151101	1459	514	48	35	83209	56	65176	124
272458	2158	822	100	43	93815	132	132432	152
172494	1111	389	46	43	86687	144	112494	139
108043	1421	466	45	14	34553	40	45109	38
328107	2833	1255	129	41	105547	153	170875	144
250579	1955	694	130	38	103487	143	180759	120
351067	2922	1024	136	45	213688	220	214921	160
158015	1002	400	59	31	71220	79	100226	114
98866	1060	397	25	13	23517	50	32043	39
85439	956	350	32	28	56926	39	54454	78
229242	2186	719	63	31	91721	95	78876	119
351619	3604	1277	95	40	115168	169	170745	141
84207	1035	356	14	30	111194	12	6940	101
120445	1417	457	36	16	51009	63	49025	56
324598	3261	1402	113	37	135777	134	122037	133
131069	1587	600	47	30	51513	69	53782	83
204271	1424	480	92	35	74163	119	127748	116
165543	1701	595	70	32	51633	119	86839	90
141722	1249	436	19	27	75345	75	44830	36
116048	946	230	50	20	33416	63	77395	50
250047	1926	651	41	18	83305	55	89324	61
299775	3352	1367	91	31	98952	103	103300	97
195838	1641	564	111	31	102372	197	112283	98
173260	2035	716	41	21	37238	16	10901	78
254488	2312	747	120	39	103772	140	120691	117
104389	1369	467	135	41	123969	89	58106	148
136084	1577	671	27	13	27142	40	57140	41
199476	2201	861	87	32	135400	125	122422	105
92499	961	319	25	18	21399	21	25899	55
224330	1900	612	131	39	130115	167	139296	132
135781	1254	433	45	14	24874	32	52678	44
74408	1335	434	29	7	34988	36	23853	21
81240	1597	503	58	17	45549	13	17306	50
14688	207	85	4	0	6023	5	7953	0
181633	1645	564	47	30	64466	96	89455	73
271856	2429	824	109	37	54990	151	147866	86
7199	151	74	7	0	1644	6	4245	0
46660	474	259	12	5	6179	13	21509	13
17547	141	69	0	1	3926	3	7670	4
133368	1639	535	37	16	32755	57	66675	57
95227	872	239	37	32	34777	23	14336	48
152601	1318	438	46	24	73224	61	53608	46
98146	1018	459	15	17	27114	21	30059	48
79619	1383	426	42	11	20760	43	29668	32
59194	1314	288	7	24	37636	20	22097	68
139942	1335	498	54	22	65461	82	96841	87
118612	1403	454	54	12	30080	90	41907	43
72880	910	376	14	19	24094	25	27080	67




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156198&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 time6 seconds
R Server'George Udny Yule' @ yule.wessa.net







Goodness of Fit
Correlation0.9397
R-squared0.883
RMSE28112.6784

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156198&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.9397
R-squared0.883
RMSE28112.6784







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1210907166707.88461538544199.1153846154
2120982166707.884615385-45725.8846153846
3176508166707.8846153859800.11538461538
4179321221840.5-42519.5
5123185109097.21052631614087.7894736842
65274633226.611111111119519.3888888889
7385534320569.29411764764964.705882353
83317033226.6111111111-56.6111111111095
910164588132.045454545513512.9545454545
10149061166707.884615385-17646.8846153846
11165446166707.884615385-1261.88461538462
12237213242812.851851852-5599.85185185185
13173326137349.04761904835976.9523809524
14133131137349.047619048-4218.04761904763
15258873221840.537032.5
16180083166707.88461538513375.1153846154
17324799320569.2941176474229.70588235295
18230964242812.851851852-11848.8518518519
19236785221840.514944.5
20135473166707.884615385-31234.8846153846
21202925195605.7916666677319.20833333334
22215147242812.851851852-27665.8518518519
23344297320569.29411764723727.705882353
24153935166707.884615385-12772.8846153846
25132943137349.047619048-4406.04761904763
26174724221840.5-47116.5
27174415195605.791666667-21190.7916666667
28225548242812.851851852-17264.8518518519
29223632242812.851851852-19180.8518518519
30124817109097.21052631615719.7894736842
31221698242812.851851852-21114.8518518519
32210767242812.851851852-32045.8518518519
33170266166707.8846153853558.11538461538
34260561242812.85185185217748.1481481481
358485388132.0454545455-3279.04545454546
36294424320569.294117647-26145.294117647
37101011109097.210526316-8086.21052631579
38215641221840.5-6199.5
39325107320569.2941176474537.70588235295
40717633226.6111111111-26050.6111111111
41167542166707.884615385834.115384615376
42106408109097.210526316-2689.21052631579
4396560129652.714285714-33092.7142857143
44265769242812.85185185222956.1481481481
45269651320569.294117647-50918.294117647
46149112137349.04761904811762.9523809524
47175824221840.5-46016.5
48152871166707.884615385-13836.8846153846
49111665109097.2105263162567.78947368421
50116408221840.5-105432.5
51362301221840.5140460.5
5278800109097.210526316-30297.2105263158
53183167195605.791666667-12438.7916666667
54277965320569.294117647-42604.294117647
55150629195605.791666667-44976.7916666667
56168809166707.8846153852101.11538461538
572418833226.6111111111-9038.61111111111
58329267242812.85185185286454.1481481481
596502933226.611111111131802.3888888889
60101097109097.210526316-8000.21052631579
61218946221840.5-2894.5
62244052242812.8518518521239.14814814815
63341570320569.29411764721000.705882353
64103597109097.210526316-5500.21052631579
65233328242812.851851852-9484.85185185185
66256462242812.85185185213649.1481481481
67206161195605.79166666710555.2083333333
68311473320569.294117647-9096.29411764705
69235800242812.851851852-7012.85185185185
70177939221840.5-43901.5
71207176195605.79166666711570.2083333333
72196553166707.88461538529845.1153846154
73174184166707.8846153857476.11538461538
74143246137349.0476190485896.95238095237
75187559195605.791666667-8046.79166666666
76187681195605.791666667-7924.79166666666
77119016109097.2105263169918.78947368421
78182192195605.791666667-13413.7916666667
797356688132.0454545455-14566.0454545455
80194979195605.791666667-626.791666666657
81167488166707.884615385780.115384615376
82143756137349.0476190486406.95238095237
83275541221840.553700.5
84243199242812.851851852386.148148148146
85182999166707.88461538516291.1153846154
86135649137349.047619048-1700.04761904763
87152299137349.04761904814949.9523809524
88120221137349.047619048-17128.0476190476
89346485320569.29411764725915.705882353
90145790137349.0476190488440.95238095237
91193339195605.791666667-2266.79166666666
9280953109097.210526316-28144.2105263158
93122774129652.714285714-6878.71428571429
94130585109097.21052631621487.7894736842
95112611109097.2105263163513.78947368421
96286468221840.564627.5
97241066242812.851851852-1746.85185185185
98148446221840.5-73394.5
99204713195605.7916666679107.20833333334
100182079195605.791666667-13526.7916666667
101140344137349.0476190482994.95238095237
102220516221840.5-1324.5
103243060242812.851851852247.148148148146
104162765166707.884615385-3942.88461538462
105182613166707.88461538515905.1153846154
106232138242812.851851852-10674.8518518519
107265318242812.85185185222505.1481481481
1088557488132.0454545455-2558.04545454546
109310839320569.294117647-9730.29411764705
110225060195605.79166666729454.2083333333
111232317242812.851851852-10495.8518518519
112144966137349.0476190487616.95238095237
1134328733226.611111111110060.3888888889
114155754129652.71428571426101.2857142857
115164709166707.884615385-1998.88461538462
116201940221840.5-19900.5
117235454242812.851851852-7358.85185185185
118220801195605.79166666725195.2083333333
11999466166707.884615385-67241.8846153846
1209266188132.04545454554528.95454545454
121133328137349.047619048-4021.04761904763
1226136188132.0454545455-26771.0454545455
123125930129652.714285714-3722.71428571429
124100750109097.210526316-8347.21052631579
125224549166707.88461538557841.1153846154
1268231688132.0454545455-5816.04545454546
12710201088132.045454545513877.9545454545
128101523109097.210526316-7574.21052631579
129243511195605.79166666747905.2083333333
1302293833226.6111111111-10288.6111111111
1314156633226.61111111118339.38888888889
132152474166707.884615385-14233.8846153846
1336185733226.611111111128630.3888888889
13499923129652.714285714-29729.7142857143
135132487137349.047619048-4862.04761904763
136317394320569.294117647-3175.29411764705
1372105433226.6111111111-12172.6111111111
138209641195605.79166666714035.2083333333
1392264833226.6111111111-10578.6111111111
1403141433226.6111111111-1812.61111111111
1414669833226.611111111113471.3888888889
142131698195605.791666667-63907.7916666667
1439173588132.04545454553602.95454545454
144244749320569.294117647-75820.294117647
145184510195605.791666667-11095.7916666667
1467986388132.0454545455-8269.04545454546
14712842388132.045454545540290.9545454545
14897839109097.210526316-11258.2105263158
1493821433226.61111111114987.38888888889
150151101137349.04761904813751.9523809524
151272458242812.85185185229645.1481481481
152172494166707.8846153855786.11538461538
153108043137349.047619048-29306.0476190476
154328107320569.2941176477537.70588235295
155250579242812.8518518527766.14814814815
156351067320569.29411764730497.705882353
157158015166707.884615385-8692.88461538462
1589886688132.045454545510733.9545454545
15985439109097.210526316-23658.2105263158
160229242195605.79166666733636.2083333333
161351619320569.29411764731049.705882353
1628420788132.0454545455-3925.04545454546
163120445137349.047619048-16904.0476190476
164324598320569.2941176474028.70588235295
165131069137349.047619048-6280.04761904763
166204271166707.88461538537563.1153846154
167165543195605.791666667-30062.7916666667
168141722109097.21052631632624.7894736842
169116048109097.2105263166950.78947368421
170250047195605.79166666754441.2083333333
171299775221840.577934.5
172195838195605.791666667232.208333333343
173173260129652.71428571443607.2857142857
174254488242812.85185185211675.1481481481
175104389137349.047619048-32960.0476190476
176136084137349.047619048-1265.04761904763
177199476242812.851851852-43336.8518518519
1789249988132.04545454554366.95454545454
179224330242812.851851852-18482.8518518519
180135781109097.21052631626683.7894736842
1817440888132.0454545455-13724.0454545455
1828124088132.0454545455-6892.04545454546
1831468833226.6111111111-18538.6111111111
184181633195605.791666667-13972.7916666667
185271856242812.85185185229043.1481481481
186719933226.6111111111-26027.6111111111
1874666033226.611111111113433.3888888889
1881754733226.6111111111-15679.6111111111
189133368129652.7142857143715.28571428571
1909522788132.04545454557094.95454545454
191152601137349.04761904815251.9523809524
1929814688132.045454545510013.9545454545
1937961988132.0454545455-8513.04545454546
1945919488132.0454545455-28938.0454545455
195139942166707.884615385-26765.8846153846
19611861288132.045454545530479.9545454545
1977288088132.0454545455-15252.0454545455

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 210907 & 166707.884615385 & 44199.1153846154 \tabularnewline
2 & 120982 & 166707.884615385 & -45725.8846153846 \tabularnewline
3 & 176508 & 166707.884615385 & 9800.11538461538 \tabularnewline
4 & 179321 & 221840.5 & -42519.5 \tabularnewline
5 & 123185 & 109097.210526316 & 14087.7894736842 \tabularnewline
6 & 52746 & 33226.6111111111 & 19519.3888888889 \tabularnewline
7 & 385534 & 320569.294117647 & 64964.705882353 \tabularnewline
8 & 33170 & 33226.6111111111 & -56.6111111111095 \tabularnewline
9 & 101645 & 88132.0454545455 & 13512.9545454545 \tabularnewline
10 & 149061 & 166707.884615385 & -17646.8846153846 \tabularnewline
11 & 165446 & 166707.884615385 & -1261.88461538462 \tabularnewline
12 & 237213 & 242812.851851852 & -5599.85185185185 \tabularnewline
13 & 173326 & 137349.047619048 & 35976.9523809524 \tabularnewline
14 & 133131 & 137349.047619048 & -4218.04761904763 \tabularnewline
15 & 258873 & 221840.5 & 37032.5 \tabularnewline
16 & 180083 & 166707.884615385 & 13375.1153846154 \tabularnewline
17 & 324799 & 320569.294117647 & 4229.70588235295 \tabularnewline
18 & 230964 & 242812.851851852 & -11848.8518518519 \tabularnewline
19 & 236785 & 221840.5 & 14944.5 \tabularnewline
20 & 135473 & 166707.884615385 & -31234.8846153846 \tabularnewline
21 & 202925 & 195605.791666667 & 7319.20833333334 \tabularnewline
22 & 215147 & 242812.851851852 & -27665.8518518519 \tabularnewline
23 & 344297 & 320569.294117647 & 23727.705882353 \tabularnewline
24 & 153935 & 166707.884615385 & -12772.8846153846 \tabularnewline
25 & 132943 & 137349.047619048 & -4406.04761904763 \tabularnewline
26 & 174724 & 221840.5 & -47116.5 \tabularnewline
27 & 174415 & 195605.791666667 & -21190.7916666667 \tabularnewline
28 & 225548 & 242812.851851852 & -17264.8518518519 \tabularnewline
29 & 223632 & 242812.851851852 & -19180.8518518519 \tabularnewline
30 & 124817 & 109097.210526316 & 15719.7894736842 \tabularnewline
31 & 221698 & 242812.851851852 & -21114.8518518519 \tabularnewline
32 & 210767 & 242812.851851852 & -32045.8518518519 \tabularnewline
33 & 170266 & 166707.884615385 & 3558.11538461538 \tabularnewline
34 & 260561 & 242812.851851852 & 17748.1481481481 \tabularnewline
35 & 84853 & 88132.0454545455 & -3279.04545454546 \tabularnewline
36 & 294424 & 320569.294117647 & -26145.294117647 \tabularnewline
37 & 101011 & 109097.210526316 & -8086.21052631579 \tabularnewline
38 & 215641 & 221840.5 & -6199.5 \tabularnewline
39 & 325107 & 320569.294117647 & 4537.70588235295 \tabularnewline
40 & 7176 & 33226.6111111111 & -26050.6111111111 \tabularnewline
41 & 167542 & 166707.884615385 & 834.115384615376 \tabularnewline
42 & 106408 & 109097.210526316 & -2689.21052631579 \tabularnewline
43 & 96560 & 129652.714285714 & -33092.7142857143 \tabularnewline
44 & 265769 & 242812.851851852 & 22956.1481481481 \tabularnewline
45 & 269651 & 320569.294117647 & -50918.294117647 \tabularnewline
46 & 149112 & 137349.047619048 & 11762.9523809524 \tabularnewline
47 & 175824 & 221840.5 & -46016.5 \tabularnewline
48 & 152871 & 166707.884615385 & -13836.8846153846 \tabularnewline
49 & 111665 & 109097.210526316 & 2567.78947368421 \tabularnewline
50 & 116408 & 221840.5 & -105432.5 \tabularnewline
51 & 362301 & 221840.5 & 140460.5 \tabularnewline
52 & 78800 & 109097.210526316 & -30297.2105263158 \tabularnewline
53 & 183167 & 195605.791666667 & -12438.7916666667 \tabularnewline
54 & 277965 & 320569.294117647 & -42604.294117647 \tabularnewline
55 & 150629 & 195605.791666667 & -44976.7916666667 \tabularnewline
56 & 168809 & 166707.884615385 & 2101.11538461538 \tabularnewline
57 & 24188 & 33226.6111111111 & -9038.61111111111 \tabularnewline
58 & 329267 & 242812.851851852 & 86454.1481481481 \tabularnewline
59 & 65029 & 33226.6111111111 & 31802.3888888889 \tabularnewline
60 & 101097 & 109097.210526316 & -8000.21052631579 \tabularnewline
61 & 218946 & 221840.5 & -2894.5 \tabularnewline
62 & 244052 & 242812.851851852 & 1239.14814814815 \tabularnewline
63 & 341570 & 320569.294117647 & 21000.705882353 \tabularnewline
64 & 103597 & 109097.210526316 & -5500.21052631579 \tabularnewline
65 & 233328 & 242812.851851852 & -9484.85185185185 \tabularnewline
66 & 256462 & 242812.851851852 & 13649.1481481481 \tabularnewline
67 & 206161 & 195605.791666667 & 10555.2083333333 \tabularnewline
68 & 311473 & 320569.294117647 & -9096.29411764705 \tabularnewline
69 & 235800 & 242812.851851852 & -7012.85185185185 \tabularnewline
70 & 177939 & 221840.5 & -43901.5 \tabularnewline
71 & 207176 & 195605.791666667 & 11570.2083333333 \tabularnewline
72 & 196553 & 166707.884615385 & 29845.1153846154 \tabularnewline
73 & 174184 & 166707.884615385 & 7476.11538461538 \tabularnewline
74 & 143246 & 137349.047619048 & 5896.95238095237 \tabularnewline
75 & 187559 & 195605.791666667 & -8046.79166666666 \tabularnewline
76 & 187681 & 195605.791666667 & -7924.79166666666 \tabularnewline
77 & 119016 & 109097.210526316 & 9918.78947368421 \tabularnewline
78 & 182192 & 195605.791666667 & -13413.7916666667 \tabularnewline
79 & 73566 & 88132.0454545455 & -14566.0454545455 \tabularnewline
80 & 194979 & 195605.791666667 & -626.791666666657 \tabularnewline
81 & 167488 & 166707.884615385 & 780.115384615376 \tabularnewline
82 & 143756 & 137349.047619048 & 6406.95238095237 \tabularnewline
83 & 275541 & 221840.5 & 53700.5 \tabularnewline
84 & 243199 & 242812.851851852 & 386.148148148146 \tabularnewline
85 & 182999 & 166707.884615385 & 16291.1153846154 \tabularnewline
86 & 135649 & 137349.047619048 & -1700.04761904763 \tabularnewline
87 & 152299 & 137349.047619048 & 14949.9523809524 \tabularnewline
88 & 120221 & 137349.047619048 & -17128.0476190476 \tabularnewline
89 & 346485 & 320569.294117647 & 25915.705882353 \tabularnewline
90 & 145790 & 137349.047619048 & 8440.95238095237 \tabularnewline
91 & 193339 & 195605.791666667 & -2266.79166666666 \tabularnewline
92 & 80953 & 109097.210526316 & -28144.2105263158 \tabularnewline
93 & 122774 & 129652.714285714 & -6878.71428571429 \tabularnewline
94 & 130585 & 109097.210526316 & 21487.7894736842 \tabularnewline
95 & 112611 & 109097.210526316 & 3513.78947368421 \tabularnewline
96 & 286468 & 221840.5 & 64627.5 \tabularnewline
97 & 241066 & 242812.851851852 & -1746.85185185185 \tabularnewline
98 & 148446 & 221840.5 & -73394.5 \tabularnewline
99 & 204713 & 195605.791666667 & 9107.20833333334 \tabularnewline
100 & 182079 & 195605.791666667 & -13526.7916666667 \tabularnewline
101 & 140344 & 137349.047619048 & 2994.95238095237 \tabularnewline
102 & 220516 & 221840.5 & -1324.5 \tabularnewline
103 & 243060 & 242812.851851852 & 247.148148148146 \tabularnewline
104 & 162765 & 166707.884615385 & -3942.88461538462 \tabularnewline
105 & 182613 & 166707.884615385 & 15905.1153846154 \tabularnewline
106 & 232138 & 242812.851851852 & -10674.8518518519 \tabularnewline
107 & 265318 & 242812.851851852 & 22505.1481481481 \tabularnewline
108 & 85574 & 88132.0454545455 & -2558.04545454546 \tabularnewline
109 & 310839 & 320569.294117647 & -9730.29411764705 \tabularnewline
110 & 225060 & 195605.791666667 & 29454.2083333333 \tabularnewline
111 & 232317 & 242812.851851852 & -10495.8518518519 \tabularnewline
112 & 144966 & 137349.047619048 & 7616.95238095237 \tabularnewline
113 & 43287 & 33226.6111111111 & 10060.3888888889 \tabularnewline
114 & 155754 & 129652.714285714 & 26101.2857142857 \tabularnewline
115 & 164709 & 166707.884615385 & -1998.88461538462 \tabularnewline
116 & 201940 & 221840.5 & -19900.5 \tabularnewline
117 & 235454 & 242812.851851852 & -7358.85185185185 \tabularnewline
118 & 220801 & 195605.791666667 & 25195.2083333333 \tabularnewline
119 & 99466 & 166707.884615385 & -67241.8846153846 \tabularnewline
120 & 92661 & 88132.0454545455 & 4528.95454545454 \tabularnewline
121 & 133328 & 137349.047619048 & -4021.04761904763 \tabularnewline
122 & 61361 & 88132.0454545455 & -26771.0454545455 \tabularnewline
123 & 125930 & 129652.714285714 & -3722.71428571429 \tabularnewline
124 & 100750 & 109097.210526316 & -8347.21052631579 \tabularnewline
125 & 224549 & 166707.884615385 & 57841.1153846154 \tabularnewline
126 & 82316 & 88132.0454545455 & -5816.04545454546 \tabularnewline
127 & 102010 & 88132.0454545455 & 13877.9545454545 \tabularnewline
128 & 101523 & 109097.210526316 & -7574.21052631579 \tabularnewline
129 & 243511 & 195605.791666667 & 47905.2083333333 \tabularnewline
130 & 22938 & 33226.6111111111 & -10288.6111111111 \tabularnewline
131 & 41566 & 33226.6111111111 & 8339.38888888889 \tabularnewline
132 & 152474 & 166707.884615385 & -14233.8846153846 \tabularnewline
133 & 61857 & 33226.6111111111 & 28630.3888888889 \tabularnewline
134 & 99923 & 129652.714285714 & -29729.7142857143 \tabularnewline
135 & 132487 & 137349.047619048 & -4862.04761904763 \tabularnewline
136 & 317394 & 320569.294117647 & -3175.29411764705 \tabularnewline
137 & 21054 & 33226.6111111111 & -12172.6111111111 \tabularnewline
138 & 209641 & 195605.791666667 & 14035.2083333333 \tabularnewline
139 & 22648 & 33226.6111111111 & -10578.6111111111 \tabularnewline
140 & 31414 & 33226.6111111111 & -1812.61111111111 \tabularnewline
141 & 46698 & 33226.6111111111 & 13471.3888888889 \tabularnewline
142 & 131698 & 195605.791666667 & -63907.7916666667 \tabularnewline
143 & 91735 & 88132.0454545455 & 3602.95454545454 \tabularnewline
144 & 244749 & 320569.294117647 & -75820.294117647 \tabularnewline
145 & 184510 & 195605.791666667 & -11095.7916666667 \tabularnewline
146 & 79863 & 88132.0454545455 & -8269.04545454546 \tabularnewline
147 & 128423 & 88132.0454545455 & 40290.9545454545 \tabularnewline
148 & 97839 & 109097.210526316 & -11258.2105263158 \tabularnewline
149 & 38214 & 33226.6111111111 & 4987.38888888889 \tabularnewline
150 & 151101 & 137349.047619048 & 13751.9523809524 \tabularnewline
151 & 272458 & 242812.851851852 & 29645.1481481481 \tabularnewline
152 & 172494 & 166707.884615385 & 5786.11538461538 \tabularnewline
153 & 108043 & 137349.047619048 & -29306.0476190476 \tabularnewline
154 & 328107 & 320569.294117647 & 7537.70588235295 \tabularnewline
155 & 250579 & 242812.851851852 & 7766.14814814815 \tabularnewline
156 & 351067 & 320569.294117647 & 30497.705882353 \tabularnewline
157 & 158015 & 166707.884615385 & -8692.88461538462 \tabularnewline
158 & 98866 & 88132.0454545455 & 10733.9545454545 \tabularnewline
159 & 85439 & 109097.210526316 & -23658.2105263158 \tabularnewline
160 & 229242 & 195605.791666667 & 33636.2083333333 \tabularnewline
161 & 351619 & 320569.294117647 & 31049.705882353 \tabularnewline
162 & 84207 & 88132.0454545455 & -3925.04545454546 \tabularnewline
163 & 120445 & 137349.047619048 & -16904.0476190476 \tabularnewline
164 & 324598 & 320569.294117647 & 4028.70588235295 \tabularnewline
165 & 131069 & 137349.047619048 & -6280.04761904763 \tabularnewline
166 & 204271 & 166707.884615385 & 37563.1153846154 \tabularnewline
167 & 165543 & 195605.791666667 & -30062.7916666667 \tabularnewline
168 & 141722 & 109097.210526316 & 32624.7894736842 \tabularnewline
169 & 116048 & 109097.210526316 & 6950.78947368421 \tabularnewline
170 & 250047 & 195605.791666667 & 54441.2083333333 \tabularnewline
171 & 299775 & 221840.5 & 77934.5 \tabularnewline
172 & 195838 & 195605.791666667 & 232.208333333343 \tabularnewline
173 & 173260 & 129652.714285714 & 43607.2857142857 \tabularnewline
174 & 254488 & 242812.851851852 & 11675.1481481481 \tabularnewline
175 & 104389 & 137349.047619048 & -32960.0476190476 \tabularnewline
176 & 136084 & 137349.047619048 & -1265.04761904763 \tabularnewline
177 & 199476 & 242812.851851852 & -43336.8518518519 \tabularnewline
178 & 92499 & 88132.0454545455 & 4366.95454545454 \tabularnewline
179 & 224330 & 242812.851851852 & -18482.8518518519 \tabularnewline
180 & 135781 & 109097.210526316 & 26683.7894736842 \tabularnewline
181 & 74408 & 88132.0454545455 & -13724.0454545455 \tabularnewline
182 & 81240 & 88132.0454545455 & -6892.04545454546 \tabularnewline
183 & 14688 & 33226.6111111111 & -18538.6111111111 \tabularnewline
184 & 181633 & 195605.791666667 & -13972.7916666667 \tabularnewline
185 & 271856 & 242812.851851852 & 29043.1481481481 \tabularnewline
186 & 7199 & 33226.6111111111 & -26027.6111111111 \tabularnewline
187 & 46660 & 33226.6111111111 & 13433.3888888889 \tabularnewline
188 & 17547 & 33226.6111111111 & -15679.6111111111 \tabularnewline
189 & 133368 & 129652.714285714 & 3715.28571428571 \tabularnewline
190 & 95227 & 88132.0454545455 & 7094.95454545454 \tabularnewline
191 & 152601 & 137349.047619048 & 15251.9523809524 \tabularnewline
192 & 98146 & 88132.0454545455 & 10013.9545454545 \tabularnewline
193 & 79619 & 88132.0454545455 & -8513.04545454546 \tabularnewline
194 & 59194 & 88132.0454545455 & -28938.0454545455 \tabularnewline
195 & 139942 & 166707.884615385 & -26765.8846153846 \tabularnewline
196 & 118612 & 88132.0454545455 & 30479.9545454545 \tabularnewline
197 & 72880 & 88132.0454545455 & -15252.0454545455 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=156198&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]210907[/C][C]166707.884615385[/C][C]44199.1153846154[/C][/ROW]
[ROW][C]2[/C][C]120982[/C][C]166707.884615385[/C][C]-45725.8846153846[/C][/ROW]
[ROW][C]3[/C][C]176508[/C][C]166707.884615385[/C][C]9800.11538461538[/C][/ROW]
[ROW][C]4[/C][C]179321[/C][C]221840.5[/C][C]-42519.5[/C][/ROW]
[ROW][C]5[/C][C]123185[/C][C]109097.210526316[/C][C]14087.7894736842[/C][/ROW]
[ROW][C]6[/C][C]52746[/C][C]33226.6111111111[/C][C]19519.3888888889[/C][/ROW]
[ROW][C]7[/C][C]385534[/C][C]320569.294117647[/C][C]64964.705882353[/C][/ROW]
[ROW][C]8[/C][C]33170[/C][C]33226.6111111111[/C][C]-56.6111111111095[/C][/ROW]
[ROW][C]9[/C][C]101645[/C][C]88132.0454545455[/C][C]13512.9545454545[/C][/ROW]
[ROW][C]10[/C][C]149061[/C][C]166707.884615385[/C][C]-17646.8846153846[/C][/ROW]
[ROW][C]11[/C][C]165446[/C][C]166707.884615385[/C][C]-1261.88461538462[/C][/ROW]
[ROW][C]12[/C][C]237213[/C][C]242812.851851852[/C][C]-5599.85185185185[/C][/ROW]
[ROW][C]13[/C][C]173326[/C][C]137349.047619048[/C][C]35976.9523809524[/C][/ROW]
[ROW][C]14[/C][C]133131[/C][C]137349.047619048[/C][C]-4218.04761904763[/C][/ROW]
[ROW][C]15[/C][C]258873[/C][C]221840.5[/C][C]37032.5[/C][/ROW]
[ROW][C]16[/C][C]180083[/C][C]166707.884615385[/C][C]13375.1153846154[/C][/ROW]
[ROW][C]17[/C][C]324799[/C][C]320569.294117647[/C][C]4229.70588235295[/C][/ROW]
[ROW][C]18[/C][C]230964[/C][C]242812.851851852[/C][C]-11848.8518518519[/C][/ROW]
[ROW][C]19[/C][C]236785[/C][C]221840.5[/C][C]14944.5[/C][/ROW]
[ROW][C]20[/C][C]135473[/C][C]166707.884615385[/C][C]-31234.8846153846[/C][/ROW]
[ROW][C]21[/C][C]202925[/C][C]195605.791666667[/C][C]7319.20833333334[/C][/ROW]
[ROW][C]22[/C][C]215147[/C][C]242812.851851852[/C][C]-27665.8518518519[/C][/ROW]
[ROW][C]23[/C][C]344297[/C][C]320569.294117647[/C][C]23727.705882353[/C][/ROW]
[ROW][C]24[/C][C]153935[/C][C]166707.884615385[/C][C]-12772.8846153846[/C][/ROW]
[ROW][C]25[/C][C]132943[/C][C]137349.047619048[/C][C]-4406.04761904763[/C][/ROW]
[ROW][C]26[/C][C]174724[/C][C]221840.5[/C][C]-47116.5[/C][/ROW]
[ROW][C]27[/C][C]174415[/C][C]195605.791666667[/C][C]-21190.7916666667[/C][/ROW]
[ROW][C]28[/C][C]225548[/C][C]242812.851851852[/C][C]-17264.8518518519[/C][/ROW]
[ROW][C]29[/C][C]223632[/C][C]242812.851851852[/C][C]-19180.8518518519[/C][/ROW]
[ROW][C]30[/C][C]124817[/C][C]109097.210526316[/C][C]15719.7894736842[/C][/ROW]
[ROW][C]31[/C][C]221698[/C][C]242812.851851852[/C][C]-21114.8518518519[/C][/ROW]
[ROW][C]32[/C][C]210767[/C][C]242812.851851852[/C][C]-32045.8518518519[/C][/ROW]
[ROW][C]33[/C][C]170266[/C][C]166707.884615385[/C][C]3558.11538461538[/C][/ROW]
[ROW][C]34[/C][C]260561[/C][C]242812.851851852[/C][C]17748.1481481481[/C][/ROW]
[ROW][C]35[/C][C]84853[/C][C]88132.0454545455[/C][C]-3279.04545454546[/C][/ROW]
[ROW][C]36[/C][C]294424[/C][C]320569.294117647[/C][C]-26145.294117647[/C][/ROW]
[ROW][C]37[/C][C]101011[/C][C]109097.210526316[/C][C]-8086.21052631579[/C][/ROW]
[ROW][C]38[/C][C]215641[/C][C]221840.5[/C][C]-6199.5[/C][/ROW]
[ROW][C]39[/C][C]325107[/C][C]320569.294117647[/C][C]4537.70588235295[/C][/ROW]
[ROW][C]40[/C][C]7176[/C][C]33226.6111111111[/C][C]-26050.6111111111[/C][/ROW]
[ROW][C]41[/C][C]167542[/C][C]166707.884615385[/C][C]834.115384615376[/C][/ROW]
[ROW][C]42[/C][C]106408[/C][C]109097.210526316[/C][C]-2689.21052631579[/C][/ROW]
[ROW][C]43[/C][C]96560[/C][C]129652.714285714[/C][C]-33092.7142857143[/C][/ROW]
[ROW][C]44[/C][C]265769[/C][C]242812.851851852[/C][C]22956.1481481481[/C][/ROW]
[ROW][C]45[/C][C]269651[/C][C]320569.294117647[/C][C]-50918.294117647[/C][/ROW]
[ROW][C]46[/C][C]149112[/C][C]137349.047619048[/C][C]11762.9523809524[/C][/ROW]
[ROW][C]47[/C][C]175824[/C][C]221840.5[/C][C]-46016.5[/C][/ROW]
[ROW][C]48[/C][C]152871[/C][C]166707.884615385[/C][C]-13836.8846153846[/C][/ROW]
[ROW][C]49[/C][C]111665[/C][C]109097.210526316[/C][C]2567.78947368421[/C][/ROW]
[ROW][C]50[/C][C]116408[/C][C]221840.5[/C][C]-105432.5[/C][/ROW]
[ROW][C]51[/C][C]362301[/C][C]221840.5[/C][C]140460.5[/C][/ROW]
[ROW][C]52[/C][C]78800[/C][C]109097.210526316[/C][C]-30297.2105263158[/C][/ROW]
[ROW][C]53[/C][C]183167[/C][C]195605.791666667[/C][C]-12438.7916666667[/C][/ROW]
[ROW][C]54[/C][C]277965[/C][C]320569.294117647[/C][C]-42604.294117647[/C][/ROW]
[ROW][C]55[/C][C]150629[/C][C]195605.791666667[/C][C]-44976.7916666667[/C][/ROW]
[ROW][C]56[/C][C]168809[/C][C]166707.884615385[/C][C]2101.11538461538[/C][/ROW]
[ROW][C]57[/C][C]24188[/C][C]33226.6111111111[/C][C]-9038.61111111111[/C][/ROW]
[ROW][C]58[/C][C]329267[/C][C]242812.851851852[/C][C]86454.1481481481[/C][/ROW]
[ROW][C]59[/C][C]65029[/C][C]33226.6111111111[/C][C]31802.3888888889[/C][/ROW]
[ROW][C]60[/C][C]101097[/C][C]109097.210526316[/C][C]-8000.21052631579[/C][/ROW]
[ROW][C]61[/C][C]218946[/C][C]221840.5[/C][C]-2894.5[/C][/ROW]
[ROW][C]62[/C][C]244052[/C][C]242812.851851852[/C][C]1239.14814814815[/C][/ROW]
[ROW][C]63[/C][C]341570[/C][C]320569.294117647[/C][C]21000.705882353[/C][/ROW]
[ROW][C]64[/C][C]103597[/C][C]109097.210526316[/C][C]-5500.21052631579[/C][/ROW]
[ROW][C]65[/C][C]233328[/C][C]242812.851851852[/C][C]-9484.85185185185[/C][/ROW]
[ROW][C]66[/C][C]256462[/C][C]242812.851851852[/C][C]13649.1481481481[/C][/ROW]
[ROW][C]67[/C][C]206161[/C][C]195605.791666667[/C][C]10555.2083333333[/C][/ROW]
[ROW][C]68[/C][C]311473[/C][C]320569.294117647[/C][C]-9096.29411764705[/C][/ROW]
[ROW][C]69[/C][C]235800[/C][C]242812.851851852[/C][C]-7012.85185185185[/C][/ROW]
[ROW][C]70[/C][C]177939[/C][C]221840.5[/C][C]-43901.5[/C][/ROW]
[ROW][C]71[/C][C]207176[/C][C]195605.791666667[/C][C]11570.2083333333[/C][/ROW]
[ROW][C]72[/C][C]196553[/C][C]166707.884615385[/C][C]29845.1153846154[/C][/ROW]
[ROW][C]73[/C][C]174184[/C][C]166707.884615385[/C][C]7476.11538461538[/C][/ROW]
[ROW][C]74[/C][C]143246[/C][C]137349.047619048[/C][C]5896.95238095237[/C][/ROW]
[ROW][C]75[/C][C]187559[/C][C]195605.791666667[/C][C]-8046.79166666666[/C][/ROW]
[ROW][C]76[/C][C]187681[/C][C]195605.791666667[/C][C]-7924.79166666666[/C][/ROW]
[ROW][C]77[/C][C]119016[/C][C]109097.210526316[/C][C]9918.78947368421[/C][/ROW]
[ROW][C]78[/C][C]182192[/C][C]195605.791666667[/C][C]-13413.7916666667[/C][/ROW]
[ROW][C]79[/C][C]73566[/C][C]88132.0454545455[/C][C]-14566.0454545455[/C][/ROW]
[ROW][C]80[/C][C]194979[/C][C]195605.791666667[/C][C]-626.791666666657[/C][/ROW]
[ROW][C]81[/C][C]167488[/C][C]166707.884615385[/C][C]780.115384615376[/C][/ROW]
[ROW][C]82[/C][C]143756[/C][C]137349.047619048[/C][C]6406.95238095237[/C][/ROW]
[ROW][C]83[/C][C]275541[/C][C]221840.5[/C][C]53700.5[/C][/ROW]
[ROW][C]84[/C][C]243199[/C][C]242812.851851852[/C][C]386.148148148146[/C][/ROW]
[ROW][C]85[/C][C]182999[/C][C]166707.884615385[/C][C]16291.1153846154[/C][/ROW]
[ROW][C]86[/C][C]135649[/C][C]137349.047619048[/C][C]-1700.04761904763[/C][/ROW]
[ROW][C]87[/C][C]152299[/C][C]137349.047619048[/C][C]14949.9523809524[/C][/ROW]
[ROW][C]88[/C][C]120221[/C][C]137349.047619048[/C][C]-17128.0476190476[/C][/ROW]
[ROW][C]89[/C][C]346485[/C][C]320569.294117647[/C][C]25915.705882353[/C][/ROW]
[ROW][C]90[/C][C]145790[/C][C]137349.047619048[/C][C]8440.95238095237[/C][/ROW]
[ROW][C]91[/C][C]193339[/C][C]195605.791666667[/C][C]-2266.79166666666[/C][/ROW]
[ROW][C]92[/C][C]80953[/C][C]109097.210526316[/C][C]-28144.2105263158[/C][/ROW]
[ROW][C]93[/C][C]122774[/C][C]129652.714285714[/C][C]-6878.71428571429[/C][/ROW]
[ROW][C]94[/C][C]130585[/C][C]109097.210526316[/C][C]21487.7894736842[/C][/ROW]
[ROW][C]95[/C][C]112611[/C][C]109097.210526316[/C][C]3513.78947368421[/C][/ROW]
[ROW][C]96[/C][C]286468[/C][C]221840.5[/C][C]64627.5[/C][/ROW]
[ROW][C]97[/C][C]241066[/C][C]242812.851851852[/C][C]-1746.85185185185[/C][/ROW]
[ROW][C]98[/C][C]148446[/C][C]221840.5[/C][C]-73394.5[/C][/ROW]
[ROW][C]99[/C][C]204713[/C][C]195605.791666667[/C][C]9107.20833333334[/C][/ROW]
[ROW][C]100[/C][C]182079[/C][C]195605.791666667[/C][C]-13526.7916666667[/C][/ROW]
[ROW][C]101[/C][C]140344[/C][C]137349.047619048[/C][C]2994.95238095237[/C][/ROW]
[ROW][C]102[/C][C]220516[/C][C]221840.5[/C][C]-1324.5[/C][/ROW]
[ROW][C]103[/C][C]243060[/C][C]242812.851851852[/C][C]247.148148148146[/C][/ROW]
[ROW][C]104[/C][C]162765[/C][C]166707.884615385[/C][C]-3942.88461538462[/C][/ROW]
[ROW][C]105[/C][C]182613[/C][C]166707.884615385[/C][C]15905.1153846154[/C][/ROW]
[ROW][C]106[/C][C]232138[/C][C]242812.851851852[/C][C]-10674.8518518519[/C][/ROW]
[ROW][C]107[/C][C]265318[/C][C]242812.851851852[/C][C]22505.1481481481[/C][/ROW]
[ROW][C]108[/C][C]85574[/C][C]88132.0454545455[/C][C]-2558.04545454546[/C][/ROW]
[ROW][C]109[/C][C]310839[/C][C]320569.294117647[/C][C]-9730.29411764705[/C][/ROW]
[ROW][C]110[/C][C]225060[/C][C]195605.791666667[/C][C]29454.2083333333[/C][/ROW]
[ROW][C]111[/C][C]232317[/C][C]242812.851851852[/C][C]-10495.8518518519[/C][/ROW]
[ROW][C]112[/C][C]144966[/C][C]137349.047619048[/C][C]7616.95238095237[/C][/ROW]
[ROW][C]113[/C][C]43287[/C][C]33226.6111111111[/C][C]10060.3888888889[/C][/ROW]
[ROW][C]114[/C][C]155754[/C][C]129652.714285714[/C][C]26101.2857142857[/C][/ROW]
[ROW][C]115[/C][C]164709[/C][C]166707.884615385[/C][C]-1998.88461538462[/C][/ROW]
[ROW][C]116[/C][C]201940[/C][C]221840.5[/C][C]-19900.5[/C][/ROW]
[ROW][C]117[/C][C]235454[/C][C]242812.851851852[/C][C]-7358.85185185185[/C][/ROW]
[ROW][C]118[/C][C]220801[/C][C]195605.791666667[/C][C]25195.2083333333[/C][/ROW]
[ROW][C]119[/C][C]99466[/C][C]166707.884615385[/C][C]-67241.8846153846[/C][/ROW]
[ROW][C]120[/C][C]92661[/C][C]88132.0454545455[/C][C]4528.95454545454[/C][/ROW]
[ROW][C]121[/C][C]133328[/C][C]137349.047619048[/C][C]-4021.04761904763[/C][/ROW]
[ROW][C]122[/C][C]61361[/C][C]88132.0454545455[/C][C]-26771.0454545455[/C][/ROW]
[ROW][C]123[/C][C]125930[/C][C]129652.714285714[/C][C]-3722.71428571429[/C][/ROW]
[ROW][C]124[/C][C]100750[/C][C]109097.210526316[/C][C]-8347.21052631579[/C][/ROW]
[ROW][C]125[/C][C]224549[/C][C]166707.884615385[/C][C]57841.1153846154[/C][/ROW]
[ROW][C]126[/C][C]82316[/C][C]88132.0454545455[/C][C]-5816.04545454546[/C][/ROW]
[ROW][C]127[/C][C]102010[/C][C]88132.0454545455[/C][C]13877.9545454545[/C][/ROW]
[ROW][C]128[/C][C]101523[/C][C]109097.210526316[/C][C]-7574.21052631579[/C][/ROW]
[ROW][C]129[/C][C]243511[/C][C]195605.791666667[/C][C]47905.2083333333[/C][/ROW]
[ROW][C]130[/C][C]22938[/C][C]33226.6111111111[/C][C]-10288.6111111111[/C][/ROW]
[ROW][C]131[/C][C]41566[/C][C]33226.6111111111[/C][C]8339.38888888889[/C][/ROW]
[ROW][C]132[/C][C]152474[/C][C]166707.884615385[/C][C]-14233.8846153846[/C][/ROW]
[ROW][C]133[/C][C]61857[/C][C]33226.6111111111[/C][C]28630.3888888889[/C][/ROW]
[ROW][C]134[/C][C]99923[/C][C]129652.714285714[/C][C]-29729.7142857143[/C][/ROW]
[ROW][C]135[/C][C]132487[/C][C]137349.047619048[/C][C]-4862.04761904763[/C][/ROW]
[ROW][C]136[/C][C]317394[/C][C]320569.294117647[/C][C]-3175.29411764705[/C][/ROW]
[ROW][C]137[/C][C]21054[/C][C]33226.6111111111[/C][C]-12172.6111111111[/C][/ROW]
[ROW][C]138[/C][C]209641[/C][C]195605.791666667[/C][C]14035.2083333333[/C][/ROW]
[ROW][C]139[/C][C]22648[/C][C]33226.6111111111[/C][C]-10578.6111111111[/C][/ROW]
[ROW][C]140[/C][C]31414[/C][C]33226.6111111111[/C][C]-1812.61111111111[/C][/ROW]
[ROW][C]141[/C][C]46698[/C][C]33226.6111111111[/C][C]13471.3888888889[/C][/ROW]
[ROW][C]142[/C][C]131698[/C][C]195605.791666667[/C][C]-63907.7916666667[/C][/ROW]
[ROW][C]143[/C][C]91735[/C][C]88132.0454545455[/C][C]3602.95454545454[/C][/ROW]
[ROW][C]144[/C][C]244749[/C][C]320569.294117647[/C][C]-75820.294117647[/C][/ROW]
[ROW][C]145[/C][C]184510[/C][C]195605.791666667[/C][C]-11095.7916666667[/C][/ROW]
[ROW][C]146[/C][C]79863[/C][C]88132.0454545455[/C][C]-8269.04545454546[/C][/ROW]
[ROW][C]147[/C][C]128423[/C][C]88132.0454545455[/C][C]40290.9545454545[/C][/ROW]
[ROW][C]148[/C][C]97839[/C][C]109097.210526316[/C][C]-11258.2105263158[/C][/ROW]
[ROW][C]149[/C][C]38214[/C][C]33226.6111111111[/C][C]4987.38888888889[/C][/ROW]
[ROW][C]150[/C][C]151101[/C][C]137349.047619048[/C][C]13751.9523809524[/C][/ROW]
[ROW][C]151[/C][C]272458[/C][C]242812.851851852[/C][C]29645.1481481481[/C][/ROW]
[ROW][C]152[/C][C]172494[/C][C]166707.884615385[/C][C]5786.11538461538[/C][/ROW]
[ROW][C]153[/C][C]108043[/C][C]137349.047619048[/C][C]-29306.0476190476[/C][/ROW]
[ROW][C]154[/C][C]328107[/C][C]320569.294117647[/C][C]7537.70588235295[/C][/ROW]
[ROW][C]155[/C][C]250579[/C][C]242812.851851852[/C][C]7766.14814814815[/C][/ROW]
[ROW][C]156[/C][C]351067[/C][C]320569.294117647[/C][C]30497.705882353[/C][/ROW]
[ROW][C]157[/C][C]158015[/C][C]166707.884615385[/C][C]-8692.88461538462[/C][/ROW]
[ROW][C]158[/C][C]98866[/C][C]88132.0454545455[/C][C]10733.9545454545[/C][/ROW]
[ROW][C]159[/C][C]85439[/C][C]109097.210526316[/C][C]-23658.2105263158[/C][/ROW]
[ROW][C]160[/C][C]229242[/C][C]195605.791666667[/C][C]33636.2083333333[/C][/ROW]
[ROW][C]161[/C][C]351619[/C][C]320569.294117647[/C][C]31049.705882353[/C][/ROW]
[ROW][C]162[/C][C]84207[/C][C]88132.0454545455[/C][C]-3925.04545454546[/C][/ROW]
[ROW][C]163[/C][C]120445[/C][C]137349.047619048[/C][C]-16904.0476190476[/C][/ROW]
[ROW][C]164[/C][C]324598[/C][C]320569.294117647[/C][C]4028.70588235295[/C][/ROW]
[ROW][C]165[/C][C]131069[/C][C]137349.047619048[/C][C]-6280.04761904763[/C][/ROW]
[ROW][C]166[/C][C]204271[/C][C]166707.884615385[/C][C]37563.1153846154[/C][/ROW]
[ROW][C]167[/C][C]165543[/C][C]195605.791666667[/C][C]-30062.7916666667[/C][/ROW]
[ROW][C]168[/C][C]141722[/C][C]109097.210526316[/C][C]32624.7894736842[/C][/ROW]
[ROW][C]169[/C][C]116048[/C][C]109097.210526316[/C][C]6950.78947368421[/C][/ROW]
[ROW][C]170[/C][C]250047[/C][C]195605.791666667[/C][C]54441.2083333333[/C][/ROW]
[ROW][C]171[/C][C]299775[/C][C]221840.5[/C][C]77934.5[/C][/ROW]
[ROW][C]172[/C][C]195838[/C][C]195605.791666667[/C][C]232.208333333343[/C][/ROW]
[ROW][C]173[/C][C]173260[/C][C]129652.714285714[/C][C]43607.2857142857[/C][/ROW]
[ROW][C]174[/C][C]254488[/C][C]242812.851851852[/C][C]11675.1481481481[/C][/ROW]
[ROW][C]175[/C][C]104389[/C][C]137349.047619048[/C][C]-32960.0476190476[/C][/ROW]
[ROW][C]176[/C][C]136084[/C][C]137349.047619048[/C][C]-1265.04761904763[/C][/ROW]
[ROW][C]177[/C][C]199476[/C][C]242812.851851852[/C][C]-43336.8518518519[/C][/ROW]
[ROW][C]178[/C][C]92499[/C][C]88132.0454545455[/C][C]4366.95454545454[/C][/ROW]
[ROW][C]179[/C][C]224330[/C][C]242812.851851852[/C][C]-18482.8518518519[/C][/ROW]
[ROW][C]180[/C][C]135781[/C][C]109097.210526316[/C][C]26683.7894736842[/C][/ROW]
[ROW][C]181[/C][C]74408[/C][C]88132.0454545455[/C][C]-13724.0454545455[/C][/ROW]
[ROW][C]182[/C][C]81240[/C][C]88132.0454545455[/C][C]-6892.04545454546[/C][/ROW]
[ROW][C]183[/C][C]14688[/C][C]33226.6111111111[/C][C]-18538.6111111111[/C][/ROW]
[ROW][C]184[/C][C]181633[/C][C]195605.791666667[/C][C]-13972.7916666667[/C][/ROW]
[ROW][C]185[/C][C]271856[/C][C]242812.851851852[/C][C]29043.1481481481[/C][/ROW]
[ROW][C]186[/C][C]7199[/C][C]33226.6111111111[/C][C]-26027.6111111111[/C][/ROW]
[ROW][C]187[/C][C]46660[/C][C]33226.6111111111[/C][C]13433.3888888889[/C][/ROW]
[ROW][C]188[/C][C]17547[/C][C]33226.6111111111[/C][C]-15679.6111111111[/C][/ROW]
[ROW][C]189[/C][C]133368[/C][C]129652.714285714[/C][C]3715.28571428571[/C][/ROW]
[ROW][C]190[/C][C]95227[/C][C]88132.0454545455[/C][C]7094.95454545454[/C][/ROW]
[ROW][C]191[/C][C]152601[/C][C]137349.047619048[/C][C]15251.9523809524[/C][/ROW]
[ROW][C]192[/C][C]98146[/C][C]88132.0454545455[/C][C]10013.9545454545[/C][/ROW]
[ROW][C]193[/C][C]79619[/C][C]88132.0454545455[/C][C]-8513.04545454546[/C][/ROW]
[ROW][C]194[/C][C]59194[/C][C]88132.0454545455[/C][C]-28938.0454545455[/C][/ROW]
[ROW][C]195[/C][C]139942[/C][C]166707.884615385[/C][C]-26765.8846153846[/C][/ROW]
[ROW][C]196[/C][C]118612[/C][C]88132.0454545455[/C][C]30479.9545454545[/C][/ROW]
[ROW][C]197[/C][C]72880[/C][C]88132.0454545455[/C][C]-15252.0454545455[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=156198&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=156198&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
1210907166707.88461538544199.1153846154
2120982166707.884615385-45725.8846153846
3176508166707.8846153859800.11538461538
4179321221840.5-42519.5
5123185109097.21052631614087.7894736842
65274633226.611111111119519.3888888889
7385534320569.29411764764964.705882353
83317033226.6111111111-56.6111111111095
910164588132.045454545513512.9545454545
10149061166707.884615385-17646.8846153846
11165446166707.884615385-1261.88461538462
12237213242812.851851852-5599.85185185185
13173326137349.04761904835976.9523809524
14133131137349.047619048-4218.04761904763
15258873221840.537032.5
16180083166707.88461538513375.1153846154
17324799320569.2941176474229.70588235295
18230964242812.851851852-11848.8518518519
19236785221840.514944.5
20135473166707.884615385-31234.8846153846
21202925195605.7916666677319.20833333334
22215147242812.851851852-27665.8518518519
23344297320569.29411764723727.705882353
24153935166707.884615385-12772.8846153846
25132943137349.047619048-4406.04761904763
26174724221840.5-47116.5
27174415195605.791666667-21190.7916666667
28225548242812.851851852-17264.8518518519
29223632242812.851851852-19180.8518518519
30124817109097.21052631615719.7894736842
31221698242812.851851852-21114.8518518519
32210767242812.851851852-32045.8518518519
33170266166707.8846153853558.11538461538
34260561242812.85185185217748.1481481481
358485388132.0454545455-3279.04545454546
36294424320569.294117647-26145.294117647
37101011109097.210526316-8086.21052631579
38215641221840.5-6199.5
39325107320569.2941176474537.70588235295
40717633226.6111111111-26050.6111111111
41167542166707.884615385834.115384615376
42106408109097.210526316-2689.21052631579
4396560129652.714285714-33092.7142857143
44265769242812.85185185222956.1481481481
45269651320569.294117647-50918.294117647
46149112137349.04761904811762.9523809524
47175824221840.5-46016.5
48152871166707.884615385-13836.8846153846
49111665109097.2105263162567.78947368421
50116408221840.5-105432.5
51362301221840.5140460.5
5278800109097.210526316-30297.2105263158
53183167195605.791666667-12438.7916666667
54277965320569.294117647-42604.294117647
55150629195605.791666667-44976.7916666667
56168809166707.8846153852101.11538461538
572418833226.6111111111-9038.61111111111
58329267242812.85185185286454.1481481481
596502933226.611111111131802.3888888889
60101097109097.210526316-8000.21052631579
61218946221840.5-2894.5
62244052242812.8518518521239.14814814815
63341570320569.29411764721000.705882353
64103597109097.210526316-5500.21052631579
65233328242812.851851852-9484.85185185185
66256462242812.85185185213649.1481481481
67206161195605.79166666710555.2083333333
68311473320569.294117647-9096.29411764705
69235800242812.851851852-7012.85185185185
70177939221840.5-43901.5
71207176195605.79166666711570.2083333333
72196553166707.88461538529845.1153846154
73174184166707.8846153857476.11538461538
74143246137349.0476190485896.95238095237
75187559195605.791666667-8046.79166666666
76187681195605.791666667-7924.79166666666
77119016109097.2105263169918.78947368421
78182192195605.791666667-13413.7916666667
797356688132.0454545455-14566.0454545455
80194979195605.791666667-626.791666666657
81167488166707.884615385780.115384615376
82143756137349.0476190486406.95238095237
83275541221840.553700.5
84243199242812.851851852386.148148148146
85182999166707.88461538516291.1153846154
86135649137349.047619048-1700.04761904763
87152299137349.04761904814949.9523809524
88120221137349.047619048-17128.0476190476
89346485320569.29411764725915.705882353
90145790137349.0476190488440.95238095237
91193339195605.791666667-2266.79166666666
9280953109097.210526316-28144.2105263158
93122774129652.714285714-6878.71428571429
94130585109097.21052631621487.7894736842
95112611109097.2105263163513.78947368421
96286468221840.564627.5
97241066242812.851851852-1746.85185185185
98148446221840.5-73394.5
99204713195605.7916666679107.20833333334
100182079195605.791666667-13526.7916666667
101140344137349.0476190482994.95238095237
102220516221840.5-1324.5
103243060242812.851851852247.148148148146
104162765166707.884615385-3942.88461538462
105182613166707.88461538515905.1153846154
106232138242812.851851852-10674.8518518519
107265318242812.85185185222505.1481481481
1088557488132.0454545455-2558.04545454546
109310839320569.294117647-9730.29411764705
110225060195605.79166666729454.2083333333
111232317242812.851851852-10495.8518518519
112144966137349.0476190487616.95238095237
1134328733226.611111111110060.3888888889
114155754129652.71428571426101.2857142857
115164709166707.884615385-1998.88461538462
116201940221840.5-19900.5
117235454242812.851851852-7358.85185185185
118220801195605.79166666725195.2083333333
11999466166707.884615385-67241.8846153846
1209266188132.04545454554528.95454545454
121133328137349.047619048-4021.04761904763
1226136188132.0454545455-26771.0454545455
123125930129652.714285714-3722.71428571429
124100750109097.210526316-8347.21052631579
125224549166707.88461538557841.1153846154
1268231688132.0454545455-5816.04545454546
12710201088132.045454545513877.9545454545
128101523109097.210526316-7574.21052631579
129243511195605.79166666747905.2083333333
1302293833226.6111111111-10288.6111111111
1314156633226.61111111118339.38888888889
132152474166707.884615385-14233.8846153846
1336185733226.611111111128630.3888888889
13499923129652.714285714-29729.7142857143
135132487137349.047619048-4862.04761904763
136317394320569.294117647-3175.29411764705
1372105433226.6111111111-12172.6111111111
138209641195605.79166666714035.2083333333
1392264833226.6111111111-10578.6111111111
1403141433226.6111111111-1812.61111111111
1414669833226.611111111113471.3888888889
142131698195605.791666667-63907.7916666667
1439173588132.04545454553602.95454545454
144244749320569.294117647-75820.294117647
145184510195605.791666667-11095.7916666667
1467986388132.0454545455-8269.04545454546
14712842388132.045454545540290.9545454545
14897839109097.210526316-11258.2105263158
1493821433226.61111111114987.38888888889
150151101137349.04761904813751.9523809524
151272458242812.85185185229645.1481481481
152172494166707.8846153855786.11538461538
153108043137349.047619048-29306.0476190476
154328107320569.2941176477537.70588235295
155250579242812.8518518527766.14814814815
156351067320569.29411764730497.705882353
157158015166707.884615385-8692.88461538462
1589886688132.045454545510733.9545454545
15985439109097.210526316-23658.2105263158
160229242195605.79166666733636.2083333333
161351619320569.29411764731049.705882353
1628420788132.0454545455-3925.04545454546
163120445137349.047619048-16904.0476190476
164324598320569.2941176474028.70588235295
165131069137349.047619048-6280.04761904763
166204271166707.88461538537563.1153846154
167165543195605.791666667-30062.7916666667
168141722109097.21052631632624.7894736842
169116048109097.2105263166950.78947368421
170250047195605.79166666754441.2083333333
171299775221840.577934.5
172195838195605.791666667232.208333333343
173173260129652.71428571443607.2857142857
174254488242812.85185185211675.1481481481
175104389137349.047619048-32960.0476190476
176136084137349.047619048-1265.04761904763
177199476242812.851851852-43336.8518518519
1789249988132.04545454554366.95454545454
179224330242812.851851852-18482.8518518519
180135781109097.21052631626683.7894736842
1817440888132.0454545455-13724.0454545455
1828124088132.0454545455-6892.04545454546
1831468833226.6111111111-18538.6111111111
184181633195605.791666667-13972.7916666667
185271856242812.85185185229043.1481481481
186719933226.6111111111-26027.6111111111
1874666033226.611111111113433.3888888889
1881754733226.6111111111-15679.6111111111
189133368129652.7142857143715.28571428571
1909522788132.04545454557094.95454545454
191152601137349.04761904815251.9523809524
1929814688132.045454545510013.9545454545
1937961988132.0454545455-8513.04545454546
1945919488132.0454545455-28938.0454545455
195139942166707.884615385-26765.8846153846
19611861288132.045454545530479.9545454545
1977288088132.0454545455-15252.0454545455



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