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 computationMon, 30 Apr 2012 08:37:59 -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/Apr/30/t13357894919g1c2kz9hnrw097.htm/, Retrieved Sun, 28 Apr 2024 22:34:00 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=165239, Retrieved Sun, 28 Apr 2024 22:34:00 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact119
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Notched Boxplots] [] [2012-04-23 09:07:19] [272f2f17453c7186d6073ebf31ee4b1c]
- RMP   [Recursive Partitioning (Regression Trees)] [] [2012-04-23 09:40:16] [272f2f17453c7186d6073ebf31ee4b1c]
- R P       [Recursive Partitioning (Regression Trees)] [] [2012-04-30 12:37:59] [722cc7f94b3c1568a723b3c5e98a2726] [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 time4 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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=165239&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]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165239&T=0

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







Goodness of Fit
Correlation0.9605
R-squared0.9225
RMSE899.6174

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.9605[/C][/ROW]
[ROW][C]R-squared[/C][C]0.9225[/C][/ROW]
[ROW][C]RMSE[/C][C]899.6174[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165239&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165239&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.9605
R-squared0.9225
RMSE899.6174







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
16704.736515.67230769231189.057692307691
27365.27427.37272727273-62.1727272727267
39735.739621.178125114.551874999999
411423.8610934.193125489.666875000001
58446.738516.48846153846-69.7584615384621
68115.678002.83357142856112.836428571436
77432.148002.83357142856-570.693571428564
88028.26333333338002.8335714285625.4297619047366
98106.13333333338002.83357142856103.299761904736
107122.576515.67230769231606.897692307692
116550.886515.6723076923135.207692307692
127519.278002.83357142856-483.563571428564
135721.456515.67230769231-794.222307692308
147941.548002.83357142856-61.2935714285641
156734.76515.67230769231219.027692307692
169659.929621.17812538.7418749999997
1710472.949124.07190476191348.8680952381
188335.45333333338002.83357142856332.619761904736
197171.576515.67230769231655.897692307692
204366.985517.5225-1150.5425
216905.96515.67230769231390.227692307692
226411.96515.67230769231-103.772307692308
234046.332554.5181491.812
244520.675517.5225-996.8525
258171.448516.48846153846-345.048461538461
267045.036515.67230769231529.357692307693
277138.56515.67230769231622.827692307692
283540.172554.518985.652
2912068.3910934.1931251134.196875
306796.876515.67230769231281.197692307692
319300.498516.48846153846784.001538461538
328714.349124.0719047619-409.7319047619
337139.67427.37272727273-287.772727272727
349678.679621.17812557.4918749999997
3510139.589621.178125518.401875
369533.689621.178125-87.4981250000001
379268.459621.178125-352.728125
385769.626515.67230769231-746.052307692308
395108.876515.67230769231-1406.80230769231
409521.079621.178125-100.108125000001
416015.85517.5225498.2775
427660.527427.37272727273233.147272727273
437290.237427.37272727273-137.142727272728
449303.939621.178125-317.248125
459820.999124.0719047619696.918095238099
466982.566515.67230769231466.887692307691
476696.296515.67230769231180.617692307692
486068.495517.5225550.9675
499784.529621.178125163.341875
507368.027427.37272727273-59.352727272727
518711.659124.0719047619-412.421904761901
527038.446515.67230769231522.767692307692
538736.029124.0719047619-388.0519047619
5412375.8410934.1931251441.646875
5513022.3114291.211875-1268.901875
569815.39621.178125194.121874999999
578057.838516.48846153846-458.658461538462
586213.86515.67230769231-301.872307692308
599314.649621.178125-306.538125000001
6011078.1910934.193125143.996875000001
619024.678516.48846153846508.181538461538
628439.69124.0719047619-684.4719047619
636591.216515.6723076923175.5376923076919
646619.76515.67230769231104.027692307692
655469.096515.67230769231-1046.58230769231
668972.96333333339124.0719047619-151.1085714286
676410.886515.67230769231-104.792307692308
688098.28002.8335714285695.3664285714358
696317.426515.67230769231-198.252307692308
7014159.9114291.211875-131.301874999999
719635.529621.17812514.3418750000001
727360.028002.83357142856-642.813571428564
7310485.3110934.193125-448.883124999998
749096.538516.48846153846580.041538461537
7513043.2614291.211875-1247.951875
768228.398516.48846153846-288.098461538462
7711392.9410934.193125458.746875000001
7814565.6214291.211875274.408125
796399.886515.67230769231-115.792307692308
808761.838516.48846153846245.341538461538
814324.312554.5181769.792
8215740.7814291.2118751449.568125
839649.9810934.193125-1284.213125
8412950.0914291.211875-1341.121875
8510007.3210934.193125-926.873125
8613029.7414291.211875-1261.471875
8714456.6914291.211875165.478125000001
88312.322554.518-2242.198
898000.238516.48846153846-516.258461538462
9012670.0514291.211875-1621.161875
9110443.8210934.193125-490.373125
927380.87427.37272727273-46.5727272727272
9312364.3710934.1931251430.176875
947685.117427.37272727273257.737272727273
9513917.6214291.211875-373.591875
964260.962554.5181706.442
974263.652554.5181709.132
989808.169621.178125186.981874999999
99503.932554.518-2050.588
1006106.865517.5225589.337500000001
1019756.579621.178125135.391874999999
1027559.887427.37272727273132.507272727273
10394809621.178125-141.178125
10410012.8810934.193125-921.313124999999
10514942.5614291.211875651.348125
10610118.7510934.193125-815.443125
1079503.119621.178125-118.068125
1089389.2310934.193125-1544.963125
1092078.32554.518-476.218
1105959.46515.67230769231-556.272307692308
1114008.62554.5181454.082
11211099.2210934.193125165.026875000001
11312040.9510934.1931251106.756875
1147242.247427.37272727273-185.132727272728
11519323.4314291.2118755032.218125
1168379.818002.83357142856376.976428571437
1173626.592554.5181072.072
118906.042554.518-1648.478
1194100.632554.5181546.112
12014625.7714291.211875334.558125000001
1216894.786515.67230769231379.107692307692
1227148.27427.37272727273-279.172727272728
1238562.898002.83357142856560.056428571435
1248514.398002.83357142856511.556428571435
1255641.345517.5225123.8175
1268592.58516.4884615384676.0115384615383
12713820.8314291.211875-470.381874999999
12815285.8814291.211875994.668125
12910996.0410934.19312561.8468750000011
1308228.678516.48846153846-287.818461538462
1317955.028002.83357142856-47.8135714285636
1327690.878002.83357142856-311.963571428564
13302554.518-2554.518
1347861.37427.37272727273433.927272727273
13513104.8514291.211875-1186.361875
1365915.815517.5225398.287499999999
1375504.235517.5225-13.2925000000005
138402.042554.518-2152.478
1396631.446515.67230769231115.767692307692
1408687.318516.48846153846170.82153846154
1411943.92554.518-610.618
1428117.738516.48846153846-398.758461538462

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 6704.73 & 6515.67230769231 & 189.057692307691 \tabularnewline
2 & 7365.2 & 7427.37272727273 & -62.1727272727267 \tabularnewline
3 & 9735.73 & 9621.178125 & 114.551874999999 \tabularnewline
4 & 11423.86 & 10934.193125 & 489.666875000001 \tabularnewline
5 & 8446.73 & 8516.48846153846 & -69.7584615384621 \tabularnewline
6 & 8115.67 & 8002.83357142856 & 112.836428571436 \tabularnewline
7 & 7432.14 & 8002.83357142856 & -570.693571428564 \tabularnewline
8 & 8028.2633333333 & 8002.83357142856 & 25.4297619047366 \tabularnewline
9 & 8106.1333333333 & 8002.83357142856 & 103.299761904736 \tabularnewline
10 & 7122.57 & 6515.67230769231 & 606.897692307692 \tabularnewline
11 & 6550.88 & 6515.67230769231 & 35.207692307692 \tabularnewline
12 & 7519.27 & 8002.83357142856 & -483.563571428564 \tabularnewline
13 & 5721.45 & 6515.67230769231 & -794.222307692308 \tabularnewline
14 & 7941.54 & 8002.83357142856 & -61.2935714285641 \tabularnewline
15 & 6734.7 & 6515.67230769231 & 219.027692307692 \tabularnewline
16 & 9659.92 & 9621.178125 & 38.7418749999997 \tabularnewline
17 & 10472.94 & 9124.0719047619 & 1348.8680952381 \tabularnewline
18 & 8335.4533333333 & 8002.83357142856 & 332.619761904736 \tabularnewline
19 & 7171.57 & 6515.67230769231 & 655.897692307692 \tabularnewline
20 & 4366.98 & 5517.5225 & -1150.5425 \tabularnewline
21 & 6905.9 & 6515.67230769231 & 390.227692307692 \tabularnewline
22 & 6411.9 & 6515.67230769231 & -103.772307692308 \tabularnewline
23 & 4046.33 & 2554.518 & 1491.812 \tabularnewline
24 & 4520.67 & 5517.5225 & -996.8525 \tabularnewline
25 & 8171.44 & 8516.48846153846 & -345.048461538461 \tabularnewline
26 & 7045.03 & 6515.67230769231 & 529.357692307693 \tabularnewline
27 & 7138.5 & 6515.67230769231 & 622.827692307692 \tabularnewline
28 & 3540.17 & 2554.518 & 985.652 \tabularnewline
29 & 12068.39 & 10934.193125 & 1134.196875 \tabularnewline
30 & 6796.87 & 6515.67230769231 & 281.197692307692 \tabularnewline
31 & 9300.49 & 8516.48846153846 & 784.001538461538 \tabularnewline
32 & 8714.34 & 9124.0719047619 & -409.7319047619 \tabularnewline
33 & 7139.6 & 7427.37272727273 & -287.772727272727 \tabularnewline
34 & 9678.67 & 9621.178125 & 57.4918749999997 \tabularnewline
35 & 10139.58 & 9621.178125 & 518.401875 \tabularnewline
36 & 9533.68 & 9621.178125 & -87.4981250000001 \tabularnewline
37 & 9268.45 & 9621.178125 & -352.728125 \tabularnewline
38 & 5769.62 & 6515.67230769231 & -746.052307692308 \tabularnewline
39 & 5108.87 & 6515.67230769231 & -1406.80230769231 \tabularnewline
40 & 9521.07 & 9621.178125 & -100.108125000001 \tabularnewline
41 & 6015.8 & 5517.5225 & 498.2775 \tabularnewline
42 & 7660.52 & 7427.37272727273 & 233.147272727273 \tabularnewline
43 & 7290.23 & 7427.37272727273 & -137.142727272728 \tabularnewline
44 & 9303.93 & 9621.178125 & -317.248125 \tabularnewline
45 & 9820.99 & 9124.0719047619 & 696.918095238099 \tabularnewline
46 & 6982.56 & 6515.67230769231 & 466.887692307691 \tabularnewline
47 & 6696.29 & 6515.67230769231 & 180.617692307692 \tabularnewline
48 & 6068.49 & 5517.5225 & 550.9675 \tabularnewline
49 & 9784.52 & 9621.178125 & 163.341875 \tabularnewline
50 & 7368.02 & 7427.37272727273 & -59.352727272727 \tabularnewline
51 & 8711.65 & 9124.0719047619 & -412.421904761901 \tabularnewline
52 & 7038.44 & 6515.67230769231 & 522.767692307692 \tabularnewline
53 & 8736.02 & 9124.0719047619 & -388.0519047619 \tabularnewline
54 & 12375.84 & 10934.193125 & 1441.646875 \tabularnewline
55 & 13022.31 & 14291.211875 & -1268.901875 \tabularnewline
56 & 9815.3 & 9621.178125 & 194.121874999999 \tabularnewline
57 & 8057.83 & 8516.48846153846 & -458.658461538462 \tabularnewline
58 & 6213.8 & 6515.67230769231 & -301.872307692308 \tabularnewline
59 & 9314.64 & 9621.178125 & -306.538125000001 \tabularnewline
60 & 11078.19 & 10934.193125 & 143.996875000001 \tabularnewline
61 & 9024.67 & 8516.48846153846 & 508.181538461538 \tabularnewline
62 & 8439.6 & 9124.0719047619 & -684.4719047619 \tabularnewline
63 & 6591.21 & 6515.67230769231 & 75.5376923076919 \tabularnewline
64 & 6619.7 & 6515.67230769231 & 104.027692307692 \tabularnewline
65 & 5469.09 & 6515.67230769231 & -1046.58230769231 \tabularnewline
66 & 8972.9633333333 & 9124.0719047619 & -151.1085714286 \tabularnewline
67 & 6410.88 & 6515.67230769231 & -104.792307692308 \tabularnewline
68 & 8098.2 & 8002.83357142856 & 95.3664285714358 \tabularnewline
69 & 6317.42 & 6515.67230769231 & -198.252307692308 \tabularnewline
70 & 14159.91 & 14291.211875 & -131.301874999999 \tabularnewline
71 & 9635.52 & 9621.178125 & 14.3418750000001 \tabularnewline
72 & 7360.02 & 8002.83357142856 & -642.813571428564 \tabularnewline
73 & 10485.31 & 10934.193125 & -448.883124999998 \tabularnewline
74 & 9096.53 & 8516.48846153846 & 580.041538461537 \tabularnewline
75 & 13043.26 & 14291.211875 & -1247.951875 \tabularnewline
76 & 8228.39 & 8516.48846153846 & -288.098461538462 \tabularnewline
77 & 11392.94 & 10934.193125 & 458.746875000001 \tabularnewline
78 & 14565.62 & 14291.211875 & 274.408125 \tabularnewline
79 & 6399.88 & 6515.67230769231 & -115.792307692308 \tabularnewline
80 & 8761.83 & 8516.48846153846 & 245.341538461538 \tabularnewline
81 & 4324.31 & 2554.518 & 1769.792 \tabularnewline
82 & 15740.78 & 14291.211875 & 1449.568125 \tabularnewline
83 & 9649.98 & 10934.193125 & -1284.213125 \tabularnewline
84 & 12950.09 & 14291.211875 & -1341.121875 \tabularnewline
85 & 10007.32 & 10934.193125 & -926.873125 \tabularnewline
86 & 13029.74 & 14291.211875 & -1261.471875 \tabularnewline
87 & 14456.69 & 14291.211875 & 165.478125000001 \tabularnewline
88 & 312.32 & 2554.518 & -2242.198 \tabularnewline
89 & 8000.23 & 8516.48846153846 & -516.258461538462 \tabularnewline
90 & 12670.05 & 14291.211875 & -1621.161875 \tabularnewline
91 & 10443.82 & 10934.193125 & -490.373125 \tabularnewline
92 & 7380.8 & 7427.37272727273 & -46.5727272727272 \tabularnewline
93 & 12364.37 & 10934.193125 & 1430.176875 \tabularnewline
94 & 7685.11 & 7427.37272727273 & 257.737272727273 \tabularnewline
95 & 13917.62 & 14291.211875 & -373.591875 \tabularnewline
96 & 4260.96 & 2554.518 & 1706.442 \tabularnewline
97 & 4263.65 & 2554.518 & 1709.132 \tabularnewline
98 & 9808.16 & 9621.178125 & 186.981874999999 \tabularnewline
99 & 503.93 & 2554.518 & -2050.588 \tabularnewline
100 & 6106.86 & 5517.5225 & 589.337500000001 \tabularnewline
101 & 9756.57 & 9621.178125 & 135.391874999999 \tabularnewline
102 & 7559.88 & 7427.37272727273 & 132.507272727273 \tabularnewline
103 & 9480 & 9621.178125 & -141.178125 \tabularnewline
104 & 10012.88 & 10934.193125 & -921.313124999999 \tabularnewline
105 & 14942.56 & 14291.211875 & 651.348125 \tabularnewline
106 & 10118.75 & 10934.193125 & -815.443125 \tabularnewline
107 & 9503.11 & 9621.178125 & -118.068125 \tabularnewline
108 & 9389.23 & 10934.193125 & -1544.963125 \tabularnewline
109 & 2078.3 & 2554.518 & -476.218 \tabularnewline
110 & 5959.4 & 6515.67230769231 & -556.272307692308 \tabularnewline
111 & 4008.6 & 2554.518 & 1454.082 \tabularnewline
112 & 11099.22 & 10934.193125 & 165.026875000001 \tabularnewline
113 & 12040.95 & 10934.193125 & 1106.756875 \tabularnewline
114 & 7242.24 & 7427.37272727273 & -185.132727272728 \tabularnewline
115 & 19323.43 & 14291.211875 & 5032.218125 \tabularnewline
116 & 8379.81 & 8002.83357142856 & 376.976428571437 \tabularnewline
117 & 3626.59 & 2554.518 & 1072.072 \tabularnewline
118 & 906.04 & 2554.518 & -1648.478 \tabularnewline
119 & 4100.63 & 2554.518 & 1546.112 \tabularnewline
120 & 14625.77 & 14291.211875 & 334.558125000001 \tabularnewline
121 & 6894.78 & 6515.67230769231 & 379.107692307692 \tabularnewline
122 & 7148.2 & 7427.37272727273 & -279.172727272728 \tabularnewline
123 & 8562.89 & 8002.83357142856 & 560.056428571435 \tabularnewline
124 & 8514.39 & 8002.83357142856 & 511.556428571435 \tabularnewline
125 & 5641.34 & 5517.5225 & 123.8175 \tabularnewline
126 & 8592.5 & 8516.48846153846 & 76.0115384615383 \tabularnewline
127 & 13820.83 & 14291.211875 & -470.381874999999 \tabularnewline
128 & 15285.88 & 14291.211875 & 994.668125 \tabularnewline
129 & 10996.04 & 10934.193125 & 61.8468750000011 \tabularnewline
130 & 8228.67 & 8516.48846153846 & -287.818461538462 \tabularnewline
131 & 7955.02 & 8002.83357142856 & -47.8135714285636 \tabularnewline
132 & 7690.87 & 8002.83357142856 & -311.963571428564 \tabularnewline
133 & 0 & 2554.518 & -2554.518 \tabularnewline
134 & 7861.3 & 7427.37272727273 & 433.927272727273 \tabularnewline
135 & 13104.85 & 14291.211875 & -1186.361875 \tabularnewline
136 & 5915.81 & 5517.5225 & 398.287499999999 \tabularnewline
137 & 5504.23 & 5517.5225 & -13.2925000000005 \tabularnewline
138 & 402.04 & 2554.518 & -2152.478 \tabularnewline
139 & 6631.44 & 6515.67230769231 & 115.767692307692 \tabularnewline
140 & 8687.31 & 8516.48846153846 & 170.82153846154 \tabularnewline
141 & 1943.9 & 2554.518 & -610.618 \tabularnewline
142 & 8117.73 & 8516.48846153846 & -398.758461538462 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=165239&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]6704.73[/C][C]6515.67230769231[/C][C]189.057692307691[/C][/ROW]
[ROW][C]2[/C][C]7365.2[/C][C]7427.37272727273[/C][C]-62.1727272727267[/C][/ROW]
[ROW][C]3[/C][C]9735.73[/C][C]9621.178125[/C][C]114.551874999999[/C][/ROW]
[ROW][C]4[/C][C]11423.86[/C][C]10934.193125[/C][C]489.666875000001[/C][/ROW]
[ROW][C]5[/C][C]8446.73[/C][C]8516.48846153846[/C][C]-69.7584615384621[/C][/ROW]
[ROW][C]6[/C][C]8115.67[/C][C]8002.83357142856[/C][C]112.836428571436[/C][/ROW]
[ROW][C]7[/C][C]7432.14[/C][C]8002.83357142856[/C][C]-570.693571428564[/C][/ROW]
[ROW][C]8[/C][C]8028.2633333333[/C][C]8002.83357142856[/C][C]25.4297619047366[/C][/ROW]
[ROW][C]9[/C][C]8106.1333333333[/C][C]8002.83357142856[/C][C]103.299761904736[/C][/ROW]
[ROW][C]10[/C][C]7122.57[/C][C]6515.67230769231[/C][C]606.897692307692[/C][/ROW]
[ROW][C]11[/C][C]6550.88[/C][C]6515.67230769231[/C][C]35.207692307692[/C][/ROW]
[ROW][C]12[/C][C]7519.27[/C][C]8002.83357142856[/C][C]-483.563571428564[/C][/ROW]
[ROW][C]13[/C][C]5721.45[/C][C]6515.67230769231[/C][C]-794.222307692308[/C][/ROW]
[ROW][C]14[/C][C]7941.54[/C][C]8002.83357142856[/C][C]-61.2935714285641[/C][/ROW]
[ROW][C]15[/C][C]6734.7[/C][C]6515.67230769231[/C][C]219.027692307692[/C][/ROW]
[ROW][C]16[/C][C]9659.92[/C][C]9621.178125[/C][C]38.7418749999997[/C][/ROW]
[ROW][C]17[/C][C]10472.94[/C][C]9124.0719047619[/C][C]1348.8680952381[/C][/ROW]
[ROW][C]18[/C][C]8335.4533333333[/C][C]8002.83357142856[/C][C]332.619761904736[/C][/ROW]
[ROW][C]19[/C][C]7171.57[/C][C]6515.67230769231[/C][C]655.897692307692[/C][/ROW]
[ROW][C]20[/C][C]4366.98[/C][C]5517.5225[/C][C]-1150.5425[/C][/ROW]
[ROW][C]21[/C][C]6905.9[/C][C]6515.67230769231[/C][C]390.227692307692[/C][/ROW]
[ROW][C]22[/C][C]6411.9[/C][C]6515.67230769231[/C][C]-103.772307692308[/C][/ROW]
[ROW][C]23[/C][C]4046.33[/C][C]2554.518[/C][C]1491.812[/C][/ROW]
[ROW][C]24[/C][C]4520.67[/C][C]5517.5225[/C][C]-996.8525[/C][/ROW]
[ROW][C]25[/C][C]8171.44[/C][C]8516.48846153846[/C][C]-345.048461538461[/C][/ROW]
[ROW][C]26[/C][C]7045.03[/C][C]6515.67230769231[/C][C]529.357692307693[/C][/ROW]
[ROW][C]27[/C][C]7138.5[/C][C]6515.67230769231[/C][C]622.827692307692[/C][/ROW]
[ROW][C]28[/C][C]3540.17[/C][C]2554.518[/C][C]985.652[/C][/ROW]
[ROW][C]29[/C][C]12068.39[/C][C]10934.193125[/C][C]1134.196875[/C][/ROW]
[ROW][C]30[/C][C]6796.87[/C][C]6515.67230769231[/C][C]281.197692307692[/C][/ROW]
[ROW][C]31[/C][C]9300.49[/C][C]8516.48846153846[/C][C]784.001538461538[/C][/ROW]
[ROW][C]32[/C][C]8714.34[/C][C]9124.0719047619[/C][C]-409.7319047619[/C][/ROW]
[ROW][C]33[/C][C]7139.6[/C][C]7427.37272727273[/C][C]-287.772727272727[/C][/ROW]
[ROW][C]34[/C][C]9678.67[/C][C]9621.178125[/C][C]57.4918749999997[/C][/ROW]
[ROW][C]35[/C][C]10139.58[/C][C]9621.178125[/C][C]518.401875[/C][/ROW]
[ROW][C]36[/C][C]9533.68[/C][C]9621.178125[/C][C]-87.4981250000001[/C][/ROW]
[ROW][C]37[/C][C]9268.45[/C][C]9621.178125[/C][C]-352.728125[/C][/ROW]
[ROW][C]38[/C][C]5769.62[/C][C]6515.67230769231[/C][C]-746.052307692308[/C][/ROW]
[ROW][C]39[/C][C]5108.87[/C][C]6515.67230769231[/C][C]-1406.80230769231[/C][/ROW]
[ROW][C]40[/C][C]9521.07[/C][C]9621.178125[/C][C]-100.108125000001[/C][/ROW]
[ROW][C]41[/C][C]6015.8[/C][C]5517.5225[/C][C]498.2775[/C][/ROW]
[ROW][C]42[/C][C]7660.52[/C][C]7427.37272727273[/C][C]233.147272727273[/C][/ROW]
[ROW][C]43[/C][C]7290.23[/C][C]7427.37272727273[/C][C]-137.142727272728[/C][/ROW]
[ROW][C]44[/C][C]9303.93[/C][C]9621.178125[/C][C]-317.248125[/C][/ROW]
[ROW][C]45[/C][C]9820.99[/C][C]9124.0719047619[/C][C]696.918095238099[/C][/ROW]
[ROW][C]46[/C][C]6982.56[/C][C]6515.67230769231[/C][C]466.887692307691[/C][/ROW]
[ROW][C]47[/C][C]6696.29[/C][C]6515.67230769231[/C][C]180.617692307692[/C][/ROW]
[ROW][C]48[/C][C]6068.49[/C][C]5517.5225[/C][C]550.9675[/C][/ROW]
[ROW][C]49[/C][C]9784.52[/C][C]9621.178125[/C][C]163.341875[/C][/ROW]
[ROW][C]50[/C][C]7368.02[/C][C]7427.37272727273[/C][C]-59.352727272727[/C][/ROW]
[ROW][C]51[/C][C]8711.65[/C][C]9124.0719047619[/C][C]-412.421904761901[/C][/ROW]
[ROW][C]52[/C][C]7038.44[/C][C]6515.67230769231[/C][C]522.767692307692[/C][/ROW]
[ROW][C]53[/C][C]8736.02[/C][C]9124.0719047619[/C][C]-388.0519047619[/C][/ROW]
[ROW][C]54[/C][C]12375.84[/C][C]10934.193125[/C][C]1441.646875[/C][/ROW]
[ROW][C]55[/C][C]13022.31[/C][C]14291.211875[/C][C]-1268.901875[/C][/ROW]
[ROW][C]56[/C][C]9815.3[/C][C]9621.178125[/C][C]194.121874999999[/C][/ROW]
[ROW][C]57[/C][C]8057.83[/C][C]8516.48846153846[/C][C]-458.658461538462[/C][/ROW]
[ROW][C]58[/C][C]6213.8[/C][C]6515.67230769231[/C][C]-301.872307692308[/C][/ROW]
[ROW][C]59[/C][C]9314.64[/C][C]9621.178125[/C][C]-306.538125000001[/C][/ROW]
[ROW][C]60[/C][C]11078.19[/C][C]10934.193125[/C][C]143.996875000001[/C][/ROW]
[ROW][C]61[/C][C]9024.67[/C][C]8516.48846153846[/C][C]508.181538461538[/C][/ROW]
[ROW][C]62[/C][C]8439.6[/C][C]9124.0719047619[/C][C]-684.4719047619[/C][/ROW]
[ROW][C]63[/C][C]6591.21[/C][C]6515.67230769231[/C][C]75.5376923076919[/C][/ROW]
[ROW][C]64[/C][C]6619.7[/C][C]6515.67230769231[/C][C]104.027692307692[/C][/ROW]
[ROW][C]65[/C][C]5469.09[/C][C]6515.67230769231[/C][C]-1046.58230769231[/C][/ROW]
[ROW][C]66[/C][C]8972.9633333333[/C][C]9124.0719047619[/C][C]-151.1085714286[/C][/ROW]
[ROW][C]67[/C][C]6410.88[/C][C]6515.67230769231[/C][C]-104.792307692308[/C][/ROW]
[ROW][C]68[/C][C]8098.2[/C][C]8002.83357142856[/C][C]95.3664285714358[/C][/ROW]
[ROW][C]69[/C][C]6317.42[/C][C]6515.67230769231[/C][C]-198.252307692308[/C][/ROW]
[ROW][C]70[/C][C]14159.91[/C][C]14291.211875[/C][C]-131.301874999999[/C][/ROW]
[ROW][C]71[/C][C]9635.52[/C][C]9621.178125[/C][C]14.3418750000001[/C][/ROW]
[ROW][C]72[/C][C]7360.02[/C][C]8002.83357142856[/C][C]-642.813571428564[/C][/ROW]
[ROW][C]73[/C][C]10485.31[/C][C]10934.193125[/C][C]-448.883124999998[/C][/ROW]
[ROW][C]74[/C][C]9096.53[/C][C]8516.48846153846[/C][C]580.041538461537[/C][/ROW]
[ROW][C]75[/C][C]13043.26[/C][C]14291.211875[/C][C]-1247.951875[/C][/ROW]
[ROW][C]76[/C][C]8228.39[/C][C]8516.48846153846[/C][C]-288.098461538462[/C][/ROW]
[ROW][C]77[/C][C]11392.94[/C][C]10934.193125[/C][C]458.746875000001[/C][/ROW]
[ROW][C]78[/C][C]14565.62[/C][C]14291.211875[/C][C]274.408125[/C][/ROW]
[ROW][C]79[/C][C]6399.88[/C][C]6515.67230769231[/C][C]-115.792307692308[/C][/ROW]
[ROW][C]80[/C][C]8761.83[/C][C]8516.48846153846[/C][C]245.341538461538[/C][/ROW]
[ROW][C]81[/C][C]4324.31[/C][C]2554.518[/C][C]1769.792[/C][/ROW]
[ROW][C]82[/C][C]15740.78[/C][C]14291.211875[/C][C]1449.568125[/C][/ROW]
[ROW][C]83[/C][C]9649.98[/C][C]10934.193125[/C][C]-1284.213125[/C][/ROW]
[ROW][C]84[/C][C]12950.09[/C][C]14291.211875[/C][C]-1341.121875[/C][/ROW]
[ROW][C]85[/C][C]10007.32[/C][C]10934.193125[/C][C]-926.873125[/C][/ROW]
[ROW][C]86[/C][C]13029.74[/C][C]14291.211875[/C][C]-1261.471875[/C][/ROW]
[ROW][C]87[/C][C]14456.69[/C][C]14291.211875[/C][C]165.478125000001[/C][/ROW]
[ROW][C]88[/C][C]312.32[/C][C]2554.518[/C][C]-2242.198[/C][/ROW]
[ROW][C]89[/C][C]8000.23[/C][C]8516.48846153846[/C][C]-516.258461538462[/C][/ROW]
[ROW][C]90[/C][C]12670.05[/C][C]14291.211875[/C][C]-1621.161875[/C][/ROW]
[ROW][C]91[/C][C]10443.82[/C][C]10934.193125[/C][C]-490.373125[/C][/ROW]
[ROW][C]92[/C][C]7380.8[/C][C]7427.37272727273[/C][C]-46.5727272727272[/C][/ROW]
[ROW][C]93[/C][C]12364.37[/C][C]10934.193125[/C][C]1430.176875[/C][/ROW]
[ROW][C]94[/C][C]7685.11[/C][C]7427.37272727273[/C][C]257.737272727273[/C][/ROW]
[ROW][C]95[/C][C]13917.62[/C][C]14291.211875[/C][C]-373.591875[/C][/ROW]
[ROW][C]96[/C][C]4260.96[/C][C]2554.518[/C][C]1706.442[/C][/ROW]
[ROW][C]97[/C][C]4263.65[/C][C]2554.518[/C][C]1709.132[/C][/ROW]
[ROW][C]98[/C][C]9808.16[/C][C]9621.178125[/C][C]186.981874999999[/C][/ROW]
[ROW][C]99[/C][C]503.93[/C][C]2554.518[/C][C]-2050.588[/C][/ROW]
[ROW][C]100[/C][C]6106.86[/C][C]5517.5225[/C][C]589.337500000001[/C][/ROW]
[ROW][C]101[/C][C]9756.57[/C][C]9621.178125[/C][C]135.391874999999[/C][/ROW]
[ROW][C]102[/C][C]7559.88[/C][C]7427.37272727273[/C][C]132.507272727273[/C][/ROW]
[ROW][C]103[/C][C]9480[/C][C]9621.178125[/C][C]-141.178125[/C][/ROW]
[ROW][C]104[/C][C]10012.88[/C][C]10934.193125[/C][C]-921.313124999999[/C][/ROW]
[ROW][C]105[/C][C]14942.56[/C][C]14291.211875[/C][C]651.348125[/C][/ROW]
[ROW][C]106[/C][C]10118.75[/C][C]10934.193125[/C][C]-815.443125[/C][/ROW]
[ROW][C]107[/C][C]9503.11[/C][C]9621.178125[/C][C]-118.068125[/C][/ROW]
[ROW][C]108[/C][C]9389.23[/C][C]10934.193125[/C][C]-1544.963125[/C][/ROW]
[ROW][C]109[/C][C]2078.3[/C][C]2554.518[/C][C]-476.218[/C][/ROW]
[ROW][C]110[/C][C]5959.4[/C][C]6515.67230769231[/C][C]-556.272307692308[/C][/ROW]
[ROW][C]111[/C][C]4008.6[/C][C]2554.518[/C][C]1454.082[/C][/ROW]
[ROW][C]112[/C][C]11099.22[/C][C]10934.193125[/C][C]165.026875000001[/C][/ROW]
[ROW][C]113[/C][C]12040.95[/C][C]10934.193125[/C][C]1106.756875[/C][/ROW]
[ROW][C]114[/C][C]7242.24[/C][C]7427.37272727273[/C][C]-185.132727272728[/C][/ROW]
[ROW][C]115[/C][C]19323.43[/C][C]14291.211875[/C][C]5032.218125[/C][/ROW]
[ROW][C]116[/C][C]8379.81[/C][C]8002.83357142856[/C][C]376.976428571437[/C][/ROW]
[ROW][C]117[/C][C]3626.59[/C][C]2554.518[/C][C]1072.072[/C][/ROW]
[ROW][C]118[/C][C]906.04[/C][C]2554.518[/C][C]-1648.478[/C][/ROW]
[ROW][C]119[/C][C]4100.63[/C][C]2554.518[/C][C]1546.112[/C][/ROW]
[ROW][C]120[/C][C]14625.77[/C][C]14291.211875[/C][C]334.558125000001[/C][/ROW]
[ROW][C]121[/C][C]6894.78[/C][C]6515.67230769231[/C][C]379.107692307692[/C][/ROW]
[ROW][C]122[/C][C]7148.2[/C][C]7427.37272727273[/C][C]-279.172727272728[/C][/ROW]
[ROW][C]123[/C][C]8562.89[/C][C]8002.83357142856[/C][C]560.056428571435[/C][/ROW]
[ROW][C]124[/C][C]8514.39[/C][C]8002.83357142856[/C][C]511.556428571435[/C][/ROW]
[ROW][C]125[/C][C]5641.34[/C][C]5517.5225[/C][C]123.8175[/C][/ROW]
[ROW][C]126[/C][C]8592.5[/C][C]8516.48846153846[/C][C]76.0115384615383[/C][/ROW]
[ROW][C]127[/C][C]13820.83[/C][C]14291.211875[/C][C]-470.381874999999[/C][/ROW]
[ROW][C]128[/C][C]15285.88[/C][C]14291.211875[/C][C]994.668125[/C][/ROW]
[ROW][C]129[/C][C]10996.04[/C][C]10934.193125[/C][C]61.8468750000011[/C][/ROW]
[ROW][C]130[/C][C]8228.67[/C][C]8516.48846153846[/C][C]-287.818461538462[/C][/ROW]
[ROW][C]131[/C][C]7955.02[/C][C]8002.83357142856[/C][C]-47.8135714285636[/C][/ROW]
[ROW][C]132[/C][C]7690.87[/C][C]8002.83357142856[/C][C]-311.963571428564[/C][/ROW]
[ROW][C]133[/C][C]0[/C][C]2554.518[/C][C]-2554.518[/C][/ROW]
[ROW][C]134[/C][C]7861.3[/C][C]7427.37272727273[/C][C]433.927272727273[/C][/ROW]
[ROW][C]135[/C][C]13104.85[/C][C]14291.211875[/C][C]-1186.361875[/C][/ROW]
[ROW][C]136[/C][C]5915.81[/C][C]5517.5225[/C][C]398.287499999999[/C][/ROW]
[ROW][C]137[/C][C]5504.23[/C][C]5517.5225[/C][C]-13.2925000000005[/C][/ROW]
[ROW][C]138[/C][C]402.04[/C][C]2554.518[/C][C]-2152.478[/C][/ROW]
[ROW][C]139[/C][C]6631.44[/C][C]6515.67230769231[/C][C]115.767692307692[/C][/ROW]
[ROW][C]140[/C][C]8687.31[/C][C]8516.48846153846[/C][C]170.82153846154[/C][/ROW]
[ROW][C]141[/C][C]1943.9[/C][C]2554.518[/C][C]-610.618[/C][/ROW]
[ROW][C]142[/C][C]8117.73[/C][C]8516.48846153846[/C][C]-398.758461538462[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165239&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165239&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
16704.736515.67230769231189.057692307691
27365.27427.37272727273-62.1727272727267
39735.739621.178125114.551874999999
411423.8610934.193125489.666875000001
58446.738516.48846153846-69.7584615384621
68115.678002.83357142856112.836428571436
77432.148002.83357142856-570.693571428564
88028.26333333338002.8335714285625.4297619047366
98106.13333333338002.83357142856103.299761904736
107122.576515.67230769231606.897692307692
116550.886515.6723076923135.207692307692
127519.278002.83357142856-483.563571428564
135721.456515.67230769231-794.222307692308
147941.548002.83357142856-61.2935714285641
156734.76515.67230769231219.027692307692
169659.929621.17812538.7418749999997
1710472.949124.07190476191348.8680952381
188335.45333333338002.83357142856332.619761904736
197171.576515.67230769231655.897692307692
204366.985517.5225-1150.5425
216905.96515.67230769231390.227692307692
226411.96515.67230769231-103.772307692308
234046.332554.5181491.812
244520.675517.5225-996.8525
258171.448516.48846153846-345.048461538461
267045.036515.67230769231529.357692307693
277138.56515.67230769231622.827692307692
283540.172554.518985.652
2912068.3910934.1931251134.196875
306796.876515.67230769231281.197692307692
319300.498516.48846153846784.001538461538
328714.349124.0719047619-409.7319047619
337139.67427.37272727273-287.772727272727
349678.679621.17812557.4918749999997
3510139.589621.178125518.401875
369533.689621.178125-87.4981250000001
379268.459621.178125-352.728125
385769.626515.67230769231-746.052307692308
395108.876515.67230769231-1406.80230769231
409521.079621.178125-100.108125000001
416015.85517.5225498.2775
427660.527427.37272727273233.147272727273
437290.237427.37272727273-137.142727272728
449303.939621.178125-317.248125
459820.999124.0719047619696.918095238099
466982.566515.67230769231466.887692307691
476696.296515.67230769231180.617692307692
486068.495517.5225550.9675
499784.529621.178125163.341875
507368.027427.37272727273-59.352727272727
518711.659124.0719047619-412.421904761901
527038.446515.67230769231522.767692307692
538736.029124.0719047619-388.0519047619
5412375.8410934.1931251441.646875
5513022.3114291.211875-1268.901875
569815.39621.178125194.121874999999
578057.838516.48846153846-458.658461538462
586213.86515.67230769231-301.872307692308
599314.649621.178125-306.538125000001
6011078.1910934.193125143.996875000001
619024.678516.48846153846508.181538461538
628439.69124.0719047619-684.4719047619
636591.216515.6723076923175.5376923076919
646619.76515.67230769231104.027692307692
655469.096515.67230769231-1046.58230769231
668972.96333333339124.0719047619-151.1085714286
676410.886515.67230769231-104.792307692308
688098.28002.8335714285695.3664285714358
696317.426515.67230769231-198.252307692308
7014159.9114291.211875-131.301874999999
719635.529621.17812514.3418750000001
727360.028002.83357142856-642.813571428564
7310485.3110934.193125-448.883124999998
749096.538516.48846153846580.041538461537
7513043.2614291.211875-1247.951875
768228.398516.48846153846-288.098461538462
7711392.9410934.193125458.746875000001
7814565.6214291.211875274.408125
796399.886515.67230769231-115.792307692308
808761.838516.48846153846245.341538461538
814324.312554.5181769.792
8215740.7814291.2118751449.568125
839649.9810934.193125-1284.213125
8412950.0914291.211875-1341.121875
8510007.3210934.193125-926.873125
8613029.7414291.211875-1261.471875
8714456.6914291.211875165.478125000001
88312.322554.518-2242.198
898000.238516.48846153846-516.258461538462
9012670.0514291.211875-1621.161875
9110443.8210934.193125-490.373125
927380.87427.37272727273-46.5727272727272
9312364.3710934.1931251430.176875
947685.117427.37272727273257.737272727273
9513917.6214291.211875-373.591875
964260.962554.5181706.442
974263.652554.5181709.132
989808.169621.178125186.981874999999
99503.932554.518-2050.588
1006106.865517.5225589.337500000001
1019756.579621.178125135.391874999999
1027559.887427.37272727273132.507272727273
10394809621.178125-141.178125
10410012.8810934.193125-921.313124999999
10514942.5614291.211875651.348125
10610118.7510934.193125-815.443125
1079503.119621.178125-118.068125
1089389.2310934.193125-1544.963125
1092078.32554.518-476.218
1105959.46515.67230769231-556.272307692308
1114008.62554.5181454.082
11211099.2210934.193125165.026875000001
11312040.9510934.1931251106.756875
1147242.247427.37272727273-185.132727272728
11519323.4314291.2118755032.218125
1168379.818002.83357142856376.976428571437
1173626.592554.5181072.072
118906.042554.518-1648.478
1194100.632554.5181546.112
12014625.7714291.211875334.558125000001
1216894.786515.67230769231379.107692307692
1227148.27427.37272727273-279.172727272728
1238562.898002.83357142856560.056428571435
1248514.398002.83357142856511.556428571435
1255641.345517.5225123.8175
1268592.58516.4884615384676.0115384615383
12713820.8314291.211875-470.381874999999
12815285.8814291.211875994.668125
12910996.0410934.19312561.8468750000011
1308228.678516.48846153846-287.818461538462
1317955.028002.83357142856-47.8135714285636
1327690.878002.83357142856-311.963571428564
13302554.518-2554.518
1347861.37427.37272727273433.927272727273
13513104.8514291.211875-1186.361875
1365915.815517.5225398.287499999999
1375504.235517.5225-13.2925000000005
138402.042554.518-2152.478
1396631.446515.67230769231115.767692307692
1408687.318516.48846153846170.82153846154
1411943.92554.518-610.618
1428117.738516.48846153846-398.758461538462



Parameters (Session):
par1 = correlation matrix ; par2 = ATTLES all ; par3 = COLLES all ; par4 = all ; par5 = bachelor ; par6 = all ;
Parameters (R input):
par1 = 0 ; par2 = none ; par3 = 3 ; par4 = no ; par5 = male ; par6 = bachelor ; par7 = all ; par8 = Learning Activities ; par9 = Learning Activities ;
R code (references can be found in the software module):
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')
}