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:07:00 -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/t13239616454mvorn4arrcnvap.htm/, Retrieved Wed, 08 May 2024 23:34:01 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=155468, Retrieved Wed, 08 May 2024 23:34:01 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact91
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)] [recursive partiti...] [2011-12-15 15:07:00] [c38c32477296496b546025b407c5c736] [Current]
Feedback Forum

Post a new message
Dataseries X:
1575	129988	81	505	109	0	20
1134	130358	46	329	68	1	38
192	7215	18	72	1	0	0
2044	112976	87	588	146	0	49
3283	219904	126	1100	124	0	76
5877	402036	218	1618	267	1	104
1322	117604	50	442	83	1	37
1225	131822	50	333	48	0	57
1463	99729	38	406	87	0	42
2671	269088	87	858	129	1	67
1810	113066	69	568	146	2	50
1915	165392	62	595	113	0	66
1452	78240	90	534	60	0	38
2415	152673	84	818	240	4	48
1254	134368	47	359	50	4	42
1375	125769	68	419	81	3	47
1504	123467	50	364	85	0	71
1016	57396	49	290	64	5	0
2222	108458	79	683	127	0	50
634	22762	21	188	44	0	12
849	48633	50	291	37	0	16
2189	182081	83	640	94	0	77
1520	149502	61	542	127	0	32
1791	93773	46	532	159	1	38
1751	133428	79	549	41	1	50
1180	113933	23	428	153	0	33
1750	153851	140	561	86	0	49
1101	140711	75	266	55	0	59
2398	303863	106	785	78	0	55
1826	163810	38	754	84	0	42
1410	134521	41	411	71	0	47
1433	157640	39	482	111	2	51
1893	103274	90	593	82	4	45
2525	193500	105	760	254	0	73
2033	178768	43	668	66	1	51
1	0	1	0	0	0	0
1817	181412	55	855	58	0	46
1506	92342	47	464	131	3	44
1924	115762	42	453	261	9	33
1649	178277	50	607	56	0	71
1672	145067	58	540	90	2	61
1433	114146	50	551	57	0	28
866	86039	26	310	35	2	21
1683	125481	66	647	53	1	42
1024	95535	42	321	46	2	44
1029	129221	78	262	38	2	40
629	61554	26	180	45	1	15
1693	170811	83	587	114	0	46
1715	159121	75	544	104	1	43
2248	137317	52	809	151	4	57
658	48188	28	205	37	0	12
1234	95461	56	317	49	0	46
2157	249356	65	734	83	0	60
1725	191094	68	590	67	0	47
1504	161082	51	546	39	1	50
1454	111388	47	443	69	6	35
1620	172614	58	429	58	0	45
733	63205	18	205	68	0	25
894	109102	56	310	30	0	47
2355	137519	75	788	54	10	28
1514	125777	51	438	65	6	48
1636	88650	66	605	81	0	32
1123	95845	50	318	84	11	28
897	83419	29	288	45	3	31
855	101723	25	285	52	0	13
1229	94982	37	391	36	0	38
2012	145568	62	453	80	8	49
2393	113325	63	715	144	2	68
878	87133	33	219	48	0	36
340	31970	15	101	40	0	5
2480	194516	103	875	126	3	53
1071	98324	56	321	75	1	36
1091	80820	56	360	54	2	54
1425	89141	60	429	84	1	37
2227	118147	55	568	89	0	52
1082	56544	32	292	62	2	0
1790	118838	52	499	105	1	52
2072	118781	80	690	63	0	51
816	60138	23	253	76	0	16
1121	73422	66	366	92	0	33
834	70248	60	201	45	0	48
1766	225857	54	652	57	0	35
751	51185	24	221	44	0	24
1309	97181	32	438	132	0	37
732	45100	39	247	44	0	17
1327	115801	43	388	67	0	32
2246	186310	190	541	82	0	55
968	71960	86	233	71	0	39
1015	80105	48	333	44	5	31
1149	110416	43	440	72	0	26
1301	98707	34	452	54	4	37
1982	136234	67	584	86	1	66
1091	136781	52	366	59	0	35
1162	116132	54	433	74	0	24
759	49164	33	291	30	0	22
1980	189493	93	632	156	0	42
1608	169406	50	491	87	0	86
223	19349	12	67	15	0	13
1810	160902	88	617	104	1	21
1466	109510	53	597	54	0	32
553	43803	25	240	11	0	8
708	47062	19	219	37	0	38
1079	110845	44	349	80	0	45
957	92517	52	241	66	1	24
585	58660	36	136	27	0	23
596	27676	22	194	59	0	2
981	98550	33	222	113	0	52
585	43646	24	153	24	0	5
0	0	0	0	0	0	0
975	75566	28	281	58	0	43
751	57359	49	240	43	0	18
1071	104330	36	358	45	0	44
931	70369	47	302	55	0	45
783	65494	56	267	66	0	29
78	3616	5	14	5	0	0
0	0	0	0	0	0	0
874	143931	37	287	67	0	32
1327	117946	66	476	67	0	65
1831	137332	85	519	118	1	26
750	84336	33	243	51	0	24
778	43410	19	292	63	0	7
1442	139695	61	430	88	1	62
807	79015	34	217	35	0	30
1613	106116	47	466	58	8	54
685	57586	38	160	29	3	3
285	19764	12	75	19	1	10
1418	112195	43	442	51	2	46
954	103651	25	332	64	0	23
1283	113402	35	417	96	0	40
256	11796	9	79	22	0	1
81	7627	9	25	7	0	0
1215	121085	50	431	34	0	29
41	6836	3	11	5	0	0
1634	139563	46	564	43	5	46
42	5118	3	6	1	0	5
528	40248	16	183	34	1	8
0	0	0	0	0	0	0
890	95079	42	295	49	0	21
1203	80763	32	230	44	0	21
81	7131	4	27	0	1	0
61	4194	11	14	4	0	0
849	60378	20	240	40	1	15
1035	109173	44	251	52	0	47
964	83484	16	347	47	0	17




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net

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

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

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Goodness of Fit
Correlation0.8808
R-squared0.7758
RMSE29153.8074

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155468&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.8808
R-squared0.7758
RMSE29153.8074







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1129988102206.58333333327781.4166666667
2130358102206.58333333328151.4166666667
372156617.57142857143597.428571428572
4112976150060.617647059-37084.6176470588
5219904247940-28036
6402036247940154096
7117604102206.58333333315397.4166666667
8131822125583.5882352946238.41176470589
999729102206.583333333-2477.58333333333
1026908824794021148
11113066150060.617647059-36994.6176470588
12165392150060.61764705915331.3823529412
1378240102206.583333333-23966.5833333333
14152673247940-95267
15134368102206.58333333332161.4166666667
16125769125583.588235294185.411764705888
17123467125583.588235294-2116.58823529411
1857396102206.583333333-44810.5833333333
19108458150060.617647059-41602.6176470588
202276239921-17159
214863360102.0666666667-11469.0666666667
22182081150060.61764705932020.3823529412
23149502150060.617647059-558.617647058825
2493773102206.583333333-8433.58333333333
25133428150060.617647059-16632.6176470588
26113933102206.58333333311726.4166666667
27153851150060.6176470593790.38235294117
28140711125583.58823529415127.4117647059
2930386324794055923
30163810150060.61764705913749.3823529412
31134521125583.5882352948937.41176470589
32157640125583.58823529432056.4117647059
33103274150060.617647059-46786.6176470588
34193500247940-54440
35178768150060.61764705928707.3823529412
3606617.57142857143-6617.57142857143
37181412150060.61764705931351.3823529412
3892342102206.583333333-9864.58333333333
39115762102206.58333333313555.4166666667
40178277150060.61764705928216.3823529412
41145067150060.617647059-4993.61764705883
42114146150060.617647059-35914.6176470588
4386039102206.583333333-16167.5833333333
44125481150060.617647059-24579.6176470588
4595535102206.583333333-6671.58333333333
46129221102206.58333333327014.4166666667
476155460102.06666666671451.93333333333
48170811150060.61764705920750.3823529412
49159121150060.6176470599060.38235294117
50137317150060.617647059-12743.6176470588
5148188399218267
5295461102206.583333333-6745.58333333333
53249356150060.61764705999295.3823529412
54191094150060.61764705941033.3823529412
55161082150060.61764705911021.3823529412
56111388102206.5833333339181.41666666667
57172614102206.58333333370407.4166666667
586320560102.06666666673102.93333333333
59109102125583.588235294-16481.5882352941
60137519150060.617647059-12541.6176470588
61125777125583.588235294193.411764705888
6288650150060.617647059-61410.6176470588
6395845102206.583333333-6361.58333333333
6483419102206.583333333-18787.5833333333
65101723102206.583333333-483.583333333328
6694982102206.583333333-7224.58333333333
67145568125583.58823529419984.4117647059
68113325150060.617647059-36735.6176470588
6987133102206.583333333-15073.5833333333
703197039921-7951
71194516247940-53424
7298324102206.583333333-3882.58333333333
7380820125583.588235294-44763.5882352941
7489141102206.583333333-13065.5833333333
75118147150060.617647059-31913.6176470588
7656544102206.583333333-45662.5833333333
77118838125583.588235294-6745.58823529411
78118781150060.617647059-31279.6176470588
796013860102.066666666735.9333333333343
8073422102206.583333333-28784.5833333333
817024860102.066666666710145.9333333333
82225857150060.61764705975796.3823529412
835118560102.0666666667-8917.06666666667
8497181102206.583333333-5025.58333333333
854510060102.0666666667-15002.0666666667
86115801102206.58333333313594.4166666667
87186310150060.61764705936249.3823529412
8871960102206.583333333-30246.5833333333
8980105102206.583333333-22101.5833333333
90110416102206.5833333338209.41666666667
9198707102206.583333333-3499.58333333333
92136234150060.617647059-13826.6176470588
93136781102206.58333333334574.4166666667
94116132102206.58333333313925.4166666667
954916460102.0666666667-10938.0666666667
96189493150060.61764705939432.3823529412
97169406125583.58823529443822.4117647059
98193496617.5714285714312731.4285714286
99160902150060.61764705910841.3823529412
100109510150060.617647059-40550.6176470588
10143803399213882
1024706260102.0666666667-13040.0666666667
103110845102206.5833333338638.41666666667
10492517102206.583333333-9689.58333333333
1055866060102.0666666667-1442.06666666667
1062767639921-12245
10798550125583.588235294-27033.5882352941
10843646399213725
10906617.57142857143-6617.57142857143
11075566102206.583333333-26640.5833333333
1115735960102.0666666667-2743.06666666667
112104330102206.5833333332123.41666666667
11370369102206.583333333-31837.5833333333
1146549460102.06666666675391.93333333333
11536166617.57142857143-3001.57142857143
11606617.57142857143-6617.57142857143
117143931102206.58333333341724.4166666667
118117946125583.588235294-7637.58823529411
119137332102206.58333333335125.4166666667
1208433660102.066666666724233.9333333333
12143410399213489
122139695125583.58823529414111.4117647059
1237901560102.066666666718912.9333333333
124106116125583.588235294-19467.5882352941
125575863992117665
126197646617.5714285714313146.4285714286
127112195102206.5833333339988.41666666667
128103651102206.5833333331444.41666666667
129113402102206.58333333311195.4166666667
130117966617.571428571435178.42857142857
13176276617.571428571431009.42857142857
132121085102206.58333333318878.4166666667
13368366617.57142857143218.428571428572
134139563150060.617647059-10497.6176470588
13551186617.57142857143-1499.57142857143
1364024839921327
13706617.57142857143-6617.57142857143
13895079102206.583333333-7127.58333333333
13980763102206.583333333-21443.5833333333
14071316617.57142857143513.428571428572
14141946617.57142857143-2423.57142857143
1426037860102.0666666667275.933333333334
143109173125583.588235294-16410.5882352941
14483484102206.583333333-18722.5833333333

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 129988 & 102206.583333333 & 27781.4166666667 \tabularnewline
2 & 130358 & 102206.583333333 & 28151.4166666667 \tabularnewline
3 & 7215 & 6617.57142857143 & 597.428571428572 \tabularnewline
4 & 112976 & 150060.617647059 & -37084.6176470588 \tabularnewline
5 & 219904 & 247940 & -28036 \tabularnewline
6 & 402036 & 247940 & 154096 \tabularnewline
7 & 117604 & 102206.583333333 & 15397.4166666667 \tabularnewline
8 & 131822 & 125583.588235294 & 6238.41176470589 \tabularnewline
9 & 99729 & 102206.583333333 & -2477.58333333333 \tabularnewline
10 & 269088 & 247940 & 21148 \tabularnewline
11 & 113066 & 150060.617647059 & -36994.6176470588 \tabularnewline
12 & 165392 & 150060.617647059 & 15331.3823529412 \tabularnewline
13 & 78240 & 102206.583333333 & -23966.5833333333 \tabularnewline
14 & 152673 & 247940 & -95267 \tabularnewline
15 & 134368 & 102206.583333333 & 32161.4166666667 \tabularnewline
16 & 125769 & 125583.588235294 & 185.411764705888 \tabularnewline
17 & 123467 & 125583.588235294 & -2116.58823529411 \tabularnewline
18 & 57396 & 102206.583333333 & -44810.5833333333 \tabularnewline
19 & 108458 & 150060.617647059 & -41602.6176470588 \tabularnewline
20 & 22762 & 39921 & -17159 \tabularnewline
21 & 48633 & 60102.0666666667 & -11469.0666666667 \tabularnewline
22 & 182081 & 150060.617647059 & 32020.3823529412 \tabularnewline
23 & 149502 & 150060.617647059 & -558.617647058825 \tabularnewline
24 & 93773 & 102206.583333333 & -8433.58333333333 \tabularnewline
25 & 133428 & 150060.617647059 & -16632.6176470588 \tabularnewline
26 & 113933 & 102206.583333333 & 11726.4166666667 \tabularnewline
27 & 153851 & 150060.617647059 & 3790.38235294117 \tabularnewline
28 & 140711 & 125583.588235294 & 15127.4117647059 \tabularnewline
29 & 303863 & 247940 & 55923 \tabularnewline
30 & 163810 & 150060.617647059 & 13749.3823529412 \tabularnewline
31 & 134521 & 125583.588235294 & 8937.41176470589 \tabularnewline
32 & 157640 & 125583.588235294 & 32056.4117647059 \tabularnewline
33 & 103274 & 150060.617647059 & -46786.6176470588 \tabularnewline
34 & 193500 & 247940 & -54440 \tabularnewline
35 & 178768 & 150060.617647059 & 28707.3823529412 \tabularnewline
36 & 0 & 6617.57142857143 & -6617.57142857143 \tabularnewline
37 & 181412 & 150060.617647059 & 31351.3823529412 \tabularnewline
38 & 92342 & 102206.583333333 & -9864.58333333333 \tabularnewline
39 & 115762 & 102206.583333333 & 13555.4166666667 \tabularnewline
40 & 178277 & 150060.617647059 & 28216.3823529412 \tabularnewline
41 & 145067 & 150060.617647059 & -4993.61764705883 \tabularnewline
42 & 114146 & 150060.617647059 & -35914.6176470588 \tabularnewline
43 & 86039 & 102206.583333333 & -16167.5833333333 \tabularnewline
44 & 125481 & 150060.617647059 & -24579.6176470588 \tabularnewline
45 & 95535 & 102206.583333333 & -6671.58333333333 \tabularnewline
46 & 129221 & 102206.583333333 & 27014.4166666667 \tabularnewline
47 & 61554 & 60102.0666666667 & 1451.93333333333 \tabularnewline
48 & 170811 & 150060.617647059 & 20750.3823529412 \tabularnewline
49 & 159121 & 150060.617647059 & 9060.38235294117 \tabularnewline
50 & 137317 & 150060.617647059 & -12743.6176470588 \tabularnewline
51 & 48188 & 39921 & 8267 \tabularnewline
52 & 95461 & 102206.583333333 & -6745.58333333333 \tabularnewline
53 & 249356 & 150060.617647059 & 99295.3823529412 \tabularnewline
54 & 191094 & 150060.617647059 & 41033.3823529412 \tabularnewline
55 & 161082 & 150060.617647059 & 11021.3823529412 \tabularnewline
56 & 111388 & 102206.583333333 & 9181.41666666667 \tabularnewline
57 & 172614 & 102206.583333333 & 70407.4166666667 \tabularnewline
58 & 63205 & 60102.0666666667 & 3102.93333333333 \tabularnewline
59 & 109102 & 125583.588235294 & -16481.5882352941 \tabularnewline
60 & 137519 & 150060.617647059 & -12541.6176470588 \tabularnewline
61 & 125777 & 125583.588235294 & 193.411764705888 \tabularnewline
62 & 88650 & 150060.617647059 & -61410.6176470588 \tabularnewline
63 & 95845 & 102206.583333333 & -6361.58333333333 \tabularnewline
64 & 83419 & 102206.583333333 & -18787.5833333333 \tabularnewline
65 & 101723 & 102206.583333333 & -483.583333333328 \tabularnewline
66 & 94982 & 102206.583333333 & -7224.58333333333 \tabularnewline
67 & 145568 & 125583.588235294 & 19984.4117647059 \tabularnewline
68 & 113325 & 150060.617647059 & -36735.6176470588 \tabularnewline
69 & 87133 & 102206.583333333 & -15073.5833333333 \tabularnewline
70 & 31970 & 39921 & -7951 \tabularnewline
71 & 194516 & 247940 & -53424 \tabularnewline
72 & 98324 & 102206.583333333 & -3882.58333333333 \tabularnewline
73 & 80820 & 125583.588235294 & -44763.5882352941 \tabularnewline
74 & 89141 & 102206.583333333 & -13065.5833333333 \tabularnewline
75 & 118147 & 150060.617647059 & -31913.6176470588 \tabularnewline
76 & 56544 & 102206.583333333 & -45662.5833333333 \tabularnewline
77 & 118838 & 125583.588235294 & -6745.58823529411 \tabularnewline
78 & 118781 & 150060.617647059 & -31279.6176470588 \tabularnewline
79 & 60138 & 60102.0666666667 & 35.9333333333343 \tabularnewline
80 & 73422 & 102206.583333333 & -28784.5833333333 \tabularnewline
81 & 70248 & 60102.0666666667 & 10145.9333333333 \tabularnewline
82 & 225857 & 150060.617647059 & 75796.3823529412 \tabularnewline
83 & 51185 & 60102.0666666667 & -8917.06666666667 \tabularnewline
84 & 97181 & 102206.583333333 & -5025.58333333333 \tabularnewline
85 & 45100 & 60102.0666666667 & -15002.0666666667 \tabularnewline
86 & 115801 & 102206.583333333 & 13594.4166666667 \tabularnewline
87 & 186310 & 150060.617647059 & 36249.3823529412 \tabularnewline
88 & 71960 & 102206.583333333 & -30246.5833333333 \tabularnewline
89 & 80105 & 102206.583333333 & -22101.5833333333 \tabularnewline
90 & 110416 & 102206.583333333 & 8209.41666666667 \tabularnewline
91 & 98707 & 102206.583333333 & -3499.58333333333 \tabularnewline
92 & 136234 & 150060.617647059 & -13826.6176470588 \tabularnewline
93 & 136781 & 102206.583333333 & 34574.4166666667 \tabularnewline
94 & 116132 & 102206.583333333 & 13925.4166666667 \tabularnewline
95 & 49164 & 60102.0666666667 & -10938.0666666667 \tabularnewline
96 & 189493 & 150060.617647059 & 39432.3823529412 \tabularnewline
97 & 169406 & 125583.588235294 & 43822.4117647059 \tabularnewline
98 & 19349 & 6617.57142857143 & 12731.4285714286 \tabularnewline
99 & 160902 & 150060.617647059 & 10841.3823529412 \tabularnewline
100 & 109510 & 150060.617647059 & -40550.6176470588 \tabularnewline
101 & 43803 & 39921 & 3882 \tabularnewline
102 & 47062 & 60102.0666666667 & -13040.0666666667 \tabularnewline
103 & 110845 & 102206.583333333 & 8638.41666666667 \tabularnewline
104 & 92517 & 102206.583333333 & -9689.58333333333 \tabularnewline
105 & 58660 & 60102.0666666667 & -1442.06666666667 \tabularnewline
106 & 27676 & 39921 & -12245 \tabularnewline
107 & 98550 & 125583.588235294 & -27033.5882352941 \tabularnewline
108 & 43646 & 39921 & 3725 \tabularnewline
109 & 0 & 6617.57142857143 & -6617.57142857143 \tabularnewline
110 & 75566 & 102206.583333333 & -26640.5833333333 \tabularnewline
111 & 57359 & 60102.0666666667 & -2743.06666666667 \tabularnewline
112 & 104330 & 102206.583333333 & 2123.41666666667 \tabularnewline
113 & 70369 & 102206.583333333 & -31837.5833333333 \tabularnewline
114 & 65494 & 60102.0666666667 & 5391.93333333333 \tabularnewline
115 & 3616 & 6617.57142857143 & -3001.57142857143 \tabularnewline
116 & 0 & 6617.57142857143 & -6617.57142857143 \tabularnewline
117 & 143931 & 102206.583333333 & 41724.4166666667 \tabularnewline
118 & 117946 & 125583.588235294 & -7637.58823529411 \tabularnewline
119 & 137332 & 102206.583333333 & 35125.4166666667 \tabularnewline
120 & 84336 & 60102.0666666667 & 24233.9333333333 \tabularnewline
121 & 43410 & 39921 & 3489 \tabularnewline
122 & 139695 & 125583.588235294 & 14111.4117647059 \tabularnewline
123 & 79015 & 60102.0666666667 & 18912.9333333333 \tabularnewline
124 & 106116 & 125583.588235294 & -19467.5882352941 \tabularnewline
125 & 57586 & 39921 & 17665 \tabularnewline
126 & 19764 & 6617.57142857143 & 13146.4285714286 \tabularnewline
127 & 112195 & 102206.583333333 & 9988.41666666667 \tabularnewline
128 & 103651 & 102206.583333333 & 1444.41666666667 \tabularnewline
129 & 113402 & 102206.583333333 & 11195.4166666667 \tabularnewline
130 & 11796 & 6617.57142857143 & 5178.42857142857 \tabularnewline
131 & 7627 & 6617.57142857143 & 1009.42857142857 \tabularnewline
132 & 121085 & 102206.583333333 & 18878.4166666667 \tabularnewline
133 & 6836 & 6617.57142857143 & 218.428571428572 \tabularnewline
134 & 139563 & 150060.617647059 & -10497.6176470588 \tabularnewline
135 & 5118 & 6617.57142857143 & -1499.57142857143 \tabularnewline
136 & 40248 & 39921 & 327 \tabularnewline
137 & 0 & 6617.57142857143 & -6617.57142857143 \tabularnewline
138 & 95079 & 102206.583333333 & -7127.58333333333 \tabularnewline
139 & 80763 & 102206.583333333 & -21443.5833333333 \tabularnewline
140 & 7131 & 6617.57142857143 & 513.428571428572 \tabularnewline
141 & 4194 & 6617.57142857143 & -2423.57142857143 \tabularnewline
142 & 60378 & 60102.0666666667 & 275.933333333334 \tabularnewline
143 & 109173 & 125583.588235294 & -16410.5882352941 \tabularnewline
144 & 83484 & 102206.583333333 & -18722.5833333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155468&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]129988[/C][C]102206.583333333[/C][C]27781.4166666667[/C][/ROW]
[ROW][C]2[/C][C]130358[/C][C]102206.583333333[/C][C]28151.4166666667[/C][/ROW]
[ROW][C]3[/C][C]7215[/C][C]6617.57142857143[/C][C]597.428571428572[/C][/ROW]
[ROW][C]4[/C][C]112976[/C][C]150060.617647059[/C][C]-37084.6176470588[/C][/ROW]
[ROW][C]5[/C][C]219904[/C][C]247940[/C][C]-28036[/C][/ROW]
[ROW][C]6[/C][C]402036[/C][C]247940[/C][C]154096[/C][/ROW]
[ROW][C]7[/C][C]117604[/C][C]102206.583333333[/C][C]15397.4166666667[/C][/ROW]
[ROW][C]8[/C][C]131822[/C][C]125583.588235294[/C][C]6238.41176470589[/C][/ROW]
[ROW][C]9[/C][C]99729[/C][C]102206.583333333[/C][C]-2477.58333333333[/C][/ROW]
[ROW][C]10[/C][C]269088[/C][C]247940[/C][C]21148[/C][/ROW]
[ROW][C]11[/C][C]113066[/C][C]150060.617647059[/C][C]-36994.6176470588[/C][/ROW]
[ROW][C]12[/C][C]165392[/C][C]150060.617647059[/C][C]15331.3823529412[/C][/ROW]
[ROW][C]13[/C][C]78240[/C][C]102206.583333333[/C][C]-23966.5833333333[/C][/ROW]
[ROW][C]14[/C][C]152673[/C][C]247940[/C][C]-95267[/C][/ROW]
[ROW][C]15[/C][C]134368[/C][C]102206.583333333[/C][C]32161.4166666667[/C][/ROW]
[ROW][C]16[/C][C]125769[/C][C]125583.588235294[/C][C]185.411764705888[/C][/ROW]
[ROW][C]17[/C][C]123467[/C][C]125583.588235294[/C][C]-2116.58823529411[/C][/ROW]
[ROW][C]18[/C][C]57396[/C][C]102206.583333333[/C][C]-44810.5833333333[/C][/ROW]
[ROW][C]19[/C][C]108458[/C][C]150060.617647059[/C][C]-41602.6176470588[/C][/ROW]
[ROW][C]20[/C][C]22762[/C][C]39921[/C][C]-17159[/C][/ROW]
[ROW][C]21[/C][C]48633[/C][C]60102.0666666667[/C][C]-11469.0666666667[/C][/ROW]
[ROW][C]22[/C][C]182081[/C][C]150060.617647059[/C][C]32020.3823529412[/C][/ROW]
[ROW][C]23[/C][C]149502[/C][C]150060.617647059[/C][C]-558.617647058825[/C][/ROW]
[ROW][C]24[/C][C]93773[/C][C]102206.583333333[/C][C]-8433.58333333333[/C][/ROW]
[ROW][C]25[/C][C]133428[/C][C]150060.617647059[/C][C]-16632.6176470588[/C][/ROW]
[ROW][C]26[/C][C]113933[/C][C]102206.583333333[/C][C]11726.4166666667[/C][/ROW]
[ROW][C]27[/C][C]153851[/C][C]150060.617647059[/C][C]3790.38235294117[/C][/ROW]
[ROW][C]28[/C][C]140711[/C][C]125583.588235294[/C][C]15127.4117647059[/C][/ROW]
[ROW][C]29[/C][C]303863[/C][C]247940[/C][C]55923[/C][/ROW]
[ROW][C]30[/C][C]163810[/C][C]150060.617647059[/C][C]13749.3823529412[/C][/ROW]
[ROW][C]31[/C][C]134521[/C][C]125583.588235294[/C][C]8937.41176470589[/C][/ROW]
[ROW][C]32[/C][C]157640[/C][C]125583.588235294[/C][C]32056.4117647059[/C][/ROW]
[ROW][C]33[/C][C]103274[/C][C]150060.617647059[/C][C]-46786.6176470588[/C][/ROW]
[ROW][C]34[/C][C]193500[/C][C]247940[/C][C]-54440[/C][/ROW]
[ROW][C]35[/C][C]178768[/C][C]150060.617647059[/C][C]28707.3823529412[/C][/ROW]
[ROW][C]36[/C][C]0[/C][C]6617.57142857143[/C][C]-6617.57142857143[/C][/ROW]
[ROW][C]37[/C][C]181412[/C][C]150060.617647059[/C][C]31351.3823529412[/C][/ROW]
[ROW][C]38[/C][C]92342[/C][C]102206.583333333[/C][C]-9864.58333333333[/C][/ROW]
[ROW][C]39[/C][C]115762[/C][C]102206.583333333[/C][C]13555.4166666667[/C][/ROW]
[ROW][C]40[/C][C]178277[/C][C]150060.617647059[/C][C]28216.3823529412[/C][/ROW]
[ROW][C]41[/C][C]145067[/C][C]150060.617647059[/C][C]-4993.61764705883[/C][/ROW]
[ROW][C]42[/C][C]114146[/C][C]150060.617647059[/C][C]-35914.6176470588[/C][/ROW]
[ROW][C]43[/C][C]86039[/C][C]102206.583333333[/C][C]-16167.5833333333[/C][/ROW]
[ROW][C]44[/C][C]125481[/C][C]150060.617647059[/C][C]-24579.6176470588[/C][/ROW]
[ROW][C]45[/C][C]95535[/C][C]102206.583333333[/C][C]-6671.58333333333[/C][/ROW]
[ROW][C]46[/C][C]129221[/C][C]102206.583333333[/C][C]27014.4166666667[/C][/ROW]
[ROW][C]47[/C][C]61554[/C][C]60102.0666666667[/C][C]1451.93333333333[/C][/ROW]
[ROW][C]48[/C][C]170811[/C][C]150060.617647059[/C][C]20750.3823529412[/C][/ROW]
[ROW][C]49[/C][C]159121[/C][C]150060.617647059[/C][C]9060.38235294117[/C][/ROW]
[ROW][C]50[/C][C]137317[/C][C]150060.617647059[/C][C]-12743.6176470588[/C][/ROW]
[ROW][C]51[/C][C]48188[/C][C]39921[/C][C]8267[/C][/ROW]
[ROW][C]52[/C][C]95461[/C][C]102206.583333333[/C][C]-6745.58333333333[/C][/ROW]
[ROW][C]53[/C][C]249356[/C][C]150060.617647059[/C][C]99295.3823529412[/C][/ROW]
[ROW][C]54[/C][C]191094[/C][C]150060.617647059[/C][C]41033.3823529412[/C][/ROW]
[ROW][C]55[/C][C]161082[/C][C]150060.617647059[/C][C]11021.3823529412[/C][/ROW]
[ROW][C]56[/C][C]111388[/C][C]102206.583333333[/C][C]9181.41666666667[/C][/ROW]
[ROW][C]57[/C][C]172614[/C][C]102206.583333333[/C][C]70407.4166666667[/C][/ROW]
[ROW][C]58[/C][C]63205[/C][C]60102.0666666667[/C][C]3102.93333333333[/C][/ROW]
[ROW][C]59[/C][C]109102[/C][C]125583.588235294[/C][C]-16481.5882352941[/C][/ROW]
[ROW][C]60[/C][C]137519[/C][C]150060.617647059[/C][C]-12541.6176470588[/C][/ROW]
[ROW][C]61[/C][C]125777[/C][C]125583.588235294[/C][C]193.411764705888[/C][/ROW]
[ROW][C]62[/C][C]88650[/C][C]150060.617647059[/C][C]-61410.6176470588[/C][/ROW]
[ROW][C]63[/C][C]95845[/C][C]102206.583333333[/C][C]-6361.58333333333[/C][/ROW]
[ROW][C]64[/C][C]83419[/C][C]102206.583333333[/C][C]-18787.5833333333[/C][/ROW]
[ROW][C]65[/C][C]101723[/C][C]102206.583333333[/C][C]-483.583333333328[/C][/ROW]
[ROW][C]66[/C][C]94982[/C][C]102206.583333333[/C][C]-7224.58333333333[/C][/ROW]
[ROW][C]67[/C][C]145568[/C][C]125583.588235294[/C][C]19984.4117647059[/C][/ROW]
[ROW][C]68[/C][C]113325[/C][C]150060.617647059[/C][C]-36735.6176470588[/C][/ROW]
[ROW][C]69[/C][C]87133[/C][C]102206.583333333[/C][C]-15073.5833333333[/C][/ROW]
[ROW][C]70[/C][C]31970[/C][C]39921[/C][C]-7951[/C][/ROW]
[ROW][C]71[/C][C]194516[/C][C]247940[/C][C]-53424[/C][/ROW]
[ROW][C]72[/C][C]98324[/C][C]102206.583333333[/C][C]-3882.58333333333[/C][/ROW]
[ROW][C]73[/C][C]80820[/C][C]125583.588235294[/C][C]-44763.5882352941[/C][/ROW]
[ROW][C]74[/C][C]89141[/C][C]102206.583333333[/C][C]-13065.5833333333[/C][/ROW]
[ROW][C]75[/C][C]118147[/C][C]150060.617647059[/C][C]-31913.6176470588[/C][/ROW]
[ROW][C]76[/C][C]56544[/C][C]102206.583333333[/C][C]-45662.5833333333[/C][/ROW]
[ROW][C]77[/C][C]118838[/C][C]125583.588235294[/C][C]-6745.58823529411[/C][/ROW]
[ROW][C]78[/C][C]118781[/C][C]150060.617647059[/C][C]-31279.6176470588[/C][/ROW]
[ROW][C]79[/C][C]60138[/C][C]60102.0666666667[/C][C]35.9333333333343[/C][/ROW]
[ROW][C]80[/C][C]73422[/C][C]102206.583333333[/C][C]-28784.5833333333[/C][/ROW]
[ROW][C]81[/C][C]70248[/C][C]60102.0666666667[/C][C]10145.9333333333[/C][/ROW]
[ROW][C]82[/C][C]225857[/C][C]150060.617647059[/C][C]75796.3823529412[/C][/ROW]
[ROW][C]83[/C][C]51185[/C][C]60102.0666666667[/C][C]-8917.06666666667[/C][/ROW]
[ROW][C]84[/C][C]97181[/C][C]102206.583333333[/C][C]-5025.58333333333[/C][/ROW]
[ROW][C]85[/C][C]45100[/C][C]60102.0666666667[/C][C]-15002.0666666667[/C][/ROW]
[ROW][C]86[/C][C]115801[/C][C]102206.583333333[/C][C]13594.4166666667[/C][/ROW]
[ROW][C]87[/C][C]186310[/C][C]150060.617647059[/C][C]36249.3823529412[/C][/ROW]
[ROW][C]88[/C][C]71960[/C][C]102206.583333333[/C][C]-30246.5833333333[/C][/ROW]
[ROW][C]89[/C][C]80105[/C][C]102206.583333333[/C][C]-22101.5833333333[/C][/ROW]
[ROW][C]90[/C][C]110416[/C][C]102206.583333333[/C][C]8209.41666666667[/C][/ROW]
[ROW][C]91[/C][C]98707[/C][C]102206.583333333[/C][C]-3499.58333333333[/C][/ROW]
[ROW][C]92[/C][C]136234[/C][C]150060.617647059[/C][C]-13826.6176470588[/C][/ROW]
[ROW][C]93[/C][C]136781[/C][C]102206.583333333[/C][C]34574.4166666667[/C][/ROW]
[ROW][C]94[/C][C]116132[/C][C]102206.583333333[/C][C]13925.4166666667[/C][/ROW]
[ROW][C]95[/C][C]49164[/C][C]60102.0666666667[/C][C]-10938.0666666667[/C][/ROW]
[ROW][C]96[/C][C]189493[/C][C]150060.617647059[/C][C]39432.3823529412[/C][/ROW]
[ROW][C]97[/C][C]169406[/C][C]125583.588235294[/C][C]43822.4117647059[/C][/ROW]
[ROW][C]98[/C][C]19349[/C][C]6617.57142857143[/C][C]12731.4285714286[/C][/ROW]
[ROW][C]99[/C][C]160902[/C][C]150060.617647059[/C][C]10841.3823529412[/C][/ROW]
[ROW][C]100[/C][C]109510[/C][C]150060.617647059[/C][C]-40550.6176470588[/C][/ROW]
[ROW][C]101[/C][C]43803[/C][C]39921[/C][C]3882[/C][/ROW]
[ROW][C]102[/C][C]47062[/C][C]60102.0666666667[/C][C]-13040.0666666667[/C][/ROW]
[ROW][C]103[/C][C]110845[/C][C]102206.583333333[/C][C]8638.41666666667[/C][/ROW]
[ROW][C]104[/C][C]92517[/C][C]102206.583333333[/C][C]-9689.58333333333[/C][/ROW]
[ROW][C]105[/C][C]58660[/C][C]60102.0666666667[/C][C]-1442.06666666667[/C][/ROW]
[ROW][C]106[/C][C]27676[/C][C]39921[/C][C]-12245[/C][/ROW]
[ROW][C]107[/C][C]98550[/C][C]125583.588235294[/C][C]-27033.5882352941[/C][/ROW]
[ROW][C]108[/C][C]43646[/C][C]39921[/C][C]3725[/C][/ROW]
[ROW][C]109[/C][C]0[/C][C]6617.57142857143[/C][C]-6617.57142857143[/C][/ROW]
[ROW][C]110[/C][C]75566[/C][C]102206.583333333[/C][C]-26640.5833333333[/C][/ROW]
[ROW][C]111[/C][C]57359[/C][C]60102.0666666667[/C][C]-2743.06666666667[/C][/ROW]
[ROW][C]112[/C][C]104330[/C][C]102206.583333333[/C][C]2123.41666666667[/C][/ROW]
[ROW][C]113[/C][C]70369[/C][C]102206.583333333[/C][C]-31837.5833333333[/C][/ROW]
[ROW][C]114[/C][C]65494[/C][C]60102.0666666667[/C][C]5391.93333333333[/C][/ROW]
[ROW][C]115[/C][C]3616[/C][C]6617.57142857143[/C][C]-3001.57142857143[/C][/ROW]
[ROW][C]116[/C][C]0[/C][C]6617.57142857143[/C][C]-6617.57142857143[/C][/ROW]
[ROW][C]117[/C][C]143931[/C][C]102206.583333333[/C][C]41724.4166666667[/C][/ROW]
[ROW][C]118[/C][C]117946[/C][C]125583.588235294[/C][C]-7637.58823529411[/C][/ROW]
[ROW][C]119[/C][C]137332[/C][C]102206.583333333[/C][C]35125.4166666667[/C][/ROW]
[ROW][C]120[/C][C]84336[/C][C]60102.0666666667[/C][C]24233.9333333333[/C][/ROW]
[ROW][C]121[/C][C]43410[/C][C]39921[/C][C]3489[/C][/ROW]
[ROW][C]122[/C][C]139695[/C][C]125583.588235294[/C][C]14111.4117647059[/C][/ROW]
[ROW][C]123[/C][C]79015[/C][C]60102.0666666667[/C][C]18912.9333333333[/C][/ROW]
[ROW][C]124[/C][C]106116[/C][C]125583.588235294[/C][C]-19467.5882352941[/C][/ROW]
[ROW][C]125[/C][C]57586[/C][C]39921[/C][C]17665[/C][/ROW]
[ROW][C]126[/C][C]19764[/C][C]6617.57142857143[/C][C]13146.4285714286[/C][/ROW]
[ROW][C]127[/C][C]112195[/C][C]102206.583333333[/C][C]9988.41666666667[/C][/ROW]
[ROW][C]128[/C][C]103651[/C][C]102206.583333333[/C][C]1444.41666666667[/C][/ROW]
[ROW][C]129[/C][C]113402[/C][C]102206.583333333[/C][C]11195.4166666667[/C][/ROW]
[ROW][C]130[/C][C]11796[/C][C]6617.57142857143[/C][C]5178.42857142857[/C][/ROW]
[ROW][C]131[/C][C]7627[/C][C]6617.57142857143[/C][C]1009.42857142857[/C][/ROW]
[ROW][C]132[/C][C]121085[/C][C]102206.583333333[/C][C]18878.4166666667[/C][/ROW]
[ROW][C]133[/C][C]6836[/C][C]6617.57142857143[/C][C]218.428571428572[/C][/ROW]
[ROW][C]134[/C][C]139563[/C][C]150060.617647059[/C][C]-10497.6176470588[/C][/ROW]
[ROW][C]135[/C][C]5118[/C][C]6617.57142857143[/C][C]-1499.57142857143[/C][/ROW]
[ROW][C]136[/C][C]40248[/C][C]39921[/C][C]327[/C][/ROW]
[ROW][C]137[/C][C]0[/C][C]6617.57142857143[/C][C]-6617.57142857143[/C][/ROW]
[ROW][C]138[/C][C]95079[/C][C]102206.583333333[/C][C]-7127.58333333333[/C][/ROW]
[ROW][C]139[/C][C]80763[/C][C]102206.583333333[/C][C]-21443.5833333333[/C][/ROW]
[ROW][C]140[/C][C]7131[/C][C]6617.57142857143[/C][C]513.428571428572[/C][/ROW]
[ROW][C]141[/C][C]4194[/C][C]6617.57142857143[/C][C]-2423.57142857143[/C][/ROW]
[ROW][C]142[/C][C]60378[/C][C]60102.0666666667[/C][C]275.933333333334[/C][/ROW]
[ROW][C]143[/C][C]109173[/C][C]125583.588235294[/C][C]-16410.5882352941[/C][/ROW]
[ROW][C]144[/C][C]83484[/C][C]102206.583333333[/C][C]-18722.5833333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155468&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155468&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
1129988102206.58333333327781.4166666667
2130358102206.58333333328151.4166666667
372156617.57142857143597.428571428572
4112976150060.617647059-37084.6176470588
5219904247940-28036
6402036247940154096
7117604102206.58333333315397.4166666667
8131822125583.5882352946238.41176470589
999729102206.583333333-2477.58333333333
1026908824794021148
11113066150060.617647059-36994.6176470588
12165392150060.61764705915331.3823529412
1378240102206.583333333-23966.5833333333
14152673247940-95267
15134368102206.58333333332161.4166666667
16125769125583.588235294185.411764705888
17123467125583.588235294-2116.58823529411
1857396102206.583333333-44810.5833333333
19108458150060.617647059-41602.6176470588
202276239921-17159
214863360102.0666666667-11469.0666666667
22182081150060.61764705932020.3823529412
23149502150060.617647059-558.617647058825
2493773102206.583333333-8433.58333333333
25133428150060.617647059-16632.6176470588
26113933102206.58333333311726.4166666667
27153851150060.6176470593790.38235294117
28140711125583.58823529415127.4117647059
2930386324794055923
30163810150060.61764705913749.3823529412
31134521125583.5882352948937.41176470589
32157640125583.58823529432056.4117647059
33103274150060.617647059-46786.6176470588
34193500247940-54440
35178768150060.61764705928707.3823529412
3606617.57142857143-6617.57142857143
37181412150060.61764705931351.3823529412
3892342102206.583333333-9864.58333333333
39115762102206.58333333313555.4166666667
40178277150060.61764705928216.3823529412
41145067150060.617647059-4993.61764705883
42114146150060.617647059-35914.6176470588
4386039102206.583333333-16167.5833333333
44125481150060.617647059-24579.6176470588
4595535102206.583333333-6671.58333333333
46129221102206.58333333327014.4166666667
476155460102.06666666671451.93333333333
48170811150060.61764705920750.3823529412
49159121150060.6176470599060.38235294117
50137317150060.617647059-12743.6176470588
5148188399218267
5295461102206.583333333-6745.58333333333
53249356150060.61764705999295.3823529412
54191094150060.61764705941033.3823529412
55161082150060.61764705911021.3823529412
56111388102206.5833333339181.41666666667
57172614102206.58333333370407.4166666667
586320560102.06666666673102.93333333333
59109102125583.588235294-16481.5882352941
60137519150060.617647059-12541.6176470588
61125777125583.588235294193.411764705888
6288650150060.617647059-61410.6176470588
6395845102206.583333333-6361.58333333333
6483419102206.583333333-18787.5833333333
65101723102206.583333333-483.583333333328
6694982102206.583333333-7224.58333333333
67145568125583.58823529419984.4117647059
68113325150060.617647059-36735.6176470588
6987133102206.583333333-15073.5833333333
703197039921-7951
71194516247940-53424
7298324102206.583333333-3882.58333333333
7380820125583.588235294-44763.5882352941
7489141102206.583333333-13065.5833333333
75118147150060.617647059-31913.6176470588
7656544102206.583333333-45662.5833333333
77118838125583.588235294-6745.58823529411
78118781150060.617647059-31279.6176470588
796013860102.066666666735.9333333333343
8073422102206.583333333-28784.5833333333
817024860102.066666666710145.9333333333
82225857150060.61764705975796.3823529412
835118560102.0666666667-8917.06666666667
8497181102206.583333333-5025.58333333333
854510060102.0666666667-15002.0666666667
86115801102206.58333333313594.4166666667
87186310150060.61764705936249.3823529412
8871960102206.583333333-30246.5833333333
8980105102206.583333333-22101.5833333333
90110416102206.5833333338209.41666666667
9198707102206.583333333-3499.58333333333
92136234150060.617647059-13826.6176470588
93136781102206.58333333334574.4166666667
94116132102206.58333333313925.4166666667
954916460102.0666666667-10938.0666666667
96189493150060.61764705939432.3823529412
97169406125583.58823529443822.4117647059
98193496617.5714285714312731.4285714286
99160902150060.61764705910841.3823529412
100109510150060.617647059-40550.6176470588
10143803399213882
1024706260102.0666666667-13040.0666666667
103110845102206.5833333338638.41666666667
10492517102206.583333333-9689.58333333333
1055866060102.0666666667-1442.06666666667
1062767639921-12245
10798550125583.588235294-27033.5882352941
10843646399213725
10906617.57142857143-6617.57142857143
11075566102206.583333333-26640.5833333333
1115735960102.0666666667-2743.06666666667
112104330102206.5833333332123.41666666667
11370369102206.583333333-31837.5833333333
1146549460102.06666666675391.93333333333
11536166617.57142857143-3001.57142857143
11606617.57142857143-6617.57142857143
117143931102206.58333333341724.4166666667
118117946125583.588235294-7637.58823529411
119137332102206.58333333335125.4166666667
1208433660102.066666666724233.9333333333
12143410399213489
122139695125583.58823529414111.4117647059
1237901560102.066666666718912.9333333333
124106116125583.588235294-19467.5882352941
125575863992117665
126197646617.5714285714313146.4285714286
127112195102206.5833333339988.41666666667
128103651102206.5833333331444.41666666667
129113402102206.58333333311195.4166666667
130117966617.571428571435178.42857142857
13176276617.571428571431009.42857142857
132121085102206.58333333318878.4166666667
13368366617.57142857143218.428571428572
134139563150060.617647059-10497.6176470588
13551186617.57142857143-1499.57142857143
1364024839921327
13706617.57142857143-6617.57142857143
13895079102206.583333333-7127.58333333333
13980763102206.583333333-21443.5833333333
14071316617.57142857143513.428571428572
14141946617.57142857143-2423.57142857143
1426037860102.0666666667275.933333333334
143109173125583.588235294-16410.5882352941
14483484102206.583333333-18722.5833333333



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