Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Module--
Title produced by softwareRecursive Partitioning (Regression Trees)
Date of computationTue, 11 Dec 2012 17:46:49 -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/2012/Dec/11/t13552660335wtpygrnfj6bkvm.htm/, Retrieved Tue, 23 Apr 2024 09:57:36 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=198724, Retrieved Tue, 23 Apr 2024 09:57:36 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact88
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Recursive Partitioning (Regression Trees)] [] [2010-12-05 18:59:57] [b98453cac15ba1066b407e146608df68]
- R PD  [Recursive Partitioning (Regression Trees)] [] [2011-12-12 23:40:52] [bdca8f3e7c3554be8c1291e54f61d441]
-  MP       [Recursive Partitioning (Regression Trees)] [WS10, 6] [2012-12-11 22:46:49] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
13	13	14	13	3	4	4
12	12	8	13	5	5	5
15	10	12	16	6	1	9
12	9	7	12	6	9	11
10	10	10	11	5	19	3
12	12	7	12	3	11	4
15	13	16	18	8	3	5
9	12	11	11	4	5	7
12	12	14	14	4	8	8
11	6	6	9	4	9	9
11	5	16	14	6	11	10
11	12	11	12	6	1	5
15	11	16	11	5	4	4
7	14	12	12	4	5	3
11	14	7	13	6	6	6
11	12	13	11	4	8	7
10	12	11	12	6	9	9
14	11	15	16	6	4	18
10	11	7	9	4	5	8
6	7	9	11	4	8	3
11	9	7	13	2	13	5
15	11	14	15	7	4	8
11	11	15	10	5	15	7
12	12	7	11	4	3	9
14	12	15	13	6	6	4
15	11	17	16	6	9	6
9	11	15	15	7	19	8
13	8	14	14	5	4	7
13	9	14	14	6	15	4
16	12	8	14	4	4	6
13	10	8	8	4	7	12
12	10	14	13	7	4	3
14	12	14	15	7	9	5
11	8	8	13	4	8	7
9	12	11	11	4	3	9
16	11	16	15	6	13	8
12	12	10	15	6	5	7
10	7	8	9	5	9	4
13	11	14	13	6	11	5
16	11	16	16	7	13	12
14	12	13	13	6	5	15
15	9	5	11	3	7	3
5	15	8	12	3	6	5
8	11	10	12	4	4	13
11	11	8	12	6	17	8
16	11	13	14	7	6	9
17	11	15	14	5	1	5
9	15	6	8	4	9	13
9	11	12	13	5	19	4
13	12	16	16	6	13	5
10	12	5	13	6	18	7
6	9	15	11	6	6	8
12	12	12	14	5	5	9
8	12	8	13	4	3	11
14	13	13	13	5	7	4
12	11	14	13	5	8	6
11	9	12	12	4	9	8
16	9	16	16	6	13	10
8	11	10	15	2	12	4
15	11	15	15	8	2	4
7	12	8	12	3	4	2
16	12	16	14	6	6	12
14	9	19	12	6	8	11
16	11	14	15	6	9	4
9	9	6	12	5	10	7
14	12	13	13	5	9	7
11	12	15	12	6	3	9
13	12	7	12	5	5	19
15	12	13	13	6	6	3
5	14	4	5	2	2	5
15	11	14	13	5	3	3
13	12	13	13	5	4	11
11	11	11	14	5	2	5
11	6	14	17	6	11	6
12	10	12	13	6	8	8
12	12	15	13	6	11	9
12	13	14	12	5	17	11
12	8	13	13	5	4	7
14	12	8	14	4	5	4
6	12	6	11	2	8	5
7	12	7	12	4	9	7
14	6	13	12	6	4	11
14	11	13	16	6	6	13
10	10	11	12	5	7	3
13	12	5	12	3	9	5
12	13	12	12	6	11	7
9	11	8	10	4	12	8
12	7	11	15	5	9	11
16	11	14	15	8	4	12
10	11	9	12	4	3	8




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'George Udny Yule' @ yule.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 & 5 seconds \tabularnewline
R Server & 'George Udny Yule' @ yule.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198724&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]'George Udny Yule' @ yule.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198724&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198724&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'George Udny Yule' @ yule.wessa.net







Goodness of Fit
Correlation0.6026
R-squared0.3631
RMSE2.2475

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.6026[/C][/ROW]
[ROW][C]R-squared[/C][C]0.3631[/C][/ROW]
[ROW][C]RMSE[/C][C]2.2475[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198724&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198724&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.6026
R-squared0.3631
RMSE2.2475







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
11313.8857142857143-0.885714285714286
21211.50.5
31511.53.5
41210.15384615384621.84615384615385
51010.1538461538462-0.153846153846153
61210.15384615384621.84615384615385
71513.88571428571431.11428571428571
8910.1538461538462-1.15384615384615
91213.8857142857143-1.88571428571429
101110.15384615384620.846153846153847
111113.8857142857143-2.88571428571429
121110.15384615384620.846153846153847
131510.15384615384624.84615384615385
14710.1538461538462-3.15384615384615
151111.5-0.5
161110.15384615384620.846153846153847
171010.1538461538462-0.153846153846153
181413.88571428571430.114285714285714
191010.1538461538462-0.153846153846153
20610.1538461538462-4.15384615384615
211111.5-0.5
221513.88571428571431.11428571428571
231110.15384615384620.846153846153847
241210.15384615384621.84615384615385
251413.88571428571430.114285714285714
261513.88571428571431.11428571428571
27913.8857142857143-4.88571428571429
281313.8857142857143-0.885714285714286
291313.8857142857143-0.885714285714286
301611.54.5
311310.15384615384622.84615384615385
321213.8857142857143-1.88571428571429
331413.88571428571430.114285714285714
341111.5-0.5
35910.1538461538462-1.15384615384615
361613.88571428571432.11428571428571
371211.50.5
381010.1538461538462-0.153846153846153
391313.8857142857143-0.885714285714286
401613.88571428571432.11428571428571
411413.88571428571430.114285714285714
421510.15384615384624.84615384615385
43510.1538461538462-5.15384615384615
44810.1538461538462-2.15384615384615
451110.15384615384620.846153846153847
461613.88571428571432.11428571428571
471713.88571428571433.11428571428571
48910.1538461538462-1.15384615384615
49911.5-2.5
501313.8857142857143-0.885714285714286
511011.5-1.5
52610.1538461538462-4.15384615384615
531211.50.5
54811.5-3.5
551413.88571428571430.114285714285714
561213.8857142857143-1.88571428571429
571110.15384615384620.846153846153847
581613.88571428571432.11428571428571
59811.5-3.5
601513.88571428571431.11428571428571
61710.1538461538462-3.15384615384615
621613.88571428571432.11428571428571
631410.15384615384623.84615384615385
641613.88571428571432.11428571428571
65910.1538461538462-1.15384615384615
661413.88571428571430.114285714285714
671110.15384615384620.846153846153847
681310.15384615384622.84615384615385
691513.88571428571431.11428571428571
70510.1538461538462-5.15384615384615
711513.88571428571431.11428571428571
721313.8857142857143-0.885714285714286
731111.5-0.5
741113.8857142857143-2.88571428571429
751211.50.5
761213.8857142857143-1.88571428571429
771210.15384615384621.84615384615385
781213.8857142857143-1.88571428571429
791411.52.5
80610.1538461538462-4.15384615384615
81710.1538461538462-3.15384615384615
821410.15384615384623.84615384615385
831413.88571428571430.114285714285714
841010.1538461538462-0.153846153846153
851310.15384615384622.84615384615385
861210.15384615384621.84615384615385
87910.1538461538462-1.15384615384615
881211.50.5
891613.88571428571432.11428571428571
901010.1538461538462-0.153846153846153

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 13 & 13.8857142857143 & -0.885714285714286 \tabularnewline
2 & 12 & 11.5 & 0.5 \tabularnewline
3 & 15 & 11.5 & 3.5 \tabularnewline
4 & 12 & 10.1538461538462 & 1.84615384615385 \tabularnewline
5 & 10 & 10.1538461538462 & -0.153846153846153 \tabularnewline
6 & 12 & 10.1538461538462 & 1.84615384615385 \tabularnewline
7 & 15 & 13.8857142857143 & 1.11428571428571 \tabularnewline
8 & 9 & 10.1538461538462 & -1.15384615384615 \tabularnewline
9 & 12 & 13.8857142857143 & -1.88571428571429 \tabularnewline
10 & 11 & 10.1538461538462 & 0.846153846153847 \tabularnewline
11 & 11 & 13.8857142857143 & -2.88571428571429 \tabularnewline
12 & 11 & 10.1538461538462 & 0.846153846153847 \tabularnewline
13 & 15 & 10.1538461538462 & 4.84615384615385 \tabularnewline
14 & 7 & 10.1538461538462 & -3.15384615384615 \tabularnewline
15 & 11 & 11.5 & -0.5 \tabularnewline
16 & 11 & 10.1538461538462 & 0.846153846153847 \tabularnewline
17 & 10 & 10.1538461538462 & -0.153846153846153 \tabularnewline
18 & 14 & 13.8857142857143 & 0.114285714285714 \tabularnewline
19 & 10 & 10.1538461538462 & -0.153846153846153 \tabularnewline
20 & 6 & 10.1538461538462 & -4.15384615384615 \tabularnewline
21 & 11 & 11.5 & -0.5 \tabularnewline
22 & 15 & 13.8857142857143 & 1.11428571428571 \tabularnewline
23 & 11 & 10.1538461538462 & 0.846153846153847 \tabularnewline
24 & 12 & 10.1538461538462 & 1.84615384615385 \tabularnewline
25 & 14 & 13.8857142857143 & 0.114285714285714 \tabularnewline
26 & 15 & 13.8857142857143 & 1.11428571428571 \tabularnewline
27 & 9 & 13.8857142857143 & -4.88571428571429 \tabularnewline
28 & 13 & 13.8857142857143 & -0.885714285714286 \tabularnewline
29 & 13 & 13.8857142857143 & -0.885714285714286 \tabularnewline
30 & 16 & 11.5 & 4.5 \tabularnewline
31 & 13 & 10.1538461538462 & 2.84615384615385 \tabularnewline
32 & 12 & 13.8857142857143 & -1.88571428571429 \tabularnewline
33 & 14 & 13.8857142857143 & 0.114285714285714 \tabularnewline
34 & 11 & 11.5 & -0.5 \tabularnewline
35 & 9 & 10.1538461538462 & -1.15384615384615 \tabularnewline
36 & 16 & 13.8857142857143 & 2.11428571428571 \tabularnewline
37 & 12 & 11.5 & 0.5 \tabularnewline
38 & 10 & 10.1538461538462 & -0.153846153846153 \tabularnewline
39 & 13 & 13.8857142857143 & -0.885714285714286 \tabularnewline
40 & 16 & 13.8857142857143 & 2.11428571428571 \tabularnewline
41 & 14 & 13.8857142857143 & 0.114285714285714 \tabularnewline
42 & 15 & 10.1538461538462 & 4.84615384615385 \tabularnewline
43 & 5 & 10.1538461538462 & -5.15384615384615 \tabularnewline
44 & 8 & 10.1538461538462 & -2.15384615384615 \tabularnewline
45 & 11 & 10.1538461538462 & 0.846153846153847 \tabularnewline
46 & 16 & 13.8857142857143 & 2.11428571428571 \tabularnewline
47 & 17 & 13.8857142857143 & 3.11428571428571 \tabularnewline
48 & 9 & 10.1538461538462 & -1.15384615384615 \tabularnewline
49 & 9 & 11.5 & -2.5 \tabularnewline
50 & 13 & 13.8857142857143 & -0.885714285714286 \tabularnewline
51 & 10 & 11.5 & -1.5 \tabularnewline
52 & 6 & 10.1538461538462 & -4.15384615384615 \tabularnewline
53 & 12 & 11.5 & 0.5 \tabularnewline
54 & 8 & 11.5 & -3.5 \tabularnewline
55 & 14 & 13.8857142857143 & 0.114285714285714 \tabularnewline
56 & 12 & 13.8857142857143 & -1.88571428571429 \tabularnewline
57 & 11 & 10.1538461538462 & 0.846153846153847 \tabularnewline
58 & 16 & 13.8857142857143 & 2.11428571428571 \tabularnewline
59 & 8 & 11.5 & -3.5 \tabularnewline
60 & 15 & 13.8857142857143 & 1.11428571428571 \tabularnewline
61 & 7 & 10.1538461538462 & -3.15384615384615 \tabularnewline
62 & 16 & 13.8857142857143 & 2.11428571428571 \tabularnewline
63 & 14 & 10.1538461538462 & 3.84615384615385 \tabularnewline
64 & 16 & 13.8857142857143 & 2.11428571428571 \tabularnewline
65 & 9 & 10.1538461538462 & -1.15384615384615 \tabularnewline
66 & 14 & 13.8857142857143 & 0.114285714285714 \tabularnewline
67 & 11 & 10.1538461538462 & 0.846153846153847 \tabularnewline
68 & 13 & 10.1538461538462 & 2.84615384615385 \tabularnewline
69 & 15 & 13.8857142857143 & 1.11428571428571 \tabularnewline
70 & 5 & 10.1538461538462 & -5.15384615384615 \tabularnewline
71 & 15 & 13.8857142857143 & 1.11428571428571 \tabularnewline
72 & 13 & 13.8857142857143 & -0.885714285714286 \tabularnewline
73 & 11 & 11.5 & -0.5 \tabularnewline
74 & 11 & 13.8857142857143 & -2.88571428571429 \tabularnewline
75 & 12 & 11.5 & 0.5 \tabularnewline
76 & 12 & 13.8857142857143 & -1.88571428571429 \tabularnewline
77 & 12 & 10.1538461538462 & 1.84615384615385 \tabularnewline
78 & 12 & 13.8857142857143 & -1.88571428571429 \tabularnewline
79 & 14 & 11.5 & 2.5 \tabularnewline
80 & 6 & 10.1538461538462 & -4.15384615384615 \tabularnewline
81 & 7 & 10.1538461538462 & -3.15384615384615 \tabularnewline
82 & 14 & 10.1538461538462 & 3.84615384615385 \tabularnewline
83 & 14 & 13.8857142857143 & 0.114285714285714 \tabularnewline
84 & 10 & 10.1538461538462 & -0.153846153846153 \tabularnewline
85 & 13 & 10.1538461538462 & 2.84615384615385 \tabularnewline
86 & 12 & 10.1538461538462 & 1.84615384615385 \tabularnewline
87 & 9 & 10.1538461538462 & -1.15384615384615 \tabularnewline
88 & 12 & 11.5 & 0.5 \tabularnewline
89 & 16 & 13.8857142857143 & 2.11428571428571 \tabularnewline
90 & 10 & 10.1538461538462 & -0.153846153846153 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198724&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]13[/C][C]13.8857142857143[/C][C]-0.885714285714286[/C][/ROW]
[ROW][C]2[/C][C]12[/C][C]11.5[/C][C]0.5[/C][/ROW]
[ROW][C]3[/C][C]15[/C][C]11.5[/C][C]3.5[/C][/ROW]
[ROW][C]4[/C][C]12[/C][C]10.1538461538462[/C][C]1.84615384615385[/C][/ROW]
[ROW][C]5[/C][C]10[/C][C]10.1538461538462[/C][C]-0.153846153846153[/C][/ROW]
[ROW][C]6[/C][C]12[/C][C]10.1538461538462[/C][C]1.84615384615385[/C][/ROW]
[ROW][C]7[/C][C]15[/C][C]13.8857142857143[/C][C]1.11428571428571[/C][/ROW]
[ROW][C]8[/C][C]9[/C][C]10.1538461538462[/C][C]-1.15384615384615[/C][/ROW]
[ROW][C]9[/C][C]12[/C][C]13.8857142857143[/C][C]-1.88571428571429[/C][/ROW]
[ROW][C]10[/C][C]11[/C][C]10.1538461538462[/C][C]0.846153846153847[/C][/ROW]
[ROW][C]11[/C][C]11[/C][C]13.8857142857143[/C][C]-2.88571428571429[/C][/ROW]
[ROW][C]12[/C][C]11[/C][C]10.1538461538462[/C][C]0.846153846153847[/C][/ROW]
[ROW][C]13[/C][C]15[/C][C]10.1538461538462[/C][C]4.84615384615385[/C][/ROW]
[ROW][C]14[/C][C]7[/C][C]10.1538461538462[/C][C]-3.15384615384615[/C][/ROW]
[ROW][C]15[/C][C]11[/C][C]11.5[/C][C]-0.5[/C][/ROW]
[ROW][C]16[/C][C]11[/C][C]10.1538461538462[/C][C]0.846153846153847[/C][/ROW]
[ROW][C]17[/C][C]10[/C][C]10.1538461538462[/C][C]-0.153846153846153[/C][/ROW]
[ROW][C]18[/C][C]14[/C][C]13.8857142857143[/C][C]0.114285714285714[/C][/ROW]
[ROW][C]19[/C][C]10[/C][C]10.1538461538462[/C][C]-0.153846153846153[/C][/ROW]
[ROW][C]20[/C][C]6[/C][C]10.1538461538462[/C][C]-4.15384615384615[/C][/ROW]
[ROW][C]21[/C][C]11[/C][C]11.5[/C][C]-0.5[/C][/ROW]
[ROW][C]22[/C][C]15[/C][C]13.8857142857143[/C][C]1.11428571428571[/C][/ROW]
[ROW][C]23[/C][C]11[/C][C]10.1538461538462[/C][C]0.846153846153847[/C][/ROW]
[ROW][C]24[/C][C]12[/C][C]10.1538461538462[/C][C]1.84615384615385[/C][/ROW]
[ROW][C]25[/C][C]14[/C][C]13.8857142857143[/C][C]0.114285714285714[/C][/ROW]
[ROW][C]26[/C][C]15[/C][C]13.8857142857143[/C][C]1.11428571428571[/C][/ROW]
[ROW][C]27[/C][C]9[/C][C]13.8857142857143[/C][C]-4.88571428571429[/C][/ROW]
[ROW][C]28[/C][C]13[/C][C]13.8857142857143[/C][C]-0.885714285714286[/C][/ROW]
[ROW][C]29[/C][C]13[/C][C]13.8857142857143[/C][C]-0.885714285714286[/C][/ROW]
[ROW][C]30[/C][C]16[/C][C]11.5[/C][C]4.5[/C][/ROW]
[ROW][C]31[/C][C]13[/C][C]10.1538461538462[/C][C]2.84615384615385[/C][/ROW]
[ROW][C]32[/C][C]12[/C][C]13.8857142857143[/C][C]-1.88571428571429[/C][/ROW]
[ROW][C]33[/C][C]14[/C][C]13.8857142857143[/C][C]0.114285714285714[/C][/ROW]
[ROW][C]34[/C][C]11[/C][C]11.5[/C][C]-0.5[/C][/ROW]
[ROW][C]35[/C][C]9[/C][C]10.1538461538462[/C][C]-1.15384615384615[/C][/ROW]
[ROW][C]36[/C][C]16[/C][C]13.8857142857143[/C][C]2.11428571428571[/C][/ROW]
[ROW][C]37[/C][C]12[/C][C]11.5[/C][C]0.5[/C][/ROW]
[ROW][C]38[/C][C]10[/C][C]10.1538461538462[/C][C]-0.153846153846153[/C][/ROW]
[ROW][C]39[/C][C]13[/C][C]13.8857142857143[/C][C]-0.885714285714286[/C][/ROW]
[ROW][C]40[/C][C]16[/C][C]13.8857142857143[/C][C]2.11428571428571[/C][/ROW]
[ROW][C]41[/C][C]14[/C][C]13.8857142857143[/C][C]0.114285714285714[/C][/ROW]
[ROW][C]42[/C][C]15[/C][C]10.1538461538462[/C][C]4.84615384615385[/C][/ROW]
[ROW][C]43[/C][C]5[/C][C]10.1538461538462[/C][C]-5.15384615384615[/C][/ROW]
[ROW][C]44[/C][C]8[/C][C]10.1538461538462[/C][C]-2.15384615384615[/C][/ROW]
[ROW][C]45[/C][C]11[/C][C]10.1538461538462[/C][C]0.846153846153847[/C][/ROW]
[ROW][C]46[/C][C]16[/C][C]13.8857142857143[/C][C]2.11428571428571[/C][/ROW]
[ROW][C]47[/C][C]17[/C][C]13.8857142857143[/C][C]3.11428571428571[/C][/ROW]
[ROW][C]48[/C][C]9[/C][C]10.1538461538462[/C][C]-1.15384615384615[/C][/ROW]
[ROW][C]49[/C][C]9[/C][C]11.5[/C][C]-2.5[/C][/ROW]
[ROW][C]50[/C][C]13[/C][C]13.8857142857143[/C][C]-0.885714285714286[/C][/ROW]
[ROW][C]51[/C][C]10[/C][C]11.5[/C][C]-1.5[/C][/ROW]
[ROW][C]52[/C][C]6[/C][C]10.1538461538462[/C][C]-4.15384615384615[/C][/ROW]
[ROW][C]53[/C][C]12[/C][C]11.5[/C][C]0.5[/C][/ROW]
[ROW][C]54[/C][C]8[/C][C]11.5[/C][C]-3.5[/C][/ROW]
[ROW][C]55[/C][C]14[/C][C]13.8857142857143[/C][C]0.114285714285714[/C][/ROW]
[ROW][C]56[/C][C]12[/C][C]13.8857142857143[/C][C]-1.88571428571429[/C][/ROW]
[ROW][C]57[/C][C]11[/C][C]10.1538461538462[/C][C]0.846153846153847[/C][/ROW]
[ROW][C]58[/C][C]16[/C][C]13.8857142857143[/C][C]2.11428571428571[/C][/ROW]
[ROW][C]59[/C][C]8[/C][C]11.5[/C][C]-3.5[/C][/ROW]
[ROW][C]60[/C][C]15[/C][C]13.8857142857143[/C][C]1.11428571428571[/C][/ROW]
[ROW][C]61[/C][C]7[/C][C]10.1538461538462[/C][C]-3.15384615384615[/C][/ROW]
[ROW][C]62[/C][C]16[/C][C]13.8857142857143[/C][C]2.11428571428571[/C][/ROW]
[ROW][C]63[/C][C]14[/C][C]10.1538461538462[/C][C]3.84615384615385[/C][/ROW]
[ROW][C]64[/C][C]16[/C][C]13.8857142857143[/C][C]2.11428571428571[/C][/ROW]
[ROW][C]65[/C][C]9[/C][C]10.1538461538462[/C][C]-1.15384615384615[/C][/ROW]
[ROW][C]66[/C][C]14[/C][C]13.8857142857143[/C][C]0.114285714285714[/C][/ROW]
[ROW][C]67[/C][C]11[/C][C]10.1538461538462[/C][C]0.846153846153847[/C][/ROW]
[ROW][C]68[/C][C]13[/C][C]10.1538461538462[/C][C]2.84615384615385[/C][/ROW]
[ROW][C]69[/C][C]15[/C][C]13.8857142857143[/C][C]1.11428571428571[/C][/ROW]
[ROW][C]70[/C][C]5[/C][C]10.1538461538462[/C][C]-5.15384615384615[/C][/ROW]
[ROW][C]71[/C][C]15[/C][C]13.8857142857143[/C][C]1.11428571428571[/C][/ROW]
[ROW][C]72[/C][C]13[/C][C]13.8857142857143[/C][C]-0.885714285714286[/C][/ROW]
[ROW][C]73[/C][C]11[/C][C]11.5[/C][C]-0.5[/C][/ROW]
[ROW][C]74[/C][C]11[/C][C]13.8857142857143[/C][C]-2.88571428571429[/C][/ROW]
[ROW][C]75[/C][C]12[/C][C]11.5[/C][C]0.5[/C][/ROW]
[ROW][C]76[/C][C]12[/C][C]13.8857142857143[/C][C]-1.88571428571429[/C][/ROW]
[ROW][C]77[/C][C]12[/C][C]10.1538461538462[/C][C]1.84615384615385[/C][/ROW]
[ROW][C]78[/C][C]12[/C][C]13.8857142857143[/C][C]-1.88571428571429[/C][/ROW]
[ROW][C]79[/C][C]14[/C][C]11.5[/C][C]2.5[/C][/ROW]
[ROW][C]80[/C][C]6[/C][C]10.1538461538462[/C][C]-4.15384615384615[/C][/ROW]
[ROW][C]81[/C][C]7[/C][C]10.1538461538462[/C][C]-3.15384615384615[/C][/ROW]
[ROW][C]82[/C][C]14[/C][C]10.1538461538462[/C][C]3.84615384615385[/C][/ROW]
[ROW][C]83[/C][C]14[/C][C]13.8857142857143[/C][C]0.114285714285714[/C][/ROW]
[ROW][C]84[/C][C]10[/C][C]10.1538461538462[/C][C]-0.153846153846153[/C][/ROW]
[ROW][C]85[/C][C]13[/C][C]10.1538461538462[/C][C]2.84615384615385[/C][/ROW]
[ROW][C]86[/C][C]12[/C][C]10.1538461538462[/C][C]1.84615384615385[/C][/ROW]
[ROW][C]87[/C][C]9[/C][C]10.1538461538462[/C][C]-1.15384615384615[/C][/ROW]
[ROW][C]88[/C][C]12[/C][C]11.5[/C][C]0.5[/C][/ROW]
[ROW][C]89[/C][C]16[/C][C]13.8857142857143[/C][C]2.11428571428571[/C][/ROW]
[ROW][C]90[/C][C]10[/C][C]10.1538461538462[/C][C]-0.153846153846153[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198724&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198724&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
11313.8857142857143-0.885714285714286
21211.50.5
31511.53.5
41210.15384615384621.84615384615385
51010.1538461538462-0.153846153846153
61210.15384615384621.84615384615385
71513.88571428571431.11428571428571
8910.1538461538462-1.15384615384615
91213.8857142857143-1.88571428571429
101110.15384615384620.846153846153847
111113.8857142857143-2.88571428571429
121110.15384615384620.846153846153847
131510.15384615384624.84615384615385
14710.1538461538462-3.15384615384615
151111.5-0.5
161110.15384615384620.846153846153847
171010.1538461538462-0.153846153846153
181413.88571428571430.114285714285714
191010.1538461538462-0.153846153846153
20610.1538461538462-4.15384615384615
211111.5-0.5
221513.88571428571431.11428571428571
231110.15384615384620.846153846153847
241210.15384615384621.84615384615385
251413.88571428571430.114285714285714
261513.88571428571431.11428571428571
27913.8857142857143-4.88571428571429
281313.8857142857143-0.885714285714286
291313.8857142857143-0.885714285714286
301611.54.5
311310.15384615384622.84615384615385
321213.8857142857143-1.88571428571429
331413.88571428571430.114285714285714
341111.5-0.5
35910.1538461538462-1.15384615384615
361613.88571428571432.11428571428571
371211.50.5
381010.1538461538462-0.153846153846153
391313.8857142857143-0.885714285714286
401613.88571428571432.11428571428571
411413.88571428571430.114285714285714
421510.15384615384624.84615384615385
43510.1538461538462-5.15384615384615
44810.1538461538462-2.15384615384615
451110.15384615384620.846153846153847
461613.88571428571432.11428571428571
471713.88571428571433.11428571428571
48910.1538461538462-1.15384615384615
49911.5-2.5
501313.8857142857143-0.885714285714286
511011.5-1.5
52610.1538461538462-4.15384615384615
531211.50.5
54811.5-3.5
551413.88571428571430.114285714285714
561213.8857142857143-1.88571428571429
571110.15384615384620.846153846153847
581613.88571428571432.11428571428571
59811.5-3.5
601513.88571428571431.11428571428571
61710.1538461538462-3.15384615384615
621613.88571428571432.11428571428571
631410.15384615384623.84615384615385
641613.88571428571432.11428571428571
65910.1538461538462-1.15384615384615
661413.88571428571430.114285714285714
671110.15384615384620.846153846153847
681310.15384615384622.84615384615385
691513.88571428571431.11428571428571
70510.1538461538462-5.15384615384615
711513.88571428571431.11428571428571
721313.8857142857143-0.885714285714286
731111.5-0.5
741113.8857142857143-2.88571428571429
751211.50.5
761213.8857142857143-1.88571428571429
771210.15384615384621.84615384615385
781213.8857142857143-1.88571428571429
791411.52.5
80610.1538461538462-4.15384615384615
81710.1538461538462-3.15384615384615
821410.15384615384623.84615384615385
831413.88571428571430.114285714285714
841010.1538461538462-0.153846153846153
851310.15384615384622.84615384615385
861210.15384615384621.84615384615385
87910.1538461538462-1.15384615384615
881211.50.5
891613.88571428571432.11428571428571
901010.1538461538462-0.153846153846153



Parameters (Session):
par1 = 1 ; par2 = none ; par4 = no ;
Parameters (R input):
par1 = 1 ; par2 = none ; par3 = ; par4 = no ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
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')
}