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 computationFri, 24 Dec 2010 19:26:46 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/24/t1293218675628jpcrj1tq1yh4.htm/, Retrieved Tue, 30 Apr 2024 07:56:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=115265, Retrieved Tue, 30 Apr 2024 07:56:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact120
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Recursive Partitioning (Regression Trees)] [workshop 10 - rec...] [2010-12-24 19:26:46] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	162556	162556	1081	1081	213118	213118	230380558	6282929
1	29790	29790	309	309	81767	81767	25266003	4324047
1	87550	87550	458	458	153198	153198	70164684	4108272
0	84738	0	588	0	-26007	0	-15292116	-1212617
1	54660	54660	299	299	126942	126942	37955658	1485329
1	42634	42634	156	156	157214	157214	24525384	1779876
0	40949	0	481	0	129352	0	62218312	1367203
1	42312	42312	323	323	234817	234817	75845891	2519076
1	37704	37704	452	452	60448	60448	27322496	912684
1	16275	16275	109	109	47818	47818	5212162	1443586
0	25830	0	115	0	245546	0	28237790	1220017
0	12679	0	110	0	48020	0	5282200	984885
1	18014	18014	239	239	-1710	-1710	-408690	1457425
0	43556	0	247	0	32648	0	8064056	-572920
1	24524	24524	497	497	95350	95350	47388950	929144
0	6532	0	103	0	151352	0	15589256	1151176
0	7123	0	109	0	288170	0	31410530	790090
1	20813	20813	502	502	114337	114337	57397174	774497
1	37597	37597	248	248	37884	37884	9395232	990576
0	17821	0	373	0	122844	0	45820812	454195
1	12988	12988	119	119	82340	82340	9798460	876607
1	22330	22330	84	84	79801	79801	6703284	711969
0	13326	0	102	0	165548	0	16885896	702380
0	16189	0	295	0	116384	0	34333280	264449
0	7146	0	105	0	134028	0	14072940	450033
0	15824	0	64	0	63838	0	4085632	541063
1	26088	26088	267	267	74996	74996	20023932	588864
0	11326	0	129	0	31080	0	4009320	-37216
0	8568	0	37	0	32168	0	1190216	783310
0	14416	0	361	0	49857	0	17998377	467359
1	3369	3369	28	28	87161	87161	2440508	688779
1	11819	11819	85	85	106113	106113	9019605	608419
1	6620	6620	44	44	80570	80570	3545080	696348
1	4519	4519	49	49	102129	102129	5004321	597793
0	2220	0	22	0	301670	0	6636740	821730
0	18562	0	155	0	102313	0	15858515	377934
0	10327	0	91	0	88577	0	8060507	651939
1	5336	5336	81	81	112477	112477	9110637	697458
1	2365	2365	79	79	191778	191778	15150462	700368
0	4069	0	145	0	79804	0	11571580	225986
0	7710	0	816	0	128294	0	104687904	348695
0	13718	0	61	0	96448	0	5883328	373683
0	4525	0	226	0	93811	0	21201286	501709
0	6869	0	105	0	117520	0	12339600	413743
0	4628	0	62	0	69159	0	4287858	379825
1	3653	3653	24	24	101792	101792	2443008	336260
1	1265	1265	26	26	210568	210568	5474768	636765
1	7489	7489	322	322	136996	136996	44112712	481231
0	4901	0	84	0	121920	0	10241280	469107
0	2284	0	33	0	76403	0	2521299	211928
1	3160	3160	108	108	108094	108094	11674152	563925
1	4150	4150	150	150	134759	134759	20213850	511939
1	7285	7285	115	115	188873	188873	21720395	521016
1	1134	1134	162	162	146216	146216	23686992	543856
1	4658	4658	158	158	156608	156608	24744064	329304
0	2384	0	97	0	61348	0	5950756	423262
0	3748	0	9	0	50350	0	453150	509665
0	5371	0	66	0	87720	0	5789520	455881
0	1285	0	107	0	99489	0	10645323	367772
1	9327	9327	101	101	87419	87419	8829319	406339
1	5565	5565	47	47	94355	94355	4434685	493408
0	1528	0	38	0	60326	0	2292388	232942
1	3122	3122	34	34	94670	94670	3218780	416002
1	7317	7317	84	84	82425	82425	6923700	337430
0	2675	0	79	0	59017	0	4662343	361517
0	13253	0	947	0	90829	0	86015063	360962
0	880	0	74	0	80791	0	5978534	235561
1	2053	2053	53	53	100423	100423	5322419	408247
0	1424	0	94	0	131116	0	12324904	450296
1	4036	4036	63	63	100269	100269	6316947	418799
1	3045	3045	58	58	27330	27330	1585140	247405
0	5119	0	49	0	39039	0	1912911	378519
0	1431	0	34	0	106885	0	3634090	326638
0	554	0	11	0	79285	0	872135	328233
0	1975	0	35	0	118881	0	4160835	386225
1	1286	1286	17	17	77623	77623	1319591	283662
0	1012	0	47	0	114768	0	5394096	370225
0	810	0	43	0	74015	0	3182645	269236
0	1280	0	117	0	69465	0	8127405	365732
1	666	666	171	171	117869	117869	20155599	420383
0	1380	0	26	0	60982	0	1585532	345811
1	4608	4608	73	73	90131	90131	6579563	431809
0	876	0	59	0	138971	0	8199289	418876
0	814	0	18	0	39625	0	713250	297476
0	514	0	15	0	102725	0	1540875	416776
1	5692	5692	72	72	64239	64239	4625208	357257
0	3642	0	86	0	90262	0	7762532	458343
0	540	0	14	0	103960	0	1455440	388386
0	2099	0	64	0	106611	0	6823104	358934
0	567	0	11	0	103345	0	1136795	407560
0	2001	0	52	0	95551	0	4968652	392558
1	2949	2949	41	41	82903	82903	3399023	373177
0	2253	0	99	0	63593	0	6295707	428370
1	6533	6533	75	75	126910	126910	9518250	369419
0	1889	0	45	0	37527	0	1688715	358649
1	3055	3055	43	43	60247	60247	2590621	376641
0	272	0	8	0	112995	0	903960	467427
1	1414	1414	198	198	70184	70184	13896432	364885
0	2564	0	22	0	130140	0	2863080	436230
1	1383	1383	11	11	73221	73221	805431	329118




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\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 & 7 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=115265&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=115265&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115265&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 time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Goodness of Fit
Correlation0.7609
R-squared0.579
RMSE564995.4435

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.7609[/C][/ROW]
[ROW][C]R-squared[/C][C]0.579[/C][/ROW]
[ROW][C]RMSE[/C][C]564995.4435[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115265&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115265&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.7609
R-squared0.579
RMSE564995.4435







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
162829292800348.6253482580.375
243240472800348.6251523698.375
341082722800348.6251307923.375
4-1212617-7838.57142857143-1204778.42857143
514853292800348.625-1315019.625
617798762800348.625-1020472.625
71367203597500.333333333769702.666666667
825190762800348.625-281272.625
99126842800348.625-1887664.625
101443586968870.285714286474715.714285714
111220017597500.333333333622516.666666667
12984885597500.333333333387384.666666667
131457425968870.285714286488554.714285714
14-572920-7838.57142857143-565081.428571429
15929144968870.285714286-39726.2857142857
161151176597500.333333333553675.666666667
17790090597500.333333333192589.666666667
18774497968870.285714286-194373.285714286
199905762800348.625-1809772.625
20454195597500.333333333-143305.333333333
21876607968870.285714286-92263.2857142857
22711969968870.285714286-256901.285714286
23702380597500.333333333104879.666666667
24264449597500.333333333-333051.333333333
25450033597500.333333333-147467.333333333
26541063597500.333333333-56437.3333333334
27588864968870.285714286-380006.285714286
28-37216-7838.57142857143-29377.4285714286
29783310-7838.57142857143791148.571428571
30467359597500.333333333-130141.333333333
31688779449145.555555556239633.444444444
32608419597500.33333333310918.6666666666
33696348597500.33333333398847.6666666666
34597793449145.555555556148647.444444444
35821730566119.714285714255610.285714286
36377934597500.333333333-219566.333333333
37651939597500.33333333354438.6666666666
38697458449145.555555556248312.444444444
39700368566119.714285714134248.285714286
40225986335014.2-109028.2
41348695597500.333333333-248805.333333333
42373683597500.333333333-223817.333333333
43501709449145.55555555652563.4444444444
44413743597500.333333333-183757.333333333
45379825335014.244810.8
46336260449145.555555556-112885.555555556
47636765566119.71428571470645.2857142857
48481231597500.333333333-116269.333333333
49469107449145.55555555619961.4444444444
50211928335014.2-123086.2
51563925449145.555555556114779.444444444
52511939566119.714285714-54180.7142857143
53521016597500.333333333-76484.3333333334
54543856566119.714285714-22263.7142857143
55329304566119.714285714-236815.714285714
56423262335014.288247.8
57509665335014.2174650.8
58455881449145.5555555566735.44444444444
59367772449145.555555556-81373.5555555556
60406339597500.333333333-191161.333333333
61493408449145.55555555644262.4444444444
62232942335014.2-102072.2
63416002449145.555555556-33143.5555555556
64337430597500.333333333-260070.333333333
65361517335014.226502.8
66360962597500.333333333-236538.333333333
67235561335014.2-99453.2
68408247449145.555555556-40898.5555555556
69450296449145.5555555561150.44444444444
70418799449145.555555556-30346.5555555556
71247405-7838.57142857143255243.571428571
72378519-7838.57142857143386357.571428571
73326638449145.555555556-122507.555555556
74328233335014.2-6781.20000000001
75386225449145.555555556-62920.5555555556
76283662335014.2-51352.2
77370225449145.555555556-78920.5555555556
78269236335014.2-65778.2
79365732335014.230717.8
80420383449145.555555556-28762.5555555556
81345811335014.210796.8000000000
82431809449145.555555556-17336.5555555556
83418876566119.714285714-147243.714285714
84297476335014.2-37538.2
85416776449145.555555556-32369.5555555556
86357257335014.222242.8
87458343449145.5555555569197.44444444444
88388386449145.555555556-60759.5555555556
89358934449145.555555556-90211.5555555556
90407560449145.555555556-41585.5555555556
91392558449145.555555556-56587.5555555556
92373177335014.238162.8
93428370335014.293355.8
94369419597500.333333333-228081.333333333
95358649-7838.57142857143366487.571428571
96376641335014.241626.8
97467427449145.55555555618281.4444444444
98364885335014.229870.8
99436230449145.555555556-12915.5555555556
100329118335014.2-5896.20000000001

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 6282929 & 2800348.625 & 3482580.375 \tabularnewline
2 & 4324047 & 2800348.625 & 1523698.375 \tabularnewline
3 & 4108272 & 2800348.625 & 1307923.375 \tabularnewline
4 & -1212617 & -7838.57142857143 & -1204778.42857143 \tabularnewline
5 & 1485329 & 2800348.625 & -1315019.625 \tabularnewline
6 & 1779876 & 2800348.625 & -1020472.625 \tabularnewline
7 & 1367203 & 597500.333333333 & 769702.666666667 \tabularnewline
8 & 2519076 & 2800348.625 & -281272.625 \tabularnewline
9 & 912684 & 2800348.625 & -1887664.625 \tabularnewline
10 & 1443586 & 968870.285714286 & 474715.714285714 \tabularnewline
11 & 1220017 & 597500.333333333 & 622516.666666667 \tabularnewline
12 & 984885 & 597500.333333333 & 387384.666666667 \tabularnewline
13 & 1457425 & 968870.285714286 & 488554.714285714 \tabularnewline
14 & -572920 & -7838.57142857143 & -565081.428571429 \tabularnewline
15 & 929144 & 968870.285714286 & -39726.2857142857 \tabularnewline
16 & 1151176 & 597500.333333333 & 553675.666666667 \tabularnewline
17 & 790090 & 597500.333333333 & 192589.666666667 \tabularnewline
18 & 774497 & 968870.285714286 & -194373.285714286 \tabularnewline
19 & 990576 & 2800348.625 & -1809772.625 \tabularnewline
20 & 454195 & 597500.333333333 & -143305.333333333 \tabularnewline
21 & 876607 & 968870.285714286 & -92263.2857142857 \tabularnewline
22 & 711969 & 968870.285714286 & -256901.285714286 \tabularnewline
23 & 702380 & 597500.333333333 & 104879.666666667 \tabularnewline
24 & 264449 & 597500.333333333 & -333051.333333333 \tabularnewline
25 & 450033 & 597500.333333333 & -147467.333333333 \tabularnewline
26 & 541063 & 597500.333333333 & -56437.3333333334 \tabularnewline
27 & 588864 & 968870.285714286 & -380006.285714286 \tabularnewline
28 & -37216 & -7838.57142857143 & -29377.4285714286 \tabularnewline
29 & 783310 & -7838.57142857143 & 791148.571428571 \tabularnewline
30 & 467359 & 597500.333333333 & -130141.333333333 \tabularnewline
31 & 688779 & 449145.555555556 & 239633.444444444 \tabularnewline
32 & 608419 & 597500.333333333 & 10918.6666666666 \tabularnewline
33 & 696348 & 597500.333333333 & 98847.6666666666 \tabularnewline
34 & 597793 & 449145.555555556 & 148647.444444444 \tabularnewline
35 & 821730 & 566119.714285714 & 255610.285714286 \tabularnewline
36 & 377934 & 597500.333333333 & -219566.333333333 \tabularnewline
37 & 651939 & 597500.333333333 & 54438.6666666666 \tabularnewline
38 & 697458 & 449145.555555556 & 248312.444444444 \tabularnewline
39 & 700368 & 566119.714285714 & 134248.285714286 \tabularnewline
40 & 225986 & 335014.2 & -109028.2 \tabularnewline
41 & 348695 & 597500.333333333 & -248805.333333333 \tabularnewline
42 & 373683 & 597500.333333333 & -223817.333333333 \tabularnewline
43 & 501709 & 449145.555555556 & 52563.4444444444 \tabularnewline
44 & 413743 & 597500.333333333 & -183757.333333333 \tabularnewline
45 & 379825 & 335014.2 & 44810.8 \tabularnewline
46 & 336260 & 449145.555555556 & -112885.555555556 \tabularnewline
47 & 636765 & 566119.714285714 & 70645.2857142857 \tabularnewline
48 & 481231 & 597500.333333333 & -116269.333333333 \tabularnewline
49 & 469107 & 449145.555555556 & 19961.4444444444 \tabularnewline
50 & 211928 & 335014.2 & -123086.2 \tabularnewline
51 & 563925 & 449145.555555556 & 114779.444444444 \tabularnewline
52 & 511939 & 566119.714285714 & -54180.7142857143 \tabularnewline
53 & 521016 & 597500.333333333 & -76484.3333333334 \tabularnewline
54 & 543856 & 566119.714285714 & -22263.7142857143 \tabularnewline
55 & 329304 & 566119.714285714 & -236815.714285714 \tabularnewline
56 & 423262 & 335014.2 & 88247.8 \tabularnewline
57 & 509665 & 335014.2 & 174650.8 \tabularnewline
58 & 455881 & 449145.555555556 & 6735.44444444444 \tabularnewline
59 & 367772 & 449145.555555556 & -81373.5555555556 \tabularnewline
60 & 406339 & 597500.333333333 & -191161.333333333 \tabularnewline
61 & 493408 & 449145.555555556 & 44262.4444444444 \tabularnewline
62 & 232942 & 335014.2 & -102072.2 \tabularnewline
63 & 416002 & 449145.555555556 & -33143.5555555556 \tabularnewline
64 & 337430 & 597500.333333333 & -260070.333333333 \tabularnewline
65 & 361517 & 335014.2 & 26502.8 \tabularnewline
66 & 360962 & 597500.333333333 & -236538.333333333 \tabularnewline
67 & 235561 & 335014.2 & -99453.2 \tabularnewline
68 & 408247 & 449145.555555556 & -40898.5555555556 \tabularnewline
69 & 450296 & 449145.555555556 & 1150.44444444444 \tabularnewline
70 & 418799 & 449145.555555556 & -30346.5555555556 \tabularnewline
71 & 247405 & -7838.57142857143 & 255243.571428571 \tabularnewline
72 & 378519 & -7838.57142857143 & 386357.571428571 \tabularnewline
73 & 326638 & 449145.555555556 & -122507.555555556 \tabularnewline
74 & 328233 & 335014.2 & -6781.20000000001 \tabularnewline
75 & 386225 & 449145.555555556 & -62920.5555555556 \tabularnewline
76 & 283662 & 335014.2 & -51352.2 \tabularnewline
77 & 370225 & 449145.555555556 & -78920.5555555556 \tabularnewline
78 & 269236 & 335014.2 & -65778.2 \tabularnewline
79 & 365732 & 335014.2 & 30717.8 \tabularnewline
80 & 420383 & 449145.555555556 & -28762.5555555556 \tabularnewline
81 & 345811 & 335014.2 & 10796.8000000000 \tabularnewline
82 & 431809 & 449145.555555556 & -17336.5555555556 \tabularnewline
83 & 418876 & 566119.714285714 & -147243.714285714 \tabularnewline
84 & 297476 & 335014.2 & -37538.2 \tabularnewline
85 & 416776 & 449145.555555556 & -32369.5555555556 \tabularnewline
86 & 357257 & 335014.2 & 22242.8 \tabularnewline
87 & 458343 & 449145.555555556 & 9197.44444444444 \tabularnewline
88 & 388386 & 449145.555555556 & -60759.5555555556 \tabularnewline
89 & 358934 & 449145.555555556 & -90211.5555555556 \tabularnewline
90 & 407560 & 449145.555555556 & -41585.5555555556 \tabularnewline
91 & 392558 & 449145.555555556 & -56587.5555555556 \tabularnewline
92 & 373177 & 335014.2 & 38162.8 \tabularnewline
93 & 428370 & 335014.2 & 93355.8 \tabularnewline
94 & 369419 & 597500.333333333 & -228081.333333333 \tabularnewline
95 & 358649 & -7838.57142857143 & 366487.571428571 \tabularnewline
96 & 376641 & 335014.2 & 41626.8 \tabularnewline
97 & 467427 & 449145.555555556 & 18281.4444444444 \tabularnewline
98 & 364885 & 335014.2 & 29870.8 \tabularnewline
99 & 436230 & 449145.555555556 & -12915.5555555556 \tabularnewline
100 & 329118 & 335014.2 & -5896.20000000001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115265&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]6282929[/C][C]2800348.625[/C][C]3482580.375[/C][/ROW]
[ROW][C]2[/C][C]4324047[/C][C]2800348.625[/C][C]1523698.375[/C][/ROW]
[ROW][C]3[/C][C]4108272[/C][C]2800348.625[/C][C]1307923.375[/C][/ROW]
[ROW][C]4[/C][C]-1212617[/C][C]-7838.57142857143[/C][C]-1204778.42857143[/C][/ROW]
[ROW][C]5[/C][C]1485329[/C][C]2800348.625[/C][C]-1315019.625[/C][/ROW]
[ROW][C]6[/C][C]1779876[/C][C]2800348.625[/C][C]-1020472.625[/C][/ROW]
[ROW][C]7[/C][C]1367203[/C][C]597500.333333333[/C][C]769702.666666667[/C][/ROW]
[ROW][C]8[/C][C]2519076[/C][C]2800348.625[/C][C]-281272.625[/C][/ROW]
[ROW][C]9[/C][C]912684[/C][C]2800348.625[/C][C]-1887664.625[/C][/ROW]
[ROW][C]10[/C][C]1443586[/C][C]968870.285714286[/C][C]474715.714285714[/C][/ROW]
[ROW][C]11[/C][C]1220017[/C][C]597500.333333333[/C][C]622516.666666667[/C][/ROW]
[ROW][C]12[/C][C]984885[/C][C]597500.333333333[/C][C]387384.666666667[/C][/ROW]
[ROW][C]13[/C][C]1457425[/C][C]968870.285714286[/C][C]488554.714285714[/C][/ROW]
[ROW][C]14[/C][C]-572920[/C][C]-7838.57142857143[/C][C]-565081.428571429[/C][/ROW]
[ROW][C]15[/C][C]929144[/C][C]968870.285714286[/C][C]-39726.2857142857[/C][/ROW]
[ROW][C]16[/C][C]1151176[/C][C]597500.333333333[/C][C]553675.666666667[/C][/ROW]
[ROW][C]17[/C][C]790090[/C][C]597500.333333333[/C][C]192589.666666667[/C][/ROW]
[ROW][C]18[/C][C]774497[/C][C]968870.285714286[/C][C]-194373.285714286[/C][/ROW]
[ROW][C]19[/C][C]990576[/C][C]2800348.625[/C][C]-1809772.625[/C][/ROW]
[ROW][C]20[/C][C]454195[/C][C]597500.333333333[/C][C]-143305.333333333[/C][/ROW]
[ROW][C]21[/C][C]876607[/C][C]968870.285714286[/C][C]-92263.2857142857[/C][/ROW]
[ROW][C]22[/C][C]711969[/C][C]968870.285714286[/C][C]-256901.285714286[/C][/ROW]
[ROW][C]23[/C][C]702380[/C][C]597500.333333333[/C][C]104879.666666667[/C][/ROW]
[ROW][C]24[/C][C]264449[/C][C]597500.333333333[/C][C]-333051.333333333[/C][/ROW]
[ROW][C]25[/C][C]450033[/C][C]597500.333333333[/C][C]-147467.333333333[/C][/ROW]
[ROW][C]26[/C][C]541063[/C][C]597500.333333333[/C][C]-56437.3333333334[/C][/ROW]
[ROW][C]27[/C][C]588864[/C][C]968870.285714286[/C][C]-380006.285714286[/C][/ROW]
[ROW][C]28[/C][C]-37216[/C][C]-7838.57142857143[/C][C]-29377.4285714286[/C][/ROW]
[ROW][C]29[/C][C]783310[/C][C]-7838.57142857143[/C][C]791148.571428571[/C][/ROW]
[ROW][C]30[/C][C]467359[/C][C]597500.333333333[/C][C]-130141.333333333[/C][/ROW]
[ROW][C]31[/C][C]688779[/C][C]449145.555555556[/C][C]239633.444444444[/C][/ROW]
[ROW][C]32[/C][C]608419[/C][C]597500.333333333[/C][C]10918.6666666666[/C][/ROW]
[ROW][C]33[/C][C]696348[/C][C]597500.333333333[/C][C]98847.6666666666[/C][/ROW]
[ROW][C]34[/C][C]597793[/C][C]449145.555555556[/C][C]148647.444444444[/C][/ROW]
[ROW][C]35[/C][C]821730[/C][C]566119.714285714[/C][C]255610.285714286[/C][/ROW]
[ROW][C]36[/C][C]377934[/C][C]597500.333333333[/C][C]-219566.333333333[/C][/ROW]
[ROW][C]37[/C][C]651939[/C][C]597500.333333333[/C][C]54438.6666666666[/C][/ROW]
[ROW][C]38[/C][C]697458[/C][C]449145.555555556[/C][C]248312.444444444[/C][/ROW]
[ROW][C]39[/C][C]700368[/C][C]566119.714285714[/C][C]134248.285714286[/C][/ROW]
[ROW][C]40[/C][C]225986[/C][C]335014.2[/C][C]-109028.2[/C][/ROW]
[ROW][C]41[/C][C]348695[/C][C]597500.333333333[/C][C]-248805.333333333[/C][/ROW]
[ROW][C]42[/C][C]373683[/C][C]597500.333333333[/C][C]-223817.333333333[/C][/ROW]
[ROW][C]43[/C][C]501709[/C][C]449145.555555556[/C][C]52563.4444444444[/C][/ROW]
[ROW][C]44[/C][C]413743[/C][C]597500.333333333[/C][C]-183757.333333333[/C][/ROW]
[ROW][C]45[/C][C]379825[/C][C]335014.2[/C][C]44810.8[/C][/ROW]
[ROW][C]46[/C][C]336260[/C][C]449145.555555556[/C][C]-112885.555555556[/C][/ROW]
[ROW][C]47[/C][C]636765[/C][C]566119.714285714[/C][C]70645.2857142857[/C][/ROW]
[ROW][C]48[/C][C]481231[/C][C]597500.333333333[/C][C]-116269.333333333[/C][/ROW]
[ROW][C]49[/C][C]469107[/C][C]449145.555555556[/C][C]19961.4444444444[/C][/ROW]
[ROW][C]50[/C][C]211928[/C][C]335014.2[/C][C]-123086.2[/C][/ROW]
[ROW][C]51[/C][C]563925[/C][C]449145.555555556[/C][C]114779.444444444[/C][/ROW]
[ROW][C]52[/C][C]511939[/C][C]566119.714285714[/C][C]-54180.7142857143[/C][/ROW]
[ROW][C]53[/C][C]521016[/C][C]597500.333333333[/C][C]-76484.3333333334[/C][/ROW]
[ROW][C]54[/C][C]543856[/C][C]566119.714285714[/C][C]-22263.7142857143[/C][/ROW]
[ROW][C]55[/C][C]329304[/C][C]566119.714285714[/C][C]-236815.714285714[/C][/ROW]
[ROW][C]56[/C][C]423262[/C][C]335014.2[/C][C]88247.8[/C][/ROW]
[ROW][C]57[/C][C]509665[/C][C]335014.2[/C][C]174650.8[/C][/ROW]
[ROW][C]58[/C][C]455881[/C][C]449145.555555556[/C][C]6735.44444444444[/C][/ROW]
[ROW][C]59[/C][C]367772[/C][C]449145.555555556[/C][C]-81373.5555555556[/C][/ROW]
[ROW][C]60[/C][C]406339[/C][C]597500.333333333[/C][C]-191161.333333333[/C][/ROW]
[ROW][C]61[/C][C]493408[/C][C]449145.555555556[/C][C]44262.4444444444[/C][/ROW]
[ROW][C]62[/C][C]232942[/C][C]335014.2[/C][C]-102072.2[/C][/ROW]
[ROW][C]63[/C][C]416002[/C][C]449145.555555556[/C][C]-33143.5555555556[/C][/ROW]
[ROW][C]64[/C][C]337430[/C][C]597500.333333333[/C][C]-260070.333333333[/C][/ROW]
[ROW][C]65[/C][C]361517[/C][C]335014.2[/C][C]26502.8[/C][/ROW]
[ROW][C]66[/C][C]360962[/C][C]597500.333333333[/C][C]-236538.333333333[/C][/ROW]
[ROW][C]67[/C][C]235561[/C][C]335014.2[/C][C]-99453.2[/C][/ROW]
[ROW][C]68[/C][C]408247[/C][C]449145.555555556[/C][C]-40898.5555555556[/C][/ROW]
[ROW][C]69[/C][C]450296[/C][C]449145.555555556[/C][C]1150.44444444444[/C][/ROW]
[ROW][C]70[/C][C]418799[/C][C]449145.555555556[/C][C]-30346.5555555556[/C][/ROW]
[ROW][C]71[/C][C]247405[/C][C]-7838.57142857143[/C][C]255243.571428571[/C][/ROW]
[ROW][C]72[/C][C]378519[/C][C]-7838.57142857143[/C][C]386357.571428571[/C][/ROW]
[ROW][C]73[/C][C]326638[/C][C]449145.555555556[/C][C]-122507.555555556[/C][/ROW]
[ROW][C]74[/C][C]328233[/C][C]335014.2[/C][C]-6781.20000000001[/C][/ROW]
[ROW][C]75[/C][C]386225[/C][C]449145.555555556[/C][C]-62920.5555555556[/C][/ROW]
[ROW][C]76[/C][C]283662[/C][C]335014.2[/C][C]-51352.2[/C][/ROW]
[ROW][C]77[/C][C]370225[/C][C]449145.555555556[/C][C]-78920.5555555556[/C][/ROW]
[ROW][C]78[/C][C]269236[/C][C]335014.2[/C][C]-65778.2[/C][/ROW]
[ROW][C]79[/C][C]365732[/C][C]335014.2[/C][C]30717.8[/C][/ROW]
[ROW][C]80[/C][C]420383[/C][C]449145.555555556[/C][C]-28762.5555555556[/C][/ROW]
[ROW][C]81[/C][C]345811[/C][C]335014.2[/C][C]10796.8000000000[/C][/ROW]
[ROW][C]82[/C][C]431809[/C][C]449145.555555556[/C][C]-17336.5555555556[/C][/ROW]
[ROW][C]83[/C][C]418876[/C][C]566119.714285714[/C][C]-147243.714285714[/C][/ROW]
[ROW][C]84[/C][C]297476[/C][C]335014.2[/C][C]-37538.2[/C][/ROW]
[ROW][C]85[/C][C]416776[/C][C]449145.555555556[/C][C]-32369.5555555556[/C][/ROW]
[ROW][C]86[/C][C]357257[/C][C]335014.2[/C][C]22242.8[/C][/ROW]
[ROW][C]87[/C][C]458343[/C][C]449145.555555556[/C][C]9197.44444444444[/C][/ROW]
[ROW][C]88[/C][C]388386[/C][C]449145.555555556[/C][C]-60759.5555555556[/C][/ROW]
[ROW][C]89[/C][C]358934[/C][C]449145.555555556[/C][C]-90211.5555555556[/C][/ROW]
[ROW][C]90[/C][C]407560[/C][C]449145.555555556[/C][C]-41585.5555555556[/C][/ROW]
[ROW][C]91[/C][C]392558[/C][C]449145.555555556[/C][C]-56587.5555555556[/C][/ROW]
[ROW][C]92[/C][C]373177[/C][C]335014.2[/C][C]38162.8[/C][/ROW]
[ROW][C]93[/C][C]428370[/C][C]335014.2[/C][C]93355.8[/C][/ROW]
[ROW][C]94[/C][C]369419[/C][C]597500.333333333[/C][C]-228081.333333333[/C][/ROW]
[ROW][C]95[/C][C]358649[/C][C]-7838.57142857143[/C][C]366487.571428571[/C][/ROW]
[ROW][C]96[/C][C]376641[/C][C]335014.2[/C][C]41626.8[/C][/ROW]
[ROW][C]97[/C][C]467427[/C][C]449145.555555556[/C][C]18281.4444444444[/C][/ROW]
[ROW][C]98[/C][C]364885[/C][C]335014.2[/C][C]29870.8[/C][/ROW]
[ROW][C]99[/C][C]436230[/C][C]449145.555555556[/C][C]-12915.5555555556[/C][/ROW]
[ROW][C]100[/C][C]329118[/C][C]335014.2[/C][C]-5896.20000000001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115265&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115265&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
162829292800348.6253482580.375
243240472800348.6251523698.375
341082722800348.6251307923.375
4-1212617-7838.57142857143-1204778.42857143
514853292800348.625-1315019.625
617798762800348.625-1020472.625
71367203597500.333333333769702.666666667
825190762800348.625-281272.625
99126842800348.625-1887664.625
101443586968870.285714286474715.714285714
111220017597500.333333333622516.666666667
12984885597500.333333333387384.666666667
131457425968870.285714286488554.714285714
14-572920-7838.57142857143-565081.428571429
15929144968870.285714286-39726.2857142857
161151176597500.333333333553675.666666667
17790090597500.333333333192589.666666667
18774497968870.285714286-194373.285714286
199905762800348.625-1809772.625
20454195597500.333333333-143305.333333333
21876607968870.285714286-92263.2857142857
22711969968870.285714286-256901.285714286
23702380597500.333333333104879.666666667
24264449597500.333333333-333051.333333333
25450033597500.333333333-147467.333333333
26541063597500.333333333-56437.3333333334
27588864968870.285714286-380006.285714286
28-37216-7838.57142857143-29377.4285714286
29783310-7838.57142857143791148.571428571
30467359597500.333333333-130141.333333333
31688779449145.555555556239633.444444444
32608419597500.33333333310918.6666666666
33696348597500.33333333398847.6666666666
34597793449145.555555556148647.444444444
35821730566119.714285714255610.285714286
36377934597500.333333333-219566.333333333
37651939597500.33333333354438.6666666666
38697458449145.555555556248312.444444444
39700368566119.714285714134248.285714286
40225986335014.2-109028.2
41348695597500.333333333-248805.333333333
42373683597500.333333333-223817.333333333
43501709449145.55555555652563.4444444444
44413743597500.333333333-183757.333333333
45379825335014.244810.8
46336260449145.555555556-112885.555555556
47636765566119.71428571470645.2857142857
48481231597500.333333333-116269.333333333
49469107449145.55555555619961.4444444444
50211928335014.2-123086.2
51563925449145.555555556114779.444444444
52511939566119.714285714-54180.7142857143
53521016597500.333333333-76484.3333333334
54543856566119.714285714-22263.7142857143
55329304566119.714285714-236815.714285714
56423262335014.288247.8
57509665335014.2174650.8
58455881449145.5555555566735.44444444444
59367772449145.555555556-81373.5555555556
60406339597500.333333333-191161.333333333
61493408449145.55555555644262.4444444444
62232942335014.2-102072.2
63416002449145.555555556-33143.5555555556
64337430597500.333333333-260070.333333333
65361517335014.226502.8
66360962597500.333333333-236538.333333333
67235561335014.2-99453.2
68408247449145.555555556-40898.5555555556
69450296449145.5555555561150.44444444444
70418799449145.555555556-30346.5555555556
71247405-7838.57142857143255243.571428571
72378519-7838.57142857143386357.571428571
73326638449145.555555556-122507.555555556
74328233335014.2-6781.20000000001
75386225449145.555555556-62920.5555555556
76283662335014.2-51352.2
77370225449145.555555556-78920.5555555556
78269236335014.2-65778.2
79365732335014.230717.8
80420383449145.555555556-28762.5555555556
81345811335014.210796.8000000000
82431809449145.555555556-17336.5555555556
83418876566119.714285714-147243.714285714
84297476335014.2-37538.2
85416776449145.555555556-32369.5555555556
86357257335014.222242.8
87458343449145.5555555569197.44444444444
88388386449145.555555556-60759.5555555556
89358934449145.555555556-90211.5555555556
90407560449145.555555556-41585.5555555556
91392558449145.555555556-56587.5555555556
92373177335014.238162.8
93428370335014.293355.8
94369419597500.333333333-228081.333333333
95358649-7838.57142857143366487.571428571
96376641335014.241626.8
97467427449145.55555555618281.4444444444
98364885335014.229870.8
99436230449145.555555556-12915.5555555556
100329118335014.2-5896.20000000001



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