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 computationMon, 12 Dec 2011 09:33:51 -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/12/t132370108464zkiaoabjjtc5a.htm/, Retrieved Fri, 03 May 2024 09:31:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=153981, Retrieved Fri, 03 May 2024 09:31:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact72
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Recursive Partitioning (Regression Trees)] [] [2010-12-05 18:59:57] [b98453cac15ba1066b407e146608df68]
- R PD    [Recursive Partitioning (Regression Trees)] [] [2011-12-12 14:33:51] [2be7aedefc35278abdba659ba29c8de8] [Current]
-           [Recursive Partitioning (Regression Trees)] [] [2011-12-12 15:02:57] [aefb5c2d4042694c5b6b82f93ac1885a]
-           [Recursive Partitioning (Regression Trees)] [] [2011-12-12 15:03:40] [aefb5c2d4042694c5b6b82f93ac1885a]
Feedback Forum

Post a new message
Dataseries X:
210907	79	30	2	94	112285
179321	108	30	4	103	101193
149061	43	26	0	93	116174
237213	78	38	0	123	66198
173326	86	44	-4	148	71701
133131	44	30	4	90	57793
258873	104	40	4	124	80444
324799	158	47	0	168	97668
230964	102	30	-1	115	133824
236785	77	31	0	71	101481
344297	80	30	1	108	67654
174724	123	34	0	120	69112
174415	73	31	3	114	82753
223632	105	33	-1	120	72654
294424	107	33	4	124	101494
325107	84	36	3	126	79215
106408	33	14	1	37	31081
96560	42	17	0	38	22996
265769	96	32	-2	120	83122
269651	106	30	-3	93	70106
149112	56	35	-4	95	60578
152871	59	28	2	90	79892
362301	76	34	2	110	100708
183167	91	39	-4	138	82875
277965	115	39	3	133	139077
218946	76	29	2	96	80670
244052	101	44	2	164	143558
341570	94	21	0	78	117105
233328	92	28	5	102	120733
206161	75	28	-2	99	73107
311473	128	38	0	129	132068
207176	56	32	-2	114	87011
196553	41	29	-3	99	95260
143246	67	27	2	104	106671
182192	77	40	2	138	70054
194979	66	40	2	151	74011
167488	69	28	0	72	83737
143756	105	34	4	120	69094
275541	116	33	4	115	93133
152299	62	33	2	98	61370
193339	100	35	2	71	84651
130585	67	29	-4	107	95364
112611	46	20	3	73	26706
148446	135	37	3	129	126846
182079	124	33	2	118	102860
243060	58	29	-1	104	111813
162765	68	28	-3	107	120293
85574	37	21	0	36	24266
225060	93	41	1	139	109825
133328	56	20	-3	56	40909
100750	83	30	3	93	140867
101523	59	22	0	87	61056
243511	133	42	0	110	101338
152474	106	32	0	83	65567
132487	71	36	3	98	40735
317394	116	31	-3	82	91413
244749	98	33	0	115	76643
184510	64	40	-4	140	110681
128423	32	38	2	120	92696
97839	25	24	-1	66	94785
172494	46	43	3	139	86687
229242	63	31	2	119	91721
351619	95	40	5	141	115168
324598	113	37	2	133	135777
195838	111	31	-2	98	102372
254488	120	39	0	117	103772
199476	87	32	3	105	135400
92499	25	18	-2	55	21399
224330	131	39	0	132	130115
181633	47	30	6	73	64466
271856	109	37	-3	86	54990
95227	37	32	3	48	34777
98146	15	17	0	48	27114
118612	54	12	-2	43	30080
65475	16	13	1	46	69008
108446	22	17	0	65	46300
121848	37	17	2	52	30594
76302	29	20	2	68	30976
98104	55	17	-3	47	25568
30989	5	17	-2	41	4154
31774	0	17	1	47	4143
150580	27	22	-4	71	45588
54157	37	15	0	30	18625
59382	29	12	1	24	26263
84105	17	17	0	63	20055




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

\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
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=153981&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]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=153981&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=153981&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







Goodness of Fit
Correlation0.7811
R-squared0.6102
RMSE21.6121

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.7811[/C][/ROW]
[ROW][C]R-squared[/C][C]0.6102[/C][/ROW]
[ROW][C]RMSE[/C][C]21.6121[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=153981&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=153981&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.7811
R-squared0.6102
RMSE21.6121







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
17995.8723404255319-16.8723404255319
210895.872340425531912.1276595744681
34364.0833333333333-21.0833333333333
47895.8723404255319-17.8723404255319
58695.8723404255319-9.87234042553192
64450.3333333333333-6.33333333333334
710495.87234042553198.12765957446808
815895.872340425531962.1276595744681
910295.87234042553196.12765957446808
107795.8723404255319-18.8723404255319
118095.8723404255319-15.8723404255319
1212395.872340425531927.1276595744681
137395.8723404255319-22.8723404255319
1410595.87234042553199.12765957446808
1510795.872340425531911.1276595744681
168495.8723404255319-11.8723404255319
173350.3333333333333-17.3333333333333
184226.357142857142915.6428571428571
199695.87234042553190.127659574468083
2010695.872340425531910.1276595744681
215695.8723404255319-39.8723404255319
225964.0833333333333-5.08333333333333
237695.8723404255319-19.8723404255319
249195.8723404255319-4.87234042553192
2511595.872340425531919.1276595744681
267664.083333333333311.9166666666667
2710195.87234042553195.12765957446808
289464.083333333333329.9166666666667
299264.083333333333327.9166666666667
307564.083333333333310.9166666666667
3112895.872340425531932.1276595744681
325695.8723404255319-39.8723404255319
334164.0833333333333-23.0833333333333
346764.08333333333332.91666666666667
357795.8723404255319-18.8723404255319
366695.8723404255319-29.8723404255319
376964.08333333333334.91666666666667
3810595.87234042553199.12765957446808
3911695.872340425531920.1276595744681
406295.8723404255319-33.8723404255319
4110095.87234042553194.12765957446808
426750.333333333333316.6666666666667
434650.3333333333333-4.33333333333334
4413595.872340425531939.1276595744681
4512495.872340425531928.1276595744681
465864.0833333333333-6.08333333333333
476864.08333333333333.91666666666667
483726.357142857142910.6428571428571
499395.8723404255319-2.87234042553192
505650.33333333333335.66666666666666
518350.333333333333332.6666666666667
525950.33333333333338.66666666666666
5313395.872340425531937.1276595744681
5410695.872340425531910.1276595744681
557150.333333333333320.6666666666667
5611695.872340425531920.1276595744681
579895.87234042553192.12765957446808
586495.8723404255319-31.8723404255319
593250.3333333333333-18.3333333333333
602526.3571428571429-1.35714285714286
614695.8723404255319-49.8723404255319
626395.8723404255319-32.8723404255319
639595.8723404255319-0.872340425531917
6411395.872340425531917.1276595744681
6511195.872340425531915.1276595744681
6612095.872340425531924.1276595744681
678795.8723404255319-8.87234042553192
682526.3571428571429-1.35714285714286
6913195.872340425531935.1276595744681
704795.8723404255319-48.8723404255319
7110995.872340425531913.1276595744681
723726.357142857142910.6428571428571
731526.3571428571429-11.3571428571429
745450.33333333333333.66666666666666
751626.3571428571429-10.3571428571429
762250.3333333333333-28.3333333333333
773750.3333333333333-13.3333333333333
782926.35714285714292.64285714285714
795526.357142857142928.6428571428571
80526.3571428571429-21.3571428571429
81026.3571428571429-26.3571428571429
822764.0833333333333-37.0833333333333
833726.357142857142910.6428571428571
842926.35714285714292.64285714285714
851726.3571428571429-9.35714285714286

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 79 & 95.8723404255319 & -16.8723404255319 \tabularnewline
2 & 108 & 95.8723404255319 & 12.1276595744681 \tabularnewline
3 & 43 & 64.0833333333333 & -21.0833333333333 \tabularnewline
4 & 78 & 95.8723404255319 & -17.8723404255319 \tabularnewline
5 & 86 & 95.8723404255319 & -9.87234042553192 \tabularnewline
6 & 44 & 50.3333333333333 & -6.33333333333334 \tabularnewline
7 & 104 & 95.8723404255319 & 8.12765957446808 \tabularnewline
8 & 158 & 95.8723404255319 & 62.1276595744681 \tabularnewline
9 & 102 & 95.8723404255319 & 6.12765957446808 \tabularnewline
10 & 77 & 95.8723404255319 & -18.8723404255319 \tabularnewline
11 & 80 & 95.8723404255319 & -15.8723404255319 \tabularnewline
12 & 123 & 95.8723404255319 & 27.1276595744681 \tabularnewline
13 & 73 & 95.8723404255319 & -22.8723404255319 \tabularnewline
14 & 105 & 95.8723404255319 & 9.12765957446808 \tabularnewline
15 & 107 & 95.8723404255319 & 11.1276595744681 \tabularnewline
16 & 84 & 95.8723404255319 & -11.8723404255319 \tabularnewline
17 & 33 & 50.3333333333333 & -17.3333333333333 \tabularnewline
18 & 42 & 26.3571428571429 & 15.6428571428571 \tabularnewline
19 & 96 & 95.8723404255319 & 0.127659574468083 \tabularnewline
20 & 106 & 95.8723404255319 & 10.1276595744681 \tabularnewline
21 & 56 & 95.8723404255319 & -39.8723404255319 \tabularnewline
22 & 59 & 64.0833333333333 & -5.08333333333333 \tabularnewline
23 & 76 & 95.8723404255319 & -19.8723404255319 \tabularnewline
24 & 91 & 95.8723404255319 & -4.87234042553192 \tabularnewline
25 & 115 & 95.8723404255319 & 19.1276595744681 \tabularnewline
26 & 76 & 64.0833333333333 & 11.9166666666667 \tabularnewline
27 & 101 & 95.8723404255319 & 5.12765957446808 \tabularnewline
28 & 94 & 64.0833333333333 & 29.9166666666667 \tabularnewline
29 & 92 & 64.0833333333333 & 27.9166666666667 \tabularnewline
30 & 75 & 64.0833333333333 & 10.9166666666667 \tabularnewline
31 & 128 & 95.8723404255319 & 32.1276595744681 \tabularnewline
32 & 56 & 95.8723404255319 & -39.8723404255319 \tabularnewline
33 & 41 & 64.0833333333333 & -23.0833333333333 \tabularnewline
34 & 67 & 64.0833333333333 & 2.91666666666667 \tabularnewline
35 & 77 & 95.8723404255319 & -18.8723404255319 \tabularnewline
36 & 66 & 95.8723404255319 & -29.8723404255319 \tabularnewline
37 & 69 & 64.0833333333333 & 4.91666666666667 \tabularnewline
38 & 105 & 95.8723404255319 & 9.12765957446808 \tabularnewline
39 & 116 & 95.8723404255319 & 20.1276595744681 \tabularnewline
40 & 62 & 95.8723404255319 & -33.8723404255319 \tabularnewline
41 & 100 & 95.8723404255319 & 4.12765957446808 \tabularnewline
42 & 67 & 50.3333333333333 & 16.6666666666667 \tabularnewline
43 & 46 & 50.3333333333333 & -4.33333333333334 \tabularnewline
44 & 135 & 95.8723404255319 & 39.1276595744681 \tabularnewline
45 & 124 & 95.8723404255319 & 28.1276595744681 \tabularnewline
46 & 58 & 64.0833333333333 & -6.08333333333333 \tabularnewline
47 & 68 & 64.0833333333333 & 3.91666666666667 \tabularnewline
48 & 37 & 26.3571428571429 & 10.6428571428571 \tabularnewline
49 & 93 & 95.8723404255319 & -2.87234042553192 \tabularnewline
50 & 56 & 50.3333333333333 & 5.66666666666666 \tabularnewline
51 & 83 & 50.3333333333333 & 32.6666666666667 \tabularnewline
52 & 59 & 50.3333333333333 & 8.66666666666666 \tabularnewline
53 & 133 & 95.8723404255319 & 37.1276595744681 \tabularnewline
54 & 106 & 95.8723404255319 & 10.1276595744681 \tabularnewline
55 & 71 & 50.3333333333333 & 20.6666666666667 \tabularnewline
56 & 116 & 95.8723404255319 & 20.1276595744681 \tabularnewline
57 & 98 & 95.8723404255319 & 2.12765957446808 \tabularnewline
58 & 64 & 95.8723404255319 & -31.8723404255319 \tabularnewline
59 & 32 & 50.3333333333333 & -18.3333333333333 \tabularnewline
60 & 25 & 26.3571428571429 & -1.35714285714286 \tabularnewline
61 & 46 & 95.8723404255319 & -49.8723404255319 \tabularnewline
62 & 63 & 95.8723404255319 & -32.8723404255319 \tabularnewline
63 & 95 & 95.8723404255319 & -0.872340425531917 \tabularnewline
64 & 113 & 95.8723404255319 & 17.1276595744681 \tabularnewline
65 & 111 & 95.8723404255319 & 15.1276595744681 \tabularnewline
66 & 120 & 95.8723404255319 & 24.1276595744681 \tabularnewline
67 & 87 & 95.8723404255319 & -8.87234042553192 \tabularnewline
68 & 25 & 26.3571428571429 & -1.35714285714286 \tabularnewline
69 & 131 & 95.8723404255319 & 35.1276595744681 \tabularnewline
70 & 47 & 95.8723404255319 & -48.8723404255319 \tabularnewline
71 & 109 & 95.8723404255319 & 13.1276595744681 \tabularnewline
72 & 37 & 26.3571428571429 & 10.6428571428571 \tabularnewline
73 & 15 & 26.3571428571429 & -11.3571428571429 \tabularnewline
74 & 54 & 50.3333333333333 & 3.66666666666666 \tabularnewline
75 & 16 & 26.3571428571429 & -10.3571428571429 \tabularnewline
76 & 22 & 50.3333333333333 & -28.3333333333333 \tabularnewline
77 & 37 & 50.3333333333333 & -13.3333333333333 \tabularnewline
78 & 29 & 26.3571428571429 & 2.64285714285714 \tabularnewline
79 & 55 & 26.3571428571429 & 28.6428571428571 \tabularnewline
80 & 5 & 26.3571428571429 & -21.3571428571429 \tabularnewline
81 & 0 & 26.3571428571429 & -26.3571428571429 \tabularnewline
82 & 27 & 64.0833333333333 & -37.0833333333333 \tabularnewline
83 & 37 & 26.3571428571429 & 10.6428571428571 \tabularnewline
84 & 29 & 26.3571428571429 & 2.64285714285714 \tabularnewline
85 & 17 & 26.3571428571429 & -9.35714285714286 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=153981&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]79[/C][C]95.8723404255319[/C][C]-16.8723404255319[/C][/ROW]
[ROW][C]2[/C][C]108[/C][C]95.8723404255319[/C][C]12.1276595744681[/C][/ROW]
[ROW][C]3[/C][C]43[/C][C]64.0833333333333[/C][C]-21.0833333333333[/C][/ROW]
[ROW][C]4[/C][C]78[/C][C]95.8723404255319[/C][C]-17.8723404255319[/C][/ROW]
[ROW][C]5[/C][C]86[/C][C]95.8723404255319[/C][C]-9.87234042553192[/C][/ROW]
[ROW][C]6[/C][C]44[/C][C]50.3333333333333[/C][C]-6.33333333333334[/C][/ROW]
[ROW][C]7[/C][C]104[/C][C]95.8723404255319[/C][C]8.12765957446808[/C][/ROW]
[ROW][C]8[/C][C]158[/C][C]95.8723404255319[/C][C]62.1276595744681[/C][/ROW]
[ROW][C]9[/C][C]102[/C][C]95.8723404255319[/C][C]6.12765957446808[/C][/ROW]
[ROW][C]10[/C][C]77[/C][C]95.8723404255319[/C][C]-18.8723404255319[/C][/ROW]
[ROW][C]11[/C][C]80[/C][C]95.8723404255319[/C][C]-15.8723404255319[/C][/ROW]
[ROW][C]12[/C][C]123[/C][C]95.8723404255319[/C][C]27.1276595744681[/C][/ROW]
[ROW][C]13[/C][C]73[/C][C]95.8723404255319[/C][C]-22.8723404255319[/C][/ROW]
[ROW][C]14[/C][C]105[/C][C]95.8723404255319[/C][C]9.12765957446808[/C][/ROW]
[ROW][C]15[/C][C]107[/C][C]95.8723404255319[/C][C]11.1276595744681[/C][/ROW]
[ROW][C]16[/C][C]84[/C][C]95.8723404255319[/C][C]-11.8723404255319[/C][/ROW]
[ROW][C]17[/C][C]33[/C][C]50.3333333333333[/C][C]-17.3333333333333[/C][/ROW]
[ROW][C]18[/C][C]42[/C][C]26.3571428571429[/C][C]15.6428571428571[/C][/ROW]
[ROW][C]19[/C][C]96[/C][C]95.8723404255319[/C][C]0.127659574468083[/C][/ROW]
[ROW][C]20[/C][C]106[/C][C]95.8723404255319[/C][C]10.1276595744681[/C][/ROW]
[ROW][C]21[/C][C]56[/C][C]95.8723404255319[/C][C]-39.8723404255319[/C][/ROW]
[ROW][C]22[/C][C]59[/C][C]64.0833333333333[/C][C]-5.08333333333333[/C][/ROW]
[ROW][C]23[/C][C]76[/C][C]95.8723404255319[/C][C]-19.8723404255319[/C][/ROW]
[ROW][C]24[/C][C]91[/C][C]95.8723404255319[/C][C]-4.87234042553192[/C][/ROW]
[ROW][C]25[/C][C]115[/C][C]95.8723404255319[/C][C]19.1276595744681[/C][/ROW]
[ROW][C]26[/C][C]76[/C][C]64.0833333333333[/C][C]11.9166666666667[/C][/ROW]
[ROW][C]27[/C][C]101[/C][C]95.8723404255319[/C][C]5.12765957446808[/C][/ROW]
[ROW][C]28[/C][C]94[/C][C]64.0833333333333[/C][C]29.9166666666667[/C][/ROW]
[ROW][C]29[/C][C]92[/C][C]64.0833333333333[/C][C]27.9166666666667[/C][/ROW]
[ROW][C]30[/C][C]75[/C][C]64.0833333333333[/C][C]10.9166666666667[/C][/ROW]
[ROW][C]31[/C][C]128[/C][C]95.8723404255319[/C][C]32.1276595744681[/C][/ROW]
[ROW][C]32[/C][C]56[/C][C]95.8723404255319[/C][C]-39.8723404255319[/C][/ROW]
[ROW][C]33[/C][C]41[/C][C]64.0833333333333[/C][C]-23.0833333333333[/C][/ROW]
[ROW][C]34[/C][C]67[/C][C]64.0833333333333[/C][C]2.91666666666667[/C][/ROW]
[ROW][C]35[/C][C]77[/C][C]95.8723404255319[/C][C]-18.8723404255319[/C][/ROW]
[ROW][C]36[/C][C]66[/C][C]95.8723404255319[/C][C]-29.8723404255319[/C][/ROW]
[ROW][C]37[/C][C]69[/C][C]64.0833333333333[/C][C]4.91666666666667[/C][/ROW]
[ROW][C]38[/C][C]105[/C][C]95.8723404255319[/C][C]9.12765957446808[/C][/ROW]
[ROW][C]39[/C][C]116[/C][C]95.8723404255319[/C][C]20.1276595744681[/C][/ROW]
[ROW][C]40[/C][C]62[/C][C]95.8723404255319[/C][C]-33.8723404255319[/C][/ROW]
[ROW][C]41[/C][C]100[/C][C]95.8723404255319[/C][C]4.12765957446808[/C][/ROW]
[ROW][C]42[/C][C]67[/C][C]50.3333333333333[/C][C]16.6666666666667[/C][/ROW]
[ROW][C]43[/C][C]46[/C][C]50.3333333333333[/C][C]-4.33333333333334[/C][/ROW]
[ROW][C]44[/C][C]135[/C][C]95.8723404255319[/C][C]39.1276595744681[/C][/ROW]
[ROW][C]45[/C][C]124[/C][C]95.8723404255319[/C][C]28.1276595744681[/C][/ROW]
[ROW][C]46[/C][C]58[/C][C]64.0833333333333[/C][C]-6.08333333333333[/C][/ROW]
[ROW][C]47[/C][C]68[/C][C]64.0833333333333[/C][C]3.91666666666667[/C][/ROW]
[ROW][C]48[/C][C]37[/C][C]26.3571428571429[/C][C]10.6428571428571[/C][/ROW]
[ROW][C]49[/C][C]93[/C][C]95.8723404255319[/C][C]-2.87234042553192[/C][/ROW]
[ROW][C]50[/C][C]56[/C][C]50.3333333333333[/C][C]5.66666666666666[/C][/ROW]
[ROW][C]51[/C][C]83[/C][C]50.3333333333333[/C][C]32.6666666666667[/C][/ROW]
[ROW][C]52[/C][C]59[/C][C]50.3333333333333[/C][C]8.66666666666666[/C][/ROW]
[ROW][C]53[/C][C]133[/C][C]95.8723404255319[/C][C]37.1276595744681[/C][/ROW]
[ROW][C]54[/C][C]106[/C][C]95.8723404255319[/C][C]10.1276595744681[/C][/ROW]
[ROW][C]55[/C][C]71[/C][C]50.3333333333333[/C][C]20.6666666666667[/C][/ROW]
[ROW][C]56[/C][C]116[/C][C]95.8723404255319[/C][C]20.1276595744681[/C][/ROW]
[ROW][C]57[/C][C]98[/C][C]95.8723404255319[/C][C]2.12765957446808[/C][/ROW]
[ROW][C]58[/C][C]64[/C][C]95.8723404255319[/C][C]-31.8723404255319[/C][/ROW]
[ROW][C]59[/C][C]32[/C][C]50.3333333333333[/C][C]-18.3333333333333[/C][/ROW]
[ROW][C]60[/C][C]25[/C][C]26.3571428571429[/C][C]-1.35714285714286[/C][/ROW]
[ROW][C]61[/C][C]46[/C][C]95.8723404255319[/C][C]-49.8723404255319[/C][/ROW]
[ROW][C]62[/C][C]63[/C][C]95.8723404255319[/C][C]-32.8723404255319[/C][/ROW]
[ROW][C]63[/C][C]95[/C][C]95.8723404255319[/C][C]-0.872340425531917[/C][/ROW]
[ROW][C]64[/C][C]113[/C][C]95.8723404255319[/C][C]17.1276595744681[/C][/ROW]
[ROW][C]65[/C][C]111[/C][C]95.8723404255319[/C][C]15.1276595744681[/C][/ROW]
[ROW][C]66[/C][C]120[/C][C]95.8723404255319[/C][C]24.1276595744681[/C][/ROW]
[ROW][C]67[/C][C]87[/C][C]95.8723404255319[/C][C]-8.87234042553192[/C][/ROW]
[ROW][C]68[/C][C]25[/C][C]26.3571428571429[/C][C]-1.35714285714286[/C][/ROW]
[ROW][C]69[/C][C]131[/C][C]95.8723404255319[/C][C]35.1276595744681[/C][/ROW]
[ROW][C]70[/C][C]47[/C][C]95.8723404255319[/C][C]-48.8723404255319[/C][/ROW]
[ROW][C]71[/C][C]109[/C][C]95.8723404255319[/C][C]13.1276595744681[/C][/ROW]
[ROW][C]72[/C][C]37[/C][C]26.3571428571429[/C][C]10.6428571428571[/C][/ROW]
[ROW][C]73[/C][C]15[/C][C]26.3571428571429[/C][C]-11.3571428571429[/C][/ROW]
[ROW][C]74[/C][C]54[/C][C]50.3333333333333[/C][C]3.66666666666666[/C][/ROW]
[ROW][C]75[/C][C]16[/C][C]26.3571428571429[/C][C]-10.3571428571429[/C][/ROW]
[ROW][C]76[/C][C]22[/C][C]50.3333333333333[/C][C]-28.3333333333333[/C][/ROW]
[ROW][C]77[/C][C]37[/C][C]50.3333333333333[/C][C]-13.3333333333333[/C][/ROW]
[ROW][C]78[/C][C]29[/C][C]26.3571428571429[/C][C]2.64285714285714[/C][/ROW]
[ROW][C]79[/C][C]55[/C][C]26.3571428571429[/C][C]28.6428571428571[/C][/ROW]
[ROW][C]80[/C][C]5[/C][C]26.3571428571429[/C][C]-21.3571428571429[/C][/ROW]
[ROW][C]81[/C][C]0[/C][C]26.3571428571429[/C][C]-26.3571428571429[/C][/ROW]
[ROW][C]82[/C][C]27[/C][C]64.0833333333333[/C][C]-37.0833333333333[/C][/ROW]
[ROW][C]83[/C][C]37[/C][C]26.3571428571429[/C][C]10.6428571428571[/C][/ROW]
[ROW][C]84[/C][C]29[/C][C]26.3571428571429[/C][C]2.64285714285714[/C][/ROW]
[ROW][C]85[/C][C]17[/C][C]26.3571428571429[/C][C]-9.35714285714286[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=153981&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=153981&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
17995.8723404255319-16.8723404255319
210895.872340425531912.1276595744681
34364.0833333333333-21.0833333333333
47895.8723404255319-17.8723404255319
58695.8723404255319-9.87234042553192
64450.3333333333333-6.33333333333334
710495.87234042553198.12765957446808
815895.872340425531962.1276595744681
910295.87234042553196.12765957446808
107795.8723404255319-18.8723404255319
118095.8723404255319-15.8723404255319
1212395.872340425531927.1276595744681
137395.8723404255319-22.8723404255319
1410595.87234042553199.12765957446808
1510795.872340425531911.1276595744681
168495.8723404255319-11.8723404255319
173350.3333333333333-17.3333333333333
184226.357142857142915.6428571428571
199695.87234042553190.127659574468083
2010695.872340425531910.1276595744681
215695.8723404255319-39.8723404255319
225964.0833333333333-5.08333333333333
237695.8723404255319-19.8723404255319
249195.8723404255319-4.87234042553192
2511595.872340425531919.1276595744681
267664.083333333333311.9166666666667
2710195.87234042553195.12765957446808
289464.083333333333329.9166666666667
299264.083333333333327.9166666666667
307564.083333333333310.9166666666667
3112895.872340425531932.1276595744681
325695.8723404255319-39.8723404255319
334164.0833333333333-23.0833333333333
346764.08333333333332.91666666666667
357795.8723404255319-18.8723404255319
366695.8723404255319-29.8723404255319
376964.08333333333334.91666666666667
3810595.87234042553199.12765957446808
3911695.872340425531920.1276595744681
406295.8723404255319-33.8723404255319
4110095.87234042553194.12765957446808
426750.333333333333316.6666666666667
434650.3333333333333-4.33333333333334
4413595.872340425531939.1276595744681
4512495.872340425531928.1276595744681
465864.0833333333333-6.08333333333333
476864.08333333333333.91666666666667
483726.357142857142910.6428571428571
499395.8723404255319-2.87234042553192
505650.33333333333335.66666666666666
518350.333333333333332.6666666666667
525950.33333333333338.66666666666666
5313395.872340425531937.1276595744681
5410695.872340425531910.1276595744681
557150.333333333333320.6666666666667
5611695.872340425531920.1276595744681
579895.87234042553192.12765957446808
586495.8723404255319-31.8723404255319
593250.3333333333333-18.3333333333333
602526.3571428571429-1.35714285714286
614695.8723404255319-49.8723404255319
626395.8723404255319-32.8723404255319
639595.8723404255319-0.872340425531917
6411395.872340425531917.1276595744681
6511195.872340425531915.1276595744681
6612095.872340425531924.1276595744681
678795.8723404255319-8.87234042553192
682526.3571428571429-1.35714285714286
6913195.872340425531935.1276595744681
704795.8723404255319-48.8723404255319
7110995.872340425531913.1276595744681
723726.357142857142910.6428571428571
731526.3571428571429-11.3571428571429
745450.33333333333333.66666666666666
751626.3571428571429-10.3571428571429
762250.3333333333333-28.3333333333333
773750.3333333333333-13.3333333333333
782926.35714285714292.64285714285714
795526.357142857142928.6428571428571
80526.3571428571429-21.3571428571429
81026.3571428571429-26.3571428571429
822764.0833333333333-37.0833333333333
833726.357142857142910.6428571428571
842926.35714285714292.64285714285714
851726.3571428571429-9.35714285714286



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