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 computationSat, 11 Dec 2010 14:32:29 +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/11/t1292077943xzkm3de77vmb2a4.htm/, Retrieved Mon, 06 May 2024 15:11:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=108178, Retrieved Mon, 06 May 2024 15:11:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact153
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]
-   PD    [Recursive Partitioning (Regression Trees)] [WS 10 Recursive P...] [2010-12-11 14:32:29] [4d0f7ea43b071af5c75b527ee1ef14c2] [Current]
-   PD      [Recursive Partitioning (Regression Trees)] [test] [2010-12-19 12:57:05] [8081b8996d5947580de3eb171e82db4f]
Feedback Forum

Post a new message
Dataseries X:
12008	4.0
9169	5.9
8788	7.1
8417	10.5
8247	15.1
8197	16.8
8236	15.3
8253	18.4
7733	16.1
8366	11.3
8626	7.9
8863	5.6
10102	3.4
8463	4.8
9114	6.5
8563	8.5
8872	15.1
8301	15.7
8301	18.7
8278	19.2
7736	12.9
7973	14.4
8268	6.2
9476	3.3
11100	4.6
8962	7.1
9173	7.8
8738	9.9
8459	13.6
8078	17.1
8411	17.8
8291	18.6
7810	14.7
8616	10.5
8312	8.6
9692	4.4
9911	2.3
8915	2.8
9452	8.8
9112	10.7
8472	13.9
8230	19.3
8384	19.5
8625	20.4
8221	15.3
8649	7.9
8625	8.3
10443	4.5
10357	3.2
8586	5.0
8892	6.6
8329	11.1
8101	12.8
7922	16.3
8120	17.4
7838	18.9
7735	15.8
8406	11.7
8209	6.4
9451	2.9
10041	4.7
9411	2.4
10405	7.2
8467	10.7
8464	13.4
8102	18.3
7627	18.4
7513	16.8
7510	16.6
8291	14.1
8064	6.1
9383	3.5
9706	1.7
8579	2.3
9474	4.5
8318	9.3
8213	14.2
8059	17.3
9111	23.0
7708	16.3
7680	18.4
8014	14.2
8007	9.1
8718	5.9
9486	7.2
9113	6.8
9025	8.0
8476	14.3
7952	14.6
7759	17.5
7835	17.2
7600	17.2
7651	14.1
8319	10.4
8812	6.8
8630	4.1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108178&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108178&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108178&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Goodness of Fit
Correlation0.7724
R-squared0.5966
RMSE506.1489

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.7724[/C][/ROW]
[ROW][C]R-squared[/C][C]0.5966[/C][/ROW]
[ROW][C]RMSE[/C][C]506.1489[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108178&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108178&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.7724
R-squared0.5966
RMSE506.1489







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1120089804.647058823532203.35294117647
291698760.34375408.65625
387888760.3437527.65625
484178760.34375-343.34375
582478116.8085106383130.191489361702
681978116.808510638380.1914893617022
782368116.8085106383119.191489361702
882538116.8085106383136.191489361702
977338116.8085106383-383.808510638298
1083668116.8085106383249.191489361702
1186268760.34375-134.34375
1288638760.34375102.65625
13101029804.64705882353297.35294117647
1484638760.34375-297.34375
1591148760.34375353.65625
1685638760.34375-197.34375
1788728116.8085106383755.191489361702
1883018116.8085106383184.191489361702
1983018116.8085106383184.191489361702
2082788116.8085106383161.191489361702
2177368116.8085106383-380.808510638298
2279738116.8085106383-143.808510638298
2382688760.34375-492.34375
2494769804.64705882353-328.64705882353
25111009804.647058823531295.35294117647
2689628760.34375201.65625
2791738760.34375412.65625
2887388760.34375-22.34375
2984598116.8085106383342.191489361702
3080788116.8085106383-38.8085106382978
3184118116.8085106383294.191489361702
3282918116.8085106383174.191489361702
3378108116.8085106383-306.808510638298
3486168760.34375-144.34375
3583128760.34375-448.34375
3696929804.64705882353-112.64705882353
3799119804.64705882353106.35294117647
3889159804.64705882353-889.64705882353
3994528760.34375691.65625
4091128760.34375351.65625
4184728116.8085106383355.191489361702
4282308116.8085106383113.191489361702
4383848116.8085106383267.191489361702
4486258116.8085106383508.191489361702
4582218116.8085106383104.191489361702
4686498760.34375-111.34375
4786258760.34375-135.34375
48104439804.64705882353638.35294117647
49103579804.64705882353552.35294117647
5085868760.34375-174.34375
5188928760.34375131.65625
5283298116.8085106383212.191489361702
5381018116.8085106383-15.8085106382978
5479228116.8085106383-194.808510638298
5581208116.80851063833.19148936170222
5678388116.8085106383-278.808510638298
5777358116.8085106383-381.808510638298
5884068116.8085106383289.191489361702
5982098760.34375-551.34375
6094519804.64705882353-353.64705882353
61100419804.64705882353236.35294117647
6294119804.64705882353-393.64705882353
63104058760.343751644.65625
6484678760.34375-293.34375
6584648116.8085106383347.191489361702
6681028116.8085106383-14.8085106382978
6776278116.8085106383-489.808510638298
6875138116.8085106383-603.808510638298
6975108116.8085106383-606.808510638298
7082918116.8085106383174.191489361702
7180648760.34375-696.34375
7293839804.64705882353-421.64705882353
7397069804.64705882353-98.6470588235297
7485799804.64705882353-1225.64705882353
7594749804.64705882353-330.64705882353
7683188760.34375-442.34375
7782138116.808510638396.1914893617022
7880598116.8085106383-57.8085106382978
7991118116.8085106383994.191489361702
8077088116.8085106383-408.808510638298
8176808116.8085106383-436.808510638298
8280148116.8085106383-102.808510638298
8380078760.34375-753.34375
8487188760.34375-42.34375
8594868760.34375725.65625
8691138760.34375352.65625
8790258760.34375264.65625
8884768116.8085106383359.191489361702
8979528116.8085106383-164.808510638298
9077598116.8085106383-357.808510638298
9178358116.8085106383-281.808510638298
9276008116.8085106383-516.808510638298
9376518116.8085106383-465.808510638298
9483198760.34375-441.34375
9588128760.3437551.65625
9686309804.64705882353-1174.64705882353

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 12008 & 9804.64705882353 & 2203.35294117647 \tabularnewline
2 & 9169 & 8760.34375 & 408.65625 \tabularnewline
3 & 8788 & 8760.34375 & 27.65625 \tabularnewline
4 & 8417 & 8760.34375 & -343.34375 \tabularnewline
5 & 8247 & 8116.8085106383 & 130.191489361702 \tabularnewline
6 & 8197 & 8116.8085106383 & 80.1914893617022 \tabularnewline
7 & 8236 & 8116.8085106383 & 119.191489361702 \tabularnewline
8 & 8253 & 8116.8085106383 & 136.191489361702 \tabularnewline
9 & 7733 & 8116.8085106383 & -383.808510638298 \tabularnewline
10 & 8366 & 8116.8085106383 & 249.191489361702 \tabularnewline
11 & 8626 & 8760.34375 & -134.34375 \tabularnewline
12 & 8863 & 8760.34375 & 102.65625 \tabularnewline
13 & 10102 & 9804.64705882353 & 297.35294117647 \tabularnewline
14 & 8463 & 8760.34375 & -297.34375 \tabularnewline
15 & 9114 & 8760.34375 & 353.65625 \tabularnewline
16 & 8563 & 8760.34375 & -197.34375 \tabularnewline
17 & 8872 & 8116.8085106383 & 755.191489361702 \tabularnewline
18 & 8301 & 8116.8085106383 & 184.191489361702 \tabularnewline
19 & 8301 & 8116.8085106383 & 184.191489361702 \tabularnewline
20 & 8278 & 8116.8085106383 & 161.191489361702 \tabularnewline
21 & 7736 & 8116.8085106383 & -380.808510638298 \tabularnewline
22 & 7973 & 8116.8085106383 & -143.808510638298 \tabularnewline
23 & 8268 & 8760.34375 & -492.34375 \tabularnewline
24 & 9476 & 9804.64705882353 & -328.64705882353 \tabularnewline
25 & 11100 & 9804.64705882353 & 1295.35294117647 \tabularnewline
26 & 8962 & 8760.34375 & 201.65625 \tabularnewline
27 & 9173 & 8760.34375 & 412.65625 \tabularnewline
28 & 8738 & 8760.34375 & -22.34375 \tabularnewline
29 & 8459 & 8116.8085106383 & 342.191489361702 \tabularnewline
30 & 8078 & 8116.8085106383 & -38.8085106382978 \tabularnewline
31 & 8411 & 8116.8085106383 & 294.191489361702 \tabularnewline
32 & 8291 & 8116.8085106383 & 174.191489361702 \tabularnewline
33 & 7810 & 8116.8085106383 & -306.808510638298 \tabularnewline
34 & 8616 & 8760.34375 & -144.34375 \tabularnewline
35 & 8312 & 8760.34375 & -448.34375 \tabularnewline
36 & 9692 & 9804.64705882353 & -112.64705882353 \tabularnewline
37 & 9911 & 9804.64705882353 & 106.35294117647 \tabularnewline
38 & 8915 & 9804.64705882353 & -889.64705882353 \tabularnewline
39 & 9452 & 8760.34375 & 691.65625 \tabularnewline
40 & 9112 & 8760.34375 & 351.65625 \tabularnewline
41 & 8472 & 8116.8085106383 & 355.191489361702 \tabularnewline
42 & 8230 & 8116.8085106383 & 113.191489361702 \tabularnewline
43 & 8384 & 8116.8085106383 & 267.191489361702 \tabularnewline
44 & 8625 & 8116.8085106383 & 508.191489361702 \tabularnewline
45 & 8221 & 8116.8085106383 & 104.191489361702 \tabularnewline
46 & 8649 & 8760.34375 & -111.34375 \tabularnewline
47 & 8625 & 8760.34375 & -135.34375 \tabularnewline
48 & 10443 & 9804.64705882353 & 638.35294117647 \tabularnewline
49 & 10357 & 9804.64705882353 & 552.35294117647 \tabularnewline
50 & 8586 & 8760.34375 & -174.34375 \tabularnewline
51 & 8892 & 8760.34375 & 131.65625 \tabularnewline
52 & 8329 & 8116.8085106383 & 212.191489361702 \tabularnewline
53 & 8101 & 8116.8085106383 & -15.8085106382978 \tabularnewline
54 & 7922 & 8116.8085106383 & -194.808510638298 \tabularnewline
55 & 8120 & 8116.8085106383 & 3.19148936170222 \tabularnewline
56 & 7838 & 8116.8085106383 & -278.808510638298 \tabularnewline
57 & 7735 & 8116.8085106383 & -381.808510638298 \tabularnewline
58 & 8406 & 8116.8085106383 & 289.191489361702 \tabularnewline
59 & 8209 & 8760.34375 & -551.34375 \tabularnewline
60 & 9451 & 9804.64705882353 & -353.64705882353 \tabularnewline
61 & 10041 & 9804.64705882353 & 236.35294117647 \tabularnewline
62 & 9411 & 9804.64705882353 & -393.64705882353 \tabularnewline
63 & 10405 & 8760.34375 & 1644.65625 \tabularnewline
64 & 8467 & 8760.34375 & -293.34375 \tabularnewline
65 & 8464 & 8116.8085106383 & 347.191489361702 \tabularnewline
66 & 8102 & 8116.8085106383 & -14.8085106382978 \tabularnewline
67 & 7627 & 8116.8085106383 & -489.808510638298 \tabularnewline
68 & 7513 & 8116.8085106383 & -603.808510638298 \tabularnewline
69 & 7510 & 8116.8085106383 & -606.808510638298 \tabularnewline
70 & 8291 & 8116.8085106383 & 174.191489361702 \tabularnewline
71 & 8064 & 8760.34375 & -696.34375 \tabularnewline
72 & 9383 & 9804.64705882353 & -421.64705882353 \tabularnewline
73 & 9706 & 9804.64705882353 & -98.6470588235297 \tabularnewline
74 & 8579 & 9804.64705882353 & -1225.64705882353 \tabularnewline
75 & 9474 & 9804.64705882353 & -330.64705882353 \tabularnewline
76 & 8318 & 8760.34375 & -442.34375 \tabularnewline
77 & 8213 & 8116.8085106383 & 96.1914893617022 \tabularnewline
78 & 8059 & 8116.8085106383 & -57.8085106382978 \tabularnewline
79 & 9111 & 8116.8085106383 & 994.191489361702 \tabularnewline
80 & 7708 & 8116.8085106383 & -408.808510638298 \tabularnewline
81 & 7680 & 8116.8085106383 & -436.808510638298 \tabularnewline
82 & 8014 & 8116.8085106383 & -102.808510638298 \tabularnewline
83 & 8007 & 8760.34375 & -753.34375 \tabularnewline
84 & 8718 & 8760.34375 & -42.34375 \tabularnewline
85 & 9486 & 8760.34375 & 725.65625 \tabularnewline
86 & 9113 & 8760.34375 & 352.65625 \tabularnewline
87 & 9025 & 8760.34375 & 264.65625 \tabularnewline
88 & 8476 & 8116.8085106383 & 359.191489361702 \tabularnewline
89 & 7952 & 8116.8085106383 & -164.808510638298 \tabularnewline
90 & 7759 & 8116.8085106383 & -357.808510638298 \tabularnewline
91 & 7835 & 8116.8085106383 & -281.808510638298 \tabularnewline
92 & 7600 & 8116.8085106383 & -516.808510638298 \tabularnewline
93 & 7651 & 8116.8085106383 & -465.808510638298 \tabularnewline
94 & 8319 & 8760.34375 & -441.34375 \tabularnewline
95 & 8812 & 8760.34375 & 51.65625 \tabularnewline
96 & 8630 & 9804.64705882353 & -1174.64705882353 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108178&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]12008[/C][C]9804.64705882353[/C][C]2203.35294117647[/C][/ROW]
[ROW][C]2[/C][C]9169[/C][C]8760.34375[/C][C]408.65625[/C][/ROW]
[ROW][C]3[/C][C]8788[/C][C]8760.34375[/C][C]27.65625[/C][/ROW]
[ROW][C]4[/C][C]8417[/C][C]8760.34375[/C][C]-343.34375[/C][/ROW]
[ROW][C]5[/C][C]8247[/C][C]8116.8085106383[/C][C]130.191489361702[/C][/ROW]
[ROW][C]6[/C][C]8197[/C][C]8116.8085106383[/C][C]80.1914893617022[/C][/ROW]
[ROW][C]7[/C][C]8236[/C][C]8116.8085106383[/C][C]119.191489361702[/C][/ROW]
[ROW][C]8[/C][C]8253[/C][C]8116.8085106383[/C][C]136.191489361702[/C][/ROW]
[ROW][C]9[/C][C]7733[/C][C]8116.8085106383[/C][C]-383.808510638298[/C][/ROW]
[ROW][C]10[/C][C]8366[/C][C]8116.8085106383[/C][C]249.191489361702[/C][/ROW]
[ROW][C]11[/C][C]8626[/C][C]8760.34375[/C][C]-134.34375[/C][/ROW]
[ROW][C]12[/C][C]8863[/C][C]8760.34375[/C][C]102.65625[/C][/ROW]
[ROW][C]13[/C][C]10102[/C][C]9804.64705882353[/C][C]297.35294117647[/C][/ROW]
[ROW][C]14[/C][C]8463[/C][C]8760.34375[/C][C]-297.34375[/C][/ROW]
[ROW][C]15[/C][C]9114[/C][C]8760.34375[/C][C]353.65625[/C][/ROW]
[ROW][C]16[/C][C]8563[/C][C]8760.34375[/C][C]-197.34375[/C][/ROW]
[ROW][C]17[/C][C]8872[/C][C]8116.8085106383[/C][C]755.191489361702[/C][/ROW]
[ROW][C]18[/C][C]8301[/C][C]8116.8085106383[/C][C]184.191489361702[/C][/ROW]
[ROW][C]19[/C][C]8301[/C][C]8116.8085106383[/C][C]184.191489361702[/C][/ROW]
[ROW][C]20[/C][C]8278[/C][C]8116.8085106383[/C][C]161.191489361702[/C][/ROW]
[ROW][C]21[/C][C]7736[/C][C]8116.8085106383[/C][C]-380.808510638298[/C][/ROW]
[ROW][C]22[/C][C]7973[/C][C]8116.8085106383[/C][C]-143.808510638298[/C][/ROW]
[ROW][C]23[/C][C]8268[/C][C]8760.34375[/C][C]-492.34375[/C][/ROW]
[ROW][C]24[/C][C]9476[/C][C]9804.64705882353[/C][C]-328.64705882353[/C][/ROW]
[ROW][C]25[/C][C]11100[/C][C]9804.64705882353[/C][C]1295.35294117647[/C][/ROW]
[ROW][C]26[/C][C]8962[/C][C]8760.34375[/C][C]201.65625[/C][/ROW]
[ROW][C]27[/C][C]9173[/C][C]8760.34375[/C][C]412.65625[/C][/ROW]
[ROW][C]28[/C][C]8738[/C][C]8760.34375[/C][C]-22.34375[/C][/ROW]
[ROW][C]29[/C][C]8459[/C][C]8116.8085106383[/C][C]342.191489361702[/C][/ROW]
[ROW][C]30[/C][C]8078[/C][C]8116.8085106383[/C][C]-38.8085106382978[/C][/ROW]
[ROW][C]31[/C][C]8411[/C][C]8116.8085106383[/C][C]294.191489361702[/C][/ROW]
[ROW][C]32[/C][C]8291[/C][C]8116.8085106383[/C][C]174.191489361702[/C][/ROW]
[ROW][C]33[/C][C]7810[/C][C]8116.8085106383[/C][C]-306.808510638298[/C][/ROW]
[ROW][C]34[/C][C]8616[/C][C]8760.34375[/C][C]-144.34375[/C][/ROW]
[ROW][C]35[/C][C]8312[/C][C]8760.34375[/C][C]-448.34375[/C][/ROW]
[ROW][C]36[/C][C]9692[/C][C]9804.64705882353[/C][C]-112.64705882353[/C][/ROW]
[ROW][C]37[/C][C]9911[/C][C]9804.64705882353[/C][C]106.35294117647[/C][/ROW]
[ROW][C]38[/C][C]8915[/C][C]9804.64705882353[/C][C]-889.64705882353[/C][/ROW]
[ROW][C]39[/C][C]9452[/C][C]8760.34375[/C][C]691.65625[/C][/ROW]
[ROW][C]40[/C][C]9112[/C][C]8760.34375[/C][C]351.65625[/C][/ROW]
[ROW][C]41[/C][C]8472[/C][C]8116.8085106383[/C][C]355.191489361702[/C][/ROW]
[ROW][C]42[/C][C]8230[/C][C]8116.8085106383[/C][C]113.191489361702[/C][/ROW]
[ROW][C]43[/C][C]8384[/C][C]8116.8085106383[/C][C]267.191489361702[/C][/ROW]
[ROW][C]44[/C][C]8625[/C][C]8116.8085106383[/C][C]508.191489361702[/C][/ROW]
[ROW][C]45[/C][C]8221[/C][C]8116.8085106383[/C][C]104.191489361702[/C][/ROW]
[ROW][C]46[/C][C]8649[/C][C]8760.34375[/C][C]-111.34375[/C][/ROW]
[ROW][C]47[/C][C]8625[/C][C]8760.34375[/C][C]-135.34375[/C][/ROW]
[ROW][C]48[/C][C]10443[/C][C]9804.64705882353[/C][C]638.35294117647[/C][/ROW]
[ROW][C]49[/C][C]10357[/C][C]9804.64705882353[/C][C]552.35294117647[/C][/ROW]
[ROW][C]50[/C][C]8586[/C][C]8760.34375[/C][C]-174.34375[/C][/ROW]
[ROW][C]51[/C][C]8892[/C][C]8760.34375[/C][C]131.65625[/C][/ROW]
[ROW][C]52[/C][C]8329[/C][C]8116.8085106383[/C][C]212.191489361702[/C][/ROW]
[ROW][C]53[/C][C]8101[/C][C]8116.8085106383[/C][C]-15.8085106382978[/C][/ROW]
[ROW][C]54[/C][C]7922[/C][C]8116.8085106383[/C][C]-194.808510638298[/C][/ROW]
[ROW][C]55[/C][C]8120[/C][C]8116.8085106383[/C][C]3.19148936170222[/C][/ROW]
[ROW][C]56[/C][C]7838[/C][C]8116.8085106383[/C][C]-278.808510638298[/C][/ROW]
[ROW][C]57[/C][C]7735[/C][C]8116.8085106383[/C][C]-381.808510638298[/C][/ROW]
[ROW][C]58[/C][C]8406[/C][C]8116.8085106383[/C][C]289.191489361702[/C][/ROW]
[ROW][C]59[/C][C]8209[/C][C]8760.34375[/C][C]-551.34375[/C][/ROW]
[ROW][C]60[/C][C]9451[/C][C]9804.64705882353[/C][C]-353.64705882353[/C][/ROW]
[ROW][C]61[/C][C]10041[/C][C]9804.64705882353[/C][C]236.35294117647[/C][/ROW]
[ROW][C]62[/C][C]9411[/C][C]9804.64705882353[/C][C]-393.64705882353[/C][/ROW]
[ROW][C]63[/C][C]10405[/C][C]8760.34375[/C][C]1644.65625[/C][/ROW]
[ROW][C]64[/C][C]8467[/C][C]8760.34375[/C][C]-293.34375[/C][/ROW]
[ROW][C]65[/C][C]8464[/C][C]8116.8085106383[/C][C]347.191489361702[/C][/ROW]
[ROW][C]66[/C][C]8102[/C][C]8116.8085106383[/C][C]-14.8085106382978[/C][/ROW]
[ROW][C]67[/C][C]7627[/C][C]8116.8085106383[/C][C]-489.808510638298[/C][/ROW]
[ROW][C]68[/C][C]7513[/C][C]8116.8085106383[/C][C]-603.808510638298[/C][/ROW]
[ROW][C]69[/C][C]7510[/C][C]8116.8085106383[/C][C]-606.808510638298[/C][/ROW]
[ROW][C]70[/C][C]8291[/C][C]8116.8085106383[/C][C]174.191489361702[/C][/ROW]
[ROW][C]71[/C][C]8064[/C][C]8760.34375[/C][C]-696.34375[/C][/ROW]
[ROW][C]72[/C][C]9383[/C][C]9804.64705882353[/C][C]-421.64705882353[/C][/ROW]
[ROW][C]73[/C][C]9706[/C][C]9804.64705882353[/C][C]-98.6470588235297[/C][/ROW]
[ROW][C]74[/C][C]8579[/C][C]9804.64705882353[/C][C]-1225.64705882353[/C][/ROW]
[ROW][C]75[/C][C]9474[/C][C]9804.64705882353[/C][C]-330.64705882353[/C][/ROW]
[ROW][C]76[/C][C]8318[/C][C]8760.34375[/C][C]-442.34375[/C][/ROW]
[ROW][C]77[/C][C]8213[/C][C]8116.8085106383[/C][C]96.1914893617022[/C][/ROW]
[ROW][C]78[/C][C]8059[/C][C]8116.8085106383[/C][C]-57.8085106382978[/C][/ROW]
[ROW][C]79[/C][C]9111[/C][C]8116.8085106383[/C][C]994.191489361702[/C][/ROW]
[ROW][C]80[/C][C]7708[/C][C]8116.8085106383[/C][C]-408.808510638298[/C][/ROW]
[ROW][C]81[/C][C]7680[/C][C]8116.8085106383[/C][C]-436.808510638298[/C][/ROW]
[ROW][C]82[/C][C]8014[/C][C]8116.8085106383[/C][C]-102.808510638298[/C][/ROW]
[ROW][C]83[/C][C]8007[/C][C]8760.34375[/C][C]-753.34375[/C][/ROW]
[ROW][C]84[/C][C]8718[/C][C]8760.34375[/C][C]-42.34375[/C][/ROW]
[ROW][C]85[/C][C]9486[/C][C]8760.34375[/C][C]725.65625[/C][/ROW]
[ROW][C]86[/C][C]9113[/C][C]8760.34375[/C][C]352.65625[/C][/ROW]
[ROW][C]87[/C][C]9025[/C][C]8760.34375[/C][C]264.65625[/C][/ROW]
[ROW][C]88[/C][C]8476[/C][C]8116.8085106383[/C][C]359.191489361702[/C][/ROW]
[ROW][C]89[/C][C]7952[/C][C]8116.8085106383[/C][C]-164.808510638298[/C][/ROW]
[ROW][C]90[/C][C]7759[/C][C]8116.8085106383[/C][C]-357.808510638298[/C][/ROW]
[ROW][C]91[/C][C]7835[/C][C]8116.8085106383[/C][C]-281.808510638298[/C][/ROW]
[ROW][C]92[/C][C]7600[/C][C]8116.8085106383[/C][C]-516.808510638298[/C][/ROW]
[ROW][C]93[/C][C]7651[/C][C]8116.8085106383[/C][C]-465.808510638298[/C][/ROW]
[ROW][C]94[/C][C]8319[/C][C]8760.34375[/C][C]-441.34375[/C][/ROW]
[ROW][C]95[/C][C]8812[/C][C]8760.34375[/C][C]51.65625[/C][/ROW]
[ROW][C]96[/C][C]8630[/C][C]9804.64705882353[/C][C]-1174.64705882353[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108178&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108178&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
1120089804.647058823532203.35294117647
291698760.34375408.65625
387888760.3437527.65625
484178760.34375-343.34375
582478116.8085106383130.191489361702
681978116.808510638380.1914893617022
782368116.8085106383119.191489361702
882538116.8085106383136.191489361702
977338116.8085106383-383.808510638298
1083668116.8085106383249.191489361702
1186268760.34375-134.34375
1288638760.34375102.65625
13101029804.64705882353297.35294117647
1484638760.34375-297.34375
1591148760.34375353.65625
1685638760.34375-197.34375
1788728116.8085106383755.191489361702
1883018116.8085106383184.191489361702
1983018116.8085106383184.191489361702
2082788116.8085106383161.191489361702
2177368116.8085106383-380.808510638298
2279738116.8085106383-143.808510638298
2382688760.34375-492.34375
2494769804.64705882353-328.64705882353
25111009804.647058823531295.35294117647
2689628760.34375201.65625
2791738760.34375412.65625
2887388760.34375-22.34375
2984598116.8085106383342.191489361702
3080788116.8085106383-38.8085106382978
3184118116.8085106383294.191489361702
3282918116.8085106383174.191489361702
3378108116.8085106383-306.808510638298
3486168760.34375-144.34375
3583128760.34375-448.34375
3696929804.64705882353-112.64705882353
3799119804.64705882353106.35294117647
3889159804.64705882353-889.64705882353
3994528760.34375691.65625
4091128760.34375351.65625
4184728116.8085106383355.191489361702
4282308116.8085106383113.191489361702
4383848116.8085106383267.191489361702
4486258116.8085106383508.191489361702
4582218116.8085106383104.191489361702
4686498760.34375-111.34375
4786258760.34375-135.34375
48104439804.64705882353638.35294117647
49103579804.64705882353552.35294117647
5085868760.34375-174.34375
5188928760.34375131.65625
5283298116.8085106383212.191489361702
5381018116.8085106383-15.8085106382978
5479228116.8085106383-194.808510638298
5581208116.80851063833.19148936170222
5678388116.8085106383-278.808510638298
5777358116.8085106383-381.808510638298
5884068116.8085106383289.191489361702
5982098760.34375-551.34375
6094519804.64705882353-353.64705882353
61100419804.64705882353236.35294117647
6294119804.64705882353-393.64705882353
63104058760.343751644.65625
6484678760.34375-293.34375
6584648116.8085106383347.191489361702
6681028116.8085106383-14.8085106382978
6776278116.8085106383-489.808510638298
6875138116.8085106383-603.808510638298
6975108116.8085106383-606.808510638298
7082918116.8085106383174.191489361702
7180648760.34375-696.34375
7293839804.64705882353-421.64705882353
7397069804.64705882353-98.6470588235297
7485799804.64705882353-1225.64705882353
7594749804.64705882353-330.64705882353
7683188760.34375-442.34375
7782138116.808510638396.1914893617022
7880598116.8085106383-57.8085106382978
7991118116.8085106383994.191489361702
8077088116.8085106383-408.808510638298
8176808116.8085106383-436.808510638298
8280148116.8085106383-102.808510638298
8380078760.34375-753.34375
8487188760.34375-42.34375
8594868760.34375725.65625
8691138760.34375352.65625
8790258760.34375264.65625
8884768116.8085106383359.191489361702
8979528116.8085106383-164.808510638298
9077598116.8085106383-357.808510638298
9178358116.8085106383-281.808510638298
9276008116.8085106383-516.808510638298
9376518116.8085106383-465.808510638298
9483198760.34375-441.34375
9588128760.3437551.65625
9686309804.64705882353-1174.64705882353



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