Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_regression_trees1dm.wasp
Title produced by softwareRecursive Partitioning (Regression Trees)
Date of computationTue, 01 May 2012 12:11:30 -0400
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/May/01/t13358887459yru6yhz2dtp78w.htm/, Retrieved Sat, 04 May 2024 19:38:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=165660, Retrieved Sat, 04 May 2024 19:38:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact60
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Recursive Partitioning (Regression Trees)] [] [2012-05-01 16:11:30] [b3fea4edbb2b32c665e3884fb2b4b154] [Current]
Feedback Forum

Post a new message




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165660&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'Gertrude Mary Cox' @ cox.wessa.net







Goodness of Fit
Correlation0.912
R-squared0.8318
RMSE8.4354

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.912[/C][/ROW]
[ROW][C]R-squared[/C][C]0.8318[/C][/ROW]
[ROW][C]RMSE[/C][C]8.4354[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165660&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165660&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.912
R-squared0.8318
RMSE8.4354







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1110109.7692307692310.230769230769226
2107109.769230769231-2.76923076923077
393106.1-13.1
4106106.1-0.0999999999999943
5121129.461538461538-8.46153846153845
698106.1-8.09999999999999
796109.769230769231-13.7692307692308
8110120.965517241379-10.9655172413793
9134120.96551724137913.0344827586207
10149140.8333333333338.16666666666666
11118120.965517241379-2.96551724137932
1295109.769230769231-14.7692307692308
13107109.769230769231-2.76923076923077
14121120.9655172413790.0344827586206833
156173.2-12.2
16118120.965517241379-2.96551724137932
17109120.965517241379-11.9655172413793
18124129.461538461538-5.46153846153845
19143131.33333333333311.6666666666667
20112109.7692307692312.23076923076923
218773.213.8
22130131.333333333333-1.33333333333334
23121120.9655172413790.0344827586206833
24120120.965517241379-0.965517241379317
25111109.7692307692311.23076923076923
2610094.46666666666675.53333333333333
27126120.9655172413795.03448275862068
28126120.9655172413795.03448275862068
29123129.461538461538-6.46153846153845
307673.22.8
318173.27.8
329294.4666666666667-2.46666666666667
333873.2-35.2
34141140.8333333333330.166666666666657
35120106.113.9
36124129.461538461538-5.46153846153845
37129140.833333333333-11.8333333333333
38111109.7692307692311.23076923076923
398494.4666666666667-10.4666666666667
40123120.9655172413792.03448275862068
41124120.9655172413793.03448275862068
429794.46666666666672.53333333333333
43132131.3333333333330.666666666666657
44110120.965517241379-10.9655172413793
45127129.461538461538-2.46153846153845
46136140.833333333333-4.83333333333334
478794.4666666666667-7.46666666666667
488794.4666666666667-7.46666666666667
499494.4666666666667-0.466666666666669
50138140.833333333333-2.83333333333334
5190106.1-16.1
527173.2-2.2
538073.26.8
54122120.9655172413791.03448275862068
55126120.9655172413795.03448275862068
5610794.466666666666712.5333333333333
57131129.4615384615381.53846153846155
58125120.9655172413794.03448275862068
59144140.8333333333333.16666666666666
60128131.333333333333-3.33333333333334
61127120.9655172413796.03448275862068
62136129.4615384615386.53846153846155
63120120.965517241379-0.965517241379317
64102109.769230769231-7.76923076923077
65119120.965517241379-1.96551724137932
668794.4666666666667-7.46666666666667
6795106.1-11.1
68118120.965517241379-2.96551724137932
69136140.833333333333-4.83333333333334
70105106.1-1.09999999999999
71123131.333333333333-8.33333333333334
7210494.46666666666679.53333333333333
73121129.461538461538-8.46153846153845
74113120.965517241379-7.96551724137932
759494.4666666666667-0.466666666666669
76133129.4615384615383.53846153846155
77107106.10.900000000000006
788073.26.8
79112109.7692307692312.23076923076923
806673.2-7.2
81126120.9655172413795.03448275862068
82133131.3333333333331.66666666666666
83140129.46153846153810.5384615384615
84133106.126.9
85130129.4615384615380.538461538461547
869273.218.8
87125120.9655172413794.03448275862068
88116109.7692307692316.23076923076923
8911094.466666666666715.5333333333333
90117120.965517241379-3.96551724137932
91122120.9655172413791.03448275862068
92130131.333333333333-1.33333333333334
93128120.9655172413797.03448275862068
94142140.8333333333331.16666666666666
95133131.3333333333331.66666666666666
968994.4666666666667-5.46666666666667
97117120.965517241379-3.96551724137932
98124120.9655172413793.03448275862068
99144140.8333333333333.16666666666666
100136109.76923076923126.2307692307692
1019494.4666666666667-0.466666666666669
102140140.833333333333-0.833333333333343
103112109.7692307692312.23076923076923
104141129.46153846153811.5384615384615
105119120.965517241379-1.96551724137932
106114106.17.90000000000001
107142140.8333333333331.16666666666666
108149140.8333333333338.16666666666666
1099194.4666666666667-3.46666666666667
110130131.333333333333-1.33333333333334
111132129.4615384615382.53846153846155

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 110 & 109.769230769231 & 0.230769230769226 \tabularnewline
2 & 107 & 109.769230769231 & -2.76923076923077 \tabularnewline
3 & 93 & 106.1 & -13.1 \tabularnewline
4 & 106 & 106.1 & -0.0999999999999943 \tabularnewline
5 & 121 & 129.461538461538 & -8.46153846153845 \tabularnewline
6 & 98 & 106.1 & -8.09999999999999 \tabularnewline
7 & 96 & 109.769230769231 & -13.7692307692308 \tabularnewline
8 & 110 & 120.965517241379 & -10.9655172413793 \tabularnewline
9 & 134 & 120.965517241379 & 13.0344827586207 \tabularnewline
10 & 149 & 140.833333333333 & 8.16666666666666 \tabularnewline
11 & 118 & 120.965517241379 & -2.96551724137932 \tabularnewline
12 & 95 & 109.769230769231 & -14.7692307692308 \tabularnewline
13 & 107 & 109.769230769231 & -2.76923076923077 \tabularnewline
14 & 121 & 120.965517241379 & 0.0344827586206833 \tabularnewline
15 & 61 & 73.2 & -12.2 \tabularnewline
16 & 118 & 120.965517241379 & -2.96551724137932 \tabularnewline
17 & 109 & 120.965517241379 & -11.9655172413793 \tabularnewline
18 & 124 & 129.461538461538 & -5.46153846153845 \tabularnewline
19 & 143 & 131.333333333333 & 11.6666666666667 \tabularnewline
20 & 112 & 109.769230769231 & 2.23076923076923 \tabularnewline
21 & 87 & 73.2 & 13.8 \tabularnewline
22 & 130 & 131.333333333333 & -1.33333333333334 \tabularnewline
23 & 121 & 120.965517241379 & 0.0344827586206833 \tabularnewline
24 & 120 & 120.965517241379 & -0.965517241379317 \tabularnewline
25 & 111 & 109.769230769231 & 1.23076923076923 \tabularnewline
26 & 100 & 94.4666666666667 & 5.53333333333333 \tabularnewline
27 & 126 & 120.965517241379 & 5.03448275862068 \tabularnewline
28 & 126 & 120.965517241379 & 5.03448275862068 \tabularnewline
29 & 123 & 129.461538461538 & -6.46153846153845 \tabularnewline
30 & 76 & 73.2 & 2.8 \tabularnewline
31 & 81 & 73.2 & 7.8 \tabularnewline
32 & 92 & 94.4666666666667 & -2.46666666666667 \tabularnewline
33 & 38 & 73.2 & -35.2 \tabularnewline
34 & 141 & 140.833333333333 & 0.166666666666657 \tabularnewline
35 & 120 & 106.1 & 13.9 \tabularnewline
36 & 124 & 129.461538461538 & -5.46153846153845 \tabularnewline
37 & 129 & 140.833333333333 & -11.8333333333333 \tabularnewline
38 & 111 & 109.769230769231 & 1.23076923076923 \tabularnewline
39 & 84 & 94.4666666666667 & -10.4666666666667 \tabularnewline
40 & 123 & 120.965517241379 & 2.03448275862068 \tabularnewline
41 & 124 & 120.965517241379 & 3.03448275862068 \tabularnewline
42 & 97 & 94.4666666666667 & 2.53333333333333 \tabularnewline
43 & 132 & 131.333333333333 & 0.666666666666657 \tabularnewline
44 & 110 & 120.965517241379 & -10.9655172413793 \tabularnewline
45 & 127 & 129.461538461538 & -2.46153846153845 \tabularnewline
46 & 136 & 140.833333333333 & -4.83333333333334 \tabularnewline
47 & 87 & 94.4666666666667 & -7.46666666666667 \tabularnewline
48 & 87 & 94.4666666666667 & -7.46666666666667 \tabularnewline
49 & 94 & 94.4666666666667 & -0.466666666666669 \tabularnewline
50 & 138 & 140.833333333333 & -2.83333333333334 \tabularnewline
51 & 90 & 106.1 & -16.1 \tabularnewline
52 & 71 & 73.2 & -2.2 \tabularnewline
53 & 80 & 73.2 & 6.8 \tabularnewline
54 & 122 & 120.965517241379 & 1.03448275862068 \tabularnewline
55 & 126 & 120.965517241379 & 5.03448275862068 \tabularnewline
56 & 107 & 94.4666666666667 & 12.5333333333333 \tabularnewline
57 & 131 & 129.461538461538 & 1.53846153846155 \tabularnewline
58 & 125 & 120.965517241379 & 4.03448275862068 \tabularnewline
59 & 144 & 140.833333333333 & 3.16666666666666 \tabularnewline
60 & 128 & 131.333333333333 & -3.33333333333334 \tabularnewline
61 & 127 & 120.965517241379 & 6.03448275862068 \tabularnewline
62 & 136 & 129.461538461538 & 6.53846153846155 \tabularnewline
63 & 120 & 120.965517241379 & -0.965517241379317 \tabularnewline
64 & 102 & 109.769230769231 & -7.76923076923077 \tabularnewline
65 & 119 & 120.965517241379 & -1.96551724137932 \tabularnewline
66 & 87 & 94.4666666666667 & -7.46666666666667 \tabularnewline
67 & 95 & 106.1 & -11.1 \tabularnewline
68 & 118 & 120.965517241379 & -2.96551724137932 \tabularnewline
69 & 136 & 140.833333333333 & -4.83333333333334 \tabularnewline
70 & 105 & 106.1 & -1.09999999999999 \tabularnewline
71 & 123 & 131.333333333333 & -8.33333333333334 \tabularnewline
72 & 104 & 94.4666666666667 & 9.53333333333333 \tabularnewline
73 & 121 & 129.461538461538 & -8.46153846153845 \tabularnewline
74 & 113 & 120.965517241379 & -7.96551724137932 \tabularnewline
75 & 94 & 94.4666666666667 & -0.466666666666669 \tabularnewline
76 & 133 & 129.461538461538 & 3.53846153846155 \tabularnewline
77 & 107 & 106.1 & 0.900000000000006 \tabularnewline
78 & 80 & 73.2 & 6.8 \tabularnewline
79 & 112 & 109.769230769231 & 2.23076923076923 \tabularnewline
80 & 66 & 73.2 & -7.2 \tabularnewline
81 & 126 & 120.965517241379 & 5.03448275862068 \tabularnewline
82 & 133 & 131.333333333333 & 1.66666666666666 \tabularnewline
83 & 140 & 129.461538461538 & 10.5384615384615 \tabularnewline
84 & 133 & 106.1 & 26.9 \tabularnewline
85 & 130 & 129.461538461538 & 0.538461538461547 \tabularnewline
86 & 92 & 73.2 & 18.8 \tabularnewline
87 & 125 & 120.965517241379 & 4.03448275862068 \tabularnewline
88 & 116 & 109.769230769231 & 6.23076923076923 \tabularnewline
89 & 110 & 94.4666666666667 & 15.5333333333333 \tabularnewline
90 & 117 & 120.965517241379 & -3.96551724137932 \tabularnewline
91 & 122 & 120.965517241379 & 1.03448275862068 \tabularnewline
92 & 130 & 131.333333333333 & -1.33333333333334 \tabularnewline
93 & 128 & 120.965517241379 & 7.03448275862068 \tabularnewline
94 & 142 & 140.833333333333 & 1.16666666666666 \tabularnewline
95 & 133 & 131.333333333333 & 1.66666666666666 \tabularnewline
96 & 89 & 94.4666666666667 & -5.46666666666667 \tabularnewline
97 & 117 & 120.965517241379 & -3.96551724137932 \tabularnewline
98 & 124 & 120.965517241379 & 3.03448275862068 \tabularnewline
99 & 144 & 140.833333333333 & 3.16666666666666 \tabularnewline
100 & 136 & 109.769230769231 & 26.2307692307692 \tabularnewline
101 & 94 & 94.4666666666667 & -0.466666666666669 \tabularnewline
102 & 140 & 140.833333333333 & -0.833333333333343 \tabularnewline
103 & 112 & 109.769230769231 & 2.23076923076923 \tabularnewline
104 & 141 & 129.461538461538 & 11.5384615384615 \tabularnewline
105 & 119 & 120.965517241379 & -1.96551724137932 \tabularnewline
106 & 114 & 106.1 & 7.90000000000001 \tabularnewline
107 & 142 & 140.833333333333 & 1.16666666666666 \tabularnewline
108 & 149 & 140.833333333333 & 8.16666666666666 \tabularnewline
109 & 91 & 94.4666666666667 & -3.46666666666667 \tabularnewline
110 & 130 & 131.333333333333 & -1.33333333333334 \tabularnewline
111 & 132 & 129.461538461538 & 2.53846153846155 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=165660&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]110[/C][C]109.769230769231[/C][C]0.230769230769226[/C][/ROW]
[ROW][C]2[/C][C]107[/C][C]109.769230769231[/C][C]-2.76923076923077[/C][/ROW]
[ROW][C]3[/C][C]93[/C][C]106.1[/C][C]-13.1[/C][/ROW]
[ROW][C]4[/C][C]106[/C][C]106.1[/C][C]-0.0999999999999943[/C][/ROW]
[ROW][C]5[/C][C]121[/C][C]129.461538461538[/C][C]-8.46153846153845[/C][/ROW]
[ROW][C]6[/C][C]98[/C][C]106.1[/C][C]-8.09999999999999[/C][/ROW]
[ROW][C]7[/C][C]96[/C][C]109.769230769231[/C][C]-13.7692307692308[/C][/ROW]
[ROW][C]8[/C][C]110[/C][C]120.965517241379[/C][C]-10.9655172413793[/C][/ROW]
[ROW][C]9[/C][C]134[/C][C]120.965517241379[/C][C]13.0344827586207[/C][/ROW]
[ROW][C]10[/C][C]149[/C][C]140.833333333333[/C][C]8.16666666666666[/C][/ROW]
[ROW][C]11[/C][C]118[/C][C]120.965517241379[/C][C]-2.96551724137932[/C][/ROW]
[ROW][C]12[/C][C]95[/C][C]109.769230769231[/C][C]-14.7692307692308[/C][/ROW]
[ROW][C]13[/C][C]107[/C][C]109.769230769231[/C][C]-2.76923076923077[/C][/ROW]
[ROW][C]14[/C][C]121[/C][C]120.965517241379[/C][C]0.0344827586206833[/C][/ROW]
[ROW][C]15[/C][C]61[/C][C]73.2[/C][C]-12.2[/C][/ROW]
[ROW][C]16[/C][C]118[/C][C]120.965517241379[/C][C]-2.96551724137932[/C][/ROW]
[ROW][C]17[/C][C]109[/C][C]120.965517241379[/C][C]-11.9655172413793[/C][/ROW]
[ROW][C]18[/C][C]124[/C][C]129.461538461538[/C][C]-5.46153846153845[/C][/ROW]
[ROW][C]19[/C][C]143[/C][C]131.333333333333[/C][C]11.6666666666667[/C][/ROW]
[ROW][C]20[/C][C]112[/C][C]109.769230769231[/C][C]2.23076923076923[/C][/ROW]
[ROW][C]21[/C][C]87[/C][C]73.2[/C][C]13.8[/C][/ROW]
[ROW][C]22[/C][C]130[/C][C]131.333333333333[/C][C]-1.33333333333334[/C][/ROW]
[ROW][C]23[/C][C]121[/C][C]120.965517241379[/C][C]0.0344827586206833[/C][/ROW]
[ROW][C]24[/C][C]120[/C][C]120.965517241379[/C][C]-0.965517241379317[/C][/ROW]
[ROW][C]25[/C][C]111[/C][C]109.769230769231[/C][C]1.23076923076923[/C][/ROW]
[ROW][C]26[/C][C]100[/C][C]94.4666666666667[/C][C]5.53333333333333[/C][/ROW]
[ROW][C]27[/C][C]126[/C][C]120.965517241379[/C][C]5.03448275862068[/C][/ROW]
[ROW][C]28[/C][C]126[/C][C]120.965517241379[/C][C]5.03448275862068[/C][/ROW]
[ROW][C]29[/C][C]123[/C][C]129.461538461538[/C][C]-6.46153846153845[/C][/ROW]
[ROW][C]30[/C][C]76[/C][C]73.2[/C][C]2.8[/C][/ROW]
[ROW][C]31[/C][C]81[/C][C]73.2[/C][C]7.8[/C][/ROW]
[ROW][C]32[/C][C]92[/C][C]94.4666666666667[/C][C]-2.46666666666667[/C][/ROW]
[ROW][C]33[/C][C]38[/C][C]73.2[/C][C]-35.2[/C][/ROW]
[ROW][C]34[/C][C]141[/C][C]140.833333333333[/C][C]0.166666666666657[/C][/ROW]
[ROW][C]35[/C][C]120[/C][C]106.1[/C][C]13.9[/C][/ROW]
[ROW][C]36[/C][C]124[/C][C]129.461538461538[/C][C]-5.46153846153845[/C][/ROW]
[ROW][C]37[/C][C]129[/C][C]140.833333333333[/C][C]-11.8333333333333[/C][/ROW]
[ROW][C]38[/C][C]111[/C][C]109.769230769231[/C][C]1.23076923076923[/C][/ROW]
[ROW][C]39[/C][C]84[/C][C]94.4666666666667[/C][C]-10.4666666666667[/C][/ROW]
[ROW][C]40[/C][C]123[/C][C]120.965517241379[/C][C]2.03448275862068[/C][/ROW]
[ROW][C]41[/C][C]124[/C][C]120.965517241379[/C][C]3.03448275862068[/C][/ROW]
[ROW][C]42[/C][C]97[/C][C]94.4666666666667[/C][C]2.53333333333333[/C][/ROW]
[ROW][C]43[/C][C]132[/C][C]131.333333333333[/C][C]0.666666666666657[/C][/ROW]
[ROW][C]44[/C][C]110[/C][C]120.965517241379[/C][C]-10.9655172413793[/C][/ROW]
[ROW][C]45[/C][C]127[/C][C]129.461538461538[/C][C]-2.46153846153845[/C][/ROW]
[ROW][C]46[/C][C]136[/C][C]140.833333333333[/C][C]-4.83333333333334[/C][/ROW]
[ROW][C]47[/C][C]87[/C][C]94.4666666666667[/C][C]-7.46666666666667[/C][/ROW]
[ROW][C]48[/C][C]87[/C][C]94.4666666666667[/C][C]-7.46666666666667[/C][/ROW]
[ROW][C]49[/C][C]94[/C][C]94.4666666666667[/C][C]-0.466666666666669[/C][/ROW]
[ROW][C]50[/C][C]138[/C][C]140.833333333333[/C][C]-2.83333333333334[/C][/ROW]
[ROW][C]51[/C][C]90[/C][C]106.1[/C][C]-16.1[/C][/ROW]
[ROW][C]52[/C][C]71[/C][C]73.2[/C][C]-2.2[/C][/ROW]
[ROW][C]53[/C][C]80[/C][C]73.2[/C][C]6.8[/C][/ROW]
[ROW][C]54[/C][C]122[/C][C]120.965517241379[/C][C]1.03448275862068[/C][/ROW]
[ROW][C]55[/C][C]126[/C][C]120.965517241379[/C][C]5.03448275862068[/C][/ROW]
[ROW][C]56[/C][C]107[/C][C]94.4666666666667[/C][C]12.5333333333333[/C][/ROW]
[ROW][C]57[/C][C]131[/C][C]129.461538461538[/C][C]1.53846153846155[/C][/ROW]
[ROW][C]58[/C][C]125[/C][C]120.965517241379[/C][C]4.03448275862068[/C][/ROW]
[ROW][C]59[/C][C]144[/C][C]140.833333333333[/C][C]3.16666666666666[/C][/ROW]
[ROW][C]60[/C][C]128[/C][C]131.333333333333[/C][C]-3.33333333333334[/C][/ROW]
[ROW][C]61[/C][C]127[/C][C]120.965517241379[/C][C]6.03448275862068[/C][/ROW]
[ROW][C]62[/C][C]136[/C][C]129.461538461538[/C][C]6.53846153846155[/C][/ROW]
[ROW][C]63[/C][C]120[/C][C]120.965517241379[/C][C]-0.965517241379317[/C][/ROW]
[ROW][C]64[/C][C]102[/C][C]109.769230769231[/C][C]-7.76923076923077[/C][/ROW]
[ROW][C]65[/C][C]119[/C][C]120.965517241379[/C][C]-1.96551724137932[/C][/ROW]
[ROW][C]66[/C][C]87[/C][C]94.4666666666667[/C][C]-7.46666666666667[/C][/ROW]
[ROW][C]67[/C][C]95[/C][C]106.1[/C][C]-11.1[/C][/ROW]
[ROW][C]68[/C][C]118[/C][C]120.965517241379[/C][C]-2.96551724137932[/C][/ROW]
[ROW][C]69[/C][C]136[/C][C]140.833333333333[/C][C]-4.83333333333334[/C][/ROW]
[ROW][C]70[/C][C]105[/C][C]106.1[/C][C]-1.09999999999999[/C][/ROW]
[ROW][C]71[/C][C]123[/C][C]131.333333333333[/C][C]-8.33333333333334[/C][/ROW]
[ROW][C]72[/C][C]104[/C][C]94.4666666666667[/C][C]9.53333333333333[/C][/ROW]
[ROW][C]73[/C][C]121[/C][C]129.461538461538[/C][C]-8.46153846153845[/C][/ROW]
[ROW][C]74[/C][C]113[/C][C]120.965517241379[/C][C]-7.96551724137932[/C][/ROW]
[ROW][C]75[/C][C]94[/C][C]94.4666666666667[/C][C]-0.466666666666669[/C][/ROW]
[ROW][C]76[/C][C]133[/C][C]129.461538461538[/C][C]3.53846153846155[/C][/ROW]
[ROW][C]77[/C][C]107[/C][C]106.1[/C][C]0.900000000000006[/C][/ROW]
[ROW][C]78[/C][C]80[/C][C]73.2[/C][C]6.8[/C][/ROW]
[ROW][C]79[/C][C]112[/C][C]109.769230769231[/C][C]2.23076923076923[/C][/ROW]
[ROW][C]80[/C][C]66[/C][C]73.2[/C][C]-7.2[/C][/ROW]
[ROW][C]81[/C][C]126[/C][C]120.965517241379[/C][C]5.03448275862068[/C][/ROW]
[ROW][C]82[/C][C]133[/C][C]131.333333333333[/C][C]1.66666666666666[/C][/ROW]
[ROW][C]83[/C][C]140[/C][C]129.461538461538[/C][C]10.5384615384615[/C][/ROW]
[ROW][C]84[/C][C]133[/C][C]106.1[/C][C]26.9[/C][/ROW]
[ROW][C]85[/C][C]130[/C][C]129.461538461538[/C][C]0.538461538461547[/C][/ROW]
[ROW][C]86[/C][C]92[/C][C]73.2[/C][C]18.8[/C][/ROW]
[ROW][C]87[/C][C]125[/C][C]120.965517241379[/C][C]4.03448275862068[/C][/ROW]
[ROW][C]88[/C][C]116[/C][C]109.769230769231[/C][C]6.23076923076923[/C][/ROW]
[ROW][C]89[/C][C]110[/C][C]94.4666666666667[/C][C]15.5333333333333[/C][/ROW]
[ROW][C]90[/C][C]117[/C][C]120.965517241379[/C][C]-3.96551724137932[/C][/ROW]
[ROW][C]91[/C][C]122[/C][C]120.965517241379[/C][C]1.03448275862068[/C][/ROW]
[ROW][C]92[/C][C]130[/C][C]131.333333333333[/C][C]-1.33333333333334[/C][/ROW]
[ROW][C]93[/C][C]128[/C][C]120.965517241379[/C][C]7.03448275862068[/C][/ROW]
[ROW][C]94[/C][C]142[/C][C]140.833333333333[/C][C]1.16666666666666[/C][/ROW]
[ROW][C]95[/C][C]133[/C][C]131.333333333333[/C][C]1.66666666666666[/C][/ROW]
[ROW][C]96[/C][C]89[/C][C]94.4666666666667[/C][C]-5.46666666666667[/C][/ROW]
[ROW][C]97[/C][C]117[/C][C]120.965517241379[/C][C]-3.96551724137932[/C][/ROW]
[ROW][C]98[/C][C]124[/C][C]120.965517241379[/C][C]3.03448275862068[/C][/ROW]
[ROW][C]99[/C][C]144[/C][C]140.833333333333[/C][C]3.16666666666666[/C][/ROW]
[ROW][C]100[/C][C]136[/C][C]109.769230769231[/C][C]26.2307692307692[/C][/ROW]
[ROW][C]101[/C][C]94[/C][C]94.4666666666667[/C][C]-0.466666666666669[/C][/ROW]
[ROW][C]102[/C][C]140[/C][C]140.833333333333[/C][C]-0.833333333333343[/C][/ROW]
[ROW][C]103[/C][C]112[/C][C]109.769230769231[/C][C]2.23076923076923[/C][/ROW]
[ROW][C]104[/C][C]141[/C][C]129.461538461538[/C][C]11.5384615384615[/C][/ROW]
[ROW][C]105[/C][C]119[/C][C]120.965517241379[/C][C]-1.96551724137932[/C][/ROW]
[ROW][C]106[/C][C]114[/C][C]106.1[/C][C]7.90000000000001[/C][/ROW]
[ROW][C]107[/C][C]142[/C][C]140.833333333333[/C][C]1.16666666666666[/C][/ROW]
[ROW][C]108[/C][C]149[/C][C]140.833333333333[/C][C]8.16666666666666[/C][/ROW]
[ROW][C]109[/C][C]91[/C][C]94.4666666666667[/C][C]-3.46666666666667[/C][/ROW]
[ROW][C]110[/C][C]130[/C][C]131.333333333333[/C][C]-1.33333333333334[/C][/ROW]
[ROW][C]111[/C][C]132[/C][C]129.461538461538[/C][C]2.53846153846155[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165660&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165660&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
1110109.7692307692310.230769230769226
2107109.769230769231-2.76923076923077
393106.1-13.1
4106106.1-0.0999999999999943
5121129.461538461538-8.46153846153845
698106.1-8.09999999999999
796109.769230769231-13.7692307692308
8110120.965517241379-10.9655172413793
9134120.96551724137913.0344827586207
10149140.8333333333338.16666666666666
11118120.965517241379-2.96551724137932
1295109.769230769231-14.7692307692308
13107109.769230769231-2.76923076923077
14121120.9655172413790.0344827586206833
156173.2-12.2
16118120.965517241379-2.96551724137932
17109120.965517241379-11.9655172413793
18124129.461538461538-5.46153846153845
19143131.33333333333311.6666666666667
20112109.7692307692312.23076923076923
218773.213.8
22130131.333333333333-1.33333333333334
23121120.9655172413790.0344827586206833
24120120.965517241379-0.965517241379317
25111109.7692307692311.23076923076923
2610094.46666666666675.53333333333333
27126120.9655172413795.03448275862068
28126120.9655172413795.03448275862068
29123129.461538461538-6.46153846153845
307673.22.8
318173.27.8
329294.4666666666667-2.46666666666667
333873.2-35.2
34141140.8333333333330.166666666666657
35120106.113.9
36124129.461538461538-5.46153846153845
37129140.833333333333-11.8333333333333
38111109.7692307692311.23076923076923
398494.4666666666667-10.4666666666667
40123120.9655172413792.03448275862068
41124120.9655172413793.03448275862068
429794.46666666666672.53333333333333
43132131.3333333333330.666666666666657
44110120.965517241379-10.9655172413793
45127129.461538461538-2.46153846153845
46136140.833333333333-4.83333333333334
478794.4666666666667-7.46666666666667
488794.4666666666667-7.46666666666667
499494.4666666666667-0.466666666666669
50138140.833333333333-2.83333333333334
5190106.1-16.1
527173.2-2.2
538073.26.8
54122120.9655172413791.03448275862068
55126120.9655172413795.03448275862068
5610794.466666666666712.5333333333333
57131129.4615384615381.53846153846155
58125120.9655172413794.03448275862068
59144140.8333333333333.16666666666666
60128131.333333333333-3.33333333333334
61127120.9655172413796.03448275862068
62136129.4615384615386.53846153846155
63120120.965517241379-0.965517241379317
64102109.769230769231-7.76923076923077
65119120.965517241379-1.96551724137932
668794.4666666666667-7.46666666666667
6795106.1-11.1
68118120.965517241379-2.96551724137932
69136140.833333333333-4.83333333333334
70105106.1-1.09999999999999
71123131.333333333333-8.33333333333334
7210494.46666666666679.53333333333333
73121129.461538461538-8.46153846153845
74113120.965517241379-7.96551724137932
759494.4666666666667-0.466666666666669
76133129.4615384615383.53846153846155
77107106.10.900000000000006
788073.26.8
79112109.7692307692312.23076923076923
806673.2-7.2
81126120.9655172413795.03448275862068
82133131.3333333333331.66666666666666
83140129.46153846153810.5384615384615
84133106.126.9
85130129.4615384615380.538461538461547
869273.218.8
87125120.9655172413794.03448275862068
88116109.7692307692316.23076923076923
8911094.466666666666715.5333333333333
90117120.965517241379-3.96551724137932
91122120.9655172413791.03448275862068
92130131.333333333333-1.33333333333334
93128120.9655172413797.03448275862068
94142140.8333333333331.16666666666666
95133131.3333333333331.66666666666666
968994.4666666666667-5.46666666666667
97117120.965517241379-3.96551724137932
98124120.9655172413793.03448275862068
99144140.8333333333333.16666666666666
100136109.76923076923126.2307692307692
1019494.4666666666667-0.466666666666669
102140140.833333333333-0.833333333333343
103112109.7692307692312.23076923076923
104141129.46153846153811.5384615384615
105119120.965517241379-1.96551724137932
106114106.17.90000000000001
107142140.8333333333331.16666666666666
108149140.8333333333338.16666666666666
1099194.4666666666667-3.46666666666667
110130131.333333333333-1.33333333333334
111132129.4615384615382.53846153846155



Parameters (Session):
par1 = correlation matrix ; par2 = ATTLES separate ; par3 = Learning Activities ; par4 = all ; par5 = all ; par6 = all ;
Parameters (R input):
par1 = 0 ; par2 = none ; par3 = 3 ; par4 = no ; par5 = male ; par6 = bachelor ; par7 = all ; par8 = CSUQ ; par9 = CSUQ ;
R code (references can be found in the software module):
par9 <- 'CSUQ'
par8 <- 'CSUQ'
par7 <- 'all'
par6 <- 'all'
par5 <- 'all'
par4 <- 'no'
par3 <- '3'
par2 <- 'none'
par1 <- '0'
library(party)
library(Hmisc)
par1 <- as.numeric(par1)
par3 <- as.numeric(par3)
x <- as.data.frame(read.table(file='https://automated.biganalytics.eu/download/utaut.csv',sep=',',header=T))
x$U25 <- 6-x$U25
if(par5 == 'female') x <- x[x$Gender==0,]
if(par5 == 'male') x <- x[x$Gender==1,]
if(par6 == 'prep') x <- x[x$Pop==1,]
if(par6 == 'bachelor') x <- x[x$Pop==0,]
if(par7 != 'all') {
x <- x[x$Year==as.numeric(par7),]
}
cAc <- with(x,cbind( A1, A2, A3, A4, A5, A6, A7, A8, A9,A10))
cAs <- with(x,cbind(A11,A12,A13,A14,A15,A16,A17,A18,A19,A20))
cA <- cbind(cAc,cAs)
cCa <- with(x,cbind(C1,C3,C5,C7, C9,C11,C13,C15,C17,C19,C21,C23,C25,C27,C29,C31,C33,C35,C37,C39,C41,C43,C45,C47))
cCp <- with(x,cbind(C2,C4,C6,C8,C10,C12,C14,C16,C18,C20,C22,C24,C26,C28,C30,C32,C34,C36,C38,C40,C42,C44,C46,C48))
cC <- cbind(cCa,cCp)
cU <- with(x,cbind(U1,U2,U3,U4,U5,U6,U7,U8,U9,U10,U11,U12,U13,U14,U15,U16,U17,U18,U19,U20,U21,U22,U23,U24,U25,U26,U27,U28,U29,U30,U31,U32,U33))
cE <- with(x,cbind(BC,NNZFG,MRT,AFL,LPM,LPC,W,WPA))
cX <- with(x,cbind(X1,X2,X3,X4,X5,X6,X7,X8,X9,X10,X11,X12,X13,X14,X15,X16,X17,X18))
if (par8=='ATTLES connected') x <- cAc
if (par8=='ATTLES separate') x <- cAs
if (par8=='ATTLES all') x <- cA
if (par8=='COLLES actuals') x <- cCa
if (par8=='COLLES preferred') x <- cCp
if (par8=='COLLES all') x <- cC
if (par8=='CSUQ') x <- cU
if (par8=='Learning Activities') x <- cE
if (par8=='Exam Items') x <- cX
if (par9=='ATTLES connected') y <- cAc
if (par9=='ATTLES separate') y <- cAs
if (par9=='ATTLES all') y <- cA
if (par9=='COLLES actuals') y <- cCa
if (par9=='COLLES preferred') y <- cCp
if (par9=='COLLES all') y <- cC
if (par9=='CSUQ') y <- cU
if (par9=='Learning Activities') y <- cE
if (par9=='Exam Items') y <- cX
if (par1==0) {
nr <- length(y[,1])
nc <- length(y[1,])
mysum <- array(0,dim=nr)
for(jjj in 1:nr) {
for(iii in 1:nc) {
mysum[jjj] = mysum[jjj] + y[jjj,iii]
}
}
y <- mysum
} else {
y <- y[,par1]
}
nx <- cbind(y,x)
colnames(nx) <- c('endo',colnames(x))
x <- nx
par1=1
ncol <- length(x[1,])
for (jjj in 1:ncol) {
x <- x[!is.na(x[,jjj]),]
}
x <- as.data.frame(x)
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')
}