Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_regression_trees1.wasp
Title produced by softwareRecursive Partitioning (Regression Trees)
Date of computationThu, 22 Dec 2011 14:35:16 -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/22/t1324582548nt9taw7latd6xcj.htm/, Retrieved Fri, 03 May 2024 09:36:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=159903, Retrieved Fri, 03 May 2024 09:36:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact86
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Recursive Partitioning (Regression Trees)] [] [2011-12-21 16:07:57] [59e8d6f9dbd0564968d0bb4af7b45de5]
-    D  [Recursive Partitioning (Regression Trees)] [] [2011-12-21 16:12:50] [59e8d6f9dbd0564968d0bb4af7b45de5]
- R P       [Recursive Partitioning (Regression Trees)] [] [2011-12-22 19:35:16] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
158258	89	48	18	20465
186930	57	53	20	33629
7215	18	0	0	1423
129098	94	51	27	25629
230587	134	76	31	54002
508313	260	128	36	151036
180745	56	62	23	33287
185559	58	83	30	31172
154581	43	55	30	28113
290658	95	67	26	57803
121844	75	50	24	49830
184039	68	77	30	52143
100324	98	46	22	21055
209427	114	79	25	47007
167592	57	55	18	28735
154593	86	54	22	59147
142018	56	81	33	78950
77855	59	5	15	13497
167047	86	74	34	46154
27997	24	13	18	53249
70824	58	19	15	10726
241082	99	99	30	83700
195820	72	38	25	40400
141899	53	59	34	33797
145433	85	50	21	36205
180241	30	50	21	30165
202232	160	61	25	58534
190230	90	81	31	44663
354924	117	60	31	92556
192399	43	52	20	40078
182286	44	61	28	34711
181590	45	60	22	31076
133801	105	53	17	74608
233686	123	76	25	58092
219428	52	63	24	42009
0	1	0	0	0
223044	63	54	28	36022
100129	51	44	14	23333
136733	47	36	35	53349
249965	64	83	34	92596
242379	71	105	22	49598
145794	59	37	34	44093
96404	31	25	23	84205
195891	78	64	24	63369
115335	49	55	26	60132
157787	94	41	22	37403
81293	31	23	35	24460
224049	100	67	24	46456
223789	86	54	31	66616
160344	58	68	26	41554
48188	28	12	22	22346
152206	68	86	21	30874
294283	72	74	27	68701
235223	78	56	30	35728
195583	59	67	33	29010
145942	54	40	11	23110
208834	66	53	26	38844
93764	23	26	26	27084
151985	66	67	23	35139
190545	94	36	38	57476
148922	59	50	31	33277
132856	80	48	20	31141
124234	59	46	19	61281
112718	36	53	26	25820
160930	34	27	26	23284
99184	40	38	33	35378
182022	69	69	36	74990
138708	65	93	25	29653
114408	38	59	24	64622
31970	15	5	21	4157
225558	112	53	19	29245
137011	71	40	12	50008
113612	68	72	30	52338
108641	70	51	21	13310
162203	66	81	34	92901
100098	44	27	32	10956
174768	60	94	28	34241
158459	97	71	28	75043
80934	30	20	21	21152
84971	71	34	31	42249
80545	68	54	26	42005
287191	64	49	29	41152
62974	27	26	23	14399
130982	38	47	25	28263
75555	45	35	22	17215
162154	54	32	26	48140
224670	225	55	33	62897
115019	110	58	24	22883
105038	60	44	24	41622
155537	52	45	21	40715
153133	41	49	28	65897
165577	76	72	27	76542
151517	57	39	25	37477
133686	58	28	15	53216
58128	38	24	13	40911
245196	117	52	36	57021
195576	69	96	24	73116
19349	12	13	1	3895
225371	105	38	24	46609
152796	76	41	31	29351
59117	28	24	4	2325
91762	23	54	21	31747
127987	52	59	23	32665
113552	58	28	23	19249
85338	40	36	12	15292
27676	22	2	16	5842
147984	47	83	29	33994
122417	36	29	26	13018
0	0	0	0	0
91529	32	46	25	98177
107205	66	25	21	37941
144664	44	51	23	31032
136540	61	59	21	32683
76656	59	36	21	34545
3616	5	0	0	0
0	0	0	0	0
183065	42	40	23	27525
144636	83	68	33	66856
152826	96	28	28	28549
113273	38	36	23	38610
43410	19	7	1	2781
175774	72	70	29	41211
95401	41	30	18	22698
118893	54	59	32	41194
60493	40	3	12	32689
19764	12	10	2	5752
164062	55	46	21	26757
132696	32	34	28	22527
155088	47	54	29	44810
11796	9	1	2	0
10674	9	0	0	0
142261	56	39	18	100674
6836	3	0	1	0
154206	61	48	21	57786
5118	3	5	0	0
40248	16	8	4	5444
0	0	0	0	0
122641	46	38	25	28470
88837	38	21	26	61849
7131	4	0	0	0
9056	14	0	4	2179
76611	24	15	17	8019
132697	50	50	21	39644
100681	19	17	22	23494





Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=159903&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=159903&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159903&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 time3 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Goodness of Fit
Correlation0.8332
R-squared0.6942
RMSE42084.5778

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.8332[/C][/ROW]
[ROW][C]R-squared[/C][C]0.6942[/C][/ROW]
[ROW][C]RMSE[/C][C]42084.5778[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159903&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159903&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.8332
R-squared0.6942
RMSE42084.5778







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1158258142228.84285714316029.1571428571
2186930142228.84285714344701.1571428571
3721540561.3333333333-33346.3333333333
4129098142228.842857143-13130.8428571429
5230587270510.333333333-39923.3333333333
6508313270510.333333333237802.666666667
7180745186796.322580645-6051.32258064515
8185559186796.322580645-1237.32258064515
9154581142228.84285714312352.1571428571
10290658186796.322580645103861.677419355
11121844142228.842857143-20384.8428571429
12184039186796.322580645-2757.32258064515
13100324142228.842857143-41904.8428571429
14209427270510.333333333-61083.3333333333
15167592142228.84285714325363.1571428571
16154593142228.84285714312364.1571428571
17142018186796.322580645-44778.3225806452
187785540561.333333333337293.6666666667
19167047186796.322580645-19749.3225806452
202799740561.3333333333-12564.3333333333
217082481397.6666666667-10573.6666666667
22241082186796.32258064554285.6774193548
23195820142228.84285714353591.1571428571
24141899142228.842857143-329.842857142852
25145433142228.8428571433204.15714285715
26180241142228.84285714338012.1571428571
27202232270510.333333333-68278.3333333333
28190230186796.3225806453433.67741935485
29354924270510.33333333384413.6666666667
30192399142228.84285714350170.1571428571
31182286186796.322580645-4510.32258064515
32181590186796.322580645-5206.32258064515
33133801142228.842857143-8427.84285714285
34233686270510.333333333-36824.3333333333
35219428186796.32258064532631.6774193548
3607180-7180
37223044142228.84285714380815.1571428571
38100129142228.842857143-42099.8428571429
39136733142228.842857143-5495.84285714285
40249965186796.32258064563168.6774193548
41242379186796.32258064555582.6774193548
42145794142228.8428571433565.15714285715
439640481397.666666666715006.3333333333
44195891186796.3225806459094.67741935485
45115335142228.842857143-26893.8428571429
46157787142228.84285714315558.1571428571
478129381397.6666666667-104.666666666672
48224049186796.32258064537252.6774193548
49223789142228.84285714381560.1571428571
50160344186796.322580645-26452.3225806452
514818840561.33333333337626.66666666666
52152206186796.322580645-34590.3225806452
53294283186796.322580645107486.677419355
54235223142228.84285714392994.1571428571
55195583186796.3225806458786.67741935485
56145942142228.8428571433713.15714285715
57208834142228.84285714366605.1571428571
589376481397.666666666712366.3333333333
59151985186796.322580645-34811.3225806452
60190545142228.84285714348316.1571428571
61148922142228.8428571436693.15714285715
62132856142228.842857143-9372.84285714285
63124234142228.842857143-17994.8428571429
64112718142228.842857143-29510.8428571429
65160930142228.84285714318701.1571428571
6699184142228.842857143-43044.8428571429
67182022186796.322580645-4774.32258064515
68138708186796.322580645-48088.3225806452
69114408142228.842857143-27820.8428571429
703197040561.3333333333-8591.33333333334
71225558270510.333333333-44952.3333333333
72137011142228.842857143-5217.84285714285
73113612186796.322580645-73184.3225806452
74108641142228.842857143-33587.8428571429
75162203186796.322580645-24593.3225806452
76100098142228.842857143-42130.8428571429
77174768186796.322580645-12028.3225806452
78158459186796.322580645-28337.3225806452
798093481397.6666666667-463.666666666672
8084971142228.842857143-57257.8428571429
8180545142228.842857143-61683.8428571429
82287191142228.842857143144962.157142857
836297481397.6666666667-18423.6666666667
84130982142228.842857143-11246.8428571429
8575555142228.842857143-66673.8428571429
86162154142228.84285714319925.1571428571
87224670270510.333333333-45840.3333333333
88115019142228.842857143-27209.8428571429
89105038142228.842857143-37190.8428571429
90155537142228.84285714313308.1571428571
91153133142228.84285714310904.1571428571
92165577186796.322580645-21219.3225806452
93151517142228.8428571439288.15714285715
94133686142228.842857143-8542.84285714285
955812881397.6666666667-23269.6666666667
96245196270510.333333333-25314.3333333333
97195576186796.3225806458779.67741935485
9819349718012169
99225371142228.84285714383142.1571428571
100152796142228.84285714310567.1571428571
1015911781397.6666666667-22280.6666666667
10291762142228.842857143-50466.8428571429
103127987142228.842857143-14241.8428571429
104113552142228.842857143-28676.8428571429
10585338142228.842857143-56890.8428571429
1062767640561.3333333333-12885.3333333333
107147984186796.322580645-38812.3225806452
108122417142228.842857143-19811.8428571429
10907180-7180
11091529142228.842857143-50699.8428571429
11110720581397.666666666725807.3333333333
112144664142228.8428571432435.15714285715
113136540142228.842857143-5688.84285714285
11476656142228.842857143-65572.8428571429
11536167180-3564
11607180-7180
117183065142228.84285714340836.1571428571
118144636186796.322580645-42160.3225806452
119152826142228.84285714310597.1571428571
120113273142228.842857143-28955.8428571429
1214341040561.33333333332848.66666666666
122175774186796.322580645-11022.3225806452
12395401142228.842857143-46827.8428571429
124118893142228.842857143-23335.8428571429
1256049340561.333333333319931.6666666667
12619764718012584
127164062142228.84285714321833.1571428571
128132696142228.842857143-9532.84285714285
129155088142228.84285714312859.1571428571
1301179671804616
1311067471803494
132142261142228.84285714332.1571428571478
13368367180-344
134154206142228.84285714311977.1571428571
13551187180-2062
1364024840561.3333333333-313.333333333336
13707180-7180
138122641142228.842857143-19587.8428571429
1398883781397.66666666677439.33333333333
14071317180-49
141905671801876
1427661181397.6666666667-4786.66666666667
143132697142228.842857143-9531.84285714285
14410068181397.666666666719283.3333333333

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 158258 & 142228.842857143 & 16029.1571428571 \tabularnewline
2 & 186930 & 142228.842857143 & 44701.1571428571 \tabularnewline
3 & 7215 & 40561.3333333333 & -33346.3333333333 \tabularnewline
4 & 129098 & 142228.842857143 & -13130.8428571429 \tabularnewline
5 & 230587 & 270510.333333333 & -39923.3333333333 \tabularnewline
6 & 508313 & 270510.333333333 & 237802.666666667 \tabularnewline
7 & 180745 & 186796.322580645 & -6051.32258064515 \tabularnewline
8 & 185559 & 186796.322580645 & -1237.32258064515 \tabularnewline
9 & 154581 & 142228.842857143 & 12352.1571428571 \tabularnewline
10 & 290658 & 186796.322580645 & 103861.677419355 \tabularnewline
11 & 121844 & 142228.842857143 & -20384.8428571429 \tabularnewline
12 & 184039 & 186796.322580645 & -2757.32258064515 \tabularnewline
13 & 100324 & 142228.842857143 & -41904.8428571429 \tabularnewline
14 & 209427 & 270510.333333333 & -61083.3333333333 \tabularnewline
15 & 167592 & 142228.842857143 & 25363.1571428571 \tabularnewline
16 & 154593 & 142228.842857143 & 12364.1571428571 \tabularnewline
17 & 142018 & 186796.322580645 & -44778.3225806452 \tabularnewline
18 & 77855 & 40561.3333333333 & 37293.6666666667 \tabularnewline
19 & 167047 & 186796.322580645 & -19749.3225806452 \tabularnewline
20 & 27997 & 40561.3333333333 & -12564.3333333333 \tabularnewline
21 & 70824 & 81397.6666666667 & -10573.6666666667 \tabularnewline
22 & 241082 & 186796.322580645 & 54285.6774193548 \tabularnewline
23 & 195820 & 142228.842857143 & 53591.1571428571 \tabularnewline
24 & 141899 & 142228.842857143 & -329.842857142852 \tabularnewline
25 & 145433 & 142228.842857143 & 3204.15714285715 \tabularnewline
26 & 180241 & 142228.842857143 & 38012.1571428571 \tabularnewline
27 & 202232 & 270510.333333333 & -68278.3333333333 \tabularnewline
28 & 190230 & 186796.322580645 & 3433.67741935485 \tabularnewline
29 & 354924 & 270510.333333333 & 84413.6666666667 \tabularnewline
30 & 192399 & 142228.842857143 & 50170.1571428571 \tabularnewline
31 & 182286 & 186796.322580645 & -4510.32258064515 \tabularnewline
32 & 181590 & 186796.322580645 & -5206.32258064515 \tabularnewline
33 & 133801 & 142228.842857143 & -8427.84285714285 \tabularnewline
34 & 233686 & 270510.333333333 & -36824.3333333333 \tabularnewline
35 & 219428 & 186796.322580645 & 32631.6774193548 \tabularnewline
36 & 0 & 7180 & -7180 \tabularnewline
37 & 223044 & 142228.842857143 & 80815.1571428571 \tabularnewline
38 & 100129 & 142228.842857143 & -42099.8428571429 \tabularnewline
39 & 136733 & 142228.842857143 & -5495.84285714285 \tabularnewline
40 & 249965 & 186796.322580645 & 63168.6774193548 \tabularnewline
41 & 242379 & 186796.322580645 & 55582.6774193548 \tabularnewline
42 & 145794 & 142228.842857143 & 3565.15714285715 \tabularnewline
43 & 96404 & 81397.6666666667 & 15006.3333333333 \tabularnewline
44 & 195891 & 186796.322580645 & 9094.67741935485 \tabularnewline
45 & 115335 & 142228.842857143 & -26893.8428571429 \tabularnewline
46 & 157787 & 142228.842857143 & 15558.1571428571 \tabularnewline
47 & 81293 & 81397.6666666667 & -104.666666666672 \tabularnewline
48 & 224049 & 186796.322580645 & 37252.6774193548 \tabularnewline
49 & 223789 & 142228.842857143 & 81560.1571428571 \tabularnewline
50 & 160344 & 186796.322580645 & -26452.3225806452 \tabularnewline
51 & 48188 & 40561.3333333333 & 7626.66666666666 \tabularnewline
52 & 152206 & 186796.322580645 & -34590.3225806452 \tabularnewline
53 & 294283 & 186796.322580645 & 107486.677419355 \tabularnewline
54 & 235223 & 142228.842857143 & 92994.1571428571 \tabularnewline
55 & 195583 & 186796.322580645 & 8786.67741935485 \tabularnewline
56 & 145942 & 142228.842857143 & 3713.15714285715 \tabularnewline
57 & 208834 & 142228.842857143 & 66605.1571428571 \tabularnewline
58 & 93764 & 81397.6666666667 & 12366.3333333333 \tabularnewline
59 & 151985 & 186796.322580645 & -34811.3225806452 \tabularnewline
60 & 190545 & 142228.842857143 & 48316.1571428571 \tabularnewline
61 & 148922 & 142228.842857143 & 6693.15714285715 \tabularnewline
62 & 132856 & 142228.842857143 & -9372.84285714285 \tabularnewline
63 & 124234 & 142228.842857143 & -17994.8428571429 \tabularnewline
64 & 112718 & 142228.842857143 & -29510.8428571429 \tabularnewline
65 & 160930 & 142228.842857143 & 18701.1571428571 \tabularnewline
66 & 99184 & 142228.842857143 & -43044.8428571429 \tabularnewline
67 & 182022 & 186796.322580645 & -4774.32258064515 \tabularnewline
68 & 138708 & 186796.322580645 & -48088.3225806452 \tabularnewline
69 & 114408 & 142228.842857143 & -27820.8428571429 \tabularnewline
70 & 31970 & 40561.3333333333 & -8591.33333333334 \tabularnewline
71 & 225558 & 270510.333333333 & -44952.3333333333 \tabularnewline
72 & 137011 & 142228.842857143 & -5217.84285714285 \tabularnewline
73 & 113612 & 186796.322580645 & -73184.3225806452 \tabularnewline
74 & 108641 & 142228.842857143 & -33587.8428571429 \tabularnewline
75 & 162203 & 186796.322580645 & -24593.3225806452 \tabularnewline
76 & 100098 & 142228.842857143 & -42130.8428571429 \tabularnewline
77 & 174768 & 186796.322580645 & -12028.3225806452 \tabularnewline
78 & 158459 & 186796.322580645 & -28337.3225806452 \tabularnewline
79 & 80934 & 81397.6666666667 & -463.666666666672 \tabularnewline
80 & 84971 & 142228.842857143 & -57257.8428571429 \tabularnewline
81 & 80545 & 142228.842857143 & -61683.8428571429 \tabularnewline
82 & 287191 & 142228.842857143 & 144962.157142857 \tabularnewline
83 & 62974 & 81397.6666666667 & -18423.6666666667 \tabularnewline
84 & 130982 & 142228.842857143 & -11246.8428571429 \tabularnewline
85 & 75555 & 142228.842857143 & -66673.8428571429 \tabularnewline
86 & 162154 & 142228.842857143 & 19925.1571428571 \tabularnewline
87 & 224670 & 270510.333333333 & -45840.3333333333 \tabularnewline
88 & 115019 & 142228.842857143 & -27209.8428571429 \tabularnewline
89 & 105038 & 142228.842857143 & -37190.8428571429 \tabularnewline
90 & 155537 & 142228.842857143 & 13308.1571428571 \tabularnewline
91 & 153133 & 142228.842857143 & 10904.1571428571 \tabularnewline
92 & 165577 & 186796.322580645 & -21219.3225806452 \tabularnewline
93 & 151517 & 142228.842857143 & 9288.15714285715 \tabularnewline
94 & 133686 & 142228.842857143 & -8542.84285714285 \tabularnewline
95 & 58128 & 81397.6666666667 & -23269.6666666667 \tabularnewline
96 & 245196 & 270510.333333333 & -25314.3333333333 \tabularnewline
97 & 195576 & 186796.322580645 & 8779.67741935485 \tabularnewline
98 & 19349 & 7180 & 12169 \tabularnewline
99 & 225371 & 142228.842857143 & 83142.1571428571 \tabularnewline
100 & 152796 & 142228.842857143 & 10567.1571428571 \tabularnewline
101 & 59117 & 81397.6666666667 & -22280.6666666667 \tabularnewline
102 & 91762 & 142228.842857143 & -50466.8428571429 \tabularnewline
103 & 127987 & 142228.842857143 & -14241.8428571429 \tabularnewline
104 & 113552 & 142228.842857143 & -28676.8428571429 \tabularnewline
105 & 85338 & 142228.842857143 & -56890.8428571429 \tabularnewline
106 & 27676 & 40561.3333333333 & -12885.3333333333 \tabularnewline
107 & 147984 & 186796.322580645 & -38812.3225806452 \tabularnewline
108 & 122417 & 142228.842857143 & -19811.8428571429 \tabularnewline
109 & 0 & 7180 & -7180 \tabularnewline
110 & 91529 & 142228.842857143 & -50699.8428571429 \tabularnewline
111 & 107205 & 81397.6666666667 & 25807.3333333333 \tabularnewline
112 & 144664 & 142228.842857143 & 2435.15714285715 \tabularnewline
113 & 136540 & 142228.842857143 & -5688.84285714285 \tabularnewline
114 & 76656 & 142228.842857143 & -65572.8428571429 \tabularnewline
115 & 3616 & 7180 & -3564 \tabularnewline
116 & 0 & 7180 & -7180 \tabularnewline
117 & 183065 & 142228.842857143 & 40836.1571428571 \tabularnewline
118 & 144636 & 186796.322580645 & -42160.3225806452 \tabularnewline
119 & 152826 & 142228.842857143 & 10597.1571428571 \tabularnewline
120 & 113273 & 142228.842857143 & -28955.8428571429 \tabularnewline
121 & 43410 & 40561.3333333333 & 2848.66666666666 \tabularnewline
122 & 175774 & 186796.322580645 & -11022.3225806452 \tabularnewline
123 & 95401 & 142228.842857143 & -46827.8428571429 \tabularnewline
124 & 118893 & 142228.842857143 & -23335.8428571429 \tabularnewline
125 & 60493 & 40561.3333333333 & 19931.6666666667 \tabularnewline
126 & 19764 & 7180 & 12584 \tabularnewline
127 & 164062 & 142228.842857143 & 21833.1571428571 \tabularnewline
128 & 132696 & 142228.842857143 & -9532.84285714285 \tabularnewline
129 & 155088 & 142228.842857143 & 12859.1571428571 \tabularnewline
130 & 11796 & 7180 & 4616 \tabularnewline
131 & 10674 & 7180 & 3494 \tabularnewline
132 & 142261 & 142228.842857143 & 32.1571428571478 \tabularnewline
133 & 6836 & 7180 & -344 \tabularnewline
134 & 154206 & 142228.842857143 & 11977.1571428571 \tabularnewline
135 & 5118 & 7180 & -2062 \tabularnewline
136 & 40248 & 40561.3333333333 & -313.333333333336 \tabularnewline
137 & 0 & 7180 & -7180 \tabularnewline
138 & 122641 & 142228.842857143 & -19587.8428571429 \tabularnewline
139 & 88837 & 81397.6666666667 & 7439.33333333333 \tabularnewline
140 & 7131 & 7180 & -49 \tabularnewline
141 & 9056 & 7180 & 1876 \tabularnewline
142 & 76611 & 81397.6666666667 & -4786.66666666667 \tabularnewline
143 & 132697 & 142228.842857143 & -9531.84285714285 \tabularnewline
144 & 100681 & 81397.6666666667 & 19283.3333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159903&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]158258[/C][C]142228.842857143[/C][C]16029.1571428571[/C][/ROW]
[ROW][C]2[/C][C]186930[/C][C]142228.842857143[/C][C]44701.1571428571[/C][/ROW]
[ROW][C]3[/C][C]7215[/C][C]40561.3333333333[/C][C]-33346.3333333333[/C][/ROW]
[ROW][C]4[/C][C]129098[/C][C]142228.842857143[/C][C]-13130.8428571429[/C][/ROW]
[ROW][C]5[/C][C]230587[/C][C]270510.333333333[/C][C]-39923.3333333333[/C][/ROW]
[ROW][C]6[/C][C]508313[/C][C]270510.333333333[/C][C]237802.666666667[/C][/ROW]
[ROW][C]7[/C][C]180745[/C][C]186796.322580645[/C][C]-6051.32258064515[/C][/ROW]
[ROW][C]8[/C][C]185559[/C][C]186796.322580645[/C][C]-1237.32258064515[/C][/ROW]
[ROW][C]9[/C][C]154581[/C][C]142228.842857143[/C][C]12352.1571428571[/C][/ROW]
[ROW][C]10[/C][C]290658[/C][C]186796.322580645[/C][C]103861.677419355[/C][/ROW]
[ROW][C]11[/C][C]121844[/C][C]142228.842857143[/C][C]-20384.8428571429[/C][/ROW]
[ROW][C]12[/C][C]184039[/C][C]186796.322580645[/C][C]-2757.32258064515[/C][/ROW]
[ROW][C]13[/C][C]100324[/C][C]142228.842857143[/C][C]-41904.8428571429[/C][/ROW]
[ROW][C]14[/C][C]209427[/C][C]270510.333333333[/C][C]-61083.3333333333[/C][/ROW]
[ROW][C]15[/C][C]167592[/C][C]142228.842857143[/C][C]25363.1571428571[/C][/ROW]
[ROW][C]16[/C][C]154593[/C][C]142228.842857143[/C][C]12364.1571428571[/C][/ROW]
[ROW][C]17[/C][C]142018[/C][C]186796.322580645[/C][C]-44778.3225806452[/C][/ROW]
[ROW][C]18[/C][C]77855[/C][C]40561.3333333333[/C][C]37293.6666666667[/C][/ROW]
[ROW][C]19[/C][C]167047[/C][C]186796.322580645[/C][C]-19749.3225806452[/C][/ROW]
[ROW][C]20[/C][C]27997[/C][C]40561.3333333333[/C][C]-12564.3333333333[/C][/ROW]
[ROW][C]21[/C][C]70824[/C][C]81397.6666666667[/C][C]-10573.6666666667[/C][/ROW]
[ROW][C]22[/C][C]241082[/C][C]186796.322580645[/C][C]54285.6774193548[/C][/ROW]
[ROW][C]23[/C][C]195820[/C][C]142228.842857143[/C][C]53591.1571428571[/C][/ROW]
[ROW][C]24[/C][C]141899[/C][C]142228.842857143[/C][C]-329.842857142852[/C][/ROW]
[ROW][C]25[/C][C]145433[/C][C]142228.842857143[/C][C]3204.15714285715[/C][/ROW]
[ROW][C]26[/C][C]180241[/C][C]142228.842857143[/C][C]38012.1571428571[/C][/ROW]
[ROW][C]27[/C][C]202232[/C][C]270510.333333333[/C][C]-68278.3333333333[/C][/ROW]
[ROW][C]28[/C][C]190230[/C][C]186796.322580645[/C][C]3433.67741935485[/C][/ROW]
[ROW][C]29[/C][C]354924[/C][C]270510.333333333[/C][C]84413.6666666667[/C][/ROW]
[ROW][C]30[/C][C]192399[/C][C]142228.842857143[/C][C]50170.1571428571[/C][/ROW]
[ROW][C]31[/C][C]182286[/C][C]186796.322580645[/C][C]-4510.32258064515[/C][/ROW]
[ROW][C]32[/C][C]181590[/C][C]186796.322580645[/C][C]-5206.32258064515[/C][/ROW]
[ROW][C]33[/C][C]133801[/C][C]142228.842857143[/C][C]-8427.84285714285[/C][/ROW]
[ROW][C]34[/C][C]233686[/C][C]270510.333333333[/C][C]-36824.3333333333[/C][/ROW]
[ROW][C]35[/C][C]219428[/C][C]186796.322580645[/C][C]32631.6774193548[/C][/ROW]
[ROW][C]36[/C][C]0[/C][C]7180[/C][C]-7180[/C][/ROW]
[ROW][C]37[/C][C]223044[/C][C]142228.842857143[/C][C]80815.1571428571[/C][/ROW]
[ROW][C]38[/C][C]100129[/C][C]142228.842857143[/C][C]-42099.8428571429[/C][/ROW]
[ROW][C]39[/C][C]136733[/C][C]142228.842857143[/C][C]-5495.84285714285[/C][/ROW]
[ROW][C]40[/C][C]249965[/C][C]186796.322580645[/C][C]63168.6774193548[/C][/ROW]
[ROW][C]41[/C][C]242379[/C][C]186796.322580645[/C][C]55582.6774193548[/C][/ROW]
[ROW][C]42[/C][C]145794[/C][C]142228.842857143[/C][C]3565.15714285715[/C][/ROW]
[ROW][C]43[/C][C]96404[/C][C]81397.6666666667[/C][C]15006.3333333333[/C][/ROW]
[ROW][C]44[/C][C]195891[/C][C]186796.322580645[/C][C]9094.67741935485[/C][/ROW]
[ROW][C]45[/C][C]115335[/C][C]142228.842857143[/C][C]-26893.8428571429[/C][/ROW]
[ROW][C]46[/C][C]157787[/C][C]142228.842857143[/C][C]15558.1571428571[/C][/ROW]
[ROW][C]47[/C][C]81293[/C][C]81397.6666666667[/C][C]-104.666666666672[/C][/ROW]
[ROW][C]48[/C][C]224049[/C][C]186796.322580645[/C][C]37252.6774193548[/C][/ROW]
[ROW][C]49[/C][C]223789[/C][C]142228.842857143[/C][C]81560.1571428571[/C][/ROW]
[ROW][C]50[/C][C]160344[/C][C]186796.322580645[/C][C]-26452.3225806452[/C][/ROW]
[ROW][C]51[/C][C]48188[/C][C]40561.3333333333[/C][C]7626.66666666666[/C][/ROW]
[ROW][C]52[/C][C]152206[/C][C]186796.322580645[/C][C]-34590.3225806452[/C][/ROW]
[ROW][C]53[/C][C]294283[/C][C]186796.322580645[/C][C]107486.677419355[/C][/ROW]
[ROW][C]54[/C][C]235223[/C][C]142228.842857143[/C][C]92994.1571428571[/C][/ROW]
[ROW][C]55[/C][C]195583[/C][C]186796.322580645[/C][C]8786.67741935485[/C][/ROW]
[ROW][C]56[/C][C]145942[/C][C]142228.842857143[/C][C]3713.15714285715[/C][/ROW]
[ROW][C]57[/C][C]208834[/C][C]142228.842857143[/C][C]66605.1571428571[/C][/ROW]
[ROW][C]58[/C][C]93764[/C][C]81397.6666666667[/C][C]12366.3333333333[/C][/ROW]
[ROW][C]59[/C][C]151985[/C][C]186796.322580645[/C][C]-34811.3225806452[/C][/ROW]
[ROW][C]60[/C][C]190545[/C][C]142228.842857143[/C][C]48316.1571428571[/C][/ROW]
[ROW][C]61[/C][C]148922[/C][C]142228.842857143[/C][C]6693.15714285715[/C][/ROW]
[ROW][C]62[/C][C]132856[/C][C]142228.842857143[/C][C]-9372.84285714285[/C][/ROW]
[ROW][C]63[/C][C]124234[/C][C]142228.842857143[/C][C]-17994.8428571429[/C][/ROW]
[ROW][C]64[/C][C]112718[/C][C]142228.842857143[/C][C]-29510.8428571429[/C][/ROW]
[ROW][C]65[/C][C]160930[/C][C]142228.842857143[/C][C]18701.1571428571[/C][/ROW]
[ROW][C]66[/C][C]99184[/C][C]142228.842857143[/C][C]-43044.8428571429[/C][/ROW]
[ROW][C]67[/C][C]182022[/C][C]186796.322580645[/C][C]-4774.32258064515[/C][/ROW]
[ROW][C]68[/C][C]138708[/C][C]186796.322580645[/C][C]-48088.3225806452[/C][/ROW]
[ROW][C]69[/C][C]114408[/C][C]142228.842857143[/C][C]-27820.8428571429[/C][/ROW]
[ROW][C]70[/C][C]31970[/C][C]40561.3333333333[/C][C]-8591.33333333334[/C][/ROW]
[ROW][C]71[/C][C]225558[/C][C]270510.333333333[/C][C]-44952.3333333333[/C][/ROW]
[ROW][C]72[/C][C]137011[/C][C]142228.842857143[/C][C]-5217.84285714285[/C][/ROW]
[ROW][C]73[/C][C]113612[/C][C]186796.322580645[/C][C]-73184.3225806452[/C][/ROW]
[ROW][C]74[/C][C]108641[/C][C]142228.842857143[/C][C]-33587.8428571429[/C][/ROW]
[ROW][C]75[/C][C]162203[/C][C]186796.322580645[/C][C]-24593.3225806452[/C][/ROW]
[ROW][C]76[/C][C]100098[/C][C]142228.842857143[/C][C]-42130.8428571429[/C][/ROW]
[ROW][C]77[/C][C]174768[/C][C]186796.322580645[/C][C]-12028.3225806452[/C][/ROW]
[ROW][C]78[/C][C]158459[/C][C]186796.322580645[/C][C]-28337.3225806452[/C][/ROW]
[ROW][C]79[/C][C]80934[/C][C]81397.6666666667[/C][C]-463.666666666672[/C][/ROW]
[ROW][C]80[/C][C]84971[/C][C]142228.842857143[/C][C]-57257.8428571429[/C][/ROW]
[ROW][C]81[/C][C]80545[/C][C]142228.842857143[/C][C]-61683.8428571429[/C][/ROW]
[ROW][C]82[/C][C]287191[/C][C]142228.842857143[/C][C]144962.157142857[/C][/ROW]
[ROW][C]83[/C][C]62974[/C][C]81397.6666666667[/C][C]-18423.6666666667[/C][/ROW]
[ROW][C]84[/C][C]130982[/C][C]142228.842857143[/C][C]-11246.8428571429[/C][/ROW]
[ROW][C]85[/C][C]75555[/C][C]142228.842857143[/C][C]-66673.8428571429[/C][/ROW]
[ROW][C]86[/C][C]162154[/C][C]142228.842857143[/C][C]19925.1571428571[/C][/ROW]
[ROW][C]87[/C][C]224670[/C][C]270510.333333333[/C][C]-45840.3333333333[/C][/ROW]
[ROW][C]88[/C][C]115019[/C][C]142228.842857143[/C][C]-27209.8428571429[/C][/ROW]
[ROW][C]89[/C][C]105038[/C][C]142228.842857143[/C][C]-37190.8428571429[/C][/ROW]
[ROW][C]90[/C][C]155537[/C][C]142228.842857143[/C][C]13308.1571428571[/C][/ROW]
[ROW][C]91[/C][C]153133[/C][C]142228.842857143[/C][C]10904.1571428571[/C][/ROW]
[ROW][C]92[/C][C]165577[/C][C]186796.322580645[/C][C]-21219.3225806452[/C][/ROW]
[ROW][C]93[/C][C]151517[/C][C]142228.842857143[/C][C]9288.15714285715[/C][/ROW]
[ROW][C]94[/C][C]133686[/C][C]142228.842857143[/C][C]-8542.84285714285[/C][/ROW]
[ROW][C]95[/C][C]58128[/C][C]81397.6666666667[/C][C]-23269.6666666667[/C][/ROW]
[ROW][C]96[/C][C]245196[/C][C]270510.333333333[/C][C]-25314.3333333333[/C][/ROW]
[ROW][C]97[/C][C]195576[/C][C]186796.322580645[/C][C]8779.67741935485[/C][/ROW]
[ROW][C]98[/C][C]19349[/C][C]7180[/C][C]12169[/C][/ROW]
[ROW][C]99[/C][C]225371[/C][C]142228.842857143[/C][C]83142.1571428571[/C][/ROW]
[ROW][C]100[/C][C]152796[/C][C]142228.842857143[/C][C]10567.1571428571[/C][/ROW]
[ROW][C]101[/C][C]59117[/C][C]81397.6666666667[/C][C]-22280.6666666667[/C][/ROW]
[ROW][C]102[/C][C]91762[/C][C]142228.842857143[/C][C]-50466.8428571429[/C][/ROW]
[ROW][C]103[/C][C]127987[/C][C]142228.842857143[/C][C]-14241.8428571429[/C][/ROW]
[ROW][C]104[/C][C]113552[/C][C]142228.842857143[/C][C]-28676.8428571429[/C][/ROW]
[ROW][C]105[/C][C]85338[/C][C]142228.842857143[/C][C]-56890.8428571429[/C][/ROW]
[ROW][C]106[/C][C]27676[/C][C]40561.3333333333[/C][C]-12885.3333333333[/C][/ROW]
[ROW][C]107[/C][C]147984[/C][C]186796.322580645[/C][C]-38812.3225806452[/C][/ROW]
[ROW][C]108[/C][C]122417[/C][C]142228.842857143[/C][C]-19811.8428571429[/C][/ROW]
[ROW][C]109[/C][C]0[/C][C]7180[/C][C]-7180[/C][/ROW]
[ROW][C]110[/C][C]91529[/C][C]142228.842857143[/C][C]-50699.8428571429[/C][/ROW]
[ROW][C]111[/C][C]107205[/C][C]81397.6666666667[/C][C]25807.3333333333[/C][/ROW]
[ROW][C]112[/C][C]144664[/C][C]142228.842857143[/C][C]2435.15714285715[/C][/ROW]
[ROW][C]113[/C][C]136540[/C][C]142228.842857143[/C][C]-5688.84285714285[/C][/ROW]
[ROW][C]114[/C][C]76656[/C][C]142228.842857143[/C][C]-65572.8428571429[/C][/ROW]
[ROW][C]115[/C][C]3616[/C][C]7180[/C][C]-3564[/C][/ROW]
[ROW][C]116[/C][C]0[/C][C]7180[/C][C]-7180[/C][/ROW]
[ROW][C]117[/C][C]183065[/C][C]142228.842857143[/C][C]40836.1571428571[/C][/ROW]
[ROW][C]118[/C][C]144636[/C][C]186796.322580645[/C][C]-42160.3225806452[/C][/ROW]
[ROW][C]119[/C][C]152826[/C][C]142228.842857143[/C][C]10597.1571428571[/C][/ROW]
[ROW][C]120[/C][C]113273[/C][C]142228.842857143[/C][C]-28955.8428571429[/C][/ROW]
[ROW][C]121[/C][C]43410[/C][C]40561.3333333333[/C][C]2848.66666666666[/C][/ROW]
[ROW][C]122[/C][C]175774[/C][C]186796.322580645[/C][C]-11022.3225806452[/C][/ROW]
[ROW][C]123[/C][C]95401[/C][C]142228.842857143[/C][C]-46827.8428571429[/C][/ROW]
[ROW][C]124[/C][C]118893[/C][C]142228.842857143[/C][C]-23335.8428571429[/C][/ROW]
[ROW][C]125[/C][C]60493[/C][C]40561.3333333333[/C][C]19931.6666666667[/C][/ROW]
[ROW][C]126[/C][C]19764[/C][C]7180[/C][C]12584[/C][/ROW]
[ROW][C]127[/C][C]164062[/C][C]142228.842857143[/C][C]21833.1571428571[/C][/ROW]
[ROW][C]128[/C][C]132696[/C][C]142228.842857143[/C][C]-9532.84285714285[/C][/ROW]
[ROW][C]129[/C][C]155088[/C][C]142228.842857143[/C][C]12859.1571428571[/C][/ROW]
[ROW][C]130[/C][C]11796[/C][C]7180[/C][C]4616[/C][/ROW]
[ROW][C]131[/C][C]10674[/C][C]7180[/C][C]3494[/C][/ROW]
[ROW][C]132[/C][C]142261[/C][C]142228.842857143[/C][C]32.1571428571478[/C][/ROW]
[ROW][C]133[/C][C]6836[/C][C]7180[/C][C]-344[/C][/ROW]
[ROW][C]134[/C][C]154206[/C][C]142228.842857143[/C][C]11977.1571428571[/C][/ROW]
[ROW][C]135[/C][C]5118[/C][C]7180[/C][C]-2062[/C][/ROW]
[ROW][C]136[/C][C]40248[/C][C]40561.3333333333[/C][C]-313.333333333336[/C][/ROW]
[ROW][C]137[/C][C]0[/C][C]7180[/C][C]-7180[/C][/ROW]
[ROW][C]138[/C][C]122641[/C][C]142228.842857143[/C][C]-19587.8428571429[/C][/ROW]
[ROW][C]139[/C][C]88837[/C][C]81397.6666666667[/C][C]7439.33333333333[/C][/ROW]
[ROW][C]140[/C][C]7131[/C][C]7180[/C][C]-49[/C][/ROW]
[ROW][C]141[/C][C]9056[/C][C]7180[/C][C]1876[/C][/ROW]
[ROW][C]142[/C][C]76611[/C][C]81397.6666666667[/C][C]-4786.66666666667[/C][/ROW]
[ROW][C]143[/C][C]132697[/C][C]142228.842857143[/C][C]-9531.84285714285[/C][/ROW]
[ROW][C]144[/C][C]100681[/C][C]81397.6666666667[/C][C]19283.3333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159903&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159903&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
1158258142228.84285714316029.1571428571
2186930142228.84285714344701.1571428571
3721540561.3333333333-33346.3333333333
4129098142228.842857143-13130.8428571429
5230587270510.333333333-39923.3333333333
6508313270510.333333333237802.666666667
7180745186796.322580645-6051.32258064515
8185559186796.322580645-1237.32258064515
9154581142228.84285714312352.1571428571
10290658186796.322580645103861.677419355
11121844142228.842857143-20384.8428571429
12184039186796.322580645-2757.32258064515
13100324142228.842857143-41904.8428571429
14209427270510.333333333-61083.3333333333
15167592142228.84285714325363.1571428571
16154593142228.84285714312364.1571428571
17142018186796.322580645-44778.3225806452
187785540561.333333333337293.6666666667
19167047186796.322580645-19749.3225806452
202799740561.3333333333-12564.3333333333
217082481397.6666666667-10573.6666666667
22241082186796.32258064554285.6774193548
23195820142228.84285714353591.1571428571
24141899142228.842857143-329.842857142852
25145433142228.8428571433204.15714285715
26180241142228.84285714338012.1571428571
27202232270510.333333333-68278.3333333333
28190230186796.3225806453433.67741935485
29354924270510.33333333384413.6666666667
30192399142228.84285714350170.1571428571
31182286186796.322580645-4510.32258064515
32181590186796.322580645-5206.32258064515
33133801142228.842857143-8427.84285714285
34233686270510.333333333-36824.3333333333
35219428186796.32258064532631.6774193548
3607180-7180
37223044142228.84285714380815.1571428571
38100129142228.842857143-42099.8428571429
39136733142228.842857143-5495.84285714285
40249965186796.32258064563168.6774193548
41242379186796.32258064555582.6774193548
42145794142228.8428571433565.15714285715
439640481397.666666666715006.3333333333
44195891186796.3225806459094.67741935485
45115335142228.842857143-26893.8428571429
46157787142228.84285714315558.1571428571
478129381397.6666666667-104.666666666672
48224049186796.32258064537252.6774193548
49223789142228.84285714381560.1571428571
50160344186796.322580645-26452.3225806452
514818840561.33333333337626.66666666666
52152206186796.322580645-34590.3225806452
53294283186796.322580645107486.677419355
54235223142228.84285714392994.1571428571
55195583186796.3225806458786.67741935485
56145942142228.8428571433713.15714285715
57208834142228.84285714366605.1571428571
589376481397.666666666712366.3333333333
59151985186796.322580645-34811.3225806452
60190545142228.84285714348316.1571428571
61148922142228.8428571436693.15714285715
62132856142228.842857143-9372.84285714285
63124234142228.842857143-17994.8428571429
64112718142228.842857143-29510.8428571429
65160930142228.84285714318701.1571428571
6699184142228.842857143-43044.8428571429
67182022186796.322580645-4774.32258064515
68138708186796.322580645-48088.3225806452
69114408142228.842857143-27820.8428571429
703197040561.3333333333-8591.33333333334
71225558270510.333333333-44952.3333333333
72137011142228.842857143-5217.84285714285
73113612186796.322580645-73184.3225806452
74108641142228.842857143-33587.8428571429
75162203186796.322580645-24593.3225806452
76100098142228.842857143-42130.8428571429
77174768186796.322580645-12028.3225806452
78158459186796.322580645-28337.3225806452
798093481397.6666666667-463.666666666672
8084971142228.842857143-57257.8428571429
8180545142228.842857143-61683.8428571429
82287191142228.842857143144962.157142857
836297481397.6666666667-18423.6666666667
84130982142228.842857143-11246.8428571429
8575555142228.842857143-66673.8428571429
86162154142228.84285714319925.1571428571
87224670270510.333333333-45840.3333333333
88115019142228.842857143-27209.8428571429
89105038142228.842857143-37190.8428571429
90155537142228.84285714313308.1571428571
91153133142228.84285714310904.1571428571
92165577186796.322580645-21219.3225806452
93151517142228.8428571439288.15714285715
94133686142228.842857143-8542.84285714285
955812881397.6666666667-23269.6666666667
96245196270510.333333333-25314.3333333333
97195576186796.3225806458779.67741935485
9819349718012169
99225371142228.84285714383142.1571428571
100152796142228.84285714310567.1571428571
1015911781397.6666666667-22280.6666666667
10291762142228.842857143-50466.8428571429
103127987142228.842857143-14241.8428571429
104113552142228.842857143-28676.8428571429
10585338142228.842857143-56890.8428571429
1062767640561.3333333333-12885.3333333333
107147984186796.322580645-38812.3225806452
108122417142228.842857143-19811.8428571429
10907180-7180
11091529142228.842857143-50699.8428571429
11110720581397.666666666725807.3333333333
112144664142228.8428571432435.15714285715
113136540142228.842857143-5688.84285714285
11476656142228.842857143-65572.8428571429
11536167180-3564
11607180-7180
117183065142228.84285714340836.1571428571
118144636186796.322580645-42160.3225806452
119152826142228.84285714310597.1571428571
120113273142228.842857143-28955.8428571429
1214341040561.33333333332848.66666666666
122175774186796.322580645-11022.3225806452
12395401142228.842857143-46827.8428571429
124118893142228.842857143-23335.8428571429
1256049340561.333333333319931.6666666667
12619764718012584
127164062142228.84285714321833.1571428571
128132696142228.842857143-9532.84285714285
129155088142228.84285714312859.1571428571
1301179671804616
1311067471803494
132142261142228.84285714332.1571428571478
13368367180-344
134154206142228.84285714311977.1571428571
13551187180-2062
1364024840561.3333333333-313.333333333336
13707180-7180
138122641142228.842857143-19587.8428571429
1398883781397.66666666677439.33333333333
14071317180-49
141905671801876
1427661181397.6666666667-4786.66666666667
143132697142228.842857143-9531.84285714285
14410068181397.666666666719283.3333333333



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