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 computationWed, 14 Dec 2011 07:26:28 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/14/t1323865633nmte191hce40qsm.htm/, Retrieved Wed, 01 May 2024 13:15:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=154894, Retrieved Wed, 01 May 2024 13:15:32 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact113
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 20:21:33] [b98453cac15ba1066b407e146608df68]
-   PD    [Recursive Partitioning (Regression Trees)] [WS10.2] [2011-12-14 12:26:28] [4b6873bd96f897d014a733f8c9ed3ed9] [Current]
Feedback Forum

Post a new message
Dataseries X:
1966	1	41
1966	2	39
1966	3	50
1966	4	40
1966	5	43
1966	6	38
1966	7	44
1966	8	35
1966	9	39
1966	10	35
1966	11	29
1966	12	49
1967	1	50
1967	2	59
1967	3	63
1967	4	32
1967	5	39
1967	6	47
1967	7	53
1967	8	60
1967	9	57
1967	10	52
1967	11	70
1967	12	90
1968	1	74
1968	2	62
1968	3	55
1968	4	84
1968	5	94
1968	6	70
1968	7	108
1968	8	139
1968	9	120
1968	10	97
1968	11	126
1968	12	149
1969	1	158
1969	2	124
1969	3	140
1969	4	109
1969	5	114
1969	6	77
1969	7	120
1969	8	133
1969	9	110
1969	10	92
1969	11	97
1969	12	78
1970	1	99
1970	2	107
1970	3	112
1970	4	90
1970	5	98
1970	6	125
1970	7	155
1970	8	190
1970	9	236
1970	10	189
1970	11	174
1970	12	178
1971	1	136
1971	2	161
1971	3	171
1971	4	149
1971	5	184
1971	6	155
1971	7	276
1971	8	224
1971	9	213
1971	10	279
1971	11	268
1971	12	287
1972	1	238
1972	2	213
1972	3	257
1972	4	293
1972	5	212
1972	6	246
1972	7	353
1972	8	339
1972	9	308
1972	10	247
1972	11	257
1972	12	322
1973	1	298
1973	2	273
1973	3	312
1973	4	249
1973	5	286
1973	6	279
1973	7	309
1973	8	401
1973	9	309
1973	10	328
1973	11	353
1973	12	354
1974	1	327
1974	2	324
1974	3	285
1974	4	243
1974	5	241
1974	6	287
1974	7	355
1974	8	460
1974	9	364
1974	10	487
1974	11	452
1974	12	391
1975	1	500
1975	2	451
1975	3	375
1975	4	372
1975	5	302
1975	6	316
1975	7	398
1975	8	394
1975	9	431
1975	10	431




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 4 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=154894&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=154894&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=154894&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 time4 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Goodness of Fit
Correlation0.9674
R-squared0.9358
RMSE0.7183

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.9674[/C][/ROW]
[ROW][C]R-squared[/C][C]0.9358[/C][/ROW]
[ROW][C]RMSE[/C][C]0.7183[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=154894&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=154894&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.9674
R-squared0.9358
RMSE0.7183







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
119661966.25-0.25
219661966.25-0.25
319661966.25-0.25
419661966.25-0.25
519661966.25-0.25
619661966.25-0.25
719661966.25-0.25
819661966.25-0.25
919661966.25-0.25
1019661966.25-0.25
1119661966.25-0.25
1219661966.25-0.25
1319671966.250.75
1419671967.36363636364-0.36363636363626
1519671967.36363636364-0.36363636363626
1619671966.250.75
1719671966.250.75
1819671966.250.75
1919671967.36363636364-0.36363636363626
2019671967.36363636364-0.36363636363626
2119671967.36363636364-0.36363636363626
2219671967.36363636364-0.36363636363626
2319671967.36363636364-0.36363636363626
2419671968.38461538462-1.38461538461547
2519681967.363636363640.63636363636374
2619681967.363636363640.63636363636374
2719681967.363636363640.63636363636374
2819681969.53333333333-1.5333333333333
2919681969.53333333333-1.5333333333333
3019681967.363636363640.63636363636374
3119681968.38461538462-0.384615384615472
3219681968.38461538462-0.384615384615472
3319681968.38461538462-0.384615384615472
3419681968.38461538462-0.384615384615472
3519681968.38461538462-0.384615384615472
3619681968.38461538462-0.384615384615472
3719691970.3-1.29999999999995
3819691969.53333333333-0.533333333333303
3919691969.53333333333-0.533333333333303
4019691969.53333333333-0.533333333333303
4119691969.53333333333-0.533333333333303
4219691969.53333333333-0.533333333333303
4319691968.384615384620.615384615384528
4419691968.384615384620.615384615384528
4519691968.384615384620.615384615384528
4619691968.384615384620.615384615384528
4719691968.384615384620.615384615384528
4819691968.384615384620.615384615384528
4919701969.533333333330.466666666666697
5019701969.533333333330.466666666666697
5119701969.533333333330.466666666666697
5219701969.533333333330.466666666666697
5319701969.533333333330.466666666666697
5419701969.533333333330.466666666666697
5519701970.3-0.299999999999955
5619701970.3-0.299999999999955
5719701971.83333333333-1.83333333333326
5819701970.3-0.299999999999955
5919701970.3-0.299999999999955
6019701970.3-0.299999999999955
6119711969.533333333331.4666666666667
6219711970.30.700000000000045
6319711970.30.700000000000045
6419711969.533333333331.4666666666667
6519711970.30.700000000000045
6619711970.30.700000000000045
6719711971.83333333333-0.833333333333258
6819711971.83333333333-0.833333333333258
6919711971.83333333333-0.833333333333258
7019711971.83333333333-0.833333333333258
7119711971.83333333333-0.833333333333258
7219711971.83333333333-0.833333333333258
7319721972.7-0.700000000000045
7419721972.7-0.700000000000045
7519721972.7-0.700000000000045
7619721973.7-1.70000000000005
7719721972.7-0.700000000000045
7819721972.7-0.700000000000045
7919721971.833333333330.166666666666742
8019721971.833333333330.166666666666742
8119721971.833333333330.166666666666742
8219721971.833333333330.166666666666742
8319721971.833333333330.166666666666742
8419721971.833333333330.166666666666742
8519731973.7-0.700000000000045
8619731972.70.299999999999955
8719731973.7-0.700000000000045
8819731972.70.299999999999955
8919731973.7-0.700000000000045
9019731972.70.299999999999955
9119731971.833333333331.16666666666674
9219731974.46666666667-1.4666666666667
9319731971.833333333331.16666666666674
9419731971.833333333331.16666666666674
9519731971.833333333331.16666666666674
9619731971.833333333331.16666666666674
9719741973.70.299999999999955
9819741973.70.299999999999955
9919741973.70.299999999999955
10019741972.71.29999999999995
10119741972.71.29999999999995
10219741973.70.299999999999955
10319741974.46666666667-0.466666666666697
10419741974.46666666667-0.466666666666697
10519741974.46666666667-0.466666666666697
10619741974.46666666667-0.466666666666697
10719741974.46666666667-0.466666666666697
10819741974.46666666667-0.466666666666697
10919751974.466666666670.533333333333303
11019751974.466666666670.533333333333303
11119751974.466666666670.533333333333303
11219751974.466666666670.533333333333303
11319751973.71.29999999999995
11419751973.71.29999999999995
11519751974.466666666670.533333333333303
11619751974.466666666670.533333333333303
11719751974.466666666670.533333333333303
11819751974.466666666670.533333333333303

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 1966 & 1966.25 & -0.25 \tabularnewline
2 & 1966 & 1966.25 & -0.25 \tabularnewline
3 & 1966 & 1966.25 & -0.25 \tabularnewline
4 & 1966 & 1966.25 & -0.25 \tabularnewline
5 & 1966 & 1966.25 & -0.25 \tabularnewline
6 & 1966 & 1966.25 & -0.25 \tabularnewline
7 & 1966 & 1966.25 & -0.25 \tabularnewline
8 & 1966 & 1966.25 & -0.25 \tabularnewline
9 & 1966 & 1966.25 & -0.25 \tabularnewline
10 & 1966 & 1966.25 & -0.25 \tabularnewline
11 & 1966 & 1966.25 & -0.25 \tabularnewline
12 & 1966 & 1966.25 & -0.25 \tabularnewline
13 & 1967 & 1966.25 & 0.75 \tabularnewline
14 & 1967 & 1967.36363636364 & -0.36363636363626 \tabularnewline
15 & 1967 & 1967.36363636364 & -0.36363636363626 \tabularnewline
16 & 1967 & 1966.25 & 0.75 \tabularnewline
17 & 1967 & 1966.25 & 0.75 \tabularnewline
18 & 1967 & 1966.25 & 0.75 \tabularnewline
19 & 1967 & 1967.36363636364 & -0.36363636363626 \tabularnewline
20 & 1967 & 1967.36363636364 & -0.36363636363626 \tabularnewline
21 & 1967 & 1967.36363636364 & -0.36363636363626 \tabularnewline
22 & 1967 & 1967.36363636364 & -0.36363636363626 \tabularnewline
23 & 1967 & 1967.36363636364 & -0.36363636363626 \tabularnewline
24 & 1967 & 1968.38461538462 & -1.38461538461547 \tabularnewline
25 & 1968 & 1967.36363636364 & 0.63636363636374 \tabularnewline
26 & 1968 & 1967.36363636364 & 0.63636363636374 \tabularnewline
27 & 1968 & 1967.36363636364 & 0.63636363636374 \tabularnewline
28 & 1968 & 1969.53333333333 & -1.5333333333333 \tabularnewline
29 & 1968 & 1969.53333333333 & -1.5333333333333 \tabularnewline
30 & 1968 & 1967.36363636364 & 0.63636363636374 \tabularnewline
31 & 1968 & 1968.38461538462 & -0.384615384615472 \tabularnewline
32 & 1968 & 1968.38461538462 & -0.384615384615472 \tabularnewline
33 & 1968 & 1968.38461538462 & -0.384615384615472 \tabularnewline
34 & 1968 & 1968.38461538462 & -0.384615384615472 \tabularnewline
35 & 1968 & 1968.38461538462 & -0.384615384615472 \tabularnewline
36 & 1968 & 1968.38461538462 & -0.384615384615472 \tabularnewline
37 & 1969 & 1970.3 & -1.29999999999995 \tabularnewline
38 & 1969 & 1969.53333333333 & -0.533333333333303 \tabularnewline
39 & 1969 & 1969.53333333333 & -0.533333333333303 \tabularnewline
40 & 1969 & 1969.53333333333 & -0.533333333333303 \tabularnewline
41 & 1969 & 1969.53333333333 & -0.533333333333303 \tabularnewline
42 & 1969 & 1969.53333333333 & -0.533333333333303 \tabularnewline
43 & 1969 & 1968.38461538462 & 0.615384615384528 \tabularnewline
44 & 1969 & 1968.38461538462 & 0.615384615384528 \tabularnewline
45 & 1969 & 1968.38461538462 & 0.615384615384528 \tabularnewline
46 & 1969 & 1968.38461538462 & 0.615384615384528 \tabularnewline
47 & 1969 & 1968.38461538462 & 0.615384615384528 \tabularnewline
48 & 1969 & 1968.38461538462 & 0.615384615384528 \tabularnewline
49 & 1970 & 1969.53333333333 & 0.466666666666697 \tabularnewline
50 & 1970 & 1969.53333333333 & 0.466666666666697 \tabularnewline
51 & 1970 & 1969.53333333333 & 0.466666666666697 \tabularnewline
52 & 1970 & 1969.53333333333 & 0.466666666666697 \tabularnewline
53 & 1970 & 1969.53333333333 & 0.466666666666697 \tabularnewline
54 & 1970 & 1969.53333333333 & 0.466666666666697 \tabularnewline
55 & 1970 & 1970.3 & -0.299999999999955 \tabularnewline
56 & 1970 & 1970.3 & -0.299999999999955 \tabularnewline
57 & 1970 & 1971.83333333333 & -1.83333333333326 \tabularnewline
58 & 1970 & 1970.3 & -0.299999999999955 \tabularnewline
59 & 1970 & 1970.3 & -0.299999999999955 \tabularnewline
60 & 1970 & 1970.3 & -0.299999999999955 \tabularnewline
61 & 1971 & 1969.53333333333 & 1.4666666666667 \tabularnewline
62 & 1971 & 1970.3 & 0.700000000000045 \tabularnewline
63 & 1971 & 1970.3 & 0.700000000000045 \tabularnewline
64 & 1971 & 1969.53333333333 & 1.4666666666667 \tabularnewline
65 & 1971 & 1970.3 & 0.700000000000045 \tabularnewline
66 & 1971 & 1970.3 & 0.700000000000045 \tabularnewline
67 & 1971 & 1971.83333333333 & -0.833333333333258 \tabularnewline
68 & 1971 & 1971.83333333333 & -0.833333333333258 \tabularnewline
69 & 1971 & 1971.83333333333 & -0.833333333333258 \tabularnewline
70 & 1971 & 1971.83333333333 & -0.833333333333258 \tabularnewline
71 & 1971 & 1971.83333333333 & -0.833333333333258 \tabularnewline
72 & 1971 & 1971.83333333333 & -0.833333333333258 \tabularnewline
73 & 1972 & 1972.7 & -0.700000000000045 \tabularnewline
74 & 1972 & 1972.7 & -0.700000000000045 \tabularnewline
75 & 1972 & 1972.7 & -0.700000000000045 \tabularnewline
76 & 1972 & 1973.7 & -1.70000000000005 \tabularnewline
77 & 1972 & 1972.7 & -0.700000000000045 \tabularnewline
78 & 1972 & 1972.7 & -0.700000000000045 \tabularnewline
79 & 1972 & 1971.83333333333 & 0.166666666666742 \tabularnewline
80 & 1972 & 1971.83333333333 & 0.166666666666742 \tabularnewline
81 & 1972 & 1971.83333333333 & 0.166666666666742 \tabularnewline
82 & 1972 & 1971.83333333333 & 0.166666666666742 \tabularnewline
83 & 1972 & 1971.83333333333 & 0.166666666666742 \tabularnewline
84 & 1972 & 1971.83333333333 & 0.166666666666742 \tabularnewline
85 & 1973 & 1973.7 & -0.700000000000045 \tabularnewline
86 & 1973 & 1972.7 & 0.299999999999955 \tabularnewline
87 & 1973 & 1973.7 & -0.700000000000045 \tabularnewline
88 & 1973 & 1972.7 & 0.299999999999955 \tabularnewline
89 & 1973 & 1973.7 & -0.700000000000045 \tabularnewline
90 & 1973 & 1972.7 & 0.299999999999955 \tabularnewline
91 & 1973 & 1971.83333333333 & 1.16666666666674 \tabularnewline
92 & 1973 & 1974.46666666667 & -1.4666666666667 \tabularnewline
93 & 1973 & 1971.83333333333 & 1.16666666666674 \tabularnewline
94 & 1973 & 1971.83333333333 & 1.16666666666674 \tabularnewline
95 & 1973 & 1971.83333333333 & 1.16666666666674 \tabularnewline
96 & 1973 & 1971.83333333333 & 1.16666666666674 \tabularnewline
97 & 1974 & 1973.7 & 0.299999999999955 \tabularnewline
98 & 1974 & 1973.7 & 0.299999999999955 \tabularnewline
99 & 1974 & 1973.7 & 0.299999999999955 \tabularnewline
100 & 1974 & 1972.7 & 1.29999999999995 \tabularnewline
101 & 1974 & 1972.7 & 1.29999999999995 \tabularnewline
102 & 1974 & 1973.7 & 0.299999999999955 \tabularnewline
103 & 1974 & 1974.46666666667 & -0.466666666666697 \tabularnewline
104 & 1974 & 1974.46666666667 & -0.466666666666697 \tabularnewline
105 & 1974 & 1974.46666666667 & -0.466666666666697 \tabularnewline
106 & 1974 & 1974.46666666667 & -0.466666666666697 \tabularnewline
107 & 1974 & 1974.46666666667 & -0.466666666666697 \tabularnewline
108 & 1974 & 1974.46666666667 & -0.466666666666697 \tabularnewline
109 & 1975 & 1974.46666666667 & 0.533333333333303 \tabularnewline
110 & 1975 & 1974.46666666667 & 0.533333333333303 \tabularnewline
111 & 1975 & 1974.46666666667 & 0.533333333333303 \tabularnewline
112 & 1975 & 1974.46666666667 & 0.533333333333303 \tabularnewline
113 & 1975 & 1973.7 & 1.29999999999995 \tabularnewline
114 & 1975 & 1973.7 & 1.29999999999995 \tabularnewline
115 & 1975 & 1974.46666666667 & 0.533333333333303 \tabularnewline
116 & 1975 & 1974.46666666667 & 0.533333333333303 \tabularnewline
117 & 1975 & 1974.46666666667 & 0.533333333333303 \tabularnewline
118 & 1975 & 1974.46666666667 & 0.533333333333303 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=154894&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]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]2[/C][C]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]3[/C][C]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]4[/C][C]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]5[/C][C]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]6[/C][C]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]7[/C][C]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]8[/C][C]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]9[/C][C]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]10[/C][C]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]11[/C][C]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]12[/C][C]1966[/C][C]1966.25[/C][C]-0.25[/C][/ROW]
[ROW][C]13[/C][C]1967[/C][C]1966.25[/C][C]0.75[/C][/ROW]
[ROW][C]14[/C][C]1967[/C][C]1967.36363636364[/C][C]-0.36363636363626[/C][/ROW]
[ROW][C]15[/C][C]1967[/C][C]1967.36363636364[/C][C]-0.36363636363626[/C][/ROW]
[ROW][C]16[/C][C]1967[/C][C]1966.25[/C][C]0.75[/C][/ROW]
[ROW][C]17[/C][C]1967[/C][C]1966.25[/C][C]0.75[/C][/ROW]
[ROW][C]18[/C][C]1967[/C][C]1966.25[/C][C]0.75[/C][/ROW]
[ROW][C]19[/C][C]1967[/C][C]1967.36363636364[/C][C]-0.36363636363626[/C][/ROW]
[ROW][C]20[/C][C]1967[/C][C]1967.36363636364[/C][C]-0.36363636363626[/C][/ROW]
[ROW][C]21[/C][C]1967[/C][C]1967.36363636364[/C][C]-0.36363636363626[/C][/ROW]
[ROW][C]22[/C][C]1967[/C][C]1967.36363636364[/C][C]-0.36363636363626[/C][/ROW]
[ROW][C]23[/C][C]1967[/C][C]1967.36363636364[/C][C]-0.36363636363626[/C][/ROW]
[ROW][C]24[/C][C]1967[/C][C]1968.38461538462[/C][C]-1.38461538461547[/C][/ROW]
[ROW][C]25[/C][C]1968[/C][C]1967.36363636364[/C][C]0.63636363636374[/C][/ROW]
[ROW][C]26[/C][C]1968[/C][C]1967.36363636364[/C][C]0.63636363636374[/C][/ROW]
[ROW][C]27[/C][C]1968[/C][C]1967.36363636364[/C][C]0.63636363636374[/C][/ROW]
[ROW][C]28[/C][C]1968[/C][C]1969.53333333333[/C][C]-1.5333333333333[/C][/ROW]
[ROW][C]29[/C][C]1968[/C][C]1969.53333333333[/C][C]-1.5333333333333[/C][/ROW]
[ROW][C]30[/C][C]1968[/C][C]1967.36363636364[/C][C]0.63636363636374[/C][/ROW]
[ROW][C]31[/C][C]1968[/C][C]1968.38461538462[/C][C]-0.384615384615472[/C][/ROW]
[ROW][C]32[/C][C]1968[/C][C]1968.38461538462[/C][C]-0.384615384615472[/C][/ROW]
[ROW][C]33[/C][C]1968[/C][C]1968.38461538462[/C][C]-0.384615384615472[/C][/ROW]
[ROW][C]34[/C][C]1968[/C][C]1968.38461538462[/C][C]-0.384615384615472[/C][/ROW]
[ROW][C]35[/C][C]1968[/C][C]1968.38461538462[/C][C]-0.384615384615472[/C][/ROW]
[ROW][C]36[/C][C]1968[/C][C]1968.38461538462[/C][C]-0.384615384615472[/C][/ROW]
[ROW][C]37[/C][C]1969[/C][C]1970.3[/C][C]-1.29999999999995[/C][/ROW]
[ROW][C]38[/C][C]1969[/C][C]1969.53333333333[/C][C]-0.533333333333303[/C][/ROW]
[ROW][C]39[/C][C]1969[/C][C]1969.53333333333[/C][C]-0.533333333333303[/C][/ROW]
[ROW][C]40[/C][C]1969[/C][C]1969.53333333333[/C][C]-0.533333333333303[/C][/ROW]
[ROW][C]41[/C][C]1969[/C][C]1969.53333333333[/C][C]-0.533333333333303[/C][/ROW]
[ROW][C]42[/C][C]1969[/C][C]1969.53333333333[/C][C]-0.533333333333303[/C][/ROW]
[ROW][C]43[/C][C]1969[/C][C]1968.38461538462[/C][C]0.615384615384528[/C][/ROW]
[ROW][C]44[/C][C]1969[/C][C]1968.38461538462[/C][C]0.615384615384528[/C][/ROW]
[ROW][C]45[/C][C]1969[/C][C]1968.38461538462[/C][C]0.615384615384528[/C][/ROW]
[ROW][C]46[/C][C]1969[/C][C]1968.38461538462[/C][C]0.615384615384528[/C][/ROW]
[ROW][C]47[/C][C]1969[/C][C]1968.38461538462[/C][C]0.615384615384528[/C][/ROW]
[ROW][C]48[/C][C]1969[/C][C]1968.38461538462[/C][C]0.615384615384528[/C][/ROW]
[ROW][C]49[/C][C]1970[/C][C]1969.53333333333[/C][C]0.466666666666697[/C][/ROW]
[ROW][C]50[/C][C]1970[/C][C]1969.53333333333[/C][C]0.466666666666697[/C][/ROW]
[ROW][C]51[/C][C]1970[/C][C]1969.53333333333[/C][C]0.466666666666697[/C][/ROW]
[ROW][C]52[/C][C]1970[/C][C]1969.53333333333[/C][C]0.466666666666697[/C][/ROW]
[ROW][C]53[/C][C]1970[/C][C]1969.53333333333[/C][C]0.466666666666697[/C][/ROW]
[ROW][C]54[/C][C]1970[/C][C]1969.53333333333[/C][C]0.466666666666697[/C][/ROW]
[ROW][C]55[/C][C]1970[/C][C]1970.3[/C][C]-0.299999999999955[/C][/ROW]
[ROW][C]56[/C][C]1970[/C][C]1970.3[/C][C]-0.299999999999955[/C][/ROW]
[ROW][C]57[/C][C]1970[/C][C]1971.83333333333[/C][C]-1.83333333333326[/C][/ROW]
[ROW][C]58[/C][C]1970[/C][C]1970.3[/C][C]-0.299999999999955[/C][/ROW]
[ROW][C]59[/C][C]1970[/C][C]1970.3[/C][C]-0.299999999999955[/C][/ROW]
[ROW][C]60[/C][C]1970[/C][C]1970.3[/C][C]-0.299999999999955[/C][/ROW]
[ROW][C]61[/C][C]1971[/C][C]1969.53333333333[/C][C]1.4666666666667[/C][/ROW]
[ROW][C]62[/C][C]1971[/C][C]1970.3[/C][C]0.700000000000045[/C][/ROW]
[ROW][C]63[/C][C]1971[/C][C]1970.3[/C][C]0.700000000000045[/C][/ROW]
[ROW][C]64[/C][C]1971[/C][C]1969.53333333333[/C][C]1.4666666666667[/C][/ROW]
[ROW][C]65[/C][C]1971[/C][C]1970.3[/C][C]0.700000000000045[/C][/ROW]
[ROW][C]66[/C][C]1971[/C][C]1970.3[/C][C]0.700000000000045[/C][/ROW]
[ROW][C]67[/C][C]1971[/C][C]1971.83333333333[/C][C]-0.833333333333258[/C][/ROW]
[ROW][C]68[/C][C]1971[/C][C]1971.83333333333[/C][C]-0.833333333333258[/C][/ROW]
[ROW][C]69[/C][C]1971[/C][C]1971.83333333333[/C][C]-0.833333333333258[/C][/ROW]
[ROW][C]70[/C][C]1971[/C][C]1971.83333333333[/C][C]-0.833333333333258[/C][/ROW]
[ROW][C]71[/C][C]1971[/C][C]1971.83333333333[/C][C]-0.833333333333258[/C][/ROW]
[ROW][C]72[/C][C]1971[/C][C]1971.83333333333[/C][C]-0.833333333333258[/C][/ROW]
[ROW][C]73[/C][C]1972[/C][C]1972.7[/C][C]-0.700000000000045[/C][/ROW]
[ROW][C]74[/C][C]1972[/C][C]1972.7[/C][C]-0.700000000000045[/C][/ROW]
[ROW][C]75[/C][C]1972[/C][C]1972.7[/C][C]-0.700000000000045[/C][/ROW]
[ROW][C]76[/C][C]1972[/C][C]1973.7[/C][C]-1.70000000000005[/C][/ROW]
[ROW][C]77[/C][C]1972[/C][C]1972.7[/C][C]-0.700000000000045[/C][/ROW]
[ROW][C]78[/C][C]1972[/C][C]1972.7[/C][C]-0.700000000000045[/C][/ROW]
[ROW][C]79[/C][C]1972[/C][C]1971.83333333333[/C][C]0.166666666666742[/C][/ROW]
[ROW][C]80[/C][C]1972[/C][C]1971.83333333333[/C][C]0.166666666666742[/C][/ROW]
[ROW][C]81[/C][C]1972[/C][C]1971.83333333333[/C][C]0.166666666666742[/C][/ROW]
[ROW][C]82[/C][C]1972[/C][C]1971.83333333333[/C][C]0.166666666666742[/C][/ROW]
[ROW][C]83[/C][C]1972[/C][C]1971.83333333333[/C][C]0.166666666666742[/C][/ROW]
[ROW][C]84[/C][C]1972[/C][C]1971.83333333333[/C][C]0.166666666666742[/C][/ROW]
[ROW][C]85[/C][C]1973[/C][C]1973.7[/C][C]-0.700000000000045[/C][/ROW]
[ROW][C]86[/C][C]1973[/C][C]1972.7[/C][C]0.299999999999955[/C][/ROW]
[ROW][C]87[/C][C]1973[/C][C]1973.7[/C][C]-0.700000000000045[/C][/ROW]
[ROW][C]88[/C][C]1973[/C][C]1972.7[/C][C]0.299999999999955[/C][/ROW]
[ROW][C]89[/C][C]1973[/C][C]1973.7[/C][C]-0.700000000000045[/C][/ROW]
[ROW][C]90[/C][C]1973[/C][C]1972.7[/C][C]0.299999999999955[/C][/ROW]
[ROW][C]91[/C][C]1973[/C][C]1971.83333333333[/C][C]1.16666666666674[/C][/ROW]
[ROW][C]92[/C][C]1973[/C][C]1974.46666666667[/C][C]-1.4666666666667[/C][/ROW]
[ROW][C]93[/C][C]1973[/C][C]1971.83333333333[/C][C]1.16666666666674[/C][/ROW]
[ROW][C]94[/C][C]1973[/C][C]1971.83333333333[/C][C]1.16666666666674[/C][/ROW]
[ROW][C]95[/C][C]1973[/C][C]1971.83333333333[/C][C]1.16666666666674[/C][/ROW]
[ROW][C]96[/C][C]1973[/C][C]1971.83333333333[/C][C]1.16666666666674[/C][/ROW]
[ROW][C]97[/C][C]1974[/C][C]1973.7[/C][C]0.299999999999955[/C][/ROW]
[ROW][C]98[/C][C]1974[/C][C]1973.7[/C][C]0.299999999999955[/C][/ROW]
[ROW][C]99[/C][C]1974[/C][C]1973.7[/C][C]0.299999999999955[/C][/ROW]
[ROW][C]100[/C][C]1974[/C][C]1972.7[/C][C]1.29999999999995[/C][/ROW]
[ROW][C]101[/C][C]1974[/C][C]1972.7[/C][C]1.29999999999995[/C][/ROW]
[ROW][C]102[/C][C]1974[/C][C]1973.7[/C][C]0.299999999999955[/C][/ROW]
[ROW][C]103[/C][C]1974[/C][C]1974.46666666667[/C][C]-0.466666666666697[/C][/ROW]
[ROW][C]104[/C][C]1974[/C][C]1974.46666666667[/C][C]-0.466666666666697[/C][/ROW]
[ROW][C]105[/C][C]1974[/C][C]1974.46666666667[/C][C]-0.466666666666697[/C][/ROW]
[ROW][C]106[/C][C]1974[/C][C]1974.46666666667[/C][C]-0.466666666666697[/C][/ROW]
[ROW][C]107[/C][C]1974[/C][C]1974.46666666667[/C][C]-0.466666666666697[/C][/ROW]
[ROW][C]108[/C][C]1974[/C][C]1974.46666666667[/C][C]-0.466666666666697[/C][/ROW]
[ROW][C]109[/C][C]1975[/C][C]1974.46666666667[/C][C]0.533333333333303[/C][/ROW]
[ROW][C]110[/C][C]1975[/C][C]1974.46666666667[/C][C]0.533333333333303[/C][/ROW]
[ROW][C]111[/C][C]1975[/C][C]1974.46666666667[/C][C]0.533333333333303[/C][/ROW]
[ROW][C]112[/C][C]1975[/C][C]1974.46666666667[/C][C]0.533333333333303[/C][/ROW]
[ROW][C]113[/C][C]1975[/C][C]1973.7[/C][C]1.29999999999995[/C][/ROW]
[ROW][C]114[/C][C]1975[/C][C]1973.7[/C][C]1.29999999999995[/C][/ROW]
[ROW][C]115[/C][C]1975[/C][C]1974.46666666667[/C][C]0.533333333333303[/C][/ROW]
[ROW][C]116[/C][C]1975[/C][C]1974.46666666667[/C][C]0.533333333333303[/C][/ROW]
[ROW][C]117[/C][C]1975[/C][C]1974.46666666667[/C][C]0.533333333333303[/C][/ROW]
[ROW][C]118[/C][C]1975[/C][C]1974.46666666667[/C][C]0.533333333333303[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=154894&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=154894&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
119661966.25-0.25
219661966.25-0.25
319661966.25-0.25
419661966.25-0.25
519661966.25-0.25
619661966.25-0.25
719661966.25-0.25
819661966.25-0.25
919661966.25-0.25
1019661966.25-0.25
1119661966.25-0.25
1219661966.25-0.25
1319671966.250.75
1419671967.36363636364-0.36363636363626
1519671967.36363636364-0.36363636363626
1619671966.250.75
1719671966.250.75
1819671966.250.75
1919671967.36363636364-0.36363636363626
2019671967.36363636364-0.36363636363626
2119671967.36363636364-0.36363636363626
2219671967.36363636364-0.36363636363626
2319671967.36363636364-0.36363636363626
2419671968.38461538462-1.38461538461547
2519681967.363636363640.63636363636374
2619681967.363636363640.63636363636374
2719681967.363636363640.63636363636374
2819681969.53333333333-1.5333333333333
2919681969.53333333333-1.5333333333333
3019681967.363636363640.63636363636374
3119681968.38461538462-0.384615384615472
3219681968.38461538462-0.384615384615472
3319681968.38461538462-0.384615384615472
3419681968.38461538462-0.384615384615472
3519681968.38461538462-0.384615384615472
3619681968.38461538462-0.384615384615472
3719691970.3-1.29999999999995
3819691969.53333333333-0.533333333333303
3919691969.53333333333-0.533333333333303
4019691969.53333333333-0.533333333333303
4119691969.53333333333-0.533333333333303
4219691969.53333333333-0.533333333333303
4319691968.384615384620.615384615384528
4419691968.384615384620.615384615384528
4519691968.384615384620.615384615384528
4619691968.384615384620.615384615384528
4719691968.384615384620.615384615384528
4819691968.384615384620.615384615384528
4919701969.533333333330.466666666666697
5019701969.533333333330.466666666666697
5119701969.533333333330.466666666666697
5219701969.533333333330.466666666666697
5319701969.533333333330.466666666666697
5419701969.533333333330.466666666666697
5519701970.3-0.299999999999955
5619701970.3-0.299999999999955
5719701971.83333333333-1.83333333333326
5819701970.3-0.299999999999955
5919701970.3-0.299999999999955
6019701970.3-0.299999999999955
6119711969.533333333331.4666666666667
6219711970.30.700000000000045
6319711970.30.700000000000045
6419711969.533333333331.4666666666667
6519711970.30.700000000000045
6619711970.30.700000000000045
6719711971.83333333333-0.833333333333258
6819711971.83333333333-0.833333333333258
6919711971.83333333333-0.833333333333258
7019711971.83333333333-0.833333333333258
7119711971.83333333333-0.833333333333258
7219711971.83333333333-0.833333333333258
7319721972.7-0.700000000000045
7419721972.7-0.700000000000045
7519721972.7-0.700000000000045
7619721973.7-1.70000000000005
7719721972.7-0.700000000000045
7819721972.7-0.700000000000045
7919721971.833333333330.166666666666742
8019721971.833333333330.166666666666742
8119721971.833333333330.166666666666742
8219721971.833333333330.166666666666742
8319721971.833333333330.166666666666742
8419721971.833333333330.166666666666742
8519731973.7-0.700000000000045
8619731972.70.299999999999955
8719731973.7-0.700000000000045
8819731972.70.299999999999955
8919731973.7-0.700000000000045
9019731972.70.299999999999955
9119731971.833333333331.16666666666674
9219731974.46666666667-1.4666666666667
9319731971.833333333331.16666666666674
9419731971.833333333331.16666666666674
9519731971.833333333331.16666666666674
9619731971.833333333331.16666666666674
9719741973.70.299999999999955
9819741973.70.299999999999955
9919741973.70.299999999999955
10019741972.71.29999999999995
10119741972.71.29999999999995
10219741973.70.299999999999955
10319741974.46666666667-0.466666666666697
10419741974.46666666667-0.466666666666697
10519741974.46666666667-0.466666666666697
10619741974.46666666667-0.466666666666697
10719741974.46666666667-0.466666666666697
10819741974.46666666667-0.466666666666697
10919751974.466666666670.533333333333303
11019751974.466666666670.533333333333303
11119751974.466666666670.533333333333303
11219751974.466666666670.533333333333303
11319751973.71.29999999999995
11419751973.71.29999999999995
11519751974.466666666670.533333333333303
11619751974.466666666670.533333333333303
11719751974.466666666670.533333333333303
11819751974.466666666670.533333333333303



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