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 computationThu, 15 Dec 2011 10:24:38 -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/15/t1323962707gtyj3bez0tnmn0t.htm/, Retrieved Wed, 08 May 2024 11:30:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=155500, Retrieved Wed, 08 May 2024 11:30:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact90
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-15 15:24:38] [ae47d588931629dc57e50b2172c5fe3b] [Current]
Feedback Forum

Post a new message
Dataseries X:
210907	56	115	112285	145
120982	56	109	84786	101
176508	54	146	83123	98
179321	89	116	101193	132
123185	40	68	38361	60
52746	25	101	68504	38
385534	92	96	119182	144
33170	18	67	22807	5
101645	63	44	17140	28
149061	44	100	116174	84
165446	33	93	57635	79
237213	84	140	66198	127
173326	88	166	71701	78
133131	55	99	57793	60
258873	60	139	80444	131
180083	66	130	53855	84
324799	154	181	97668	133
230964	53	116	133824	150
236785	119	116	101481	91
135473	41	88	99645	132
202925	61	139	114789	136
215147	58	135	99052	124
344297	75	108	67654	118
153935	33	89	65553	70
132943	40	156	97500	107
174724	92	129	69112	119
174415	100	118	82753	89
225548	112	118	85323	112
223632	73	125	72654	108
124817	40	95	30727	52
221698	45	126	77873	112
210767	60	135	117478	116
170266	62	154	74007	123
260561	75	165	90183	125
84853	31	113	61542	27
294424	77	127	101494	162
101011	34	52	27570	32
215641	46	121	55813	64
325107	99	136	79215	92
7176	17	0	1423	0
167542	66	108	55461	83
106408	30	46	31081	41
96560	76	54	22996	47
265769	146	124	83122	120
269651	67	115	70106	105
149112	56	128	60578	79
175824	107	80	39992	65
152871	58	97	79892	70
111665	34	104	49810	55
116408	61	59	71570	39
362301	119	125	100708	67
78800	42	82	33032	21
183167	66	149	82875	127
277965	89	149	139077	152
150629	44	122	71595	113
168809	66	118	72260	99
24188	24	12	5950	7
329267	259	144	115762	141
65029	17	67	32551	21
101097	64	52	31701	35
218946	41	108	80670	109
244052	68	166	143558	133
341570	168	80	117105	123
103597	43	60	23789	26
233328	132	107	120733	230
256462	105	127	105195	166
206161	71	107	73107	68
311473	112	146	132068	147
235800	94	84	149193	179
177939	82	141	46821	61
207176	70	123	87011	101
196553	57	111	95260	108
174184	53	98	55183	90
143246	103	105	106671	114
187559	121	135	73511	103
187681	62	107	92945	142
119016	52	85	78664	79
182192	52	155	70054	88
73566	32	88	22618	25
194979	62	155	74011	83
167488	45	104	83737	113
143756	46	132	69094	118
275541	63	127	93133	110
243199	75	108	95536	129
182999	88	129	225920	51
135649	46	116	62133	93
152299	53	122	61370	76
120221	37	85	43836	49
346485	90	147	106117	118
145790	63	99	38692	38
193339	78	87	84651	141
80953	25	28	56622	58
122774	45	90	15986	27
130585	46	109	95364	91
112611	41	78	26706	48
286468	144	111	89691	63
241066	82	158	67267	56
148446	91	141	126846	144
204713	71	122	41140	73
182079	63	124	102860	168
140344	53	93	51715	64
220516	62	124	55801	97
243060	63	112	111813	117
162765	32	108	120293	100
182613	39	99	138599	149
232138	62	117	161647	187
265318	117	199	115929	127
85574	34	78	24266	37
310839	92	91	162901	245
225060	93	158	109825	87
232317	54	126	129838	177
144966	144	122	37510	49
43287	14	71	43750	49
155754	61	75	40652	73
164709	109	115	87771	177
201940	38	119	85872	94
235454	73	124	89275	117
220801	75	72	44418	60
99466	50	91	192565	55
92661	61	45	35232	39
133328	55	78	40909	64
61361	77	39	13294	26
125930	75	68	32387	64
100750	72	119	140867	58
224549	50	117	120662	95
82316	32	39	21233	25
102010	53	50	44332	26
101523	42	88	61056	76
243511	71	155	101338	129
22938	10	0	1168	11
41566	35	36	13497	2
152474	65	123	65567	101
61857	25	32	25162	28
99923	66	99	32334	36
132487	41	136	40735	89
317394	86	117	91413	193
21054	16	0	855	4
209641	42	88	97068	84
22648	19	39	44339	23
31414	19	25	14116	39
46698	45	52	10288	14
131698	65	75	65622	78
91735	35	71	16563	14
244749	95	124	76643	101
184510	49	151	110681	82
79863	37	71	29011	24
128423	64	145	92696	36
97839	38	87	94785	75
38214	34	27	8773	16
151101	32	131	83209	55
272458	65	162	93815	131
172494	52	165	86687	131
108043	62	54	34553	39
328107	65	159	105547	144
250579	83	147	103487	139
351067	95	170	213688	211
158015	29	119	71220	78
98866	18	49	23517	50
85439	33	104	56926	39
229242	247	120	91721	90
351619	139	150	115168	166
84207	29	112	111194	12
120445	118	59	51009	57
324598	110	136	135777	133
131069	67	107	51513	69
204271	42	130	74163	119
165543	65	115	51633	119
141722	94	107	75345	65
116048	64	75	33416	61
250047	81	71	83305	49
299775	95	120	98952	101
195838	67	116	102372	196
173260	63	79	37238	15
254488	83	150	103772	136
104389	45	156	123969	89
136084	30	51	27142	40
199476	70	118	135400	123
92499	32	71	21399	21
224330	83	144	130115	163
135781	31	47	24874	29
74408	67	28	34988	35
81240	66	68	45549	13
14688	10	0	6023	5
181633	70	110	64466	96
271856	103	147	54990	151
7199	5	0	1644	6
46660	20	15	6179	13
17547	5	4	3926	3
133368	36	64	32755	56
95227	34	111	34777	23
152601	48	85	73224	57
98146	40	68	27114	14
79619	43	40	20760	43
59194	31	80	37636	20
139942	42	88	65461	72
118612	46	48	30080	87
72880	33	76	24094	21




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155500&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155500&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155500&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Goodness of Fit
Correlation0.8608
R-squared0.7409
RMSE41828.7188

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155500&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.8608
R-squared0.7409
RMSE41828.7188







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1210907201313.6428571439593.35714285713
2120982201313.642857143-80331.6428571429
3176508201313.642857143-24805.6428571429
4179321276414.1875-97093.1875
5123185147940.9375-24755.9375
652746107929.633333333-55183.6333333333
7385534276414.1875109119.8125
83317081700.9333333333-48530.9333333333
9101645107929.633333333-6284.63333333333
10149061147940.93751120.0625
11165446147940.937517505.0625
12237213213399.40909090923813.5909090909
13173326213399.409090909-40073.4090909091
14133131147940.9375-14809.9375
15258873201313.64285714357559.3571428571
16180083147940.937532142.0625
17324799276414.187548384.8125
18230964201313.64285714329650.3571428571
19236785276414.1875-39629.1875
20135473201313.642857143-65840.6428571429
21202925201313.6428571431611.35714285713
22215147201313.64285714313833.3571428571
23344297213399.409090909130897.590909091
24153935147940.93755994.0625
25132943201313.642857143-68370.6428571429
26174724213399.409090909-38675.4090909091
27174415213399.409090909-38984.4090909091
28225548213399.40909090912148.5909090909
29223632213399.40909090910232.5909090909
30124817107929.63333333316887.3666666667
31221698201313.64285714320384.3571428571
32210767201313.6428571439453.35714285713
33170266201313.642857143-31047.6428571429
34260561276414.1875-15853.1875
3584853107929.633333333-23076.6333333333
36294424276414.187518009.8125
37101011107929.633333333-6918.63333333333
38215641147940.937567700.0625
39325107213399.409090909111707.590909091
40717638599.2352941177-31423.2352941177
41167542147940.937519601.0625
42106408107929.633333333-1521.63333333333
4396560162404.714285714-65844.7142857143
44265769213399.40909090952369.5909090909
45269651201313.64285714368337.3571428571
46149112147940.93751171.0625
47175824213399.409090909-37575.4090909091
48152871147940.93754930.0625
49111665107929.6333333333735.36666666667
50116408107929.6333333338478.36666666667
51362301276414.187585886.8125
527880081700.9333333333-2900.93333333333
53183167201313.642857143-18146.6428571429
54277965276414.18751550.8125
55150629201313.642857143-50684.6428571429
56168809201313.642857143-32504.6428571429
572418838599.2352941177-14411.2352941177
58329267276414.187552852.8125
596502981700.9333333333-16671.9333333333
60101097107929.633333333-6832.63333333333
61218946201313.64285714317632.3571428571
62244052201313.64285714342738.3571428571
63341570276414.187565155.8125
64103597107929.633333333-4332.63333333333
65233328276414.1875-43086.1875
66256462276414.1875-19952.1875
67206161213399.409090909-7238.40909090909
68311473276414.187535058.8125
69235800276414.1875-40614.1875
70177939213399.409090909-35460.4090909091
71207176201313.6428571435862.35714285713
72196553201313.642857143-4760.64285714287
73174184147940.937526243.0625
74143246276414.1875-133168.1875
75187559213399.409090909-25840.4090909091
76187681201313.642857143-13632.6428571429
77119016147940.9375-28924.9375
78182192147940.937534251.0625
797356681700.9333333333-8134.93333333333
80194979147940.937547038.0625
81167488201313.642857143-33825.6428571429
82143756201313.642857143-57557.6428571429
83275541201313.64285714374227.3571428571
84243199276414.1875-33215.1875
85182999162404.71428571420594.2857142857
86135649147940.9375-12291.9375
87152299147940.93754358.0625
88120221107929.63333333312291.3666666667
89346485276414.187570070.8125
90145790107929.63333333337860.3666666667
91193339213399.409090909-20060.4090909091
928095338599.235294117742353.7647058823
93122774107929.63333333314844.3666666667
94130585147940.9375-17355.9375
95112611107929.6333333334681.36666666667
96286468276414.187510053.8125
97241066162404.71428571478661.2857142857
98148446276414.1875-127968.1875
99204713213399.409090909-8686.40909090909
100182079201313.642857143-19234.6428571429
101140344147940.9375-7596.9375
102220516201313.64285714319202.3571428571
103243060201313.64285714341746.3571428571
104162765201313.642857143-38548.6428571429
105182613201313.642857143-18700.6428571429
106232138201313.64285714330824.3571428571
107265318276414.1875-11096.1875
10885574107929.633333333-22355.6333333333
109310839276414.187534424.8125
110225060276414.1875-51354.1875
111232317201313.64285714331003.3571428571
112144966162404.714285714-17438.7142857143
11343287107929.633333333-64642.6333333333
114155754147940.93757813.0625
115164709213399.409090909-48690.4090909091
116201940201313.642857143626.35714285713
117235454213399.40909090922054.5909090909
118220801213399.4090909097401.59090909091
11999466107929.633333333-8463.63333333333
12092661107929.633333333-15268.6333333333
121133328147940.9375-14612.9375
1226136138599.235294117722761.7647058823
123125930213399.409090909-87469.4090909091
124100750162404.714285714-61654.7142857143
125224549201313.64285714323235.3571428571
1268231638599.235294117743716.7647058823
127102010107929.633333333-5919.63333333333
128101523147940.9375-46417.9375
129243511276414.1875-32903.1875
1302293838599.2352941177-15661.2352941177
1314156638599.23529411772966.76470588235
132152474201313.642857143-48839.6428571429
1336185738599.235294117723257.7647058823
13499923107929.633333333-8006.63333333333
135132487147940.9375-15453.9375
136317394276414.187540979.8125
1372105438599.2352941177-17545.2352941177
138209641147940.937561700.0625
1392264838599.2352941177-15951.2352941177
1403141438599.2352941177-7185.23529411765
1414669881700.9333333333-35002.9333333333
142131698147940.9375-16242.9375
1439173581700.933333333310034.0666666667
144244749213399.40909090931349.5909090909
145184510147940.937536569.0625
1467986381700.9333333333-1837.93333333333
147128423107929.63333333320493.3666666667
14897839147940.9375-50101.9375
1493821438599.2352941177-385.23529411765
150151101107929.63333333343171.3666666667
151272458201313.64285714371144.3571428571
152172494201313.642857143-28819.6428571429
153108043107929.633333333113.366666666669
154328107201313.642857143126793.357142857
155250579276414.1875-25835.1875
156351067276414.187574652.8125
157158015147940.937510074.0625
15898866107929.633333333-9063.63333333333
15985439107929.633333333-22490.6333333333
160229242276414.1875-47172.1875
161351619276414.187575204.8125
1628420781700.93333333332506.06666666667
163120445162404.714285714-41959.7142857143
164324598276414.187548183.8125
165131069147940.9375-16871.9375
166204271201313.6428571432957.35714285713
167165543201313.642857143-35770.6428571429
168141722213399.409090909-71677.4090909091
169116048147940.9375-31892.9375
170250047162404.71428571487642.2857142857
171299775276414.187523360.8125
172195838201313.642857143-5475.64285714287
17317326081700.933333333391559.0666666667
174254488276414.1875-21926.1875
175104389147940.9375-43551.9375
176136084107929.63333333328154.3666666667
177199476201313.642857143-1837.64285714287
1789249981700.933333333310798.0666666667
179224330276414.1875-52084.1875
180135781107929.63333333327851.3666666667
1817440838599.235294117735808.7647058823
1828124081700.9333333333-460.933333333334
1831468838599.2352941177-23911.2352941177
184181633201313.642857143-19680.6428571429
185271856213399.40909090958456.5909090909
186719938599.2352941177-31400.2352941177
1874666038599.23529411778060.76470588235
1881754738599.2352941177-21052.2352941177
189133368107929.63333333325438.3666666667
1909522781700.933333333313526.0666666667
191152601107929.63333333344671.3666666667
1929814681700.933333333316445.0666666667
19379619107929.633333333-28310.6333333333
1945919481700.9333333333-22506.9333333333
195139942147940.9375-7998.9375
196118612147940.9375-29328.9375
1977288081700.9333333333-8820.93333333333

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 210907 & 201313.642857143 & 9593.35714285713 \tabularnewline
2 & 120982 & 201313.642857143 & -80331.6428571429 \tabularnewline
3 & 176508 & 201313.642857143 & -24805.6428571429 \tabularnewline
4 & 179321 & 276414.1875 & -97093.1875 \tabularnewline
5 & 123185 & 147940.9375 & -24755.9375 \tabularnewline
6 & 52746 & 107929.633333333 & -55183.6333333333 \tabularnewline
7 & 385534 & 276414.1875 & 109119.8125 \tabularnewline
8 & 33170 & 81700.9333333333 & -48530.9333333333 \tabularnewline
9 & 101645 & 107929.633333333 & -6284.63333333333 \tabularnewline
10 & 149061 & 147940.9375 & 1120.0625 \tabularnewline
11 & 165446 & 147940.9375 & 17505.0625 \tabularnewline
12 & 237213 & 213399.409090909 & 23813.5909090909 \tabularnewline
13 & 173326 & 213399.409090909 & -40073.4090909091 \tabularnewline
14 & 133131 & 147940.9375 & -14809.9375 \tabularnewline
15 & 258873 & 201313.642857143 & 57559.3571428571 \tabularnewline
16 & 180083 & 147940.9375 & 32142.0625 \tabularnewline
17 & 324799 & 276414.1875 & 48384.8125 \tabularnewline
18 & 230964 & 201313.642857143 & 29650.3571428571 \tabularnewline
19 & 236785 & 276414.1875 & -39629.1875 \tabularnewline
20 & 135473 & 201313.642857143 & -65840.6428571429 \tabularnewline
21 & 202925 & 201313.642857143 & 1611.35714285713 \tabularnewline
22 & 215147 & 201313.642857143 & 13833.3571428571 \tabularnewline
23 & 344297 & 213399.409090909 & 130897.590909091 \tabularnewline
24 & 153935 & 147940.9375 & 5994.0625 \tabularnewline
25 & 132943 & 201313.642857143 & -68370.6428571429 \tabularnewline
26 & 174724 & 213399.409090909 & -38675.4090909091 \tabularnewline
27 & 174415 & 213399.409090909 & -38984.4090909091 \tabularnewline
28 & 225548 & 213399.409090909 & 12148.5909090909 \tabularnewline
29 & 223632 & 213399.409090909 & 10232.5909090909 \tabularnewline
30 & 124817 & 107929.633333333 & 16887.3666666667 \tabularnewline
31 & 221698 & 201313.642857143 & 20384.3571428571 \tabularnewline
32 & 210767 & 201313.642857143 & 9453.35714285713 \tabularnewline
33 & 170266 & 201313.642857143 & -31047.6428571429 \tabularnewline
34 & 260561 & 276414.1875 & -15853.1875 \tabularnewline
35 & 84853 & 107929.633333333 & -23076.6333333333 \tabularnewline
36 & 294424 & 276414.1875 & 18009.8125 \tabularnewline
37 & 101011 & 107929.633333333 & -6918.63333333333 \tabularnewline
38 & 215641 & 147940.9375 & 67700.0625 \tabularnewline
39 & 325107 & 213399.409090909 & 111707.590909091 \tabularnewline
40 & 7176 & 38599.2352941177 & -31423.2352941177 \tabularnewline
41 & 167542 & 147940.9375 & 19601.0625 \tabularnewline
42 & 106408 & 107929.633333333 & -1521.63333333333 \tabularnewline
43 & 96560 & 162404.714285714 & -65844.7142857143 \tabularnewline
44 & 265769 & 213399.409090909 & 52369.5909090909 \tabularnewline
45 & 269651 & 201313.642857143 & 68337.3571428571 \tabularnewline
46 & 149112 & 147940.9375 & 1171.0625 \tabularnewline
47 & 175824 & 213399.409090909 & -37575.4090909091 \tabularnewline
48 & 152871 & 147940.9375 & 4930.0625 \tabularnewline
49 & 111665 & 107929.633333333 & 3735.36666666667 \tabularnewline
50 & 116408 & 107929.633333333 & 8478.36666666667 \tabularnewline
51 & 362301 & 276414.1875 & 85886.8125 \tabularnewline
52 & 78800 & 81700.9333333333 & -2900.93333333333 \tabularnewline
53 & 183167 & 201313.642857143 & -18146.6428571429 \tabularnewline
54 & 277965 & 276414.1875 & 1550.8125 \tabularnewline
55 & 150629 & 201313.642857143 & -50684.6428571429 \tabularnewline
56 & 168809 & 201313.642857143 & -32504.6428571429 \tabularnewline
57 & 24188 & 38599.2352941177 & -14411.2352941177 \tabularnewline
58 & 329267 & 276414.1875 & 52852.8125 \tabularnewline
59 & 65029 & 81700.9333333333 & -16671.9333333333 \tabularnewline
60 & 101097 & 107929.633333333 & -6832.63333333333 \tabularnewline
61 & 218946 & 201313.642857143 & 17632.3571428571 \tabularnewline
62 & 244052 & 201313.642857143 & 42738.3571428571 \tabularnewline
63 & 341570 & 276414.1875 & 65155.8125 \tabularnewline
64 & 103597 & 107929.633333333 & -4332.63333333333 \tabularnewline
65 & 233328 & 276414.1875 & -43086.1875 \tabularnewline
66 & 256462 & 276414.1875 & -19952.1875 \tabularnewline
67 & 206161 & 213399.409090909 & -7238.40909090909 \tabularnewline
68 & 311473 & 276414.1875 & 35058.8125 \tabularnewline
69 & 235800 & 276414.1875 & -40614.1875 \tabularnewline
70 & 177939 & 213399.409090909 & -35460.4090909091 \tabularnewline
71 & 207176 & 201313.642857143 & 5862.35714285713 \tabularnewline
72 & 196553 & 201313.642857143 & -4760.64285714287 \tabularnewline
73 & 174184 & 147940.9375 & 26243.0625 \tabularnewline
74 & 143246 & 276414.1875 & -133168.1875 \tabularnewline
75 & 187559 & 213399.409090909 & -25840.4090909091 \tabularnewline
76 & 187681 & 201313.642857143 & -13632.6428571429 \tabularnewline
77 & 119016 & 147940.9375 & -28924.9375 \tabularnewline
78 & 182192 & 147940.9375 & 34251.0625 \tabularnewline
79 & 73566 & 81700.9333333333 & -8134.93333333333 \tabularnewline
80 & 194979 & 147940.9375 & 47038.0625 \tabularnewline
81 & 167488 & 201313.642857143 & -33825.6428571429 \tabularnewline
82 & 143756 & 201313.642857143 & -57557.6428571429 \tabularnewline
83 & 275541 & 201313.642857143 & 74227.3571428571 \tabularnewline
84 & 243199 & 276414.1875 & -33215.1875 \tabularnewline
85 & 182999 & 162404.714285714 & 20594.2857142857 \tabularnewline
86 & 135649 & 147940.9375 & -12291.9375 \tabularnewline
87 & 152299 & 147940.9375 & 4358.0625 \tabularnewline
88 & 120221 & 107929.633333333 & 12291.3666666667 \tabularnewline
89 & 346485 & 276414.1875 & 70070.8125 \tabularnewline
90 & 145790 & 107929.633333333 & 37860.3666666667 \tabularnewline
91 & 193339 & 213399.409090909 & -20060.4090909091 \tabularnewline
92 & 80953 & 38599.2352941177 & 42353.7647058823 \tabularnewline
93 & 122774 & 107929.633333333 & 14844.3666666667 \tabularnewline
94 & 130585 & 147940.9375 & -17355.9375 \tabularnewline
95 & 112611 & 107929.633333333 & 4681.36666666667 \tabularnewline
96 & 286468 & 276414.1875 & 10053.8125 \tabularnewline
97 & 241066 & 162404.714285714 & 78661.2857142857 \tabularnewline
98 & 148446 & 276414.1875 & -127968.1875 \tabularnewline
99 & 204713 & 213399.409090909 & -8686.40909090909 \tabularnewline
100 & 182079 & 201313.642857143 & -19234.6428571429 \tabularnewline
101 & 140344 & 147940.9375 & -7596.9375 \tabularnewline
102 & 220516 & 201313.642857143 & 19202.3571428571 \tabularnewline
103 & 243060 & 201313.642857143 & 41746.3571428571 \tabularnewline
104 & 162765 & 201313.642857143 & -38548.6428571429 \tabularnewline
105 & 182613 & 201313.642857143 & -18700.6428571429 \tabularnewline
106 & 232138 & 201313.642857143 & 30824.3571428571 \tabularnewline
107 & 265318 & 276414.1875 & -11096.1875 \tabularnewline
108 & 85574 & 107929.633333333 & -22355.6333333333 \tabularnewline
109 & 310839 & 276414.1875 & 34424.8125 \tabularnewline
110 & 225060 & 276414.1875 & -51354.1875 \tabularnewline
111 & 232317 & 201313.642857143 & 31003.3571428571 \tabularnewline
112 & 144966 & 162404.714285714 & -17438.7142857143 \tabularnewline
113 & 43287 & 107929.633333333 & -64642.6333333333 \tabularnewline
114 & 155754 & 147940.9375 & 7813.0625 \tabularnewline
115 & 164709 & 213399.409090909 & -48690.4090909091 \tabularnewline
116 & 201940 & 201313.642857143 & 626.35714285713 \tabularnewline
117 & 235454 & 213399.409090909 & 22054.5909090909 \tabularnewline
118 & 220801 & 213399.409090909 & 7401.59090909091 \tabularnewline
119 & 99466 & 107929.633333333 & -8463.63333333333 \tabularnewline
120 & 92661 & 107929.633333333 & -15268.6333333333 \tabularnewline
121 & 133328 & 147940.9375 & -14612.9375 \tabularnewline
122 & 61361 & 38599.2352941177 & 22761.7647058823 \tabularnewline
123 & 125930 & 213399.409090909 & -87469.4090909091 \tabularnewline
124 & 100750 & 162404.714285714 & -61654.7142857143 \tabularnewline
125 & 224549 & 201313.642857143 & 23235.3571428571 \tabularnewline
126 & 82316 & 38599.2352941177 & 43716.7647058823 \tabularnewline
127 & 102010 & 107929.633333333 & -5919.63333333333 \tabularnewline
128 & 101523 & 147940.9375 & -46417.9375 \tabularnewline
129 & 243511 & 276414.1875 & -32903.1875 \tabularnewline
130 & 22938 & 38599.2352941177 & -15661.2352941177 \tabularnewline
131 & 41566 & 38599.2352941177 & 2966.76470588235 \tabularnewline
132 & 152474 & 201313.642857143 & -48839.6428571429 \tabularnewline
133 & 61857 & 38599.2352941177 & 23257.7647058823 \tabularnewline
134 & 99923 & 107929.633333333 & -8006.63333333333 \tabularnewline
135 & 132487 & 147940.9375 & -15453.9375 \tabularnewline
136 & 317394 & 276414.1875 & 40979.8125 \tabularnewline
137 & 21054 & 38599.2352941177 & -17545.2352941177 \tabularnewline
138 & 209641 & 147940.9375 & 61700.0625 \tabularnewline
139 & 22648 & 38599.2352941177 & -15951.2352941177 \tabularnewline
140 & 31414 & 38599.2352941177 & -7185.23529411765 \tabularnewline
141 & 46698 & 81700.9333333333 & -35002.9333333333 \tabularnewline
142 & 131698 & 147940.9375 & -16242.9375 \tabularnewline
143 & 91735 & 81700.9333333333 & 10034.0666666667 \tabularnewline
144 & 244749 & 213399.409090909 & 31349.5909090909 \tabularnewline
145 & 184510 & 147940.9375 & 36569.0625 \tabularnewline
146 & 79863 & 81700.9333333333 & -1837.93333333333 \tabularnewline
147 & 128423 & 107929.633333333 & 20493.3666666667 \tabularnewline
148 & 97839 & 147940.9375 & -50101.9375 \tabularnewline
149 & 38214 & 38599.2352941177 & -385.23529411765 \tabularnewline
150 & 151101 & 107929.633333333 & 43171.3666666667 \tabularnewline
151 & 272458 & 201313.642857143 & 71144.3571428571 \tabularnewline
152 & 172494 & 201313.642857143 & -28819.6428571429 \tabularnewline
153 & 108043 & 107929.633333333 & 113.366666666669 \tabularnewline
154 & 328107 & 201313.642857143 & 126793.357142857 \tabularnewline
155 & 250579 & 276414.1875 & -25835.1875 \tabularnewline
156 & 351067 & 276414.1875 & 74652.8125 \tabularnewline
157 & 158015 & 147940.9375 & 10074.0625 \tabularnewline
158 & 98866 & 107929.633333333 & -9063.63333333333 \tabularnewline
159 & 85439 & 107929.633333333 & -22490.6333333333 \tabularnewline
160 & 229242 & 276414.1875 & -47172.1875 \tabularnewline
161 & 351619 & 276414.1875 & 75204.8125 \tabularnewline
162 & 84207 & 81700.9333333333 & 2506.06666666667 \tabularnewline
163 & 120445 & 162404.714285714 & -41959.7142857143 \tabularnewline
164 & 324598 & 276414.1875 & 48183.8125 \tabularnewline
165 & 131069 & 147940.9375 & -16871.9375 \tabularnewline
166 & 204271 & 201313.642857143 & 2957.35714285713 \tabularnewline
167 & 165543 & 201313.642857143 & -35770.6428571429 \tabularnewline
168 & 141722 & 213399.409090909 & -71677.4090909091 \tabularnewline
169 & 116048 & 147940.9375 & -31892.9375 \tabularnewline
170 & 250047 & 162404.714285714 & 87642.2857142857 \tabularnewline
171 & 299775 & 276414.1875 & 23360.8125 \tabularnewline
172 & 195838 & 201313.642857143 & -5475.64285714287 \tabularnewline
173 & 173260 & 81700.9333333333 & 91559.0666666667 \tabularnewline
174 & 254488 & 276414.1875 & -21926.1875 \tabularnewline
175 & 104389 & 147940.9375 & -43551.9375 \tabularnewline
176 & 136084 & 107929.633333333 & 28154.3666666667 \tabularnewline
177 & 199476 & 201313.642857143 & -1837.64285714287 \tabularnewline
178 & 92499 & 81700.9333333333 & 10798.0666666667 \tabularnewline
179 & 224330 & 276414.1875 & -52084.1875 \tabularnewline
180 & 135781 & 107929.633333333 & 27851.3666666667 \tabularnewline
181 & 74408 & 38599.2352941177 & 35808.7647058823 \tabularnewline
182 & 81240 & 81700.9333333333 & -460.933333333334 \tabularnewline
183 & 14688 & 38599.2352941177 & -23911.2352941177 \tabularnewline
184 & 181633 & 201313.642857143 & -19680.6428571429 \tabularnewline
185 & 271856 & 213399.409090909 & 58456.5909090909 \tabularnewline
186 & 7199 & 38599.2352941177 & -31400.2352941177 \tabularnewline
187 & 46660 & 38599.2352941177 & 8060.76470588235 \tabularnewline
188 & 17547 & 38599.2352941177 & -21052.2352941177 \tabularnewline
189 & 133368 & 107929.633333333 & 25438.3666666667 \tabularnewline
190 & 95227 & 81700.9333333333 & 13526.0666666667 \tabularnewline
191 & 152601 & 107929.633333333 & 44671.3666666667 \tabularnewline
192 & 98146 & 81700.9333333333 & 16445.0666666667 \tabularnewline
193 & 79619 & 107929.633333333 & -28310.6333333333 \tabularnewline
194 & 59194 & 81700.9333333333 & -22506.9333333333 \tabularnewline
195 & 139942 & 147940.9375 & -7998.9375 \tabularnewline
196 & 118612 & 147940.9375 & -29328.9375 \tabularnewline
197 & 72880 & 81700.9333333333 & -8820.93333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155500&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]201313.642857143[/C][C]9593.35714285713[/C][/ROW]
[ROW][C]2[/C][C]120982[/C][C]201313.642857143[/C][C]-80331.6428571429[/C][/ROW]
[ROW][C]3[/C][C]176508[/C][C]201313.642857143[/C][C]-24805.6428571429[/C][/ROW]
[ROW][C]4[/C][C]179321[/C][C]276414.1875[/C][C]-97093.1875[/C][/ROW]
[ROW][C]5[/C][C]123185[/C][C]147940.9375[/C][C]-24755.9375[/C][/ROW]
[ROW][C]6[/C][C]52746[/C][C]107929.633333333[/C][C]-55183.6333333333[/C][/ROW]
[ROW][C]7[/C][C]385534[/C][C]276414.1875[/C][C]109119.8125[/C][/ROW]
[ROW][C]8[/C][C]33170[/C][C]81700.9333333333[/C][C]-48530.9333333333[/C][/ROW]
[ROW][C]9[/C][C]101645[/C][C]107929.633333333[/C][C]-6284.63333333333[/C][/ROW]
[ROW][C]10[/C][C]149061[/C][C]147940.9375[/C][C]1120.0625[/C][/ROW]
[ROW][C]11[/C][C]165446[/C][C]147940.9375[/C][C]17505.0625[/C][/ROW]
[ROW][C]12[/C][C]237213[/C][C]213399.409090909[/C][C]23813.5909090909[/C][/ROW]
[ROW][C]13[/C][C]173326[/C][C]213399.409090909[/C][C]-40073.4090909091[/C][/ROW]
[ROW][C]14[/C][C]133131[/C][C]147940.9375[/C][C]-14809.9375[/C][/ROW]
[ROW][C]15[/C][C]258873[/C][C]201313.642857143[/C][C]57559.3571428571[/C][/ROW]
[ROW][C]16[/C][C]180083[/C][C]147940.9375[/C][C]32142.0625[/C][/ROW]
[ROW][C]17[/C][C]324799[/C][C]276414.1875[/C][C]48384.8125[/C][/ROW]
[ROW][C]18[/C][C]230964[/C][C]201313.642857143[/C][C]29650.3571428571[/C][/ROW]
[ROW][C]19[/C][C]236785[/C][C]276414.1875[/C][C]-39629.1875[/C][/ROW]
[ROW][C]20[/C][C]135473[/C][C]201313.642857143[/C][C]-65840.6428571429[/C][/ROW]
[ROW][C]21[/C][C]202925[/C][C]201313.642857143[/C][C]1611.35714285713[/C][/ROW]
[ROW][C]22[/C][C]215147[/C][C]201313.642857143[/C][C]13833.3571428571[/C][/ROW]
[ROW][C]23[/C][C]344297[/C][C]213399.409090909[/C][C]130897.590909091[/C][/ROW]
[ROW][C]24[/C][C]153935[/C][C]147940.9375[/C][C]5994.0625[/C][/ROW]
[ROW][C]25[/C][C]132943[/C][C]201313.642857143[/C][C]-68370.6428571429[/C][/ROW]
[ROW][C]26[/C][C]174724[/C][C]213399.409090909[/C][C]-38675.4090909091[/C][/ROW]
[ROW][C]27[/C][C]174415[/C][C]213399.409090909[/C][C]-38984.4090909091[/C][/ROW]
[ROW][C]28[/C][C]225548[/C][C]213399.409090909[/C][C]12148.5909090909[/C][/ROW]
[ROW][C]29[/C][C]223632[/C][C]213399.409090909[/C][C]10232.5909090909[/C][/ROW]
[ROW][C]30[/C][C]124817[/C][C]107929.633333333[/C][C]16887.3666666667[/C][/ROW]
[ROW][C]31[/C][C]221698[/C][C]201313.642857143[/C][C]20384.3571428571[/C][/ROW]
[ROW][C]32[/C][C]210767[/C][C]201313.642857143[/C][C]9453.35714285713[/C][/ROW]
[ROW][C]33[/C][C]170266[/C][C]201313.642857143[/C][C]-31047.6428571429[/C][/ROW]
[ROW][C]34[/C][C]260561[/C][C]276414.1875[/C][C]-15853.1875[/C][/ROW]
[ROW][C]35[/C][C]84853[/C][C]107929.633333333[/C][C]-23076.6333333333[/C][/ROW]
[ROW][C]36[/C][C]294424[/C][C]276414.1875[/C][C]18009.8125[/C][/ROW]
[ROW][C]37[/C][C]101011[/C][C]107929.633333333[/C][C]-6918.63333333333[/C][/ROW]
[ROW][C]38[/C][C]215641[/C][C]147940.9375[/C][C]67700.0625[/C][/ROW]
[ROW][C]39[/C][C]325107[/C][C]213399.409090909[/C][C]111707.590909091[/C][/ROW]
[ROW][C]40[/C][C]7176[/C][C]38599.2352941177[/C][C]-31423.2352941177[/C][/ROW]
[ROW][C]41[/C][C]167542[/C][C]147940.9375[/C][C]19601.0625[/C][/ROW]
[ROW][C]42[/C][C]106408[/C][C]107929.633333333[/C][C]-1521.63333333333[/C][/ROW]
[ROW][C]43[/C][C]96560[/C][C]162404.714285714[/C][C]-65844.7142857143[/C][/ROW]
[ROW][C]44[/C][C]265769[/C][C]213399.409090909[/C][C]52369.5909090909[/C][/ROW]
[ROW][C]45[/C][C]269651[/C][C]201313.642857143[/C][C]68337.3571428571[/C][/ROW]
[ROW][C]46[/C][C]149112[/C][C]147940.9375[/C][C]1171.0625[/C][/ROW]
[ROW][C]47[/C][C]175824[/C][C]213399.409090909[/C][C]-37575.4090909091[/C][/ROW]
[ROW][C]48[/C][C]152871[/C][C]147940.9375[/C][C]4930.0625[/C][/ROW]
[ROW][C]49[/C][C]111665[/C][C]107929.633333333[/C][C]3735.36666666667[/C][/ROW]
[ROW][C]50[/C][C]116408[/C][C]107929.633333333[/C][C]8478.36666666667[/C][/ROW]
[ROW][C]51[/C][C]362301[/C][C]276414.1875[/C][C]85886.8125[/C][/ROW]
[ROW][C]52[/C][C]78800[/C][C]81700.9333333333[/C][C]-2900.93333333333[/C][/ROW]
[ROW][C]53[/C][C]183167[/C][C]201313.642857143[/C][C]-18146.6428571429[/C][/ROW]
[ROW][C]54[/C][C]277965[/C][C]276414.1875[/C][C]1550.8125[/C][/ROW]
[ROW][C]55[/C][C]150629[/C][C]201313.642857143[/C][C]-50684.6428571429[/C][/ROW]
[ROW][C]56[/C][C]168809[/C][C]201313.642857143[/C][C]-32504.6428571429[/C][/ROW]
[ROW][C]57[/C][C]24188[/C][C]38599.2352941177[/C][C]-14411.2352941177[/C][/ROW]
[ROW][C]58[/C][C]329267[/C][C]276414.1875[/C][C]52852.8125[/C][/ROW]
[ROW][C]59[/C][C]65029[/C][C]81700.9333333333[/C][C]-16671.9333333333[/C][/ROW]
[ROW][C]60[/C][C]101097[/C][C]107929.633333333[/C][C]-6832.63333333333[/C][/ROW]
[ROW][C]61[/C][C]218946[/C][C]201313.642857143[/C][C]17632.3571428571[/C][/ROW]
[ROW][C]62[/C][C]244052[/C][C]201313.642857143[/C][C]42738.3571428571[/C][/ROW]
[ROW][C]63[/C][C]341570[/C][C]276414.1875[/C][C]65155.8125[/C][/ROW]
[ROW][C]64[/C][C]103597[/C][C]107929.633333333[/C][C]-4332.63333333333[/C][/ROW]
[ROW][C]65[/C][C]233328[/C][C]276414.1875[/C][C]-43086.1875[/C][/ROW]
[ROW][C]66[/C][C]256462[/C][C]276414.1875[/C][C]-19952.1875[/C][/ROW]
[ROW][C]67[/C][C]206161[/C][C]213399.409090909[/C][C]-7238.40909090909[/C][/ROW]
[ROW][C]68[/C][C]311473[/C][C]276414.1875[/C][C]35058.8125[/C][/ROW]
[ROW][C]69[/C][C]235800[/C][C]276414.1875[/C][C]-40614.1875[/C][/ROW]
[ROW][C]70[/C][C]177939[/C][C]213399.409090909[/C][C]-35460.4090909091[/C][/ROW]
[ROW][C]71[/C][C]207176[/C][C]201313.642857143[/C][C]5862.35714285713[/C][/ROW]
[ROW][C]72[/C][C]196553[/C][C]201313.642857143[/C][C]-4760.64285714287[/C][/ROW]
[ROW][C]73[/C][C]174184[/C][C]147940.9375[/C][C]26243.0625[/C][/ROW]
[ROW][C]74[/C][C]143246[/C][C]276414.1875[/C][C]-133168.1875[/C][/ROW]
[ROW][C]75[/C][C]187559[/C][C]213399.409090909[/C][C]-25840.4090909091[/C][/ROW]
[ROW][C]76[/C][C]187681[/C][C]201313.642857143[/C][C]-13632.6428571429[/C][/ROW]
[ROW][C]77[/C][C]119016[/C][C]147940.9375[/C][C]-28924.9375[/C][/ROW]
[ROW][C]78[/C][C]182192[/C][C]147940.9375[/C][C]34251.0625[/C][/ROW]
[ROW][C]79[/C][C]73566[/C][C]81700.9333333333[/C][C]-8134.93333333333[/C][/ROW]
[ROW][C]80[/C][C]194979[/C][C]147940.9375[/C][C]47038.0625[/C][/ROW]
[ROW][C]81[/C][C]167488[/C][C]201313.642857143[/C][C]-33825.6428571429[/C][/ROW]
[ROW][C]82[/C][C]143756[/C][C]201313.642857143[/C][C]-57557.6428571429[/C][/ROW]
[ROW][C]83[/C][C]275541[/C][C]201313.642857143[/C][C]74227.3571428571[/C][/ROW]
[ROW][C]84[/C][C]243199[/C][C]276414.1875[/C][C]-33215.1875[/C][/ROW]
[ROW][C]85[/C][C]182999[/C][C]162404.714285714[/C][C]20594.2857142857[/C][/ROW]
[ROW][C]86[/C][C]135649[/C][C]147940.9375[/C][C]-12291.9375[/C][/ROW]
[ROW][C]87[/C][C]152299[/C][C]147940.9375[/C][C]4358.0625[/C][/ROW]
[ROW][C]88[/C][C]120221[/C][C]107929.633333333[/C][C]12291.3666666667[/C][/ROW]
[ROW][C]89[/C][C]346485[/C][C]276414.1875[/C][C]70070.8125[/C][/ROW]
[ROW][C]90[/C][C]145790[/C][C]107929.633333333[/C][C]37860.3666666667[/C][/ROW]
[ROW][C]91[/C][C]193339[/C][C]213399.409090909[/C][C]-20060.4090909091[/C][/ROW]
[ROW][C]92[/C][C]80953[/C][C]38599.2352941177[/C][C]42353.7647058823[/C][/ROW]
[ROW][C]93[/C][C]122774[/C][C]107929.633333333[/C][C]14844.3666666667[/C][/ROW]
[ROW][C]94[/C][C]130585[/C][C]147940.9375[/C][C]-17355.9375[/C][/ROW]
[ROW][C]95[/C][C]112611[/C][C]107929.633333333[/C][C]4681.36666666667[/C][/ROW]
[ROW][C]96[/C][C]286468[/C][C]276414.1875[/C][C]10053.8125[/C][/ROW]
[ROW][C]97[/C][C]241066[/C][C]162404.714285714[/C][C]78661.2857142857[/C][/ROW]
[ROW][C]98[/C][C]148446[/C][C]276414.1875[/C][C]-127968.1875[/C][/ROW]
[ROW][C]99[/C][C]204713[/C][C]213399.409090909[/C][C]-8686.40909090909[/C][/ROW]
[ROW][C]100[/C][C]182079[/C][C]201313.642857143[/C][C]-19234.6428571429[/C][/ROW]
[ROW][C]101[/C][C]140344[/C][C]147940.9375[/C][C]-7596.9375[/C][/ROW]
[ROW][C]102[/C][C]220516[/C][C]201313.642857143[/C][C]19202.3571428571[/C][/ROW]
[ROW][C]103[/C][C]243060[/C][C]201313.642857143[/C][C]41746.3571428571[/C][/ROW]
[ROW][C]104[/C][C]162765[/C][C]201313.642857143[/C][C]-38548.6428571429[/C][/ROW]
[ROW][C]105[/C][C]182613[/C][C]201313.642857143[/C][C]-18700.6428571429[/C][/ROW]
[ROW][C]106[/C][C]232138[/C][C]201313.642857143[/C][C]30824.3571428571[/C][/ROW]
[ROW][C]107[/C][C]265318[/C][C]276414.1875[/C][C]-11096.1875[/C][/ROW]
[ROW][C]108[/C][C]85574[/C][C]107929.633333333[/C][C]-22355.6333333333[/C][/ROW]
[ROW][C]109[/C][C]310839[/C][C]276414.1875[/C][C]34424.8125[/C][/ROW]
[ROW][C]110[/C][C]225060[/C][C]276414.1875[/C][C]-51354.1875[/C][/ROW]
[ROW][C]111[/C][C]232317[/C][C]201313.642857143[/C][C]31003.3571428571[/C][/ROW]
[ROW][C]112[/C][C]144966[/C][C]162404.714285714[/C][C]-17438.7142857143[/C][/ROW]
[ROW][C]113[/C][C]43287[/C][C]107929.633333333[/C][C]-64642.6333333333[/C][/ROW]
[ROW][C]114[/C][C]155754[/C][C]147940.9375[/C][C]7813.0625[/C][/ROW]
[ROW][C]115[/C][C]164709[/C][C]213399.409090909[/C][C]-48690.4090909091[/C][/ROW]
[ROW][C]116[/C][C]201940[/C][C]201313.642857143[/C][C]626.35714285713[/C][/ROW]
[ROW][C]117[/C][C]235454[/C][C]213399.409090909[/C][C]22054.5909090909[/C][/ROW]
[ROW][C]118[/C][C]220801[/C][C]213399.409090909[/C][C]7401.59090909091[/C][/ROW]
[ROW][C]119[/C][C]99466[/C][C]107929.633333333[/C][C]-8463.63333333333[/C][/ROW]
[ROW][C]120[/C][C]92661[/C][C]107929.633333333[/C][C]-15268.6333333333[/C][/ROW]
[ROW][C]121[/C][C]133328[/C][C]147940.9375[/C][C]-14612.9375[/C][/ROW]
[ROW][C]122[/C][C]61361[/C][C]38599.2352941177[/C][C]22761.7647058823[/C][/ROW]
[ROW][C]123[/C][C]125930[/C][C]213399.409090909[/C][C]-87469.4090909091[/C][/ROW]
[ROW][C]124[/C][C]100750[/C][C]162404.714285714[/C][C]-61654.7142857143[/C][/ROW]
[ROW][C]125[/C][C]224549[/C][C]201313.642857143[/C][C]23235.3571428571[/C][/ROW]
[ROW][C]126[/C][C]82316[/C][C]38599.2352941177[/C][C]43716.7647058823[/C][/ROW]
[ROW][C]127[/C][C]102010[/C][C]107929.633333333[/C][C]-5919.63333333333[/C][/ROW]
[ROW][C]128[/C][C]101523[/C][C]147940.9375[/C][C]-46417.9375[/C][/ROW]
[ROW][C]129[/C][C]243511[/C][C]276414.1875[/C][C]-32903.1875[/C][/ROW]
[ROW][C]130[/C][C]22938[/C][C]38599.2352941177[/C][C]-15661.2352941177[/C][/ROW]
[ROW][C]131[/C][C]41566[/C][C]38599.2352941177[/C][C]2966.76470588235[/C][/ROW]
[ROW][C]132[/C][C]152474[/C][C]201313.642857143[/C][C]-48839.6428571429[/C][/ROW]
[ROW][C]133[/C][C]61857[/C][C]38599.2352941177[/C][C]23257.7647058823[/C][/ROW]
[ROW][C]134[/C][C]99923[/C][C]107929.633333333[/C][C]-8006.63333333333[/C][/ROW]
[ROW][C]135[/C][C]132487[/C][C]147940.9375[/C][C]-15453.9375[/C][/ROW]
[ROW][C]136[/C][C]317394[/C][C]276414.1875[/C][C]40979.8125[/C][/ROW]
[ROW][C]137[/C][C]21054[/C][C]38599.2352941177[/C][C]-17545.2352941177[/C][/ROW]
[ROW][C]138[/C][C]209641[/C][C]147940.9375[/C][C]61700.0625[/C][/ROW]
[ROW][C]139[/C][C]22648[/C][C]38599.2352941177[/C][C]-15951.2352941177[/C][/ROW]
[ROW][C]140[/C][C]31414[/C][C]38599.2352941177[/C][C]-7185.23529411765[/C][/ROW]
[ROW][C]141[/C][C]46698[/C][C]81700.9333333333[/C][C]-35002.9333333333[/C][/ROW]
[ROW][C]142[/C][C]131698[/C][C]147940.9375[/C][C]-16242.9375[/C][/ROW]
[ROW][C]143[/C][C]91735[/C][C]81700.9333333333[/C][C]10034.0666666667[/C][/ROW]
[ROW][C]144[/C][C]244749[/C][C]213399.409090909[/C][C]31349.5909090909[/C][/ROW]
[ROW][C]145[/C][C]184510[/C][C]147940.9375[/C][C]36569.0625[/C][/ROW]
[ROW][C]146[/C][C]79863[/C][C]81700.9333333333[/C][C]-1837.93333333333[/C][/ROW]
[ROW][C]147[/C][C]128423[/C][C]107929.633333333[/C][C]20493.3666666667[/C][/ROW]
[ROW][C]148[/C][C]97839[/C][C]147940.9375[/C][C]-50101.9375[/C][/ROW]
[ROW][C]149[/C][C]38214[/C][C]38599.2352941177[/C][C]-385.23529411765[/C][/ROW]
[ROW][C]150[/C][C]151101[/C][C]107929.633333333[/C][C]43171.3666666667[/C][/ROW]
[ROW][C]151[/C][C]272458[/C][C]201313.642857143[/C][C]71144.3571428571[/C][/ROW]
[ROW][C]152[/C][C]172494[/C][C]201313.642857143[/C][C]-28819.6428571429[/C][/ROW]
[ROW][C]153[/C][C]108043[/C][C]107929.633333333[/C][C]113.366666666669[/C][/ROW]
[ROW][C]154[/C][C]328107[/C][C]201313.642857143[/C][C]126793.357142857[/C][/ROW]
[ROW][C]155[/C][C]250579[/C][C]276414.1875[/C][C]-25835.1875[/C][/ROW]
[ROW][C]156[/C][C]351067[/C][C]276414.1875[/C][C]74652.8125[/C][/ROW]
[ROW][C]157[/C][C]158015[/C][C]147940.9375[/C][C]10074.0625[/C][/ROW]
[ROW][C]158[/C][C]98866[/C][C]107929.633333333[/C][C]-9063.63333333333[/C][/ROW]
[ROW][C]159[/C][C]85439[/C][C]107929.633333333[/C][C]-22490.6333333333[/C][/ROW]
[ROW][C]160[/C][C]229242[/C][C]276414.1875[/C][C]-47172.1875[/C][/ROW]
[ROW][C]161[/C][C]351619[/C][C]276414.1875[/C][C]75204.8125[/C][/ROW]
[ROW][C]162[/C][C]84207[/C][C]81700.9333333333[/C][C]2506.06666666667[/C][/ROW]
[ROW][C]163[/C][C]120445[/C][C]162404.714285714[/C][C]-41959.7142857143[/C][/ROW]
[ROW][C]164[/C][C]324598[/C][C]276414.1875[/C][C]48183.8125[/C][/ROW]
[ROW][C]165[/C][C]131069[/C][C]147940.9375[/C][C]-16871.9375[/C][/ROW]
[ROW][C]166[/C][C]204271[/C][C]201313.642857143[/C][C]2957.35714285713[/C][/ROW]
[ROW][C]167[/C][C]165543[/C][C]201313.642857143[/C][C]-35770.6428571429[/C][/ROW]
[ROW][C]168[/C][C]141722[/C][C]213399.409090909[/C][C]-71677.4090909091[/C][/ROW]
[ROW][C]169[/C][C]116048[/C][C]147940.9375[/C][C]-31892.9375[/C][/ROW]
[ROW][C]170[/C][C]250047[/C][C]162404.714285714[/C][C]87642.2857142857[/C][/ROW]
[ROW][C]171[/C][C]299775[/C][C]276414.1875[/C][C]23360.8125[/C][/ROW]
[ROW][C]172[/C][C]195838[/C][C]201313.642857143[/C][C]-5475.64285714287[/C][/ROW]
[ROW][C]173[/C][C]173260[/C][C]81700.9333333333[/C][C]91559.0666666667[/C][/ROW]
[ROW][C]174[/C][C]254488[/C][C]276414.1875[/C][C]-21926.1875[/C][/ROW]
[ROW][C]175[/C][C]104389[/C][C]147940.9375[/C][C]-43551.9375[/C][/ROW]
[ROW][C]176[/C][C]136084[/C][C]107929.633333333[/C][C]28154.3666666667[/C][/ROW]
[ROW][C]177[/C][C]199476[/C][C]201313.642857143[/C][C]-1837.64285714287[/C][/ROW]
[ROW][C]178[/C][C]92499[/C][C]81700.9333333333[/C][C]10798.0666666667[/C][/ROW]
[ROW][C]179[/C][C]224330[/C][C]276414.1875[/C][C]-52084.1875[/C][/ROW]
[ROW][C]180[/C][C]135781[/C][C]107929.633333333[/C][C]27851.3666666667[/C][/ROW]
[ROW][C]181[/C][C]74408[/C][C]38599.2352941177[/C][C]35808.7647058823[/C][/ROW]
[ROW][C]182[/C][C]81240[/C][C]81700.9333333333[/C][C]-460.933333333334[/C][/ROW]
[ROW][C]183[/C][C]14688[/C][C]38599.2352941177[/C][C]-23911.2352941177[/C][/ROW]
[ROW][C]184[/C][C]181633[/C][C]201313.642857143[/C][C]-19680.6428571429[/C][/ROW]
[ROW][C]185[/C][C]271856[/C][C]213399.409090909[/C][C]58456.5909090909[/C][/ROW]
[ROW][C]186[/C][C]7199[/C][C]38599.2352941177[/C][C]-31400.2352941177[/C][/ROW]
[ROW][C]187[/C][C]46660[/C][C]38599.2352941177[/C][C]8060.76470588235[/C][/ROW]
[ROW][C]188[/C][C]17547[/C][C]38599.2352941177[/C][C]-21052.2352941177[/C][/ROW]
[ROW][C]189[/C][C]133368[/C][C]107929.633333333[/C][C]25438.3666666667[/C][/ROW]
[ROW][C]190[/C][C]95227[/C][C]81700.9333333333[/C][C]13526.0666666667[/C][/ROW]
[ROW][C]191[/C][C]152601[/C][C]107929.633333333[/C][C]44671.3666666667[/C][/ROW]
[ROW][C]192[/C][C]98146[/C][C]81700.9333333333[/C][C]16445.0666666667[/C][/ROW]
[ROW][C]193[/C][C]79619[/C][C]107929.633333333[/C][C]-28310.6333333333[/C][/ROW]
[ROW][C]194[/C][C]59194[/C][C]81700.9333333333[/C][C]-22506.9333333333[/C][/ROW]
[ROW][C]195[/C][C]139942[/C][C]147940.9375[/C][C]-7998.9375[/C][/ROW]
[ROW][C]196[/C][C]118612[/C][C]147940.9375[/C][C]-29328.9375[/C][/ROW]
[ROW][C]197[/C][C]72880[/C][C]81700.9333333333[/C][C]-8820.93333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155500&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155500&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
1210907201313.6428571439593.35714285713
2120982201313.642857143-80331.6428571429
3176508201313.642857143-24805.6428571429
4179321276414.1875-97093.1875
5123185147940.9375-24755.9375
652746107929.633333333-55183.6333333333
7385534276414.1875109119.8125
83317081700.9333333333-48530.9333333333
9101645107929.633333333-6284.63333333333
10149061147940.93751120.0625
11165446147940.937517505.0625
12237213213399.40909090923813.5909090909
13173326213399.409090909-40073.4090909091
14133131147940.9375-14809.9375
15258873201313.64285714357559.3571428571
16180083147940.937532142.0625
17324799276414.187548384.8125
18230964201313.64285714329650.3571428571
19236785276414.1875-39629.1875
20135473201313.642857143-65840.6428571429
21202925201313.6428571431611.35714285713
22215147201313.64285714313833.3571428571
23344297213399.409090909130897.590909091
24153935147940.93755994.0625
25132943201313.642857143-68370.6428571429
26174724213399.409090909-38675.4090909091
27174415213399.409090909-38984.4090909091
28225548213399.40909090912148.5909090909
29223632213399.40909090910232.5909090909
30124817107929.63333333316887.3666666667
31221698201313.64285714320384.3571428571
32210767201313.6428571439453.35714285713
33170266201313.642857143-31047.6428571429
34260561276414.1875-15853.1875
3584853107929.633333333-23076.6333333333
36294424276414.187518009.8125
37101011107929.633333333-6918.63333333333
38215641147940.937567700.0625
39325107213399.409090909111707.590909091
40717638599.2352941177-31423.2352941177
41167542147940.937519601.0625
42106408107929.633333333-1521.63333333333
4396560162404.714285714-65844.7142857143
44265769213399.40909090952369.5909090909
45269651201313.64285714368337.3571428571
46149112147940.93751171.0625
47175824213399.409090909-37575.4090909091
48152871147940.93754930.0625
49111665107929.6333333333735.36666666667
50116408107929.6333333338478.36666666667
51362301276414.187585886.8125
527880081700.9333333333-2900.93333333333
53183167201313.642857143-18146.6428571429
54277965276414.18751550.8125
55150629201313.642857143-50684.6428571429
56168809201313.642857143-32504.6428571429
572418838599.2352941177-14411.2352941177
58329267276414.187552852.8125
596502981700.9333333333-16671.9333333333
60101097107929.633333333-6832.63333333333
61218946201313.64285714317632.3571428571
62244052201313.64285714342738.3571428571
63341570276414.187565155.8125
64103597107929.633333333-4332.63333333333
65233328276414.1875-43086.1875
66256462276414.1875-19952.1875
67206161213399.409090909-7238.40909090909
68311473276414.187535058.8125
69235800276414.1875-40614.1875
70177939213399.409090909-35460.4090909091
71207176201313.6428571435862.35714285713
72196553201313.642857143-4760.64285714287
73174184147940.937526243.0625
74143246276414.1875-133168.1875
75187559213399.409090909-25840.4090909091
76187681201313.642857143-13632.6428571429
77119016147940.9375-28924.9375
78182192147940.937534251.0625
797356681700.9333333333-8134.93333333333
80194979147940.937547038.0625
81167488201313.642857143-33825.6428571429
82143756201313.642857143-57557.6428571429
83275541201313.64285714374227.3571428571
84243199276414.1875-33215.1875
85182999162404.71428571420594.2857142857
86135649147940.9375-12291.9375
87152299147940.93754358.0625
88120221107929.63333333312291.3666666667
89346485276414.187570070.8125
90145790107929.63333333337860.3666666667
91193339213399.409090909-20060.4090909091
928095338599.235294117742353.7647058823
93122774107929.63333333314844.3666666667
94130585147940.9375-17355.9375
95112611107929.6333333334681.36666666667
96286468276414.187510053.8125
97241066162404.71428571478661.2857142857
98148446276414.1875-127968.1875
99204713213399.409090909-8686.40909090909
100182079201313.642857143-19234.6428571429
101140344147940.9375-7596.9375
102220516201313.64285714319202.3571428571
103243060201313.64285714341746.3571428571
104162765201313.642857143-38548.6428571429
105182613201313.642857143-18700.6428571429
106232138201313.64285714330824.3571428571
107265318276414.1875-11096.1875
10885574107929.633333333-22355.6333333333
109310839276414.187534424.8125
110225060276414.1875-51354.1875
111232317201313.64285714331003.3571428571
112144966162404.714285714-17438.7142857143
11343287107929.633333333-64642.6333333333
114155754147940.93757813.0625
115164709213399.409090909-48690.4090909091
116201940201313.642857143626.35714285713
117235454213399.40909090922054.5909090909
118220801213399.4090909097401.59090909091
11999466107929.633333333-8463.63333333333
12092661107929.633333333-15268.6333333333
121133328147940.9375-14612.9375
1226136138599.235294117722761.7647058823
123125930213399.409090909-87469.4090909091
124100750162404.714285714-61654.7142857143
125224549201313.64285714323235.3571428571
1268231638599.235294117743716.7647058823
127102010107929.633333333-5919.63333333333
128101523147940.9375-46417.9375
129243511276414.1875-32903.1875
1302293838599.2352941177-15661.2352941177
1314156638599.23529411772966.76470588235
132152474201313.642857143-48839.6428571429
1336185738599.235294117723257.7647058823
13499923107929.633333333-8006.63333333333
135132487147940.9375-15453.9375
136317394276414.187540979.8125
1372105438599.2352941177-17545.2352941177
138209641147940.937561700.0625
1392264838599.2352941177-15951.2352941177
1403141438599.2352941177-7185.23529411765
1414669881700.9333333333-35002.9333333333
142131698147940.9375-16242.9375
1439173581700.933333333310034.0666666667
144244749213399.40909090931349.5909090909
145184510147940.937536569.0625
1467986381700.9333333333-1837.93333333333
147128423107929.63333333320493.3666666667
14897839147940.9375-50101.9375
1493821438599.2352941177-385.23529411765
150151101107929.63333333343171.3666666667
151272458201313.64285714371144.3571428571
152172494201313.642857143-28819.6428571429
153108043107929.633333333113.366666666669
154328107201313.642857143126793.357142857
155250579276414.1875-25835.1875
156351067276414.187574652.8125
157158015147940.937510074.0625
15898866107929.633333333-9063.63333333333
15985439107929.633333333-22490.6333333333
160229242276414.1875-47172.1875
161351619276414.187575204.8125
1628420781700.93333333332506.06666666667
163120445162404.714285714-41959.7142857143
164324598276414.187548183.8125
165131069147940.9375-16871.9375
166204271201313.6428571432957.35714285713
167165543201313.642857143-35770.6428571429
168141722213399.409090909-71677.4090909091
169116048147940.9375-31892.9375
170250047162404.71428571487642.2857142857
171299775276414.187523360.8125
172195838201313.642857143-5475.64285714287
17317326081700.933333333391559.0666666667
174254488276414.1875-21926.1875
175104389147940.9375-43551.9375
176136084107929.63333333328154.3666666667
177199476201313.642857143-1837.64285714287
1789249981700.933333333310798.0666666667
179224330276414.1875-52084.1875
180135781107929.63333333327851.3666666667
1817440838599.235294117735808.7647058823
1828124081700.9333333333-460.933333333334
1831468838599.2352941177-23911.2352941177
184181633201313.642857143-19680.6428571429
185271856213399.40909090958456.5909090909
186719938599.2352941177-31400.2352941177
1874666038599.23529411778060.76470588235
1881754738599.2352941177-21052.2352941177
189133368107929.63333333325438.3666666667
1909522781700.933333333313526.0666666667
191152601107929.63333333344671.3666666667
1929814681700.933333333316445.0666666667
19379619107929.633333333-28310.6333333333
1945919481700.9333333333-22506.9333333333
195139942147940.9375-7998.9375
196118612147940.9375-29328.9375
1977288081700.9333333333-8820.93333333333



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')
}