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, 13 Dec 2010 21:09:30 +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/13/t12922744695c05wdw5wpk3bsr.htm/, Retrieved Mon, 06 May 2024 14:48:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=109207, Retrieved Mon, 06 May 2024 14:48:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact225
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 19:50:12] [b98453cac15ba1066b407e146608df68]
-   PD  [Recursive Partitioning (Regression Trees)] [WS 10 Recursive P...] [2010-12-09 17:50:36] [2099aacba481f75a7f949aa310cab952]
F   PD    [Recursive Partitioning (Regression Trees)] [Recursive Partiti...] [2010-12-13 21:06:08] [608064602fec1c42028cf50c6f981c88]
F             [Recursive Partitioning (Regression Trees)] [Recursive Partiti...] [2010-12-13 21:09:30] [8bf9de033bd61652831a8b7489bc3566] [Current]
-   P           [Recursive Partitioning (Regression Trees)] [verbetering WS10] [2010-12-18 12:54:00] [c7506ced21a6c0dca45d37c8a93c80e0]
Feedback Forum
2010-12-18 12:47:18 [00c625c7d009d84797af914265b614f9] [reply
Hoge R-squared 0.7681, dit is een groot verschil met de R-squared waarde bij multiple regression.
De bel 20 heeft de hoogste koers als de goudprijs tussen 15305 en 17032 ligt. De bel 20 heeft de laagste koers als de goudprijs hoger is dan 18584.

Post a new message
Dataseries X:
2649.2	31077	
2579.4	31293	
2504.6	30236	
2462.3	30160	
2467.4	32436	
2446.7	30695	
2656.3	27525	
2626.2	26434	
2482.6	25739	
2539.9	25204	
2502.7	24977	
2466.9	24320	
2513.2	22680	
2443.3	22052	
2293.4	21467	
2070.8	21383	
2029.6	21777	
2052 	21928	
1864.4	21814	
1670.1	22937	
1811 	 23595	
1905.4	20830	
1862.8	19650
2014.5	19195	
2197.8	19644	
2962.3	18483	
3047 	 18079	
3032.6	19178	
3504.4	18391	
3801.1	18441	
3857.6	18584	
3674.4	20108	
3721 	20148	
3844.5	19394	
4116.7	17745	
4105.2	17696	
4435.2	17032	
4296.5	16438	
4202.5	15683	
4562.8	15594	
4621.4	15713	
4697 	 15937	
4591.3	16171	
4357 	 15928	
4502.6	16348	
4443.9	15579	
4290.9	15305
4199.8	15648	
4138.5	14954	
3970.1	15137	
3862.3	15839	
3701.6	16050	
3570.12 	15168 	
3801.06 	17064 	
3895.51 	16005 	
3917.96 	14886 	
3813.06 	14931 	
3667.03 	14544 	
3494.17 	13812 	
3364	 13031	
3295.3	12574	
3277.0	11964	
3257.2	11451	
3161.7	11346	
3097.3	11353	
3061.3	10702	
3119.3	10646	
3106.22 	10556 	
3080.58 	10463 	
2981.85 	10407 	




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109207&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109207&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109207&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 time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Goodness of Fit
Correlation0.8764
R-squared0.7681
RMSE405.7911

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.8764[/C][/ROW]
[ROW][C]R-squared[/C][C]0.7681[/C][/ROW]
[ROW][C]RMSE[/C][C]405.7911[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109207&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109207&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.8764
R-squared0.7681
RMSE405.7911







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
12649.22461.55172413793187.648275862069
22579.42461.55172413793117.848275862069
32504.62461.5517241379343.0482758620687
42462.32461.551724137930.748275862069022
52467.42461.551724137935.84827586206893
62446.72461.55172413793-14.8517241379313
72656.32461.55172413793194.748275862069
82626.22461.55172413793164.648275862069
92482.62461.5517241379321.0482758620687
102539.92461.5517241379378.348275862069
112502.72461.5517241379341.1482758620687
122466.92461.551724137935.34827586206893
132513.22461.5517241379351.6482758620687
142443.32461.55172413793-18.2517241379310
152293.42461.55172413793-168.151724137931
162070.82461.55172413793-390.751724137931
172029.62461.55172413793-431.951724137931
1820522461.55172413793-409.551724137931
191864.42461.55172413793-597.151724137931
201670.12461.55172413793-791.451724137931
2118112461.55172413793-650.551724137931
221905.42461.55172413793-556.151724137931
231862.82461.55172413793-598.751724137931
242014.52461.55172413793-447.051724137931
252197.82461.55172413793-263.751724137931
262962.33649.42-687.12
2730473649.42-602.42
283032.62461.55172413793571.048275862069
293504.43649.42-145.02
303801.13649.42151.680000000000
313857.63649.42208.18
323674.42461.551724137931212.84827586207
3337212461.551724137931259.44827586207
343844.52461.551724137931382.94827586207
354116.73649.42467.28
364105.23649.42455.78
374435.24312.10071428571123.099285714286
384296.54312.10071428571-15.6007142857143
394202.54312.10071428571-109.600714285714
404562.84312.10071428571250.699285714286
414621.44312.10071428571309.299285714285
4246974312.10071428571384.899285714286
434591.34312.10071428571279.199285714286
4443574312.1007142857144.8992857142857
454502.64312.10071428571190.499285714286
464443.94312.10071428571131.799285714285
474290.93909.66714285714381.232857142857
484199.84312.10071428571-112.300714285714
494138.53909.66714285714228.832857142857
503970.13909.6671428571460.4328571428573
513862.34312.10071428571-449.800714285714
523701.64312.10071428571-610.500714285714
533570.123909.66714285714-339.547142857143
543801.063649.42151.64
553895.514312.10071428571-416.590714285714
563917.963909.667142857148.29285714285743
573813.063909.66714285714-96.6071428571427
583667.033909.66714285714-242.637142857142
593494.173191.32666666667302.843333333333
6033643191.32666666667172.673333333333
613295.33191.32666666667103.973333333333
6232773191.3266666666785.6733333333332
633257.23191.3266666666765.873333333333
643161.73191.32666666667-29.626666666667
653097.33191.32666666667-94.0266666666666
663061.33191.32666666667-130.026666666667
673119.33191.32666666667-72.0266666666666
683106.223191.32666666667-85.106666666667
693080.583191.32666666667-110.746666666667
702981.853191.32666666667-209.476666666667

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 2649.2 & 2461.55172413793 & 187.648275862069 \tabularnewline
2 & 2579.4 & 2461.55172413793 & 117.848275862069 \tabularnewline
3 & 2504.6 & 2461.55172413793 & 43.0482758620687 \tabularnewline
4 & 2462.3 & 2461.55172413793 & 0.748275862069022 \tabularnewline
5 & 2467.4 & 2461.55172413793 & 5.84827586206893 \tabularnewline
6 & 2446.7 & 2461.55172413793 & -14.8517241379313 \tabularnewline
7 & 2656.3 & 2461.55172413793 & 194.748275862069 \tabularnewline
8 & 2626.2 & 2461.55172413793 & 164.648275862069 \tabularnewline
9 & 2482.6 & 2461.55172413793 & 21.0482758620687 \tabularnewline
10 & 2539.9 & 2461.55172413793 & 78.348275862069 \tabularnewline
11 & 2502.7 & 2461.55172413793 & 41.1482758620687 \tabularnewline
12 & 2466.9 & 2461.55172413793 & 5.34827586206893 \tabularnewline
13 & 2513.2 & 2461.55172413793 & 51.6482758620687 \tabularnewline
14 & 2443.3 & 2461.55172413793 & -18.2517241379310 \tabularnewline
15 & 2293.4 & 2461.55172413793 & -168.151724137931 \tabularnewline
16 & 2070.8 & 2461.55172413793 & -390.751724137931 \tabularnewline
17 & 2029.6 & 2461.55172413793 & -431.951724137931 \tabularnewline
18 & 2052 & 2461.55172413793 & -409.551724137931 \tabularnewline
19 & 1864.4 & 2461.55172413793 & -597.151724137931 \tabularnewline
20 & 1670.1 & 2461.55172413793 & -791.451724137931 \tabularnewline
21 & 1811 & 2461.55172413793 & -650.551724137931 \tabularnewline
22 & 1905.4 & 2461.55172413793 & -556.151724137931 \tabularnewline
23 & 1862.8 & 2461.55172413793 & -598.751724137931 \tabularnewline
24 & 2014.5 & 2461.55172413793 & -447.051724137931 \tabularnewline
25 & 2197.8 & 2461.55172413793 & -263.751724137931 \tabularnewline
26 & 2962.3 & 3649.42 & -687.12 \tabularnewline
27 & 3047 & 3649.42 & -602.42 \tabularnewline
28 & 3032.6 & 2461.55172413793 & 571.048275862069 \tabularnewline
29 & 3504.4 & 3649.42 & -145.02 \tabularnewline
30 & 3801.1 & 3649.42 & 151.680000000000 \tabularnewline
31 & 3857.6 & 3649.42 & 208.18 \tabularnewline
32 & 3674.4 & 2461.55172413793 & 1212.84827586207 \tabularnewline
33 & 3721 & 2461.55172413793 & 1259.44827586207 \tabularnewline
34 & 3844.5 & 2461.55172413793 & 1382.94827586207 \tabularnewline
35 & 4116.7 & 3649.42 & 467.28 \tabularnewline
36 & 4105.2 & 3649.42 & 455.78 \tabularnewline
37 & 4435.2 & 4312.10071428571 & 123.099285714286 \tabularnewline
38 & 4296.5 & 4312.10071428571 & -15.6007142857143 \tabularnewline
39 & 4202.5 & 4312.10071428571 & -109.600714285714 \tabularnewline
40 & 4562.8 & 4312.10071428571 & 250.699285714286 \tabularnewline
41 & 4621.4 & 4312.10071428571 & 309.299285714285 \tabularnewline
42 & 4697 & 4312.10071428571 & 384.899285714286 \tabularnewline
43 & 4591.3 & 4312.10071428571 & 279.199285714286 \tabularnewline
44 & 4357 & 4312.10071428571 & 44.8992857142857 \tabularnewline
45 & 4502.6 & 4312.10071428571 & 190.499285714286 \tabularnewline
46 & 4443.9 & 4312.10071428571 & 131.799285714285 \tabularnewline
47 & 4290.9 & 3909.66714285714 & 381.232857142857 \tabularnewline
48 & 4199.8 & 4312.10071428571 & -112.300714285714 \tabularnewline
49 & 4138.5 & 3909.66714285714 & 228.832857142857 \tabularnewline
50 & 3970.1 & 3909.66714285714 & 60.4328571428573 \tabularnewline
51 & 3862.3 & 4312.10071428571 & -449.800714285714 \tabularnewline
52 & 3701.6 & 4312.10071428571 & -610.500714285714 \tabularnewline
53 & 3570.12 & 3909.66714285714 & -339.547142857143 \tabularnewline
54 & 3801.06 & 3649.42 & 151.64 \tabularnewline
55 & 3895.51 & 4312.10071428571 & -416.590714285714 \tabularnewline
56 & 3917.96 & 3909.66714285714 & 8.29285714285743 \tabularnewline
57 & 3813.06 & 3909.66714285714 & -96.6071428571427 \tabularnewline
58 & 3667.03 & 3909.66714285714 & -242.637142857142 \tabularnewline
59 & 3494.17 & 3191.32666666667 & 302.843333333333 \tabularnewline
60 & 3364 & 3191.32666666667 & 172.673333333333 \tabularnewline
61 & 3295.3 & 3191.32666666667 & 103.973333333333 \tabularnewline
62 & 3277 & 3191.32666666667 & 85.6733333333332 \tabularnewline
63 & 3257.2 & 3191.32666666667 & 65.873333333333 \tabularnewline
64 & 3161.7 & 3191.32666666667 & -29.626666666667 \tabularnewline
65 & 3097.3 & 3191.32666666667 & -94.0266666666666 \tabularnewline
66 & 3061.3 & 3191.32666666667 & -130.026666666667 \tabularnewline
67 & 3119.3 & 3191.32666666667 & -72.0266666666666 \tabularnewline
68 & 3106.22 & 3191.32666666667 & -85.106666666667 \tabularnewline
69 & 3080.58 & 3191.32666666667 & -110.746666666667 \tabularnewline
70 & 2981.85 & 3191.32666666667 & -209.476666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109207&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]2649.2[/C][C]2461.55172413793[/C][C]187.648275862069[/C][/ROW]
[ROW][C]2[/C][C]2579.4[/C][C]2461.55172413793[/C][C]117.848275862069[/C][/ROW]
[ROW][C]3[/C][C]2504.6[/C][C]2461.55172413793[/C][C]43.0482758620687[/C][/ROW]
[ROW][C]4[/C][C]2462.3[/C][C]2461.55172413793[/C][C]0.748275862069022[/C][/ROW]
[ROW][C]5[/C][C]2467.4[/C][C]2461.55172413793[/C][C]5.84827586206893[/C][/ROW]
[ROW][C]6[/C][C]2446.7[/C][C]2461.55172413793[/C][C]-14.8517241379313[/C][/ROW]
[ROW][C]7[/C][C]2656.3[/C][C]2461.55172413793[/C][C]194.748275862069[/C][/ROW]
[ROW][C]8[/C][C]2626.2[/C][C]2461.55172413793[/C][C]164.648275862069[/C][/ROW]
[ROW][C]9[/C][C]2482.6[/C][C]2461.55172413793[/C][C]21.0482758620687[/C][/ROW]
[ROW][C]10[/C][C]2539.9[/C][C]2461.55172413793[/C][C]78.348275862069[/C][/ROW]
[ROW][C]11[/C][C]2502.7[/C][C]2461.55172413793[/C][C]41.1482758620687[/C][/ROW]
[ROW][C]12[/C][C]2466.9[/C][C]2461.55172413793[/C][C]5.34827586206893[/C][/ROW]
[ROW][C]13[/C][C]2513.2[/C][C]2461.55172413793[/C][C]51.6482758620687[/C][/ROW]
[ROW][C]14[/C][C]2443.3[/C][C]2461.55172413793[/C][C]-18.2517241379310[/C][/ROW]
[ROW][C]15[/C][C]2293.4[/C][C]2461.55172413793[/C][C]-168.151724137931[/C][/ROW]
[ROW][C]16[/C][C]2070.8[/C][C]2461.55172413793[/C][C]-390.751724137931[/C][/ROW]
[ROW][C]17[/C][C]2029.6[/C][C]2461.55172413793[/C][C]-431.951724137931[/C][/ROW]
[ROW][C]18[/C][C]2052[/C][C]2461.55172413793[/C][C]-409.551724137931[/C][/ROW]
[ROW][C]19[/C][C]1864.4[/C][C]2461.55172413793[/C][C]-597.151724137931[/C][/ROW]
[ROW][C]20[/C][C]1670.1[/C][C]2461.55172413793[/C][C]-791.451724137931[/C][/ROW]
[ROW][C]21[/C][C]1811[/C][C]2461.55172413793[/C][C]-650.551724137931[/C][/ROW]
[ROW][C]22[/C][C]1905.4[/C][C]2461.55172413793[/C][C]-556.151724137931[/C][/ROW]
[ROW][C]23[/C][C]1862.8[/C][C]2461.55172413793[/C][C]-598.751724137931[/C][/ROW]
[ROW][C]24[/C][C]2014.5[/C][C]2461.55172413793[/C][C]-447.051724137931[/C][/ROW]
[ROW][C]25[/C][C]2197.8[/C][C]2461.55172413793[/C][C]-263.751724137931[/C][/ROW]
[ROW][C]26[/C][C]2962.3[/C][C]3649.42[/C][C]-687.12[/C][/ROW]
[ROW][C]27[/C][C]3047[/C][C]3649.42[/C][C]-602.42[/C][/ROW]
[ROW][C]28[/C][C]3032.6[/C][C]2461.55172413793[/C][C]571.048275862069[/C][/ROW]
[ROW][C]29[/C][C]3504.4[/C][C]3649.42[/C][C]-145.02[/C][/ROW]
[ROW][C]30[/C][C]3801.1[/C][C]3649.42[/C][C]151.680000000000[/C][/ROW]
[ROW][C]31[/C][C]3857.6[/C][C]3649.42[/C][C]208.18[/C][/ROW]
[ROW][C]32[/C][C]3674.4[/C][C]2461.55172413793[/C][C]1212.84827586207[/C][/ROW]
[ROW][C]33[/C][C]3721[/C][C]2461.55172413793[/C][C]1259.44827586207[/C][/ROW]
[ROW][C]34[/C][C]3844.5[/C][C]2461.55172413793[/C][C]1382.94827586207[/C][/ROW]
[ROW][C]35[/C][C]4116.7[/C][C]3649.42[/C][C]467.28[/C][/ROW]
[ROW][C]36[/C][C]4105.2[/C][C]3649.42[/C][C]455.78[/C][/ROW]
[ROW][C]37[/C][C]4435.2[/C][C]4312.10071428571[/C][C]123.099285714286[/C][/ROW]
[ROW][C]38[/C][C]4296.5[/C][C]4312.10071428571[/C][C]-15.6007142857143[/C][/ROW]
[ROW][C]39[/C][C]4202.5[/C][C]4312.10071428571[/C][C]-109.600714285714[/C][/ROW]
[ROW][C]40[/C][C]4562.8[/C][C]4312.10071428571[/C][C]250.699285714286[/C][/ROW]
[ROW][C]41[/C][C]4621.4[/C][C]4312.10071428571[/C][C]309.299285714285[/C][/ROW]
[ROW][C]42[/C][C]4697[/C][C]4312.10071428571[/C][C]384.899285714286[/C][/ROW]
[ROW][C]43[/C][C]4591.3[/C][C]4312.10071428571[/C][C]279.199285714286[/C][/ROW]
[ROW][C]44[/C][C]4357[/C][C]4312.10071428571[/C][C]44.8992857142857[/C][/ROW]
[ROW][C]45[/C][C]4502.6[/C][C]4312.10071428571[/C][C]190.499285714286[/C][/ROW]
[ROW][C]46[/C][C]4443.9[/C][C]4312.10071428571[/C][C]131.799285714285[/C][/ROW]
[ROW][C]47[/C][C]4290.9[/C][C]3909.66714285714[/C][C]381.232857142857[/C][/ROW]
[ROW][C]48[/C][C]4199.8[/C][C]4312.10071428571[/C][C]-112.300714285714[/C][/ROW]
[ROW][C]49[/C][C]4138.5[/C][C]3909.66714285714[/C][C]228.832857142857[/C][/ROW]
[ROW][C]50[/C][C]3970.1[/C][C]3909.66714285714[/C][C]60.4328571428573[/C][/ROW]
[ROW][C]51[/C][C]3862.3[/C][C]4312.10071428571[/C][C]-449.800714285714[/C][/ROW]
[ROW][C]52[/C][C]3701.6[/C][C]4312.10071428571[/C][C]-610.500714285714[/C][/ROW]
[ROW][C]53[/C][C]3570.12[/C][C]3909.66714285714[/C][C]-339.547142857143[/C][/ROW]
[ROW][C]54[/C][C]3801.06[/C][C]3649.42[/C][C]151.64[/C][/ROW]
[ROW][C]55[/C][C]3895.51[/C][C]4312.10071428571[/C][C]-416.590714285714[/C][/ROW]
[ROW][C]56[/C][C]3917.96[/C][C]3909.66714285714[/C][C]8.29285714285743[/C][/ROW]
[ROW][C]57[/C][C]3813.06[/C][C]3909.66714285714[/C][C]-96.6071428571427[/C][/ROW]
[ROW][C]58[/C][C]3667.03[/C][C]3909.66714285714[/C][C]-242.637142857142[/C][/ROW]
[ROW][C]59[/C][C]3494.17[/C][C]3191.32666666667[/C][C]302.843333333333[/C][/ROW]
[ROW][C]60[/C][C]3364[/C][C]3191.32666666667[/C][C]172.673333333333[/C][/ROW]
[ROW][C]61[/C][C]3295.3[/C][C]3191.32666666667[/C][C]103.973333333333[/C][/ROW]
[ROW][C]62[/C][C]3277[/C][C]3191.32666666667[/C][C]85.6733333333332[/C][/ROW]
[ROW][C]63[/C][C]3257.2[/C][C]3191.32666666667[/C][C]65.873333333333[/C][/ROW]
[ROW][C]64[/C][C]3161.7[/C][C]3191.32666666667[/C][C]-29.626666666667[/C][/ROW]
[ROW][C]65[/C][C]3097.3[/C][C]3191.32666666667[/C][C]-94.0266666666666[/C][/ROW]
[ROW][C]66[/C][C]3061.3[/C][C]3191.32666666667[/C][C]-130.026666666667[/C][/ROW]
[ROW][C]67[/C][C]3119.3[/C][C]3191.32666666667[/C][C]-72.0266666666666[/C][/ROW]
[ROW][C]68[/C][C]3106.22[/C][C]3191.32666666667[/C][C]-85.106666666667[/C][/ROW]
[ROW][C]69[/C][C]3080.58[/C][C]3191.32666666667[/C][C]-110.746666666667[/C][/ROW]
[ROW][C]70[/C][C]2981.85[/C][C]3191.32666666667[/C][C]-209.476666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109207&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109207&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
12649.22461.55172413793187.648275862069
22579.42461.55172413793117.848275862069
32504.62461.5517241379343.0482758620687
42462.32461.551724137930.748275862069022
52467.42461.551724137935.84827586206893
62446.72461.55172413793-14.8517241379313
72656.32461.55172413793194.748275862069
82626.22461.55172413793164.648275862069
92482.62461.5517241379321.0482758620687
102539.92461.5517241379378.348275862069
112502.72461.5517241379341.1482758620687
122466.92461.551724137935.34827586206893
132513.22461.5517241379351.6482758620687
142443.32461.55172413793-18.2517241379310
152293.42461.55172413793-168.151724137931
162070.82461.55172413793-390.751724137931
172029.62461.55172413793-431.951724137931
1820522461.55172413793-409.551724137931
191864.42461.55172413793-597.151724137931
201670.12461.55172413793-791.451724137931
2118112461.55172413793-650.551724137931
221905.42461.55172413793-556.151724137931
231862.82461.55172413793-598.751724137931
242014.52461.55172413793-447.051724137931
252197.82461.55172413793-263.751724137931
262962.33649.42-687.12
2730473649.42-602.42
283032.62461.55172413793571.048275862069
293504.43649.42-145.02
303801.13649.42151.680000000000
313857.63649.42208.18
323674.42461.551724137931212.84827586207
3337212461.551724137931259.44827586207
343844.52461.551724137931382.94827586207
354116.73649.42467.28
364105.23649.42455.78
374435.24312.10071428571123.099285714286
384296.54312.10071428571-15.6007142857143
394202.54312.10071428571-109.600714285714
404562.84312.10071428571250.699285714286
414621.44312.10071428571309.299285714285
4246974312.10071428571384.899285714286
434591.34312.10071428571279.199285714286
4443574312.1007142857144.8992857142857
454502.64312.10071428571190.499285714286
464443.94312.10071428571131.799285714285
474290.93909.66714285714381.232857142857
484199.84312.10071428571-112.300714285714
494138.53909.66714285714228.832857142857
503970.13909.6671428571460.4328571428573
513862.34312.10071428571-449.800714285714
523701.64312.10071428571-610.500714285714
533570.123909.66714285714-339.547142857143
543801.063649.42151.64
553895.514312.10071428571-416.590714285714
563917.963909.667142857148.29285714285743
573813.063909.66714285714-96.6071428571427
583667.033909.66714285714-242.637142857142
593494.173191.32666666667302.843333333333
6033643191.32666666667172.673333333333
613295.33191.32666666667103.973333333333
6232773191.3266666666785.6733333333332
633257.23191.3266666666765.873333333333
643161.73191.32666666667-29.626666666667
653097.33191.32666666667-94.0266666666666
663061.33191.32666666667-130.026666666667
673119.33191.32666666667-72.0266666666666
683106.223191.32666666667-85.106666666667
693080.583191.32666666667-110.746666666667
702981.853191.32666666667-209.476666666667



Parameters (Session):
par1 = pearson ;
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')
}