Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_regression_trees1.wasp
Title produced by softwareRecursive Partitioning (Regression Trees)
Date of computationWed, 21 Dec 2011 14:21:18 -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/21/t1324495319nalw5sg2q6hcbys.htm/, Retrieved Tue, 07 May 2024 05:10:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=158965, Retrieved Tue, 07 May 2024 05:10:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact54
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Recursive Partitioning (Regression Trees)] [] [2011-12-21 19:21:18] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.072	0.0213
0.073	0.0218
0.073	0.0290
0.073	0.0263
0.074	0.0267
0.073	0.0181
0.074	0.0133
0.074	0.0088
0.076	0.0128
0.076	0.0126
0.077	0.0126
0.077	0.0129
0.078	0.0110
0.078	0.0137
0.080	0.0121
0.081	0.0174
0.081	0.0176
0.082	0.0148
0.081	0.0104
0.081	0.0162
0.081	0.0149
0.080	0.0179
0.082	0.0180
0.084	0.0158
0.084	0.0186
0.085	0.0174
0.086	0.0159
0.085	0.0126
0.083	0.0113
0.078	0.0192
0.078	0.0261
0.080	0.0226
0.086	0.0241
0.089	0.0226
0.089	0.0203
0.086	0.0286
0.083	0.0255
0.083	0.0227
0.083	0.0226
0.084	0.0257
0.085	0.0307
0.084	0.0276
0.086	0.0251
0.085	0.0287
0.085	0.0314
0.085	0.0311
0.085	0.0316
0.085	0.0247
0.085	0.0257
0.085	0.0289
0.085	0.0263
0.086	0.0238
0.086	0.0169
0.086	0.0196
0.086	0.0219
0.084	0.0187
0.080	0.0160
0.079	0.0163
0.080	0.0122
0.080	0.0121
0.080	0.0149
0.080	0.0164
0.079	0.0166
0.079	0.0177
0.079	0.0182
0.080	0.0178
0.079	0.0128
0.075	0.0129
0.072	0.0137
0.070	0.0112
0.069	0.0151
0.071	0.0224
0.071	0.0294
0.072	0.0309
0.071	0.0346
0.069	0.0364
0.068	0.0439
0.067	0.0415
0.067	0.0521
0.069	0.0580
0.073	0.0591
0.074	0.0539
0.073	0.0546
0.071	0.0472
0.070	0.0314
0.071	0.0263
0.075	0.0232
0.077	0.0193
0.078	0.0062
0.077	0.0060
0.077	-0.0037
0.078	-0.0110
0.080	-0.0168
0.081	-0.0078
0.081	-0.0119
0.080	-0.0097
0.081	-0.0012
0.082	0.0026
0.083	0.0062
0.084	0.0070
0.085	0.0166
0.085	0.0180
0.085	0.0227
0.085	0.0246
0.085	0.0257
0.083	0.0232
0.082	0.0291
0.081	0.0301
0.079	0.0286
0.076	0.0310
0.073	0.0322
0.071	0.0339
0.070	0.0352
0.070	0.0341
0.070	0.0335
0.070	0.0367
0.069	0.0375
0.068	0.0360
0.067	0.0355
0.066	0.0357




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=158965&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'Gwilym Jenkins' @ jenkins.wessa.net







Goodness of Fit
Correlation0.6594
R-squared0.4348
RMSE0.0044

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.6594[/C][/ROW]
[ROW][C]R-squared[/C][C]0.4348[/C][/ROW]
[ROW][C]RMSE[/C][C]0.0044[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=158965&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=158965&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.6594
R-squared0.4348
RMSE0.0044







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
10.0720.08022-0.00822000000000001
20.0730.08022-0.00722
30.0730.08022-0.00722
40.0730.08022-0.00722
50.0740.08022-0.00622
60.0730.08022-0.00722
70.0740.08022-0.00622
80.0740.08022-0.00622
90.0760.08022-0.00422
100.0760.08022-0.00422
110.0770.08022-0.00322
120.0770.08022-0.00322
130.0780.08022-0.00222
140.0780.08022-0.00222
150.080.08022-0.000219999999999998
160.0810.080220.000780000000000003
170.0810.080220.000780000000000003
180.0820.080220.00178
190.0810.080220.000780000000000003
200.0810.080220.000780000000000003
210.0810.080220.000780000000000003
220.080.08022-0.000219999999999998
230.0820.080220.00178
240.0840.080220.00378000000000001
250.0840.080220.00378000000000001
260.0850.080220.00478000000000001
270.0860.080220.00577999999999999
280.0850.080220.00478000000000001
290.0830.080220.00278
300.0780.08022-0.00222
310.0780.08022-0.00222
320.080.08022-0.000219999999999998
330.0860.080220.00577999999999999
340.0890.080220.00878
350.0890.080220.00878
360.0860.080220.00577999999999999
370.0830.080220.00278
380.0830.080220.00278
390.0830.080220.00278
400.0840.080220.00378000000000001
410.0850.080220.00478000000000001
420.0840.080220.00378000000000001
430.0860.080220.00577999999999999
440.0850.080220.00478000000000001
450.0850.080220.00478000000000001
460.0850.080220.00478000000000001
470.0850.080220.00478000000000001
480.0850.080220.00478000000000001
490.0850.080220.00478000000000001
500.0850.080220.00478000000000001
510.0850.080220.00478000000000001
520.0860.080220.00577999999999999
530.0860.080220.00577999999999999
540.0860.080220.00577999999999999
550.0860.080220.00577999999999999
560.0840.080220.00378000000000001
570.080.08022-0.000219999999999998
580.0790.08022-0.00122
590.080.08022-0.000219999999999998
600.080.08022-0.000219999999999998
610.080.08022-0.000219999999999998
620.080.08022-0.000219999999999998
630.0790.08022-0.00122
640.0790.08022-0.00122
650.0790.08022-0.00122
660.080.08022-0.000219999999999998
670.0790.08022-0.00122
680.0750.08022-0.00522
690.0720.08022-0.00822000000000001
700.070.08022-0.01022
710.0690.08022-0.01122
720.0710.08022-0.00922000000000001
730.0710.08022-0.00922000000000001
740.0720.08022-0.00822000000000001
750.0710.06980.00119999999999999
760.0690.0698-0.000799999999999995
770.0680.0698-0.0018
780.0670.0698-0.0028
790.0670.0698-0.0028
800.0690.0698-0.000799999999999995
810.0730.06980.00319999999999999
820.0740.06980.0042
830.0730.06980.00319999999999999
840.0710.06980.00119999999999999
850.070.08022-0.01022
860.0710.08022-0.00922000000000001
870.0750.08022-0.00522
880.0770.08022-0.00322
890.0780.08022-0.00222
900.0770.08022-0.00322
910.0770.08022-0.00322
920.0780.08022-0.00222
930.080.08022-0.000219999999999998
940.0810.080220.000780000000000003
950.0810.080220.000780000000000003
960.080.08022-0.000219999999999998
970.0810.080220.000780000000000003
980.0820.080220.00178
990.0830.080220.00278
1000.0840.080220.00378000000000001
1010.0850.080220.00478000000000001
1020.0850.080220.00478000000000001
1030.0850.080220.00478000000000001
1040.0850.080220.00478000000000001
1050.0850.080220.00478000000000001
1060.0830.080220.00278
1070.0820.080220.00178
1080.0810.080220.000780000000000003
1090.0790.08022-0.00122
1100.0760.08022-0.00422
1110.0730.06980.00319999999999999
1120.0710.06980.00119999999999999
1130.070.06980.000200000000000006
1140.070.06980.000200000000000006
1150.070.06980.000200000000000006
1160.070.06980.000200000000000006
1170.0690.0698-0.000799999999999995
1180.0680.0698-0.0018
1190.0670.0698-0.0028
1200.0660.0698-0.0038

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 0.072 & 0.08022 & -0.00822000000000001 \tabularnewline
2 & 0.073 & 0.08022 & -0.00722 \tabularnewline
3 & 0.073 & 0.08022 & -0.00722 \tabularnewline
4 & 0.073 & 0.08022 & -0.00722 \tabularnewline
5 & 0.074 & 0.08022 & -0.00622 \tabularnewline
6 & 0.073 & 0.08022 & -0.00722 \tabularnewline
7 & 0.074 & 0.08022 & -0.00622 \tabularnewline
8 & 0.074 & 0.08022 & -0.00622 \tabularnewline
9 & 0.076 & 0.08022 & -0.00422 \tabularnewline
10 & 0.076 & 0.08022 & -0.00422 \tabularnewline
11 & 0.077 & 0.08022 & -0.00322 \tabularnewline
12 & 0.077 & 0.08022 & -0.00322 \tabularnewline
13 & 0.078 & 0.08022 & -0.00222 \tabularnewline
14 & 0.078 & 0.08022 & -0.00222 \tabularnewline
15 & 0.08 & 0.08022 & -0.000219999999999998 \tabularnewline
16 & 0.081 & 0.08022 & 0.000780000000000003 \tabularnewline
17 & 0.081 & 0.08022 & 0.000780000000000003 \tabularnewline
18 & 0.082 & 0.08022 & 0.00178 \tabularnewline
19 & 0.081 & 0.08022 & 0.000780000000000003 \tabularnewline
20 & 0.081 & 0.08022 & 0.000780000000000003 \tabularnewline
21 & 0.081 & 0.08022 & 0.000780000000000003 \tabularnewline
22 & 0.08 & 0.08022 & -0.000219999999999998 \tabularnewline
23 & 0.082 & 0.08022 & 0.00178 \tabularnewline
24 & 0.084 & 0.08022 & 0.00378000000000001 \tabularnewline
25 & 0.084 & 0.08022 & 0.00378000000000001 \tabularnewline
26 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
27 & 0.086 & 0.08022 & 0.00577999999999999 \tabularnewline
28 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
29 & 0.083 & 0.08022 & 0.00278 \tabularnewline
30 & 0.078 & 0.08022 & -0.00222 \tabularnewline
31 & 0.078 & 0.08022 & -0.00222 \tabularnewline
32 & 0.08 & 0.08022 & -0.000219999999999998 \tabularnewline
33 & 0.086 & 0.08022 & 0.00577999999999999 \tabularnewline
34 & 0.089 & 0.08022 & 0.00878 \tabularnewline
35 & 0.089 & 0.08022 & 0.00878 \tabularnewline
36 & 0.086 & 0.08022 & 0.00577999999999999 \tabularnewline
37 & 0.083 & 0.08022 & 0.00278 \tabularnewline
38 & 0.083 & 0.08022 & 0.00278 \tabularnewline
39 & 0.083 & 0.08022 & 0.00278 \tabularnewline
40 & 0.084 & 0.08022 & 0.00378000000000001 \tabularnewline
41 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
42 & 0.084 & 0.08022 & 0.00378000000000001 \tabularnewline
43 & 0.086 & 0.08022 & 0.00577999999999999 \tabularnewline
44 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
45 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
46 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
47 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
48 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
49 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
50 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
51 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
52 & 0.086 & 0.08022 & 0.00577999999999999 \tabularnewline
53 & 0.086 & 0.08022 & 0.00577999999999999 \tabularnewline
54 & 0.086 & 0.08022 & 0.00577999999999999 \tabularnewline
55 & 0.086 & 0.08022 & 0.00577999999999999 \tabularnewline
56 & 0.084 & 0.08022 & 0.00378000000000001 \tabularnewline
57 & 0.08 & 0.08022 & -0.000219999999999998 \tabularnewline
58 & 0.079 & 0.08022 & -0.00122 \tabularnewline
59 & 0.08 & 0.08022 & -0.000219999999999998 \tabularnewline
60 & 0.08 & 0.08022 & -0.000219999999999998 \tabularnewline
61 & 0.08 & 0.08022 & -0.000219999999999998 \tabularnewline
62 & 0.08 & 0.08022 & -0.000219999999999998 \tabularnewline
63 & 0.079 & 0.08022 & -0.00122 \tabularnewline
64 & 0.079 & 0.08022 & -0.00122 \tabularnewline
65 & 0.079 & 0.08022 & -0.00122 \tabularnewline
66 & 0.08 & 0.08022 & -0.000219999999999998 \tabularnewline
67 & 0.079 & 0.08022 & -0.00122 \tabularnewline
68 & 0.075 & 0.08022 & -0.00522 \tabularnewline
69 & 0.072 & 0.08022 & -0.00822000000000001 \tabularnewline
70 & 0.07 & 0.08022 & -0.01022 \tabularnewline
71 & 0.069 & 0.08022 & -0.01122 \tabularnewline
72 & 0.071 & 0.08022 & -0.00922000000000001 \tabularnewline
73 & 0.071 & 0.08022 & -0.00922000000000001 \tabularnewline
74 & 0.072 & 0.08022 & -0.00822000000000001 \tabularnewline
75 & 0.071 & 0.0698 & 0.00119999999999999 \tabularnewline
76 & 0.069 & 0.0698 & -0.000799999999999995 \tabularnewline
77 & 0.068 & 0.0698 & -0.0018 \tabularnewline
78 & 0.067 & 0.0698 & -0.0028 \tabularnewline
79 & 0.067 & 0.0698 & -0.0028 \tabularnewline
80 & 0.069 & 0.0698 & -0.000799999999999995 \tabularnewline
81 & 0.073 & 0.0698 & 0.00319999999999999 \tabularnewline
82 & 0.074 & 0.0698 & 0.0042 \tabularnewline
83 & 0.073 & 0.0698 & 0.00319999999999999 \tabularnewline
84 & 0.071 & 0.0698 & 0.00119999999999999 \tabularnewline
85 & 0.07 & 0.08022 & -0.01022 \tabularnewline
86 & 0.071 & 0.08022 & -0.00922000000000001 \tabularnewline
87 & 0.075 & 0.08022 & -0.00522 \tabularnewline
88 & 0.077 & 0.08022 & -0.00322 \tabularnewline
89 & 0.078 & 0.08022 & -0.00222 \tabularnewline
90 & 0.077 & 0.08022 & -0.00322 \tabularnewline
91 & 0.077 & 0.08022 & -0.00322 \tabularnewline
92 & 0.078 & 0.08022 & -0.00222 \tabularnewline
93 & 0.08 & 0.08022 & -0.000219999999999998 \tabularnewline
94 & 0.081 & 0.08022 & 0.000780000000000003 \tabularnewline
95 & 0.081 & 0.08022 & 0.000780000000000003 \tabularnewline
96 & 0.08 & 0.08022 & -0.000219999999999998 \tabularnewline
97 & 0.081 & 0.08022 & 0.000780000000000003 \tabularnewline
98 & 0.082 & 0.08022 & 0.00178 \tabularnewline
99 & 0.083 & 0.08022 & 0.00278 \tabularnewline
100 & 0.084 & 0.08022 & 0.00378000000000001 \tabularnewline
101 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
102 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
103 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
104 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
105 & 0.085 & 0.08022 & 0.00478000000000001 \tabularnewline
106 & 0.083 & 0.08022 & 0.00278 \tabularnewline
107 & 0.082 & 0.08022 & 0.00178 \tabularnewline
108 & 0.081 & 0.08022 & 0.000780000000000003 \tabularnewline
109 & 0.079 & 0.08022 & -0.00122 \tabularnewline
110 & 0.076 & 0.08022 & -0.00422 \tabularnewline
111 & 0.073 & 0.0698 & 0.00319999999999999 \tabularnewline
112 & 0.071 & 0.0698 & 0.00119999999999999 \tabularnewline
113 & 0.07 & 0.0698 & 0.000200000000000006 \tabularnewline
114 & 0.07 & 0.0698 & 0.000200000000000006 \tabularnewline
115 & 0.07 & 0.0698 & 0.000200000000000006 \tabularnewline
116 & 0.07 & 0.0698 & 0.000200000000000006 \tabularnewline
117 & 0.069 & 0.0698 & -0.000799999999999995 \tabularnewline
118 & 0.068 & 0.0698 & -0.0018 \tabularnewline
119 & 0.067 & 0.0698 & -0.0028 \tabularnewline
120 & 0.066 & 0.0698 & -0.0038 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=158965&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]0.072[/C][C]0.08022[/C][C]-0.00822000000000001[/C][/ROW]
[ROW][C]2[/C][C]0.073[/C][C]0.08022[/C][C]-0.00722[/C][/ROW]
[ROW][C]3[/C][C]0.073[/C][C]0.08022[/C][C]-0.00722[/C][/ROW]
[ROW][C]4[/C][C]0.073[/C][C]0.08022[/C][C]-0.00722[/C][/ROW]
[ROW][C]5[/C][C]0.074[/C][C]0.08022[/C][C]-0.00622[/C][/ROW]
[ROW][C]6[/C][C]0.073[/C][C]0.08022[/C][C]-0.00722[/C][/ROW]
[ROW][C]7[/C][C]0.074[/C][C]0.08022[/C][C]-0.00622[/C][/ROW]
[ROW][C]8[/C][C]0.074[/C][C]0.08022[/C][C]-0.00622[/C][/ROW]
[ROW][C]9[/C][C]0.076[/C][C]0.08022[/C][C]-0.00422[/C][/ROW]
[ROW][C]10[/C][C]0.076[/C][C]0.08022[/C][C]-0.00422[/C][/ROW]
[ROW][C]11[/C][C]0.077[/C][C]0.08022[/C][C]-0.00322[/C][/ROW]
[ROW][C]12[/C][C]0.077[/C][C]0.08022[/C][C]-0.00322[/C][/ROW]
[ROW][C]13[/C][C]0.078[/C][C]0.08022[/C][C]-0.00222[/C][/ROW]
[ROW][C]14[/C][C]0.078[/C][C]0.08022[/C][C]-0.00222[/C][/ROW]
[ROW][C]15[/C][C]0.08[/C][C]0.08022[/C][C]-0.000219999999999998[/C][/ROW]
[ROW][C]16[/C][C]0.081[/C][C]0.08022[/C][C]0.000780000000000003[/C][/ROW]
[ROW][C]17[/C][C]0.081[/C][C]0.08022[/C][C]0.000780000000000003[/C][/ROW]
[ROW][C]18[/C][C]0.082[/C][C]0.08022[/C][C]0.00178[/C][/ROW]
[ROW][C]19[/C][C]0.081[/C][C]0.08022[/C][C]0.000780000000000003[/C][/ROW]
[ROW][C]20[/C][C]0.081[/C][C]0.08022[/C][C]0.000780000000000003[/C][/ROW]
[ROW][C]21[/C][C]0.081[/C][C]0.08022[/C][C]0.000780000000000003[/C][/ROW]
[ROW][C]22[/C][C]0.08[/C][C]0.08022[/C][C]-0.000219999999999998[/C][/ROW]
[ROW][C]23[/C][C]0.082[/C][C]0.08022[/C][C]0.00178[/C][/ROW]
[ROW][C]24[/C][C]0.084[/C][C]0.08022[/C][C]0.00378000000000001[/C][/ROW]
[ROW][C]25[/C][C]0.084[/C][C]0.08022[/C][C]0.00378000000000001[/C][/ROW]
[ROW][C]26[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]27[/C][C]0.086[/C][C]0.08022[/C][C]0.00577999999999999[/C][/ROW]
[ROW][C]28[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]29[/C][C]0.083[/C][C]0.08022[/C][C]0.00278[/C][/ROW]
[ROW][C]30[/C][C]0.078[/C][C]0.08022[/C][C]-0.00222[/C][/ROW]
[ROW][C]31[/C][C]0.078[/C][C]0.08022[/C][C]-0.00222[/C][/ROW]
[ROW][C]32[/C][C]0.08[/C][C]0.08022[/C][C]-0.000219999999999998[/C][/ROW]
[ROW][C]33[/C][C]0.086[/C][C]0.08022[/C][C]0.00577999999999999[/C][/ROW]
[ROW][C]34[/C][C]0.089[/C][C]0.08022[/C][C]0.00878[/C][/ROW]
[ROW][C]35[/C][C]0.089[/C][C]0.08022[/C][C]0.00878[/C][/ROW]
[ROW][C]36[/C][C]0.086[/C][C]0.08022[/C][C]0.00577999999999999[/C][/ROW]
[ROW][C]37[/C][C]0.083[/C][C]0.08022[/C][C]0.00278[/C][/ROW]
[ROW][C]38[/C][C]0.083[/C][C]0.08022[/C][C]0.00278[/C][/ROW]
[ROW][C]39[/C][C]0.083[/C][C]0.08022[/C][C]0.00278[/C][/ROW]
[ROW][C]40[/C][C]0.084[/C][C]0.08022[/C][C]0.00378000000000001[/C][/ROW]
[ROW][C]41[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]42[/C][C]0.084[/C][C]0.08022[/C][C]0.00378000000000001[/C][/ROW]
[ROW][C]43[/C][C]0.086[/C][C]0.08022[/C][C]0.00577999999999999[/C][/ROW]
[ROW][C]44[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]45[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]46[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]47[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]48[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]49[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]50[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]51[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]52[/C][C]0.086[/C][C]0.08022[/C][C]0.00577999999999999[/C][/ROW]
[ROW][C]53[/C][C]0.086[/C][C]0.08022[/C][C]0.00577999999999999[/C][/ROW]
[ROW][C]54[/C][C]0.086[/C][C]0.08022[/C][C]0.00577999999999999[/C][/ROW]
[ROW][C]55[/C][C]0.086[/C][C]0.08022[/C][C]0.00577999999999999[/C][/ROW]
[ROW][C]56[/C][C]0.084[/C][C]0.08022[/C][C]0.00378000000000001[/C][/ROW]
[ROW][C]57[/C][C]0.08[/C][C]0.08022[/C][C]-0.000219999999999998[/C][/ROW]
[ROW][C]58[/C][C]0.079[/C][C]0.08022[/C][C]-0.00122[/C][/ROW]
[ROW][C]59[/C][C]0.08[/C][C]0.08022[/C][C]-0.000219999999999998[/C][/ROW]
[ROW][C]60[/C][C]0.08[/C][C]0.08022[/C][C]-0.000219999999999998[/C][/ROW]
[ROW][C]61[/C][C]0.08[/C][C]0.08022[/C][C]-0.000219999999999998[/C][/ROW]
[ROW][C]62[/C][C]0.08[/C][C]0.08022[/C][C]-0.000219999999999998[/C][/ROW]
[ROW][C]63[/C][C]0.079[/C][C]0.08022[/C][C]-0.00122[/C][/ROW]
[ROW][C]64[/C][C]0.079[/C][C]0.08022[/C][C]-0.00122[/C][/ROW]
[ROW][C]65[/C][C]0.079[/C][C]0.08022[/C][C]-0.00122[/C][/ROW]
[ROW][C]66[/C][C]0.08[/C][C]0.08022[/C][C]-0.000219999999999998[/C][/ROW]
[ROW][C]67[/C][C]0.079[/C][C]0.08022[/C][C]-0.00122[/C][/ROW]
[ROW][C]68[/C][C]0.075[/C][C]0.08022[/C][C]-0.00522[/C][/ROW]
[ROW][C]69[/C][C]0.072[/C][C]0.08022[/C][C]-0.00822000000000001[/C][/ROW]
[ROW][C]70[/C][C]0.07[/C][C]0.08022[/C][C]-0.01022[/C][/ROW]
[ROW][C]71[/C][C]0.069[/C][C]0.08022[/C][C]-0.01122[/C][/ROW]
[ROW][C]72[/C][C]0.071[/C][C]0.08022[/C][C]-0.00922000000000001[/C][/ROW]
[ROW][C]73[/C][C]0.071[/C][C]0.08022[/C][C]-0.00922000000000001[/C][/ROW]
[ROW][C]74[/C][C]0.072[/C][C]0.08022[/C][C]-0.00822000000000001[/C][/ROW]
[ROW][C]75[/C][C]0.071[/C][C]0.0698[/C][C]0.00119999999999999[/C][/ROW]
[ROW][C]76[/C][C]0.069[/C][C]0.0698[/C][C]-0.000799999999999995[/C][/ROW]
[ROW][C]77[/C][C]0.068[/C][C]0.0698[/C][C]-0.0018[/C][/ROW]
[ROW][C]78[/C][C]0.067[/C][C]0.0698[/C][C]-0.0028[/C][/ROW]
[ROW][C]79[/C][C]0.067[/C][C]0.0698[/C][C]-0.0028[/C][/ROW]
[ROW][C]80[/C][C]0.069[/C][C]0.0698[/C][C]-0.000799999999999995[/C][/ROW]
[ROW][C]81[/C][C]0.073[/C][C]0.0698[/C][C]0.00319999999999999[/C][/ROW]
[ROW][C]82[/C][C]0.074[/C][C]0.0698[/C][C]0.0042[/C][/ROW]
[ROW][C]83[/C][C]0.073[/C][C]0.0698[/C][C]0.00319999999999999[/C][/ROW]
[ROW][C]84[/C][C]0.071[/C][C]0.0698[/C][C]0.00119999999999999[/C][/ROW]
[ROW][C]85[/C][C]0.07[/C][C]0.08022[/C][C]-0.01022[/C][/ROW]
[ROW][C]86[/C][C]0.071[/C][C]0.08022[/C][C]-0.00922000000000001[/C][/ROW]
[ROW][C]87[/C][C]0.075[/C][C]0.08022[/C][C]-0.00522[/C][/ROW]
[ROW][C]88[/C][C]0.077[/C][C]0.08022[/C][C]-0.00322[/C][/ROW]
[ROW][C]89[/C][C]0.078[/C][C]0.08022[/C][C]-0.00222[/C][/ROW]
[ROW][C]90[/C][C]0.077[/C][C]0.08022[/C][C]-0.00322[/C][/ROW]
[ROW][C]91[/C][C]0.077[/C][C]0.08022[/C][C]-0.00322[/C][/ROW]
[ROW][C]92[/C][C]0.078[/C][C]0.08022[/C][C]-0.00222[/C][/ROW]
[ROW][C]93[/C][C]0.08[/C][C]0.08022[/C][C]-0.000219999999999998[/C][/ROW]
[ROW][C]94[/C][C]0.081[/C][C]0.08022[/C][C]0.000780000000000003[/C][/ROW]
[ROW][C]95[/C][C]0.081[/C][C]0.08022[/C][C]0.000780000000000003[/C][/ROW]
[ROW][C]96[/C][C]0.08[/C][C]0.08022[/C][C]-0.000219999999999998[/C][/ROW]
[ROW][C]97[/C][C]0.081[/C][C]0.08022[/C][C]0.000780000000000003[/C][/ROW]
[ROW][C]98[/C][C]0.082[/C][C]0.08022[/C][C]0.00178[/C][/ROW]
[ROW][C]99[/C][C]0.083[/C][C]0.08022[/C][C]0.00278[/C][/ROW]
[ROW][C]100[/C][C]0.084[/C][C]0.08022[/C][C]0.00378000000000001[/C][/ROW]
[ROW][C]101[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]102[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]103[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]104[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]105[/C][C]0.085[/C][C]0.08022[/C][C]0.00478000000000001[/C][/ROW]
[ROW][C]106[/C][C]0.083[/C][C]0.08022[/C][C]0.00278[/C][/ROW]
[ROW][C]107[/C][C]0.082[/C][C]0.08022[/C][C]0.00178[/C][/ROW]
[ROW][C]108[/C][C]0.081[/C][C]0.08022[/C][C]0.000780000000000003[/C][/ROW]
[ROW][C]109[/C][C]0.079[/C][C]0.08022[/C][C]-0.00122[/C][/ROW]
[ROW][C]110[/C][C]0.076[/C][C]0.08022[/C][C]-0.00422[/C][/ROW]
[ROW][C]111[/C][C]0.073[/C][C]0.0698[/C][C]0.00319999999999999[/C][/ROW]
[ROW][C]112[/C][C]0.071[/C][C]0.0698[/C][C]0.00119999999999999[/C][/ROW]
[ROW][C]113[/C][C]0.07[/C][C]0.0698[/C][C]0.000200000000000006[/C][/ROW]
[ROW][C]114[/C][C]0.07[/C][C]0.0698[/C][C]0.000200000000000006[/C][/ROW]
[ROW][C]115[/C][C]0.07[/C][C]0.0698[/C][C]0.000200000000000006[/C][/ROW]
[ROW][C]116[/C][C]0.07[/C][C]0.0698[/C][C]0.000200000000000006[/C][/ROW]
[ROW][C]117[/C][C]0.069[/C][C]0.0698[/C][C]-0.000799999999999995[/C][/ROW]
[ROW][C]118[/C][C]0.068[/C][C]0.0698[/C][C]-0.0018[/C][/ROW]
[ROW][C]119[/C][C]0.067[/C][C]0.0698[/C][C]-0.0028[/C][/ROW]
[ROW][C]120[/C][C]0.066[/C][C]0.0698[/C][C]-0.0038[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=158965&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=158965&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
10.0720.08022-0.00822000000000001
20.0730.08022-0.00722
30.0730.08022-0.00722
40.0730.08022-0.00722
50.0740.08022-0.00622
60.0730.08022-0.00722
70.0740.08022-0.00622
80.0740.08022-0.00622
90.0760.08022-0.00422
100.0760.08022-0.00422
110.0770.08022-0.00322
120.0770.08022-0.00322
130.0780.08022-0.00222
140.0780.08022-0.00222
150.080.08022-0.000219999999999998
160.0810.080220.000780000000000003
170.0810.080220.000780000000000003
180.0820.080220.00178
190.0810.080220.000780000000000003
200.0810.080220.000780000000000003
210.0810.080220.000780000000000003
220.080.08022-0.000219999999999998
230.0820.080220.00178
240.0840.080220.00378000000000001
250.0840.080220.00378000000000001
260.0850.080220.00478000000000001
270.0860.080220.00577999999999999
280.0850.080220.00478000000000001
290.0830.080220.00278
300.0780.08022-0.00222
310.0780.08022-0.00222
320.080.08022-0.000219999999999998
330.0860.080220.00577999999999999
340.0890.080220.00878
350.0890.080220.00878
360.0860.080220.00577999999999999
370.0830.080220.00278
380.0830.080220.00278
390.0830.080220.00278
400.0840.080220.00378000000000001
410.0850.080220.00478000000000001
420.0840.080220.00378000000000001
430.0860.080220.00577999999999999
440.0850.080220.00478000000000001
450.0850.080220.00478000000000001
460.0850.080220.00478000000000001
470.0850.080220.00478000000000001
480.0850.080220.00478000000000001
490.0850.080220.00478000000000001
500.0850.080220.00478000000000001
510.0850.080220.00478000000000001
520.0860.080220.00577999999999999
530.0860.080220.00577999999999999
540.0860.080220.00577999999999999
550.0860.080220.00577999999999999
560.0840.080220.00378000000000001
570.080.08022-0.000219999999999998
580.0790.08022-0.00122
590.080.08022-0.000219999999999998
600.080.08022-0.000219999999999998
610.080.08022-0.000219999999999998
620.080.08022-0.000219999999999998
630.0790.08022-0.00122
640.0790.08022-0.00122
650.0790.08022-0.00122
660.080.08022-0.000219999999999998
670.0790.08022-0.00122
680.0750.08022-0.00522
690.0720.08022-0.00822000000000001
700.070.08022-0.01022
710.0690.08022-0.01122
720.0710.08022-0.00922000000000001
730.0710.08022-0.00922000000000001
740.0720.08022-0.00822000000000001
750.0710.06980.00119999999999999
760.0690.0698-0.000799999999999995
770.0680.0698-0.0018
780.0670.0698-0.0028
790.0670.0698-0.0028
800.0690.0698-0.000799999999999995
810.0730.06980.00319999999999999
820.0740.06980.0042
830.0730.06980.00319999999999999
840.0710.06980.00119999999999999
850.070.08022-0.01022
860.0710.08022-0.00922000000000001
870.0750.08022-0.00522
880.0770.08022-0.00322
890.0780.08022-0.00222
900.0770.08022-0.00322
910.0770.08022-0.00322
920.0780.08022-0.00222
930.080.08022-0.000219999999999998
940.0810.080220.000780000000000003
950.0810.080220.000780000000000003
960.080.08022-0.000219999999999998
970.0810.080220.000780000000000003
980.0820.080220.00178
990.0830.080220.00278
1000.0840.080220.00378000000000001
1010.0850.080220.00478000000000001
1020.0850.080220.00478000000000001
1030.0850.080220.00478000000000001
1040.0850.080220.00478000000000001
1050.0850.080220.00478000000000001
1060.0830.080220.00278
1070.0820.080220.00178
1080.0810.080220.000780000000000003
1090.0790.08022-0.00122
1100.0760.08022-0.00422
1110.0730.06980.00319999999999999
1120.0710.06980.00119999999999999
1130.070.06980.000200000000000006
1140.070.06980.000200000000000006
1150.070.06980.000200000000000006
1160.070.06980.000200000000000006
1170.0690.0698-0.000799999999999995
1180.0680.0698-0.0018
1190.0670.0698-0.0028
1200.0660.0698-0.0038



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