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:22:30 -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/t13239625997p4rfc7irn4f395.htm/, Retrieved Wed, 08 May 2024 23:13:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=155498, Retrieved Wed, 08 May 2024 23:13:09 +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)
-     [Kendall tau Correlation Matrix] [] [2010-12-05 18:04:16] [b98453cac15ba1066b407e146608df68]
- RMPD    [Recursive Partitioning (Regression Trees)] [regression trees] [2011-12-15 15:22:30] [1a4698f17d8e7f554418314cf0e4bd67] [Current]
Feedback Forum

Post a new message
Dataseries X:
1418	210907	56	396	81	3	79	30	115	94	112285
869	120982	56	297	55	4	58	28	109	103	84786
1530	176508	54	559	50	12	60	38	146	93	83123
2172	179321	89	967	125	2	108	30	116	103	101193
901	123185	40	270	40	1	49	22	68	51	38361
463	52746	25	143	37	3	0	26	101	70	68504
3201	385534	92	1562	63	0	121	25	96	91	119182
371	33170	18	109	44	0	1	18	67	22	22807
1192	101645	63	371	88	0	20	11	44	38	17140
1583	149061	44	656	66	5	43	26	100	93	116174
1439	165446	33	511	57	0	69	25	93	60	57635
1764	237213	84	655	74	0	78	38	140	123	66198
1495	173326	88	465	49	7	86	44	166	148	71701
1373	133131	55	525	52	7	44	30	99	90	57793
2187	258873	60	885	88	3	104	40	139	124	80444
1491	180083	66	497	36	9	63	34	130	70	53855
4041	324799	154	1436	108	0	158	47	181	168	97668
1706	230964	53	612	43	4	102	30	116	115	133824
2152	236785	119	865	75	3	77	31	116	71	101481
1036	135473	41	385	32	0	82	23	88	66	99645
1882	202925	61	567	44	7	115	36	139	134	114789
1929	215147	58	639	85	0	101	36	135	117	99052
2242	344297	75	963	86	1	80	30	108	108	67654
1220	153935	33	398	56	5	50	25	89	84	65553
1289	132943	40	410	50	7	83	39	156	156	97500
2515	174724	92	966	135	0	123	34	129	120	69112
2147	174415	100	801	63	0	73	31	118	114	82753
2352	225548	112	892	81	5	81	31	118	94	85323
1638	223632	73	513	52	0	105	33	125	120	72654
1222	124817	40	469	44	0	47	25	95	81	30727
1812	221698	45	683	113	0	105	33	126	110	77873
1677	210767	60	643	39	3	94	35	135	133	117478
1579	170266	62	535	73	4	44	42	154	122	74007
1731	260561	75	625	48	1	114	43	165	158	90183
807	84853	31	264	33	4	38	30	113	109	61542
2452	294424	77	992	59	2	107	33	127	124	101494
829	101011	34	238	41	0	30	13	52	39	27570
1940	215641	46	818	69	0	71	32	121	92	55813
2662	325107	99	937	64	0	84	36	136	126	79215
186	7176	17	70	1	0	0	0	0	0	1423
1499	167542	66	507	59	2	59	28	108	70	55461
865	106408	30	260	32	1	33	14	46	37	31081
1793	96560	76	503	129	0	42	17	54	38	22996
2527	265769	146	927	37	2	96	32	124	120	83122
2747	269651	67	1269	31	10	106	30	115	93	70106
1324	149112	56	537	65	6	56	35	128	95	60578
2702	175824	107	910	107	0	57	20	80	77	39992
1383	152871	58	532	74	5	59	28	97	90	79892
1179	111665	34	345	54	4	39	28	104	80	49810
2099	116408	61	918	76	1	34	39	59	31	71570
4308	362301	119	1635	715	2	76	34	125	110	100708
918	78800	42	330	57	2	20	26	82	66	33032
1831	183167	66	557	66	0	91	39	149	138	82875
3373	277965	89	1178	106	8	115	39	149	133	139077
1713	150629	44	740	54	3	85	33	122	113	71595
1438	168809	66	452	32	0	76	28	118	100	72260
496	24188	24	218	20	0	8	4	12	7	5950
2253	329267	259	764	71	8	79	39	144	140	115762
744	65029	17	255	21	5	21	18	67	61	32551
1161	101097	64	454	70	3	30	14	52	41	31701
2352	218946	41	866	112	1	76	29	108	96	80670
2144	244052	68	574	66	5	101	44	166	164	143558
4691	341570	168	1276	190	1	94	21	80	78	117105
1112	103597	43	379	66	1	27	16	60	49	23789
2694	233328	132	825	165	5	92	28	107	102	120733
1973	256462	105	798	56	0	123	35	127	124	105195
1769	206161	71	663	61	12	75	28	107	99	73107
3148	311473	112	1069	53	8	128	38	146	129	132068
2474	235800	94	921	127	8	105	23	84	62	149193
2084	177939	82	858	63	8	55	36	141	73	46821
1954	207176	70	711	38	8	56	32	123	114	87011
1226	196553	57	503	50	2	41	29	111	99	95260
1389	174184	53	382	52	0	72	25	98	70	55183
1496	143246	103	464	42	5	67	27	105	104	106671
2269	187559	121	717	76	8	75	36	135	116	73511
1833	187681	62	690	67	2	114	28	107	91	92945
1268	119016	52	462	50	5	118	23	85	74	78664
1943	182192	52	657	53	12	77	40	155	138	70054
893	73566	32	385	39	6	22	23	88	67	22618
1762	194979	62	577	50	7	66	40	155	151	74011
1403	167488	45	619	77	2	69	28	104	72	83737
1425	143756	46	479	57	0	105	34	132	120	69094
1857	275541	63	817	73	4	116	33	127	115	93133
1840	243199	75	752	34	3	88	28	108	105	95536
1502	182999	88	430	39	6	73	34	129	104	225920
1441	135649	46	451	46	2	99	30	116	108	62133
1420	152299	53	537	63	0	62	33	122	98	61370
1416	120221	37	519	35	1	53	22	85	69	43836
2970	346485	90	1000	106	0	118	38	147	111	106117
1317	145790	63	637	43	5	30	26	99	99	38692
1644	193339	78	465	47	2	100	35	87	71	84651
870	80953	25	437	31	0	49	8	28	27	56622
1654	122774	45	711	162	0	24	24	90	69	15986
1054	130585	46	299	57	5	67	29	109	107	95364
937	112611	41	248	36	0	46	20	78	73	26706
3004	286468	144	1162	263	1	57	29	111	107	89691
2008	241066	82	714	78	0	75	45	158	93	67267




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ yule.wessa.net

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

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







Goodness of Fit
Correlation0.8714
R-squared0.7593
RMSE38283.3268

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.8714[/C][/ROW]
[ROW][C]R-squared[/C][C]0.7593[/C][/ROW]
[ROW][C]RMSE[/C][C]38283.3268[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155498&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155498&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.8714
R-squared0.7593
RMSE38283.3268







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1210907159644.93103448351262.0689655172
2120982106197.46153846214784.5384615385
3176508159644.93103448316863.0689655172
4179321219044.5-39723.5
5123185106197.46153846216987.5384615385
65274652596.1428571429149.857142857145
738553432006765467
83317052596.1428571429-19426.1428571429
9101645106197.461538462-4552.46153846153
10149061159644.931034483-10583.9310344828
11165446159644.9310344835801.06896551725
12237213219044.518168.5
13173326159644.93103448313681.0689655172
14133131159644.931034483-26513.9310344828
15258873219044.539828.5
16180083159644.93103448320438.0689655172
173247993200674732
18230964219044.511919.5
19236785219044.517740.5
20135473106197.46153846229275.5384615385
21202925219044.5-16119.5
22215147219044.5-3897.5
23344297219044.5125252.5
24153935159644.931034483-5709.93103448275
25132943159644.931034483-26701.9310344828
26174724219044.5-44320.5
27174415219044.5-44629.5
28225548219044.56503.5
29223632159644.93103448363987.0689655172
30124817159644.931034483-34827.9310344828
31221698219044.52653.5
32210767219044.5-8277.5
33170266159644.93103448310621.0689655172
34260561219044.541516.5
358485352596.142857142932256.8571428571
36294424320067-25643
3710101152596.142857142948414.8571428571
38215641219044.5-3403.5
39325107219044.5106062.5
40717652596.1428571429-45420.1428571429
41167542159644.9310344837897.06896551725
42106408106197.461538462210.538461538468
4396560219044.5-122484.5
44265769219044.546724.5
45269651320067-50416
46149112159644.931034483-10532.9310344828
47175824219044.5-43220.5
48152871159644.931034483-6773.93103448275
49111665106197.4615384625467.53846153847
50116408219044.5-102636.5
5136230132006742234
5278800106197.461538462-27397.4615384615
53183167219044.5-35877.5
54277965320067-42102
55150629219044.5-68415.5
56168809159644.9310344839164.06896551725
572418852596.1428571429-28408.1428571429
58329267219044.5110222.5
596502952596.142857142912432.8571428571
60101097106197.461538462-5100.46153846153
61218946219044.5-98.5
62244052219044.525007.5
6334157032006721503
64103597106197.461538462-2600.46153846153
65233328219044.514283.5
66256462219044.537417.5
67206161219044.5-12883.5
68311473320067-8594
69235800219044.516755.5
70177939219044.5-41105.5
71207176219044.5-11868.5
72196553159644.93103448336908.0689655172
73174184159644.93103448314539.0689655172
74143246159644.931034483-16398.9310344828
75187559219044.5-31485.5
76187681219044.5-31363.5
77119016159644.931034483-40628.9310344828
78182192219044.5-36852.5
7973566106197.461538462-32631.4615384615
80194979219044.5-24065.5
81167488159644.9310344837843.06896551725
82143756159644.931034483-15888.9310344828
83275541219044.556496.5
84243199219044.524154.5
85182999159644.93103448323354.0689655172
86135649159644.931034483-23995.9310344828
87152299159644.931034483-7345.93103448275
88120221159644.931034483-39423.9310344828
8934648532006726418
90145790159644.931034483-13854.9310344828
91193339159644.93103448333694.0689655172
9280953106197.461538462-25244.4615384615
93122774159644.931034483-36870.9310344828
94130585106197.46153846224387.5384615385
95112611106197.4615384626413.53846153847
96286468320067-33599
97241066219044.522021.5

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 210907 & 159644.931034483 & 51262.0689655172 \tabularnewline
2 & 120982 & 106197.461538462 & 14784.5384615385 \tabularnewline
3 & 176508 & 159644.931034483 & 16863.0689655172 \tabularnewline
4 & 179321 & 219044.5 & -39723.5 \tabularnewline
5 & 123185 & 106197.461538462 & 16987.5384615385 \tabularnewline
6 & 52746 & 52596.1428571429 & 149.857142857145 \tabularnewline
7 & 385534 & 320067 & 65467 \tabularnewline
8 & 33170 & 52596.1428571429 & -19426.1428571429 \tabularnewline
9 & 101645 & 106197.461538462 & -4552.46153846153 \tabularnewline
10 & 149061 & 159644.931034483 & -10583.9310344828 \tabularnewline
11 & 165446 & 159644.931034483 & 5801.06896551725 \tabularnewline
12 & 237213 & 219044.5 & 18168.5 \tabularnewline
13 & 173326 & 159644.931034483 & 13681.0689655172 \tabularnewline
14 & 133131 & 159644.931034483 & -26513.9310344828 \tabularnewline
15 & 258873 & 219044.5 & 39828.5 \tabularnewline
16 & 180083 & 159644.931034483 & 20438.0689655172 \tabularnewline
17 & 324799 & 320067 & 4732 \tabularnewline
18 & 230964 & 219044.5 & 11919.5 \tabularnewline
19 & 236785 & 219044.5 & 17740.5 \tabularnewline
20 & 135473 & 106197.461538462 & 29275.5384615385 \tabularnewline
21 & 202925 & 219044.5 & -16119.5 \tabularnewline
22 & 215147 & 219044.5 & -3897.5 \tabularnewline
23 & 344297 & 219044.5 & 125252.5 \tabularnewline
24 & 153935 & 159644.931034483 & -5709.93103448275 \tabularnewline
25 & 132943 & 159644.931034483 & -26701.9310344828 \tabularnewline
26 & 174724 & 219044.5 & -44320.5 \tabularnewline
27 & 174415 & 219044.5 & -44629.5 \tabularnewline
28 & 225548 & 219044.5 & 6503.5 \tabularnewline
29 & 223632 & 159644.931034483 & 63987.0689655172 \tabularnewline
30 & 124817 & 159644.931034483 & -34827.9310344828 \tabularnewline
31 & 221698 & 219044.5 & 2653.5 \tabularnewline
32 & 210767 & 219044.5 & -8277.5 \tabularnewline
33 & 170266 & 159644.931034483 & 10621.0689655172 \tabularnewline
34 & 260561 & 219044.5 & 41516.5 \tabularnewline
35 & 84853 & 52596.1428571429 & 32256.8571428571 \tabularnewline
36 & 294424 & 320067 & -25643 \tabularnewline
37 & 101011 & 52596.1428571429 & 48414.8571428571 \tabularnewline
38 & 215641 & 219044.5 & -3403.5 \tabularnewline
39 & 325107 & 219044.5 & 106062.5 \tabularnewline
40 & 7176 & 52596.1428571429 & -45420.1428571429 \tabularnewline
41 & 167542 & 159644.931034483 & 7897.06896551725 \tabularnewline
42 & 106408 & 106197.461538462 & 210.538461538468 \tabularnewline
43 & 96560 & 219044.5 & -122484.5 \tabularnewline
44 & 265769 & 219044.5 & 46724.5 \tabularnewline
45 & 269651 & 320067 & -50416 \tabularnewline
46 & 149112 & 159644.931034483 & -10532.9310344828 \tabularnewline
47 & 175824 & 219044.5 & -43220.5 \tabularnewline
48 & 152871 & 159644.931034483 & -6773.93103448275 \tabularnewline
49 & 111665 & 106197.461538462 & 5467.53846153847 \tabularnewline
50 & 116408 & 219044.5 & -102636.5 \tabularnewline
51 & 362301 & 320067 & 42234 \tabularnewline
52 & 78800 & 106197.461538462 & -27397.4615384615 \tabularnewline
53 & 183167 & 219044.5 & -35877.5 \tabularnewline
54 & 277965 & 320067 & -42102 \tabularnewline
55 & 150629 & 219044.5 & -68415.5 \tabularnewline
56 & 168809 & 159644.931034483 & 9164.06896551725 \tabularnewline
57 & 24188 & 52596.1428571429 & -28408.1428571429 \tabularnewline
58 & 329267 & 219044.5 & 110222.5 \tabularnewline
59 & 65029 & 52596.1428571429 & 12432.8571428571 \tabularnewline
60 & 101097 & 106197.461538462 & -5100.46153846153 \tabularnewline
61 & 218946 & 219044.5 & -98.5 \tabularnewline
62 & 244052 & 219044.5 & 25007.5 \tabularnewline
63 & 341570 & 320067 & 21503 \tabularnewline
64 & 103597 & 106197.461538462 & -2600.46153846153 \tabularnewline
65 & 233328 & 219044.5 & 14283.5 \tabularnewline
66 & 256462 & 219044.5 & 37417.5 \tabularnewline
67 & 206161 & 219044.5 & -12883.5 \tabularnewline
68 & 311473 & 320067 & -8594 \tabularnewline
69 & 235800 & 219044.5 & 16755.5 \tabularnewline
70 & 177939 & 219044.5 & -41105.5 \tabularnewline
71 & 207176 & 219044.5 & -11868.5 \tabularnewline
72 & 196553 & 159644.931034483 & 36908.0689655172 \tabularnewline
73 & 174184 & 159644.931034483 & 14539.0689655172 \tabularnewline
74 & 143246 & 159644.931034483 & -16398.9310344828 \tabularnewline
75 & 187559 & 219044.5 & -31485.5 \tabularnewline
76 & 187681 & 219044.5 & -31363.5 \tabularnewline
77 & 119016 & 159644.931034483 & -40628.9310344828 \tabularnewline
78 & 182192 & 219044.5 & -36852.5 \tabularnewline
79 & 73566 & 106197.461538462 & -32631.4615384615 \tabularnewline
80 & 194979 & 219044.5 & -24065.5 \tabularnewline
81 & 167488 & 159644.931034483 & 7843.06896551725 \tabularnewline
82 & 143756 & 159644.931034483 & -15888.9310344828 \tabularnewline
83 & 275541 & 219044.5 & 56496.5 \tabularnewline
84 & 243199 & 219044.5 & 24154.5 \tabularnewline
85 & 182999 & 159644.931034483 & 23354.0689655172 \tabularnewline
86 & 135649 & 159644.931034483 & -23995.9310344828 \tabularnewline
87 & 152299 & 159644.931034483 & -7345.93103448275 \tabularnewline
88 & 120221 & 159644.931034483 & -39423.9310344828 \tabularnewline
89 & 346485 & 320067 & 26418 \tabularnewline
90 & 145790 & 159644.931034483 & -13854.9310344828 \tabularnewline
91 & 193339 & 159644.931034483 & 33694.0689655172 \tabularnewline
92 & 80953 & 106197.461538462 & -25244.4615384615 \tabularnewline
93 & 122774 & 159644.931034483 & -36870.9310344828 \tabularnewline
94 & 130585 & 106197.461538462 & 24387.5384615385 \tabularnewline
95 & 112611 & 106197.461538462 & 6413.53846153847 \tabularnewline
96 & 286468 & 320067 & -33599 \tabularnewline
97 & 241066 & 219044.5 & 22021.5 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155498&T=2

[TABLE]
[ROW][C]Actuals, Predictions, and Residuals[/C][/ROW]
[ROW][C]#[/C][C]Actuals[/C][C]Forecasts[/C][C]Residuals[/C][/ROW]
[ROW][C]1[/C][C]210907[/C][C]159644.931034483[/C][C]51262.0689655172[/C][/ROW]
[ROW][C]2[/C][C]120982[/C][C]106197.461538462[/C][C]14784.5384615385[/C][/ROW]
[ROW][C]3[/C][C]176508[/C][C]159644.931034483[/C][C]16863.0689655172[/C][/ROW]
[ROW][C]4[/C][C]179321[/C][C]219044.5[/C][C]-39723.5[/C][/ROW]
[ROW][C]5[/C][C]123185[/C][C]106197.461538462[/C][C]16987.5384615385[/C][/ROW]
[ROW][C]6[/C][C]52746[/C][C]52596.1428571429[/C][C]149.857142857145[/C][/ROW]
[ROW][C]7[/C][C]385534[/C][C]320067[/C][C]65467[/C][/ROW]
[ROW][C]8[/C][C]33170[/C][C]52596.1428571429[/C][C]-19426.1428571429[/C][/ROW]
[ROW][C]9[/C][C]101645[/C][C]106197.461538462[/C][C]-4552.46153846153[/C][/ROW]
[ROW][C]10[/C][C]149061[/C][C]159644.931034483[/C][C]-10583.9310344828[/C][/ROW]
[ROW][C]11[/C][C]165446[/C][C]159644.931034483[/C][C]5801.06896551725[/C][/ROW]
[ROW][C]12[/C][C]237213[/C][C]219044.5[/C][C]18168.5[/C][/ROW]
[ROW][C]13[/C][C]173326[/C][C]159644.931034483[/C][C]13681.0689655172[/C][/ROW]
[ROW][C]14[/C][C]133131[/C][C]159644.931034483[/C][C]-26513.9310344828[/C][/ROW]
[ROW][C]15[/C][C]258873[/C][C]219044.5[/C][C]39828.5[/C][/ROW]
[ROW][C]16[/C][C]180083[/C][C]159644.931034483[/C][C]20438.0689655172[/C][/ROW]
[ROW][C]17[/C][C]324799[/C][C]320067[/C][C]4732[/C][/ROW]
[ROW][C]18[/C][C]230964[/C][C]219044.5[/C][C]11919.5[/C][/ROW]
[ROW][C]19[/C][C]236785[/C][C]219044.5[/C][C]17740.5[/C][/ROW]
[ROW][C]20[/C][C]135473[/C][C]106197.461538462[/C][C]29275.5384615385[/C][/ROW]
[ROW][C]21[/C][C]202925[/C][C]219044.5[/C][C]-16119.5[/C][/ROW]
[ROW][C]22[/C][C]215147[/C][C]219044.5[/C][C]-3897.5[/C][/ROW]
[ROW][C]23[/C][C]344297[/C][C]219044.5[/C][C]125252.5[/C][/ROW]
[ROW][C]24[/C][C]153935[/C][C]159644.931034483[/C][C]-5709.93103448275[/C][/ROW]
[ROW][C]25[/C][C]132943[/C][C]159644.931034483[/C][C]-26701.9310344828[/C][/ROW]
[ROW][C]26[/C][C]174724[/C][C]219044.5[/C][C]-44320.5[/C][/ROW]
[ROW][C]27[/C][C]174415[/C][C]219044.5[/C][C]-44629.5[/C][/ROW]
[ROW][C]28[/C][C]225548[/C][C]219044.5[/C][C]6503.5[/C][/ROW]
[ROW][C]29[/C][C]223632[/C][C]159644.931034483[/C][C]63987.0689655172[/C][/ROW]
[ROW][C]30[/C][C]124817[/C][C]159644.931034483[/C][C]-34827.9310344828[/C][/ROW]
[ROW][C]31[/C][C]221698[/C][C]219044.5[/C][C]2653.5[/C][/ROW]
[ROW][C]32[/C][C]210767[/C][C]219044.5[/C][C]-8277.5[/C][/ROW]
[ROW][C]33[/C][C]170266[/C][C]159644.931034483[/C][C]10621.0689655172[/C][/ROW]
[ROW][C]34[/C][C]260561[/C][C]219044.5[/C][C]41516.5[/C][/ROW]
[ROW][C]35[/C][C]84853[/C][C]52596.1428571429[/C][C]32256.8571428571[/C][/ROW]
[ROW][C]36[/C][C]294424[/C][C]320067[/C][C]-25643[/C][/ROW]
[ROW][C]37[/C][C]101011[/C][C]52596.1428571429[/C][C]48414.8571428571[/C][/ROW]
[ROW][C]38[/C][C]215641[/C][C]219044.5[/C][C]-3403.5[/C][/ROW]
[ROW][C]39[/C][C]325107[/C][C]219044.5[/C][C]106062.5[/C][/ROW]
[ROW][C]40[/C][C]7176[/C][C]52596.1428571429[/C][C]-45420.1428571429[/C][/ROW]
[ROW][C]41[/C][C]167542[/C][C]159644.931034483[/C][C]7897.06896551725[/C][/ROW]
[ROW][C]42[/C][C]106408[/C][C]106197.461538462[/C][C]210.538461538468[/C][/ROW]
[ROW][C]43[/C][C]96560[/C][C]219044.5[/C][C]-122484.5[/C][/ROW]
[ROW][C]44[/C][C]265769[/C][C]219044.5[/C][C]46724.5[/C][/ROW]
[ROW][C]45[/C][C]269651[/C][C]320067[/C][C]-50416[/C][/ROW]
[ROW][C]46[/C][C]149112[/C][C]159644.931034483[/C][C]-10532.9310344828[/C][/ROW]
[ROW][C]47[/C][C]175824[/C][C]219044.5[/C][C]-43220.5[/C][/ROW]
[ROW][C]48[/C][C]152871[/C][C]159644.931034483[/C][C]-6773.93103448275[/C][/ROW]
[ROW][C]49[/C][C]111665[/C][C]106197.461538462[/C][C]5467.53846153847[/C][/ROW]
[ROW][C]50[/C][C]116408[/C][C]219044.5[/C][C]-102636.5[/C][/ROW]
[ROW][C]51[/C][C]362301[/C][C]320067[/C][C]42234[/C][/ROW]
[ROW][C]52[/C][C]78800[/C][C]106197.461538462[/C][C]-27397.4615384615[/C][/ROW]
[ROW][C]53[/C][C]183167[/C][C]219044.5[/C][C]-35877.5[/C][/ROW]
[ROW][C]54[/C][C]277965[/C][C]320067[/C][C]-42102[/C][/ROW]
[ROW][C]55[/C][C]150629[/C][C]219044.5[/C][C]-68415.5[/C][/ROW]
[ROW][C]56[/C][C]168809[/C][C]159644.931034483[/C][C]9164.06896551725[/C][/ROW]
[ROW][C]57[/C][C]24188[/C][C]52596.1428571429[/C][C]-28408.1428571429[/C][/ROW]
[ROW][C]58[/C][C]329267[/C][C]219044.5[/C][C]110222.5[/C][/ROW]
[ROW][C]59[/C][C]65029[/C][C]52596.1428571429[/C][C]12432.8571428571[/C][/ROW]
[ROW][C]60[/C][C]101097[/C][C]106197.461538462[/C][C]-5100.46153846153[/C][/ROW]
[ROW][C]61[/C][C]218946[/C][C]219044.5[/C][C]-98.5[/C][/ROW]
[ROW][C]62[/C][C]244052[/C][C]219044.5[/C][C]25007.5[/C][/ROW]
[ROW][C]63[/C][C]341570[/C][C]320067[/C][C]21503[/C][/ROW]
[ROW][C]64[/C][C]103597[/C][C]106197.461538462[/C][C]-2600.46153846153[/C][/ROW]
[ROW][C]65[/C][C]233328[/C][C]219044.5[/C][C]14283.5[/C][/ROW]
[ROW][C]66[/C][C]256462[/C][C]219044.5[/C][C]37417.5[/C][/ROW]
[ROW][C]67[/C][C]206161[/C][C]219044.5[/C][C]-12883.5[/C][/ROW]
[ROW][C]68[/C][C]311473[/C][C]320067[/C][C]-8594[/C][/ROW]
[ROW][C]69[/C][C]235800[/C][C]219044.5[/C][C]16755.5[/C][/ROW]
[ROW][C]70[/C][C]177939[/C][C]219044.5[/C][C]-41105.5[/C][/ROW]
[ROW][C]71[/C][C]207176[/C][C]219044.5[/C][C]-11868.5[/C][/ROW]
[ROW][C]72[/C][C]196553[/C][C]159644.931034483[/C][C]36908.0689655172[/C][/ROW]
[ROW][C]73[/C][C]174184[/C][C]159644.931034483[/C][C]14539.0689655172[/C][/ROW]
[ROW][C]74[/C][C]143246[/C][C]159644.931034483[/C][C]-16398.9310344828[/C][/ROW]
[ROW][C]75[/C][C]187559[/C][C]219044.5[/C][C]-31485.5[/C][/ROW]
[ROW][C]76[/C][C]187681[/C][C]219044.5[/C][C]-31363.5[/C][/ROW]
[ROW][C]77[/C][C]119016[/C][C]159644.931034483[/C][C]-40628.9310344828[/C][/ROW]
[ROW][C]78[/C][C]182192[/C][C]219044.5[/C][C]-36852.5[/C][/ROW]
[ROW][C]79[/C][C]73566[/C][C]106197.461538462[/C][C]-32631.4615384615[/C][/ROW]
[ROW][C]80[/C][C]194979[/C][C]219044.5[/C][C]-24065.5[/C][/ROW]
[ROW][C]81[/C][C]167488[/C][C]159644.931034483[/C][C]7843.06896551725[/C][/ROW]
[ROW][C]82[/C][C]143756[/C][C]159644.931034483[/C][C]-15888.9310344828[/C][/ROW]
[ROW][C]83[/C][C]275541[/C][C]219044.5[/C][C]56496.5[/C][/ROW]
[ROW][C]84[/C][C]243199[/C][C]219044.5[/C][C]24154.5[/C][/ROW]
[ROW][C]85[/C][C]182999[/C][C]159644.931034483[/C][C]23354.0689655172[/C][/ROW]
[ROW][C]86[/C][C]135649[/C][C]159644.931034483[/C][C]-23995.9310344828[/C][/ROW]
[ROW][C]87[/C][C]152299[/C][C]159644.931034483[/C][C]-7345.93103448275[/C][/ROW]
[ROW][C]88[/C][C]120221[/C][C]159644.931034483[/C][C]-39423.9310344828[/C][/ROW]
[ROW][C]89[/C][C]346485[/C][C]320067[/C][C]26418[/C][/ROW]
[ROW][C]90[/C][C]145790[/C][C]159644.931034483[/C][C]-13854.9310344828[/C][/ROW]
[ROW][C]91[/C][C]193339[/C][C]159644.931034483[/C][C]33694.0689655172[/C][/ROW]
[ROW][C]92[/C][C]80953[/C][C]106197.461538462[/C][C]-25244.4615384615[/C][/ROW]
[ROW][C]93[/C][C]122774[/C][C]159644.931034483[/C][C]-36870.9310344828[/C][/ROW]
[ROW][C]94[/C][C]130585[/C][C]106197.461538462[/C][C]24387.5384615385[/C][/ROW]
[ROW][C]95[/C][C]112611[/C][C]106197.461538462[/C][C]6413.53846153847[/C][/ROW]
[ROW][C]96[/C][C]286468[/C][C]320067[/C][C]-33599[/C][/ROW]
[ROW][C]97[/C][C]241066[/C][C]219044.5[/C][C]22021.5[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155498&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155498&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
1210907159644.93103448351262.0689655172
2120982106197.46153846214784.5384615385
3176508159644.93103448316863.0689655172
4179321219044.5-39723.5
5123185106197.46153846216987.5384615385
65274652596.1428571429149.857142857145
738553432006765467
83317052596.1428571429-19426.1428571429
9101645106197.461538462-4552.46153846153
10149061159644.931034483-10583.9310344828
11165446159644.9310344835801.06896551725
12237213219044.518168.5
13173326159644.93103448313681.0689655172
14133131159644.931034483-26513.9310344828
15258873219044.539828.5
16180083159644.93103448320438.0689655172
173247993200674732
18230964219044.511919.5
19236785219044.517740.5
20135473106197.46153846229275.5384615385
21202925219044.5-16119.5
22215147219044.5-3897.5
23344297219044.5125252.5
24153935159644.931034483-5709.93103448275
25132943159644.931034483-26701.9310344828
26174724219044.5-44320.5
27174415219044.5-44629.5
28225548219044.56503.5
29223632159644.93103448363987.0689655172
30124817159644.931034483-34827.9310344828
31221698219044.52653.5
32210767219044.5-8277.5
33170266159644.93103448310621.0689655172
34260561219044.541516.5
358485352596.142857142932256.8571428571
36294424320067-25643
3710101152596.142857142948414.8571428571
38215641219044.5-3403.5
39325107219044.5106062.5
40717652596.1428571429-45420.1428571429
41167542159644.9310344837897.06896551725
42106408106197.461538462210.538461538468
4396560219044.5-122484.5
44265769219044.546724.5
45269651320067-50416
46149112159644.931034483-10532.9310344828
47175824219044.5-43220.5
48152871159644.931034483-6773.93103448275
49111665106197.4615384625467.53846153847
50116408219044.5-102636.5
5136230132006742234
5278800106197.461538462-27397.4615384615
53183167219044.5-35877.5
54277965320067-42102
55150629219044.5-68415.5
56168809159644.9310344839164.06896551725
572418852596.1428571429-28408.1428571429
58329267219044.5110222.5
596502952596.142857142912432.8571428571
60101097106197.461538462-5100.46153846153
61218946219044.5-98.5
62244052219044.525007.5
6334157032006721503
64103597106197.461538462-2600.46153846153
65233328219044.514283.5
66256462219044.537417.5
67206161219044.5-12883.5
68311473320067-8594
69235800219044.516755.5
70177939219044.5-41105.5
71207176219044.5-11868.5
72196553159644.93103448336908.0689655172
73174184159644.93103448314539.0689655172
74143246159644.931034483-16398.9310344828
75187559219044.5-31485.5
76187681219044.5-31363.5
77119016159644.931034483-40628.9310344828
78182192219044.5-36852.5
7973566106197.461538462-32631.4615384615
80194979219044.5-24065.5
81167488159644.9310344837843.06896551725
82143756159644.931034483-15888.9310344828
83275541219044.556496.5
84243199219044.524154.5
85182999159644.93103448323354.0689655172
86135649159644.931034483-23995.9310344828
87152299159644.931034483-7345.93103448275
88120221159644.931034483-39423.9310344828
8934648532006726418
90145790159644.931034483-13854.9310344828
91193339159644.93103448333694.0689655172
9280953106197.461538462-25244.4615384615
93122774159644.931034483-36870.9310344828
94130585106197.46153846224387.5384615385
95112611106197.4615384626413.53846153847
96286468320067-33599
97241066219044.522021.5



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