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, 22 Dec 2011 11:14: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/22/t1324570519g39b050pmxd8chi.htm/, Retrieved Fri, 03 May 2024 06:12:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=159678, Retrieved Fri, 03 May 2024 06:12:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact81
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Kendall tau Correlation Matrix] [paper statistiek,...] [2011-12-19 15:59:25] [4b648d52023f19d55c572f0eddd72b1f]
- R P   [Kendall tau Correlation Matrix] [Paper Kendall Tau] [2011-12-19 16:21:41] [74be16979710d4c4e7c6647856088456]
- RMPD    [Multiple Regression] [Paper Mult. regre...] [2011-12-19 17:48:15] [25b6caf3839c2bdc14961e5bff2d6373]
-    D      [Multiple Regression] [PAPER - DEEL 3 - ...] [2011-12-21 23:46:47] [da10aa57c5e54f8a2ad733cadd93c4c3]
- RMPD          [Recursive Partitioning (Regression Trees)] [PAPER - DEEL 3 - ...] [2011-12-22 16:14:30] [e524eb56e6915a531809c7eb50783bc6] [Current]
Feedback Forum

Post a new message
Dataseries X:
210907	94	144
179321	103	135
149061	93	84
237213	123	130
173326	148	82
133131	90	60
258873	124	131
324799	168	140
230964	115	151
236785	71	91
344297	108	119
174724	120	123
174415	114	90
223632	120	113
294424	124	175
325107	126	96
106408	37	41
96560	38	47
265769	120	126
269651	93	105
149112	95	80
152871	90	73
362301	110	68
183167	138	127
277965	133	154
218946	96	112
244052	164	137
341570	78	135
233328	102	230
206161	99	71
311473	129	147
207176	114	105
196553	99	107
143246	104	116
182192	138	89
194979	151	84
167488	72	113
143756	120	120
275541	115	110
152299	98	78
193339	71	145
130585	107	91
112611	73	48
148446	129	150
182079	118	181
243060	104	121
162765	107	99
85574	36	40
225060	139	87
133328	56	66
100750	93	58
101523	87	77
243511	110	130
152474	83	101
132487	98	120
317394	82	195
244749	115	106
184510	140	83
128423	120	37
97839	66	77
172494	139	144
229242	119	95
351619	141	169
324598	133	134
195838	98	197
254488	117	140
199476	105	125
92499	55	21
224330	132	167
181633	73	96
271856	86	151
95227	48	23
98146	48	21
118612	43	90
65475	46	60
108446	65	26
121848	52	41
76302	68	35
98104	47	68
30989	41	6
31774	47	0
150580	71	41
54157	30	38
59382	24	47
84105	63	34




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=159678&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=159678&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159678&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.785
R-squared0.6163
RMSE49180.7391

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.785[/C][/ROW]
[ROW][C]R-squared[/C][C]0.6163[/C][/ROW]
[ROW][C]RMSE[/C][C]49180.7391[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159678&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159678&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.785
R-squared0.6163
RMSE49180.7391







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1210907248992.961538462-38085.9615384615
2179321248992.961538462-69671.9615384615
3149061166396.863636364-17335.8636363636
4237213248992.961538462-11779.9615384615
5173326229062.9375-55736.9375
6133131110415.07692307722715.9230769231
7258873248992.9615384629880.03846153847
8324799248992.96153846275806.0384615385
9230964248992.961538462-18028.9615384615
10236785166396.86363636470388.1363636364
11344297229062.9375115234.0625
12174724229062.9375-54338.9375
13174415229062.9375-54647.9375
14223632229062.9375-5430.9375
15294424248992.96153846245431.0384615385
16325107229062.937596044.0625
1710640866289.87540118.125
189656066289.87530270.125
19265769248992.96153846216776.0384615385
20269651166396.863636364103254.136363636
21149112166396.863636364-17284.8636363636
22152871166396.863636364-13525.8636363636
23362301229062.9375133238.0625
24183167248992.961538462-65825.9615384615
25277965248992.96153846228972.0384615385
26218946166396.86363636452549.1363636364
27244052248992.961538462-4940.96153846153
28341570248992.96153846292577.0384615385
29233328248992.961538462-15664.9615384615
30206161166396.86363636439764.1363636364
31311473248992.96153846262480.0384615385
32207176229062.9375-21886.9375
33196553166396.86363636430156.1363636364
34143246166396.863636364-23150.8636363636
35182192229062.9375-46870.9375
36194979229062.9375-34083.9375
37167488166396.8636363641091.13636363635
38143756229062.9375-85306.9375
39275541229062.937546478.0625
40152299166396.863636364-14097.8636363636
41193339248992.961538462-55653.9615384615
42130585166396.863636364-35811.8636363636
43112611110415.0769230772195.92307692308
44148446248992.961538462-100546.961538462
45182079248992.961538462-66913.9615384615
46243060166396.86363636476663.1363636364
47162765166396.863636364-3631.86363636365
488557466289.87519284.125
49225060229062.9375-4002.9375
50133328110415.07692307722912.9230769231
51100750110415.076923077-9665.07692307692
52101523166396.863636364-64873.8636363636
53243511248992.961538462-5481.96153846153
54152474166396.863636364-13922.8636363636
55132487166396.863636364-33909.8636363636
56317394248992.96153846268401.0384615385
57244749229062.937515686.0625
58184510229062.9375-44552.9375
59128423110415.07692307718007.9230769231
6097839166396.863636364-68557.8636363636
61172494248992.961538462-76498.9615384615
62229242229062.9375179.0625
63351619248992.961538462102626.038461538
64324598248992.96153846275605.0384615385
65195838248992.961538462-53154.9615384615
66254488248992.9615384625495.03846153847
67199476166396.86363636433079.1363636364
6892499110415.076923077-17916.0769230769
69224330248992.961538462-24662.9615384615
70181633166396.86363636415236.1363636364
71271856248992.96153846222863.0384615385
7295227110415.076923077-15188.0769230769
7398146110415.076923077-12269.0769230769
74118612166396.863636364-47784.8636363636
756547566289.875-814.875
76108446110415.076923077-1969.07692307692
77121848110415.07692307711432.9230769231
7876302110415.076923077-34113.0769230769
7998104166396.863636364-68292.8636363636
803098966289.875-35300.875
813177466289.875-34515.875
82150580110415.07692307740164.9230769231
835415766289.875-12132.875
845938266289.875-6907.875
8584105110415.076923077-26310.0769230769

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 210907 & 248992.961538462 & -38085.9615384615 \tabularnewline
2 & 179321 & 248992.961538462 & -69671.9615384615 \tabularnewline
3 & 149061 & 166396.863636364 & -17335.8636363636 \tabularnewline
4 & 237213 & 248992.961538462 & -11779.9615384615 \tabularnewline
5 & 173326 & 229062.9375 & -55736.9375 \tabularnewline
6 & 133131 & 110415.076923077 & 22715.9230769231 \tabularnewline
7 & 258873 & 248992.961538462 & 9880.03846153847 \tabularnewline
8 & 324799 & 248992.961538462 & 75806.0384615385 \tabularnewline
9 & 230964 & 248992.961538462 & -18028.9615384615 \tabularnewline
10 & 236785 & 166396.863636364 & 70388.1363636364 \tabularnewline
11 & 344297 & 229062.9375 & 115234.0625 \tabularnewline
12 & 174724 & 229062.9375 & -54338.9375 \tabularnewline
13 & 174415 & 229062.9375 & -54647.9375 \tabularnewline
14 & 223632 & 229062.9375 & -5430.9375 \tabularnewline
15 & 294424 & 248992.961538462 & 45431.0384615385 \tabularnewline
16 & 325107 & 229062.9375 & 96044.0625 \tabularnewline
17 & 106408 & 66289.875 & 40118.125 \tabularnewline
18 & 96560 & 66289.875 & 30270.125 \tabularnewline
19 & 265769 & 248992.961538462 & 16776.0384615385 \tabularnewline
20 & 269651 & 166396.863636364 & 103254.136363636 \tabularnewline
21 & 149112 & 166396.863636364 & -17284.8636363636 \tabularnewline
22 & 152871 & 166396.863636364 & -13525.8636363636 \tabularnewline
23 & 362301 & 229062.9375 & 133238.0625 \tabularnewline
24 & 183167 & 248992.961538462 & -65825.9615384615 \tabularnewline
25 & 277965 & 248992.961538462 & 28972.0384615385 \tabularnewline
26 & 218946 & 166396.863636364 & 52549.1363636364 \tabularnewline
27 & 244052 & 248992.961538462 & -4940.96153846153 \tabularnewline
28 & 341570 & 248992.961538462 & 92577.0384615385 \tabularnewline
29 & 233328 & 248992.961538462 & -15664.9615384615 \tabularnewline
30 & 206161 & 166396.863636364 & 39764.1363636364 \tabularnewline
31 & 311473 & 248992.961538462 & 62480.0384615385 \tabularnewline
32 & 207176 & 229062.9375 & -21886.9375 \tabularnewline
33 & 196553 & 166396.863636364 & 30156.1363636364 \tabularnewline
34 & 143246 & 166396.863636364 & -23150.8636363636 \tabularnewline
35 & 182192 & 229062.9375 & -46870.9375 \tabularnewline
36 & 194979 & 229062.9375 & -34083.9375 \tabularnewline
37 & 167488 & 166396.863636364 & 1091.13636363635 \tabularnewline
38 & 143756 & 229062.9375 & -85306.9375 \tabularnewline
39 & 275541 & 229062.9375 & 46478.0625 \tabularnewline
40 & 152299 & 166396.863636364 & -14097.8636363636 \tabularnewline
41 & 193339 & 248992.961538462 & -55653.9615384615 \tabularnewline
42 & 130585 & 166396.863636364 & -35811.8636363636 \tabularnewline
43 & 112611 & 110415.076923077 & 2195.92307692308 \tabularnewline
44 & 148446 & 248992.961538462 & -100546.961538462 \tabularnewline
45 & 182079 & 248992.961538462 & -66913.9615384615 \tabularnewline
46 & 243060 & 166396.863636364 & 76663.1363636364 \tabularnewline
47 & 162765 & 166396.863636364 & -3631.86363636365 \tabularnewline
48 & 85574 & 66289.875 & 19284.125 \tabularnewline
49 & 225060 & 229062.9375 & -4002.9375 \tabularnewline
50 & 133328 & 110415.076923077 & 22912.9230769231 \tabularnewline
51 & 100750 & 110415.076923077 & -9665.07692307692 \tabularnewline
52 & 101523 & 166396.863636364 & -64873.8636363636 \tabularnewline
53 & 243511 & 248992.961538462 & -5481.96153846153 \tabularnewline
54 & 152474 & 166396.863636364 & -13922.8636363636 \tabularnewline
55 & 132487 & 166396.863636364 & -33909.8636363636 \tabularnewline
56 & 317394 & 248992.961538462 & 68401.0384615385 \tabularnewline
57 & 244749 & 229062.9375 & 15686.0625 \tabularnewline
58 & 184510 & 229062.9375 & -44552.9375 \tabularnewline
59 & 128423 & 110415.076923077 & 18007.9230769231 \tabularnewline
60 & 97839 & 166396.863636364 & -68557.8636363636 \tabularnewline
61 & 172494 & 248992.961538462 & -76498.9615384615 \tabularnewline
62 & 229242 & 229062.9375 & 179.0625 \tabularnewline
63 & 351619 & 248992.961538462 & 102626.038461538 \tabularnewline
64 & 324598 & 248992.961538462 & 75605.0384615385 \tabularnewline
65 & 195838 & 248992.961538462 & -53154.9615384615 \tabularnewline
66 & 254488 & 248992.961538462 & 5495.03846153847 \tabularnewline
67 & 199476 & 166396.863636364 & 33079.1363636364 \tabularnewline
68 & 92499 & 110415.076923077 & -17916.0769230769 \tabularnewline
69 & 224330 & 248992.961538462 & -24662.9615384615 \tabularnewline
70 & 181633 & 166396.863636364 & 15236.1363636364 \tabularnewline
71 & 271856 & 248992.961538462 & 22863.0384615385 \tabularnewline
72 & 95227 & 110415.076923077 & -15188.0769230769 \tabularnewline
73 & 98146 & 110415.076923077 & -12269.0769230769 \tabularnewline
74 & 118612 & 166396.863636364 & -47784.8636363636 \tabularnewline
75 & 65475 & 66289.875 & -814.875 \tabularnewline
76 & 108446 & 110415.076923077 & -1969.07692307692 \tabularnewline
77 & 121848 & 110415.076923077 & 11432.9230769231 \tabularnewline
78 & 76302 & 110415.076923077 & -34113.0769230769 \tabularnewline
79 & 98104 & 166396.863636364 & -68292.8636363636 \tabularnewline
80 & 30989 & 66289.875 & -35300.875 \tabularnewline
81 & 31774 & 66289.875 & -34515.875 \tabularnewline
82 & 150580 & 110415.076923077 & 40164.9230769231 \tabularnewline
83 & 54157 & 66289.875 & -12132.875 \tabularnewline
84 & 59382 & 66289.875 & -6907.875 \tabularnewline
85 & 84105 & 110415.076923077 & -26310.0769230769 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159678&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]248992.961538462[/C][C]-38085.9615384615[/C][/ROW]
[ROW][C]2[/C][C]179321[/C][C]248992.961538462[/C][C]-69671.9615384615[/C][/ROW]
[ROW][C]3[/C][C]149061[/C][C]166396.863636364[/C][C]-17335.8636363636[/C][/ROW]
[ROW][C]4[/C][C]237213[/C][C]248992.961538462[/C][C]-11779.9615384615[/C][/ROW]
[ROW][C]5[/C][C]173326[/C][C]229062.9375[/C][C]-55736.9375[/C][/ROW]
[ROW][C]6[/C][C]133131[/C][C]110415.076923077[/C][C]22715.9230769231[/C][/ROW]
[ROW][C]7[/C][C]258873[/C][C]248992.961538462[/C][C]9880.03846153847[/C][/ROW]
[ROW][C]8[/C][C]324799[/C][C]248992.961538462[/C][C]75806.0384615385[/C][/ROW]
[ROW][C]9[/C][C]230964[/C][C]248992.961538462[/C][C]-18028.9615384615[/C][/ROW]
[ROW][C]10[/C][C]236785[/C][C]166396.863636364[/C][C]70388.1363636364[/C][/ROW]
[ROW][C]11[/C][C]344297[/C][C]229062.9375[/C][C]115234.0625[/C][/ROW]
[ROW][C]12[/C][C]174724[/C][C]229062.9375[/C][C]-54338.9375[/C][/ROW]
[ROW][C]13[/C][C]174415[/C][C]229062.9375[/C][C]-54647.9375[/C][/ROW]
[ROW][C]14[/C][C]223632[/C][C]229062.9375[/C][C]-5430.9375[/C][/ROW]
[ROW][C]15[/C][C]294424[/C][C]248992.961538462[/C][C]45431.0384615385[/C][/ROW]
[ROW][C]16[/C][C]325107[/C][C]229062.9375[/C][C]96044.0625[/C][/ROW]
[ROW][C]17[/C][C]106408[/C][C]66289.875[/C][C]40118.125[/C][/ROW]
[ROW][C]18[/C][C]96560[/C][C]66289.875[/C][C]30270.125[/C][/ROW]
[ROW][C]19[/C][C]265769[/C][C]248992.961538462[/C][C]16776.0384615385[/C][/ROW]
[ROW][C]20[/C][C]269651[/C][C]166396.863636364[/C][C]103254.136363636[/C][/ROW]
[ROW][C]21[/C][C]149112[/C][C]166396.863636364[/C][C]-17284.8636363636[/C][/ROW]
[ROW][C]22[/C][C]152871[/C][C]166396.863636364[/C][C]-13525.8636363636[/C][/ROW]
[ROW][C]23[/C][C]362301[/C][C]229062.9375[/C][C]133238.0625[/C][/ROW]
[ROW][C]24[/C][C]183167[/C][C]248992.961538462[/C][C]-65825.9615384615[/C][/ROW]
[ROW][C]25[/C][C]277965[/C][C]248992.961538462[/C][C]28972.0384615385[/C][/ROW]
[ROW][C]26[/C][C]218946[/C][C]166396.863636364[/C][C]52549.1363636364[/C][/ROW]
[ROW][C]27[/C][C]244052[/C][C]248992.961538462[/C][C]-4940.96153846153[/C][/ROW]
[ROW][C]28[/C][C]341570[/C][C]248992.961538462[/C][C]92577.0384615385[/C][/ROW]
[ROW][C]29[/C][C]233328[/C][C]248992.961538462[/C][C]-15664.9615384615[/C][/ROW]
[ROW][C]30[/C][C]206161[/C][C]166396.863636364[/C][C]39764.1363636364[/C][/ROW]
[ROW][C]31[/C][C]311473[/C][C]248992.961538462[/C][C]62480.0384615385[/C][/ROW]
[ROW][C]32[/C][C]207176[/C][C]229062.9375[/C][C]-21886.9375[/C][/ROW]
[ROW][C]33[/C][C]196553[/C][C]166396.863636364[/C][C]30156.1363636364[/C][/ROW]
[ROW][C]34[/C][C]143246[/C][C]166396.863636364[/C][C]-23150.8636363636[/C][/ROW]
[ROW][C]35[/C][C]182192[/C][C]229062.9375[/C][C]-46870.9375[/C][/ROW]
[ROW][C]36[/C][C]194979[/C][C]229062.9375[/C][C]-34083.9375[/C][/ROW]
[ROW][C]37[/C][C]167488[/C][C]166396.863636364[/C][C]1091.13636363635[/C][/ROW]
[ROW][C]38[/C][C]143756[/C][C]229062.9375[/C][C]-85306.9375[/C][/ROW]
[ROW][C]39[/C][C]275541[/C][C]229062.9375[/C][C]46478.0625[/C][/ROW]
[ROW][C]40[/C][C]152299[/C][C]166396.863636364[/C][C]-14097.8636363636[/C][/ROW]
[ROW][C]41[/C][C]193339[/C][C]248992.961538462[/C][C]-55653.9615384615[/C][/ROW]
[ROW][C]42[/C][C]130585[/C][C]166396.863636364[/C][C]-35811.8636363636[/C][/ROW]
[ROW][C]43[/C][C]112611[/C][C]110415.076923077[/C][C]2195.92307692308[/C][/ROW]
[ROW][C]44[/C][C]148446[/C][C]248992.961538462[/C][C]-100546.961538462[/C][/ROW]
[ROW][C]45[/C][C]182079[/C][C]248992.961538462[/C][C]-66913.9615384615[/C][/ROW]
[ROW][C]46[/C][C]243060[/C][C]166396.863636364[/C][C]76663.1363636364[/C][/ROW]
[ROW][C]47[/C][C]162765[/C][C]166396.863636364[/C][C]-3631.86363636365[/C][/ROW]
[ROW][C]48[/C][C]85574[/C][C]66289.875[/C][C]19284.125[/C][/ROW]
[ROW][C]49[/C][C]225060[/C][C]229062.9375[/C][C]-4002.9375[/C][/ROW]
[ROW][C]50[/C][C]133328[/C][C]110415.076923077[/C][C]22912.9230769231[/C][/ROW]
[ROW][C]51[/C][C]100750[/C][C]110415.076923077[/C][C]-9665.07692307692[/C][/ROW]
[ROW][C]52[/C][C]101523[/C][C]166396.863636364[/C][C]-64873.8636363636[/C][/ROW]
[ROW][C]53[/C][C]243511[/C][C]248992.961538462[/C][C]-5481.96153846153[/C][/ROW]
[ROW][C]54[/C][C]152474[/C][C]166396.863636364[/C][C]-13922.8636363636[/C][/ROW]
[ROW][C]55[/C][C]132487[/C][C]166396.863636364[/C][C]-33909.8636363636[/C][/ROW]
[ROW][C]56[/C][C]317394[/C][C]248992.961538462[/C][C]68401.0384615385[/C][/ROW]
[ROW][C]57[/C][C]244749[/C][C]229062.9375[/C][C]15686.0625[/C][/ROW]
[ROW][C]58[/C][C]184510[/C][C]229062.9375[/C][C]-44552.9375[/C][/ROW]
[ROW][C]59[/C][C]128423[/C][C]110415.076923077[/C][C]18007.9230769231[/C][/ROW]
[ROW][C]60[/C][C]97839[/C][C]166396.863636364[/C][C]-68557.8636363636[/C][/ROW]
[ROW][C]61[/C][C]172494[/C][C]248992.961538462[/C][C]-76498.9615384615[/C][/ROW]
[ROW][C]62[/C][C]229242[/C][C]229062.9375[/C][C]179.0625[/C][/ROW]
[ROW][C]63[/C][C]351619[/C][C]248992.961538462[/C][C]102626.038461538[/C][/ROW]
[ROW][C]64[/C][C]324598[/C][C]248992.961538462[/C][C]75605.0384615385[/C][/ROW]
[ROW][C]65[/C][C]195838[/C][C]248992.961538462[/C][C]-53154.9615384615[/C][/ROW]
[ROW][C]66[/C][C]254488[/C][C]248992.961538462[/C][C]5495.03846153847[/C][/ROW]
[ROW][C]67[/C][C]199476[/C][C]166396.863636364[/C][C]33079.1363636364[/C][/ROW]
[ROW][C]68[/C][C]92499[/C][C]110415.076923077[/C][C]-17916.0769230769[/C][/ROW]
[ROW][C]69[/C][C]224330[/C][C]248992.961538462[/C][C]-24662.9615384615[/C][/ROW]
[ROW][C]70[/C][C]181633[/C][C]166396.863636364[/C][C]15236.1363636364[/C][/ROW]
[ROW][C]71[/C][C]271856[/C][C]248992.961538462[/C][C]22863.0384615385[/C][/ROW]
[ROW][C]72[/C][C]95227[/C][C]110415.076923077[/C][C]-15188.0769230769[/C][/ROW]
[ROW][C]73[/C][C]98146[/C][C]110415.076923077[/C][C]-12269.0769230769[/C][/ROW]
[ROW][C]74[/C][C]118612[/C][C]166396.863636364[/C][C]-47784.8636363636[/C][/ROW]
[ROW][C]75[/C][C]65475[/C][C]66289.875[/C][C]-814.875[/C][/ROW]
[ROW][C]76[/C][C]108446[/C][C]110415.076923077[/C][C]-1969.07692307692[/C][/ROW]
[ROW][C]77[/C][C]121848[/C][C]110415.076923077[/C][C]11432.9230769231[/C][/ROW]
[ROW][C]78[/C][C]76302[/C][C]110415.076923077[/C][C]-34113.0769230769[/C][/ROW]
[ROW][C]79[/C][C]98104[/C][C]166396.863636364[/C][C]-68292.8636363636[/C][/ROW]
[ROW][C]80[/C][C]30989[/C][C]66289.875[/C][C]-35300.875[/C][/ROW]
[ROW][C]81[/C][C]31774[/C][C]66289.875[/C][C]-34515.875[/C][/ROW]
[ROW][C]82[/C][C]150580[/C][C]110415.076923077[/C][C]40164.9230769231[/C][/ROW]
[ROW][C]83[/C][C]54157[/C][C]66289.875[/C][C]-12132.875[/C][/ROW]
[ROW][C]84[/C][C]59382[/C][C]66289.875[/C][C]-6907.875[/C][/ROW]
[ROW][C]85[/C][C]84105[/C][C]110415.076923077[/C][C]-26310.0769230769[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159678&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159678&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
1210907248992.961538462-38085.9615384615
2179321248992.961538462-69671.9615384615
3149061166396.863636364-17335.8636363636
4237213248992.961538462-11779.9615384615
5173326229062.9375-55736.9375
6133131110415.07692307722715.9230769231
7258873248992.9615384629880.03846153847
8324799248992.96153846275806.0384615385
9230964248992.961538462-18028.9615384615
10236785166396.86363636470388.1363636364
11344297229062.9375115234.0625
12174724229062.9375-54338.9375
13174415229062.9375-54647.9375
14223632229062.9375-5430.9375
15294424248992.96153846245431.0384615385
16325107229062.937596044.0625
1710640866289.87540118.125
189656066289.87530270.125
19265769248992.96153846216776.0384615385
20269651166396.863636364103254.136363636
21149112166396.863636364-17284.8636363636
22152871166396.863636364-13525.8636363636
23362301229062.9375133238.0625
24183167248992.961538462-65825.9615384615
25277965248992.96153846228972.0384615385
26218946166396.86363636452549.1363636364
27244052248992.961538462-4940.96153846153
28341570248992.96153846292577.0384615385
29233328248992.961538462-15664.9615384615
30206161166396.86363636439764.1363636364
31311473248992.96153846262480.0384615385
32207176229062.9375-21886.9375
33196553166396.86363636430156.1363636364
34143246166396.863636364-23150.8636363636
35182192229062.9375-46870.9375
36194979229062.9375-34083.9375
37167488166396.8636363641091.13636363635
38143756229062.9375-85306.9375
39275541229062.937546478.0625
40152299166396.863636364-14097.8636363636
41193339248992.961538462-55653.9615384615
42130585166396.863636364-35811.8636363636
43112611110415.0769230772195.92307692308
44148446248992.961538462-100546.961538462
45182079248992.961538462-66913.9615384615
46243060166396.86363636476663.1363636364
47162765166396.863636364-3631.86363636365
488557466289.87519284.125
49225060229062.9375-4002.9375
50133328110415.07692307722912.9230769231
51100750110415.076923077-9665.07692307692
52101523166396.863636364-64873.8636363636
53243511248992.961538462-5481.96153846153
54152474166396.863636364-13922.8636363636
55132487166396.863636364-33909.8636363636
56317394248992.96153846268401.0384615385
57244749229062.937515686.0625
58184510229062.9375-44552.9375
59128423110415.07692307718007.9230769231
6097839166396.863636364-68557.8636363636
61172494248992.961538462-76498.9615384615
62229242229062.9375179.0625
63351619248992.961538462102626.038461538
64324598248992.96153846275605.0384615385
65195838248992.961538462-53154.9615384615
66254488248992.9615384625495.03846153847
67199476166396.86363636433079.1363636364
6892499110415.076923077-17916.0769230769
69224330248992.961538462-24662.9615384615
70181633166396.86363636415236.1363636364
71271856248992.96153846222863.0384615385
7295227110415.076923077-15188.0769230769
7398146110415.076923077-12269.0769230769
74118612166396.863636364-47784.8636363636
756547566289.875-814.875
76108446110415.076923077-1969.07692307692
77121848110415.07692307711432.9230769231
7876302110415.076923077-34113.0769230769
7998104166396.863636364-68292.8636363636
803098966289.875-35300.875
813177466289.875-34515.875
82150580110415.07692307740164.9230769231
835415766289.875-12132.875
845938266289.875-6907.875
8584105110415.076923077-26310.0769230769



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