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, 18 Dec 2010 19:02:00 +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/18/t1292699035a07i1zkmhhl67cf.htm/, Retrieved Tue, 30 Apr 2024 01:13:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=112162, Retrieved Tue, 30 Apr 2024 01:13:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact181
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)] [recursive huwelijken] [2010-12-18 19:02:00] [3f56c8f677e988de577e4e00a8180a48] [Current]
Feedback Forum

Post a new message
Dataseries X:
3111	5140	17153	2.5	766	332	2.4
3995	4749	15579	1.8	294	369	2.4
5245	3635	16755	7.3	235	384	2.4
5588	4305	16585	9.9	462	373	2.1
10681	5805	16572	13.2	919	378	2
10516	4260	16325	17.8	346	426	2
7496	3869	17913	18.8	298	423	2.1
9935	7325	17572	19.3	92	397	2.1
10249	9280	17338	13.9	516	422	2
6271	6222	17087	7.5	843	409	2
3616	3272	15864	8	395	430	2
3724	7598	15554	4	961	412	1.7
2886	1345	16229	3.6	1231	470	1.3
3318	1900	15180	4.8	794	491	1.2
4166	1480	16215	5.9	420	504	1.1
6401	1472	15801	10.4	331	484	1.4
9209	3823	15751	12.3	312	474	1.5
9820	4454	16477	15.5	692	508	1.4
7470	3357	17324	16.7	1221	492	1.1
8207	5393	16919	18.8	1272	452	1.1
9564	8329	16438	15.2	622	457	1
5309	4152	16239	11.3	479	457	1.4
3385	4042	15613	6.3	757	471	1.3
3706	7747	15821	3.2	463	451	1.2
2733	1451	15678	5.3	534	493	1.5
3045	911	14671	2.4	731	514	1.6
3449	406	15876	6.5	498	522	1.8
5542	1387	15563	10.4	629	490	1.5
10072	2150	15711	12.6	542	484	1.3
9418	1577	15583	16.8	519	506	1.6
7516	2642	16405	17.7	1585	501	1.6
7840	4273	16701	16.2	956	462	1.8
10081	8064	16194	15.7	633	465	1.8
4956	3243	16024	13.3	561	454	1.6
3641	1112	14728	6.9	976	464	1.8
3970	2280	14776	4	565	427	2
2931	505	15399	1.5	151	460	1.3
3170	744	14286	2.9	588	473	1.1
3889	1369	15646	3.9	1043	465	1
4850	531	14543	9	398	422	1.2
8037	1041	15673	14.5	902	415	1.2
12370	2076	15171	16.7	180	413	1.3
6712	577	15999	22.3	150	420	1.3
7297	5080	1626	16.4	1805	363	1.4
10613	6584	16123	17.9	86	376	1.1
5184	3761	16144	13.6	1093	380	0.9
3506	294	15005	9.2	925	384	1
3810	5020	14806	6.5	750	346	1.1
2692	1141	15019	7.1	1038	389	1.4
3073	3805	13909	6	679	407	1.5
3713	2127	15211	8	848	393	1.8
4555	2531	14385	13.1	300	346	1.8
7807	3682	15144	14.1	1379	348	1.8
10869	3263	14659	17.5	901	353	1.7
9682	2798	15989	17	1606	364	1.5
7704	5936	16262	17.1	422	305	1.1
9826	10568	16021	13.8	968	307	1.3
5456	5296	15662	10.1	319	312	1.6
3677	1870	14531	6.9	583	312	1.9
3431	4390	14544	2.4	765	286	1.9
2765	3707	15071	6.5	963	324	2
3483	5201	14236	5.1	392	336	2.2
3445	3748	14771	5.9	919	327	2.2
6081	5282	14804	8.9	339	302	2
8767	5349	15597	15.7	327	299	2.3
9407	6249	15418	16.5	397	311	2.6
6551	5517	16903	18.1	1268	315	3.2
12480	8640	16350	17.4	1137	264	3.2
9530	15767	16393	13.6	1000	278	3.1
5960	8850	15685	10.1	915	278	2.8
3252	5582	14556	6.9	905	287	2.3
3717	6496	14850	2.4	243	279	1.9
2642	3255	15391	0.8	537	324	1.9
2989	6189	13704	3.3	551	354	2
3607	6452	15409	6.3	482	354	2
5366	5099	15098	12.2	199	360	1.8
8898	6833	15254	13.9	650	363	1.6
9435	7046	15522	15.6	533	385	1.4
7328	7739	16669	18.1	1071	412	0.2
8594	10142	16238	18.5	469	370	0.3
11349	16054	16246	15	335	389	0.4
5797	7721	15424	10.7	598	395	0.7
3621	6182	14952	9.5	1200	417	1
3851	6490	15008	2.2	844	404	1.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=112162&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=112162&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112162&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.8826
R-squared0.779
RMSE1326.5405

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.8826[/C][/ROW]
[ROW][C]R-squared[/C][C]0.779[/C][/ROW]
[ROW][C]RMSE[/C][C]1326.5405[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112162&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112162&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.8826
R-squared0.779
RMSE1326.5405







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
131113385.1-274.1
239953385.1609.9
352455145.12599.875
455885145.125442.875
5106818842.763157894741838.23684210526
6105168842.763157894741673.23684210526
774968842.76315789474-1346.76315789474
899358842.763157894741092.23684210526
9102498842.763157894741406.23684210526
1062715145.1251125.875
1136165145.125-1529.125
1237243385.1338.9
1328863385.1-499.1
1433183385.1-67.0999999999999
1541663385.1780.9
1664015145.1251255.875
1792098842.76315789474366.236842105263
1898208842.76315789474977.236842105263
1974708842.76315789474-1372.76315789474
2082078842.76315789474-635.763157894737
2195648842.76315789474721.236842105263
2253095145.125163.875
2333853385.1-0.099999999999909
2437063385.1320.9
2527333385.1-652.1
2630453385.1-340.1
2734493385.163.9000000000001
2855425145.125396.875
29100728842.763157894741229.23684210526
3094188842.76315789474575.236842105263
3175168842.76315789474-1326.76315789474
3278408842.76315789474-1002.76315789474
33100818842.763157894741238.23684210526
3449568842.76315789474-3886.76315789474
3536413385.1255.9
3639703385.1584.9
3729313385.1-454.1
3831703385.1-215.1
3938893385.1503.9
4048505145.125-295.125
4180378842.76315789474-805.763157894737
42123708842.763157894743527.23684210526
4367128842.76315789474-2130.76315789474
4472978842.76315789474-1545.76315789474
45106138842.763157894741770.23684210526
4651848842.76315789474-3658.76315789474
4735065145.125-1639.125
4838103385.1424.9
4926923385.1-693.1
5030733385.1-312.1
5137135145.125-1432.125
5245558842.76315789474-4287.76315789474
5378078842.76315789474-1035.76315789474
54108698842.763157894742026.23684210526
5596828842.76315789474839.236842105263
5677048842.76315789474-1138.76315789474
5798268842.76315789474983.236842105263
5854565145.125310.875
5936773385.1291.9
6034313385.145.9000000000001
6127653385.1-620.1
6234833385.197.9
6334453385.159.9000000000001
6460815145.125935.875
6587678842.76315789474-75.7631578947367
6694078842.76315789474564.236842105263
6765518842.76315789474-2291.76315789474
68124808842.763157894743637.23684210526
6995308842.76315789474687.236842105263
7059605145.125814.875
7132523385.1-133.1
7237173385.1331.9
7326423385.1-743.1
7429893385.1-396.1
7536073385.1221.9
7653665145.125220.875
7788988842.7631578947455.2368421052633
7894358842.76315789474592.236842105263
7973288842.76315789474-1514.76315789474
8085948842.76315789474-248.763157894737
81113498842.763157894742506.23684210526
8257975145.125651.875
8336215145.125-1524.125
8438513385.1465.9

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 3111 & 3385.1 & -274.1 \tabularnewline
2 & 3995 & 3385.1 & 609.9 \tabularnewline
3 & 5245 & 5145.125 & 99.875 \tabularnewline
4 & 5588 & 5145.125 & 442.875 \tabularnewline
5 & 10681 & 8842.76315789474 & 1838.23684210526 \tabularnewline
6 & 10516 & 8842.76315789474 & 1673.23684210526 \tabularnewline
7 & 7496 & 8842.76315789474 & -1346.76315789474 \tabularnewline
8 & 9935 & 8842.76315789474 & 1092.23684210526 \tabularnewline
9 & 10249 & 8842.76315789474 & 1406.23684210526 \tabularnewline
10 & 6271 & 5145.125 & 1125.875 \tabularnewline
11 & 3616 & 5145.125 & -1529.125 \tabularnewline
12 & 3724 & 3385.1 & 338.9 \tabularnewline
13 & 2886 & 3385.1 & -499.1 \tabularnewline
14 & 3318 & 3385.1 & -67.0999999999999 \tabularnewline
15 & 4166 & 3385.1 & 780.9 \tabularnewline
16 & 6401 & 5145.125 & 1255.875 \tabularnewline
17 & 9209 & 8842.76315789474 & 366.236842105263 \tabularnewline
18 & 9820 & 8842.76315789474 & 977.236842105263 \tabularnewline
19 & 7470 & 8842.76315789474 & -1372.76315789474 \tabularnewline
20 & 8207 & 8842.76315789474 & -635.763157894737 \tabularnewline
21 & 9564 & 8842.76315789474 & 721.236842105263 \tabularnewline
22 & 5309 & 5145.125 & 163.875 \tabularnewline
23 & 3385 & 3385.1 & -0.099999999999909 \tabularnewline
24 & 3706 & 3385.1 & 320.9 \tabularnewline
25 & 2733 & 3385.1 & -652.1 \tabularnewline
26 & 3045 & 3385.1 & -340.1 \tabularnewline
27 & 3449 & 3385.1 & 63.9000000000001 \tabularnewline
28 & 5542 & 5145.125 & 396.875 \tabularnewline
29 & 10072 & 8842.76315789474 & 1229.23684210526 \tabularnewline
30 & 9418 & 8842.76315789474 & 575.236842105263 \tabularnewline
31 & 7516 & 8842.76315789474 & -1326.76315789474 \tabularnewline
32 & 7840 & 8842.76315789474 & -1002.76315789474 \tabularnewline
33 & 10081 & 8842.76315789474 & 1238.23684210526 \tabularnewline
34 & 4956 & 8842.76315789474 & -3886.76315789474 \tabularnewline
35 & 3641 & 3385.1 & 255.9 \tabularnewline
36 & 3970 & 3385.1 & 584.9 \tabularnewline
37 & 2931 & 3385.1 & -454.1 \tabularnewline
38 & 3170 & 3385.1 & -215.1 \tabularnewline
39 & 3889 & 3385.1 & 503.9 \tabularnewline
40 & 4850 & 5145.125 & -295.125 \tabularnewline
41 & 8037 & 8842.76315789474 & -805.763157894737 \tabularnewline
42 & 12370 & 8842.76315789474 & 3527.23684210526 \tabularnewline
43 & 6712 & 8842.76315789474 & -2130.76315789474 \tabularnewline
44 & 7297 & 8842.76315789474 & -1545.76315789474 \tabularnewline
45 & 10613 & 8842.76315789474 & 1770.23684210526 \tabularnewline
46 & 5184 & 8842.76315789474 & -3658.76315789474 \tabularnewline
47 & 3506 & 5145.125 & -1639.125 \tabularnewline
48 & 3810 & 3385.1 & 424.9 \tabularnewline
49 & 2692 & 3385.1 & -693.1 \tabularnewline
50 & 3073 & 3385.1 & -312.1 \tabularnewline
51 & 3713 & 5145.125 & -1432.125 \tabularnewline
52 & 4555 & 8842.76315789474 & -4287.76315789474 \tabularnewline
53 & 7807 & 8842.76315789474 & -1035.76315789474 \tabularnewline
54 & 10869 & 8842.76315789474 & 2026.23684210526 \tabularnewline
55 & 9682 & 8842.76315789474 & 839.236842105263 \tabularnewline
56 & 7704 & 8842.76315789474 & -1138.76315789474 \tabularnewline
57 & 9826 & 8842.76315789474 & 983.236842105263 \tabularnewline
58 & 5456 & 5145.125 & 310.875 \tabularnewline
59 & 3677 & 3385.1 & 291.9 \tabularnewline
60 & 3431 & 3385.1 & 45.9000000000001 \tabularnewline
61 & 2765 & 3385.1 & -620.1 \tabularnewline
62 & 3483 & 3385.1 & 97.9 \tabularnewline
63 & 3445 & 3385.1 & 59.9000000000001 \tabularnewline
64 & 6081 & 5145.125 & 935.875 \tabularnewline
65 & 8767 & 8842.76315789474 & -75.7631578947367 \tabularnewline
66 & 9407 & 8842.76315789474 & 564.236842105263 \tabularnewline
67 & 6551 & 8842.76315789474 & -2291.76315789474 \tabularnewline
68 & 12480 & 8842.76315789474 & 3637.23684210526 \tabularnewline
69 & 9530 & 8842.76315789474 & 687.236842105263 \tabularnewline
70 & 5960 & 5145.125 & 814.875 \tabularnewline
71 & 3252 & 3385.1 & -133.1 \tabularnewline
72 & 3717 & 3385.1 & 331.9 \tabularnewline
73 & 2642 & 3385.1 & -743.1 \tabularnewline
74 & 2989 & 3385.1 & -396.1 \tabularnewline
75 & 3607 & 3385.1 & 221.9 \tabularnewline
76 & 5366 & 5145.125 & 220.875 \tabularnewline
77 & 8898 & 8842.76315789474 & 55.2368421052633 \tabularnewline
78 & 9435 & 8842.76315789474 & 592.236842105263 \tabularnewline
79 & 7328 & 8842.76315789474 & -1514.76315789474 \tabularnewline
80 & 8594 & 8842.76315789474 & -248.763157894737 \tabularnewline
81 & 11349 & 8842.76315789474 & 2506.23684210526 \tabularnewline
82 & 5797 & 5145.125 & 651.875 \tabularnewline
83 & 3621 & 5145.125 & -1524.125 \tabularnewline
84 & 3851 & 3385.1 & 465.9 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112162&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]3111[/C][C]3385.1[/C][C]-274.1[/C][/ROW]
[ROW][C]2[/C][C]3995[/C][C]3385.1[/C][C]609.9[/C][/ROW]
[ROW][C]3[/C][C]5245[/C][C]5145.125[/C][C]99.875[/C][/ROW]
[ROW][C]4[/C][C]5588[/C][C]5145.125[/C][C]442.875[/C][/ROW]
[ROW][C]5[/C][C]10681[/C][C]8842.76315789474[/C][C]1838.23684210526[/C][/ROW]
[ROW][C]6[/C][C]10516[/C][C]8842.76315789474[/C][C]1673.23684210526[/C][/ROW]
[ROW][C]7[/C][C]7496[/C][C]8842.76315789474[/C][C]-1346.76315789474[/C][/ROW]
[ROW][C]8[/C][C]9935[/C][C]8842.76315789474[/C][C]1092.23684210526[/C][/ROW]
[ROW][C]9[/C][C]10249[/C][C]8842.76315789474[/C][C]1406.23684210526[/C][/ROW]
[ROW][C]10[/C][C]6271[/C][C]5145.125[/C][C]1125.875[/C][/ROW]
[ROW][C]11[/C][C]3616[/C][C]5145.125[/C][C]-1529.125[/C][/ROW]
[ROW][C]12[/C][C]3724[/C][C]3385.1[/C][C]338.9[/C][/ROW]
[ROW][C]13[/C][C]2886[/C][C]3385.1[/C][C]-499.1[/C][/ROW]
[ROW][C]14[/C][C]3318[/C][C]3385.1[/C][C]-67.0999999999999[/C][/ROW]
[ROW][C]15[/C][C]4166[/C][C]3385.1[/C][C]780.9[/C][/ROW]
[ROW][C]16[/C][C]6401[/C][C]5145.125[/C][C]1255.875[/C][/ROW]
[ROW][C]17[/C][C]9209[/C][C]8842.76315789474[/C][C]366.236842105263[/C][/ROW]
[ROW][C]18[/C][C]9820[/C][C]8842.76315789474[/C][C]977.236842105263[/C][/ROW]
[ROW][C]19[/C][C]7470[/C][C]8842.76315789474[/C][C]-1372.76315789474[/C][/ROW]
[ROW][C]20[/C][C]8207[/C][C]8842.76315789474[/C][C]-635.763157894737[/C][/ROW]
[ROW][C]21[/C][C]9564[/C][C]8842.76315789474[/C][C]721.236842105263[/C][/ROW]
[ROW][C]22[/C][C]5309[/C][C]5145.125[/C][C]163.875[/C][/ROW]
[ROW][C]23[/C][C]3385[/C][C]3385.1[/C][C]-0.099999999999909[/C][/ROW]
[ROW][C]24[/C][C]3706[/C][C]3385.1[/C][C]320.9[/C][/ROW]
[ROW][C]25[/C][C]2733[/C][C]3385.1[/C][C]-652.1[/C][/ROW]
[ROW][C]26[/C][C]3045[/C][C]3385.1[/C][C]-340.1[/C][/ROW]
[ROW][C]27[/C][C]3449[/C][C]3385.1[/C][C]63.9000000000001[/C][/ROW]
[ROW][C]28[/C][C]5542[/C][C]5145.125[/C][C]396.875[/C][/ROW]
[ROW][C]29[/C][C]10072[/C][C]8842.76315789474[/C][C]1229.23684210526[/C][/ROW]
[ROW][C]30[/C][C]9418[/C][C]8842.76315789474[/C][C]575.236842105263[/C][/ROW]
[ROW][C]31[/C][C]7516[/C][C]8842.76315789474[/C][C]-1326.76315789474[/C][/ROW]
[ROW][C]32[/C][C]7840[/C][C]8842.76315789474[/C][C]-1002.76315789474[/C][/ROW]
[ROW][C]33[/C][C]10081[/C][C]8842.76315789474[/C][C]1238.23684210526[/C][/ROW]
[ROW][C]34[/C][C]4956[/C][C]8842.76315789474[/C][C]-3886.76315789474[/C][/ROW]
[ROW][C]35[/C][C]3641[/C][C]3385.1[/C][C]255.9[/C][/ROW]
[ROW][C]36[/C][C]3970[/C][C]3385.1[/C][C]584.9[/C][/ROW]
[ROW][C]37[/C][C]2931[/C][C]3385.1[/C][C]-454.1[/C][/ROW]
[ROW][C]38[/C][C]3170[/C][C]3385.1[/C][C]-215.1[/C][/ROW]
[ROW][C]39[/C][C]3889[/C][C]3385.1[/C][C]503.9[/C][/ROW]
[ROW][C]40[/C][C]4850[/C][C]5145.125[/C][C]-295.125[/C][/ROW]
[ROW][C]41[/C][C]8037[/C][C]8842.76315789474[/C][C]-805.763157894737[/C][/ROW]
[ROW][C]42[/C][C]12370[/C][C]8842.76315789474[/C][C]3527.23684210526[/C][/ROW]
[ROW][C]43[/C][C]6712[/C][C]8842.76315789474[/C][C]-2130.76315789474[/C][/ROW]
[ROW][C]44[/C][C]7297[/C][C]8842.76315789474[/C][C]-1545.76315789474[/C][/ROW]
[ROW][C]45[/C][C]10613[/C][C]8842.76315789474[/C][C]1770.23684210526[/C][/ROW]
[ROW][C]46[/C][C]5184[/C][C]8842.76315789474[/C][C]-3658.76315789474[/C][/ROW]
[ROW][C]47[/C][C]3506[/C][C]5145.125[/C][C]-1639.125[/C][/ROW]
[ROW][C]48[/C][C]3810[/C][C]3385.1[/C][C]424.9[/C][/ROW]
[ROW][C]49[/C][C]2692[/C][C]3385.1[/C][C]-693.1[/C][/ROW]
[ROW][C]50[/C][C]3073[/C][C]3385.1[/C][C]-312.1[/C][/ROW]
[ROW][C]51[/C][C]3713[/C][C]5145.125[/C][C]-1432.125[/C][/ROW]
[ROW][C]52[/C][C]4555[/C][C]8842.76315789474[/C][C]-4287.76315789474[/C][/ROW]
[ROW][C]53[/C][C]7807[/C][C]8842.76315789474[/C][C]-1035.76315789474[/C][/ROW]
[ROW][C]54[/C][C]10869[/C][C]8842.76315789474[/C][C]2026.23684210526[/C][/ROW]
[ROW][C]55[/C][C]9682[/C][C]8842.76315789474[/C][C]839.236842105263[/C][/ROW]
[ROW][C]56[/C][C]7704[/C][C]8842.76315789474[/C][C]-1138.76315789474[/C][/ROW]
[ROW][C]57[/C][C]9826[/C][C]8842.76315789474[/C][C]983.236842105263[/C][/ROW]
[ROW][C]58[/C][C]5456[/C][C]5145.125[/C][C]310.875[/C][/ROW]
[ROW][C]59[/C][C]3677[/C][C]3385.1[/C][C]291.9[/C][/ROW]
[ROW][C]60[/C][C]3431[/C][C]3385.1[/C][C]45.9000000000001[/C][/ROW]
[ROW][C]61[/C][C]2765[/C][C]3385.1[/C][C]-620.1[/C][/ROW]
[ROW][C]62[/C][C]3483[/C][C]3385.1[/C][C]97.9[/C][/ROW]
[ROW][C]63[/C][C]3445[/C][C]3385.1[/C][C]59.9000000000001[/C][/ROW]
[ROW][C]64[/C][C]6081[/C][C]5145.125[/C][C]935.875[/C][/ROW]
[ROW][C]65[/C][C]8767[/C][C]8842.76315789474[/C][C]-75.7631578947367[/C][/ROW]
[ROW][C]66[/C][C]9407[/C][C]8842.76315789474[/C][C]564.236842105263[/C][/ROW]
[ROW][C]67[/C][C]6551[/C][C]8842.76315789474[/C][C]-2291.76315789474[/C][/ROW]
[ROW][C]68[/C][C]12480[/C][C]8842.76315789474[/C][C]3637.23684210526[/C][/ROW]
[ROW][C]69[/C][C]9530[/C][C]8842.76315789474[/C][C]687.236842105263[/C][/ROW]
[ROW][C]70[/C][C]5960[/C][C]5145.125[/C][C]814.875[/C][/ROW]
[ROW][C]71[/C][C]3252[/C][C]3385.1[/C][C]-133.1[/C][/ROW]
[ROW][C]72[/C][C]3717[/C][C]3385.1[/C][C]331.9[/C][/ROW]
[ROW][C]73[/C][C]2642[/C][C]3385.1[/C][C]-743.1[/C][/ROW]
[ROW][C]74[/C][C]2989[/C][C]3385.1[/C][C]-396.1[/C][/ROW]
[ROW][C]75[/C][C]3607[/C][C]3385.1[/C][C]221.9[/C][/ROW]
[ROW][C]76[/C][C]5366[/C][C]5145.125[/C][C]220.875[/C][/ROW]
[ROW][C]77[/C][C]8898[/C][C]8842.76315789474[/C][C]55.2368421052633[/C][/ROW]
[ROW][C]78[/C][C]9435[/C][C]8842.76315789474[/C][C]592.236842105263[/C][/ROW]
[ROW][C]79[/C][C]7328[/C][C]8842.76315789474[/C][C]-1514.76315789474[/C][/ROW]
[ROW][C]80[/C][C]8594[/C][C]8842.76315789474[/C][C]-248.763157894737[/C][/ROW]
[ROW][C]81[/C][C]11349[/C][C]8842.76315789474[/C][C]2506.23684210526[/C][/ROW]
[ROW][C]82[/C][C]5797[/C][C]5145.125[/C][C]651.875[/C][/ROW]
[ROW][C]83[/C][C]3621[/C][C]5145.125[/C][C]-1524.125[/C][/ROW]
[ROW][C]84[/C][C]3851[/C][C]3385.1[/C][C]465.9[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112162&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112162&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
131113385.1-274.1
239953385.1609.9
352455145.12599.875
455885145.125442.875
5106818842.763157894741838.23684210526
6105168842.763157894741673.23684210526
774968842.76315789474-1346.76315789474
899358842.763157894741092.23684210526
9102498842.763157894741406.23684210526
1062715145.1251125.875
1136165145.125-1529.125
1237243385.1338.9
1328863385.1-499.1
1433183385.1-67.0999999999999
1541663385.1780.9
1664015145.1251255.875
1792098842.76315789474366.236842105263
1898208842.76315789474977.236842105263
1974708842.76315789474-1372.76315789474
2082078842.76315789474-635.763157894737
2195648842.76315789474721.236842105263
2253095145.125163.875
2333853385.1-0.099999999999909
2437063385.1320.9
2527333385.1-652.1
2630453385.1-340.1
2734493385.163.9000000000001
2855425145.125396.875
29100728842.763157894741229.23684210526
3094188842.76315789474575.236842105263
3175168842.76315789474-1326.76315789474
3278408842.76315789474-1002.76315789474
33100818842.763157894741238.23684210526
3449568842.76315789474-3886.76315789474
3536413385.1255.9
3639703385.1584.9
3729313385.1-454.1
3831703385.1-215.1
3938893385.1503.9
4048505145.125-295.125
4180378842.76315789474-805.763157894737
42123708842.763157894743527.23684210526
4367128842.76315789474-2130.76315789474
4472978842.76315789474-1545.76315789474
45106138842.763157894741770.23684210526
4651848842.76315789474-3658.76315789474
4735065145.125-1639.125
4838103385.1424.9
4926923385.1-693.1
5030733385.1-312.1
5137135145.125-1432.125
5245558842.76315789474-4287.76315789474
5378078842.76315789474-1035.76315789474
54108698842.763157894742026.23684210526
5596828842.76315789474839.236842105263
5677048842.76315789474-1138.76315789474
5798268842.76315789474983.236842105263
5854565145.125310.875
5936773385.1291.9
6034313385.145.9000000000001
6127653385.1-620.1
6234833385.197.9
6334453385.159.9000000000001
6460815145.125935.875
6587678842.76315789474-75.7631578947367
6694078842.76315789474564.236842105263
6765518842.76315789474-2291.76315789474
68124808842.763157894743637.23684210526
6995308842.76315789474687.236842105263
7059605145.125814.875
7132523385.1-133.1
7237173385.1331.9
7326423385.1-743.1
7429893385.1-396.1
7536073385.1221.9
7653665145.125220.875
7788988842.7631578947455.2368421052633
7894358842.76315789474592.236842105263
7973288842.76315789474-1514.76315789474
8085948842.76315789474-248.763157894737
81113498842.763157894742506.23684210526
8257975145.125651.875
8336215145.125-1524.125
8438513385.1465.9



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