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 15:07:23 -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/t1335899280yerkibnru4ajoi3.htm/, Retrieved Sat, 04 May 2024 12:41:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=165739, Retrieved Sat, 04 May 2024 12:41:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact122
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Recursive Partitioning (Regression Trees)] [] [2012-04-17 16:12:01] [b98453cac15ba1066b407e146608df68]
- R P     [Recursive Partitioning (Regression Trees)] [regression tree 2] [2012-05-01 19:07:23] [0e2c18186cab982e7ba7b89fbe242e59] [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'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 & 5 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=165739&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]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165739&T=0

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







Goodness of Fit
Correlation0.1824
R-squared0.0333
RMSE2069.7615

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

[TABLE]
[ROW][C]Goodness of Fit[/C][/ROW]
[ROW][C]Correlation[/C][C]0.1824[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0333[/C][/ROW]
[ROW][C]RMSE[/C][C]2069.7615[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165739&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165739&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.1824
R-squared0.0333
RMSE2069.7615







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
139454639.20083333333-694.200833333333
228794639.20083333333-1760.20083333333
334354639.20083333333-1204.20083333333
42260.334639.20083333333-2378.87083333333
541084639.20083333333-531.200833333333
640554639.20083333333-584.200833333333
757704639.200833333331130.79916666667
82260.334639.20083333333-2378.87083333333
933254639.20083333333-1314.20083333333
1015714639.20083333333-3068.20083333333
1156464639.200833333331006.79916666667
123596.54639.20083333333-1042.70083333333
1358524639.200833333331212.79916666667
142567.754639.20083333333-2071.45083333333
1543233487.04464285714835.955357142857
1630074639.20083333333-1632.20083333333
1766764639.200833333332036.79916666667
1850854639.20083333333445.799166666667
1945954639.20083333333-44.2008333333333
2061874639.200833333331547.79916666667
212391.334639.20083333333-2247.87083333333
22106104639.200833333335970.79916666667
2315714639.20083333333-3068.20083333333
2452734639.20083333333633.799166666667
252586.334639.20083333333-2052.87083333333
2690244639.200833333334384.79916666667
2723354639.20083333333-2304.20083333333
2860424639.200833333331402.79916666667
2942904639.20083333333-349.200833333333
3055814639.20083333333941.799166666667
3174754639.200833333332835.79916666667
3243794639.20083333333-260.200833333333
3359434639.200833333331303.79916666667
3431254639.20083333333-1514.20083333333
3544864639.20083333333-153.200833333333
363415.54639.20083333333-1223.70083333333
3716934639.20083333333-2946.20083333333
3885284639.200833333333888.79916666667
3941414639.20083333333-498.200833333333
4042904639.20083333333-349.200833333333
4127014639.20083333333-1938.20083333333
4220934639.20083333333-2546.20083333333
432150.54639.20083333333-2488.70083333333
442567.754639.20083333333-2071.45083333333
4559514639.200833333331311.79916666667
462586.334639.20083333333-2052.87083333333
4772284639.200833333332588.79916666667
482567.753487.04464285714-919.294642857143
492567.754639.20083333333-2071.45083333333
5082014639.200833333333561.79916666667
5144624639.20083333333-177.200833333333
5226494639.20083333333-1990.20083333333
53114654639.200833333336825.79916666667
5416934639.20083333333-2946.20083333333
554053.54639.20083333333-585.700833333333
5661264639.200833333331486.79916666667
5729014639.20083333333-1738.20083333333
5828173487.04464285714-670.044642857143
5953604639.20083333333720.799166666667
60106104639.200833333335970.79916666667
6156464639.200833333331006.79916666667
622391.334639.20083333333-2247.87083333333
6346874639.2008333333347.7991666666667
6415714639.20083333333-3068.20083333333
6555684639.20083333333928.799166666667
6604639.20083333333-4639.20083333333
6748574639.20083333333217.799166666667
6838224639.20083333333-817.200833333333
6939454639.20083333333-694.200833333333
7051924639.20083333333552.799166666667
7162313487.044642857142743.95535714286
7244234639.20083333333-216.200833333333
7376104639.200833333332970.79916666667
7430174639.20083333333-1622.20083333333
7518684639.20083333333-2771.20083333333
7636904639.20083333333-949.200833333333
774053.54639.20083333333-585.700833333333
7858684639.200833333331228.79916666667
7986124639.200833333333972.79916666667
8079484639.200833333333308.79916666667
8130073487.04464285714-480.044642857143
8238044639.20083333333-835.200833333333
8355534639.20083333333913.799166666667
843596.54639.20083333333-1042.70083333333
85122304639.200833333337590.79916666667
8616934639.20083333333-2946.20083333333
8751824639.20083333333542.799166666667
8857814639.200833333331141.79916666667
89105644639.200833333335924.79916666667
9047954639.20083333333155.799166666667
9134354639.20083333333-1204.20083333333
9277274639.200833333333087.79916666667
932586.334639.20083333333-2052.87083333333
9454674639.20083333333827.799166666667
9542904639.20083333333-349.200833333333
9664134639.200833333331773.79916666667
972150.54639.20083333333-2488.70083333333
9853174639.20083333333677.799166666667
9957274639.200833333331087.79916666667
10053663487.044642857141878.95535714286
10117804639.20083333333-2859.20083333333
1023415.54639.20083333333-1223.70083333333
10344384639.20083333333-201.200833333333
10486314639.200833333333991.79916666667
10529664639.20083333333-1673.20083333333
10643574639.20083333333-282.200833333333
10741104639.20083333333-529.200833333333
10827753487.04464285714-712.044642857143
10956224639.20083333333982.799166666667
11076804639.200833333333040.79916666667
11115714639.20083333333-3068.20083333333
11237763487.04464285714288.955357142857
11343414639.20083333333-298.200833333333
11463974639.200833333331757.79916666667
11555814639.20083333333941.799166666667
1163149.53487.04464285714-337.544642857143
11761954639.200833333331555.79916666667
11834304639.20083333333-1209.20083333333
11967884639.200833333332148.79916666667
12038763487.04464285714388.955357142857
12146074639.20083333333-32.2008333333333
12218684639.20083333333-2771.20083333333
12337174639.20083333333-922.200833333333
1243149.54639.20083333333-1489.70083333333
12531514639.20083333333-1488.20083333333
12641784639.20083333333-461.200833333333
12745124639.20083333333-127.200833333333
12841544639.20083333333-485.200833333333
12930554639.20083333333-1584.20083333333
13049553487.044642857141467.95535714286
13142973487.04464285714809.955357142857
13260634639.200833333331423.79916666667
13341784639.20083333333-461.200833333333
13437794639.20083333333-860.200833333333
13537863487.04464285714298.955357142857
13654184639.20083333333778.799166666667
13753104639.20083333333670.799166666667
13868044639.200833333332164.79916666667
13939043487.04464285714416.955357142857
14074484639.200833333332808.79916666667
14173934639.200833333332753.79916666667
14238584639.20083333333-781.200833333333
14345454639.20083333333-94.2008333333333
14461354639.200833333331495.79916666667
14521793487.04464285714-1308.04464285714
14651644639.20083333333524.799166666667
1473030.54639.20083333333-1608.70083333333
14847584639.20083333333118.799166666667
14946474639.200833333337.79916666666668
15003487.04464285714-3487.04464285714
15136584639.20083333333-981.200833333333
15261784639.200833333331538.79916666667
15358184639.200833333331178.79916666667
15446214639.20083333333-18.2008333333333
15549624639.20083333333322.799166666667
15646043487.044642857141116.95535714286
15757774639.200833333331137.79916666667
15834094639.20083333333-1230.20083333333
15972414639.200833333332601.79916666667
16019624639.20083333333-2677.20083333333
16119584639.20083333333-2681.20083333333
1622670.54639.20083333333-1968.70083333333
16343084639.20083333333-331.200833333333
16428754639.20083333333-1764.20083333333
16530554639.20083333333-1584.20083333333
16641784639.20083333333-461.200833333333
16733474639.20083333333-1292.20083333333
16835134639.20083333333-1126.20083333333
16944154639.20083333333-224.200833333333
17043024639.20083333333-337.200833333333
17181984639.200833333333558.79916666667
17247234639.2008333333383.7991666666667
17369024639.200833333332262.79916666667
17425694639.20083333333-2070.20083333333
17547204639.2008333333380.7991666666667
17645114639.20083333333-128.200833333333
17755504639.20083333333910.799166666667
17843903487.04464285714902.955357142857
17917483487.04464285714-1739.04464285714
18045214639.20083333333-118.200833333333
18198044639.200833333335164.79916666667
18231194639.20083333333-1520.20083333333
183627.53487.04464285714-2859.54464285714
18440074639.20083333333-632.200833333333
18567123487.044642857143224.95535714286
18652434639.20083333333603.799166666667
18756994639.200833333331059.79916666667
18834334639.20083333333-1206.20083333333
18993274639.200833333334687.79916666667
19020044639.20083333333-2635.20083333333
19125534639.20083333333-2086.20083333333
19216784639.20083333333-2961.20083333333
19370213487.044642857143533.95535714286
1941754639.20083333333-4464.20083333333
19546474639.200833333337.79916666666668
19631994639.20083333333-1440.20083333333
19760824639.200833333331442.79916666667
19836224639.20083333333-1017.20083333333
19919973487.04464285714-1490.04464285714
2002670.54639.20083333333-1968.70083333333
20191234639.200833333334483.79916666667
20223484639.20083333333-2291.20083333333
20340244639.20083333333-615.200833333333
20436004639.20083333333-1039.20083333333
20569854639.200833333332345.79916666667
20637113487.04464285714223.955357142857
2072446.54639.20083333333-2192.70083333333
2082446.53487.04464285714-1040.54464285714
20938674639.20083333333-772.200833333333
21071054639.200833333332465.79916666667
21165594639.200833333331919.79916666667
21262114639.200833333331571.79916666667
21327183487.04464285714-769.044642857143
21423953487.04464285714-1092.04464285714
21550164639.20083333333376.799166666667
2163030.54639.20083333333-1608.70083333333
21758524639.200833333331212.79916666667
21849174639.20083333333277.799166666667
21937684639.20083333333-871.200833333333
22022583487.04464285714-1229.04464285714

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 3945 & 4639.20083333333 & -694.200833333333 \tabularnewline
2 & 2879 & 4639.20083333333 & -1760.20083333333 \tabularnewline
3 & 3435 & 4639.20083333333 & -1204.20083333333 \tabularnewline
4 & 2260.33 & 4639.20083333333 & -2378.87083333333 \tabularnewline
5 & 4108 & 4639.20083333333 & -531.200833333333 \tabularnewline
6 & 4055 & 4639.20083333333 & -584.200833333333 \tabularnewline
7 & 5770 & 4639.20083333333 & 1130.79916666667 \tabularnewline
8 & 2260.33 & 4639.20083333333 & -2378.87083333333 \tabularnewline
9 & 3325 & 4639.20083333333 & -1314.20083333333 \tabularnewline
10 & 1571 & 4639.20083333333 & -3068.20083333333 \tabularnewline
11 & 5646 & 4639.20083333333 & 1006.79916666667 \tabularnewline
12 & 3596.5 & 4639.20083333333 & -1042.70083333333 \tabularnewline
13 & 5852 & 4639.20083333333 & 1212.79916666667 \tabularnewline
14 & 2567.75 & 4639.20083333333 & -2071.45083333333 \tabularnewline
15 & 4323 & 3487.04464285714 & 835.955357142857 \tabularnewline
16 & 3007 & 4639.20083333333 & -1632.20083333333 \tabularnewline
17 & 6676 & 4639.20083333333 & 2036.79916666667 \tabularnewline
18 & 5085 & 4639.20083333333 & 445.799166666667 \tabularnewline
19 & 4595 & 4639.20083333333 & -44.2008333333333 \tabularnewline
20 & 6187 & 4639.20083333333 & 1547.79916666667 \tabularnewline
21 & 2391.33 & 4639.20083333333 & -2247.87083333333 \tabularnewline
22 & 10610 & 4639.20083333333 & 5970.79916666667 \tabularnewline
23 & 1571 & 4639.20083333333 & -3068.20083333333 \tabularnewline
24 & 5273 & 4639.20083333333 & 633.799166666667 \tabularnewline
25 & 2586.33 & 4639.20083333333 & -2052.87083333333 \tabularnewline
26 & 9024 & 4639.20083333333 & 4384.79916666667 \tabularnewline
27 & 2335 & 4639.20083333333 & -2304.20083333333 \tabularnewline
28 & 6042 & 4639.20083333333 & 1402.79916666667 \tabularnewline
29 & 4290 & 4639.20083333333 & -349.200833333333 \tabularnewline
30 & 5581 & 4639.20083333333 & 941.799166666667 \tabularnewline
31 & 7475 & 4639.20083333333 & 2835.79916666667 \tabularnewline
32 & 4379 & 4639.20083333333 & -260.200833333333 \tabularnewline
33 & 5943 & 4639.20083333333 & 1303.79916666667 \tabularnewline
34 & 3125 & 4639.20083333333 & -1514.20083333333 \tabularnewline
35 & 4486 & 4639.20083333333 & -153.200833333333 \tabularnewline
36 & 3415.5 & 4639.20083333333 & -1223.70083333333 \tabularnewline
37 & 1693 & 4639.20083333333 & -2946.20083333333 \tabularnewline
38 & 8528 & 4639.20083333333 & 3888.79916666667 \tabularnewline
39 & 4141 & 4639.20083333333 & -498.200833333333 \tabularnewline
40 & 4290 & 4639.20083333333 & -349.200833333333 \tabularnewline
41 & 2701 & 4639.20083333333 & -1938.20083333333 \tabularnewline
42 & 2093 & 4639.20083333333 & -2546.20083333333 \tabularnewline
43 & 2150.5 & 4639.20083333333 & -2488.70083333333 \tabularnewline
44 & 2567.75 & 4639.20083333333 & -2071.45083333333 \tabularnewline
45 & 5951 & 4639.20083333333 & 1311.79916666667 \tabularnewline
46 & 2586.33 & 4639.20083333333 & -2052.87083333333 \tabularnewline
47 & 7228 & 4639.20083333333 & 2588.79916666667 \tabularnewline
48 & 2567.75 & 3487.04464285714 & -919.294642857143 \tabularnewline
49 & 2567.75 & 4639.20083333333 & -2071.45083333333 \tabularnewline
50 & 8201 & 4639.20083333333 & 3561.79916666667 \tabularnewline
51 & 4462 & 4639.20083333333 & -177.200833333333 \tabularnewline
52 & 2649 & 4639.20083333333 & -1990.20083333333 \tabularnewline
53 & 11465 & 4639.20083333333 & 6825.79916666667 \tabularnewline
54 & 1693 & 4639.20083333333 & -2946.20083333333 \tabularnewline
55 & 4053.5 & 4639.20083333333 & -585.700833333333 \tabularnewline
56 & 6126 & 4639.20083333333 & 1486.79916666667 \tabularnewline
57 & 2901 & 4639.20083333333 & -1738.20083333333 \tabularnewline
58 & 2817 & 3487.04464285714 & -670.044642857143 \tabularnewline
59 & 5360 & 4639.20083333333 & 720.799166666667 \tabularnewline
60 & 10610 & 4639.20083333333 & 5970.79916666667 \tabularnewline
61 & 5646 & 4639.20083333333 & 1006.79916666667 \tabularnewline
62 & 2391.33 & 4639.20083333333 & -2247.87083333333 \tabularnewline
63 & 4687 & 4639.20083333333 & 47.7991666666667 \tabularnewline
64 & 1571 & 4639.20083333333 & -3068.20083333333 \tabularnewline
65 & 5568 & 4639.20083333333 & 928.799166666667 \tabularnewline
66 & 0 & 4639.20083333333 & -4639.20083333333 \tabularnewline
67 & 4857 & 4639.20083333333 & 217.799166666667 \tabularnewline
68 & 3822 & 4639.20083333333 & -817.200833333333 \tabularnewline
69 & 3945 & 4639.20083333333 & -694.200833333333 \tabularnewline
70 & 5192 & 4639.20083333333 & 552.799166666667 \tabularnewline
71 & 6231 & 3487.04464285714 & 2743.95535714286 \tabularnewline
72 & 4423 & 4639.20083333333 & -216.200833333333 \tabularnewline
73 & 7610 & 4639.20083333333 & 2970.79916666667 \tabularnewline
74 & 3017 & 4639.20083333333 & -1622.20083333333 \tabularnewline
75 & 1868 & 4639.20083333333 & -2771.20083333333 \tabularnewline
76 & 3690 & 4639.20083333333 & -949.200833333333 \tabularnewline
77 & 4053.5 & 4639.20083333333 & -585.700833333333 \tabularnewline
78 & 5868 & 4639.20083333333 & 1228.79916666667 \tabularnewline
79 & 8612 & 4639.20083333333 & 3972.79916666667 \tabularnewline
80 & 7948 & 4639.20083333333 & 3308.79916666667 \tabularnewline
81 & 3007 & 3487.04464285714 & -480.044642857143 \tabularnewline
82 & 3804 & 4639.20083333333 & -835.200833333333 \tabularnewline
83 & 5553 & 4639.20083333333 & 913.799166666667 \tabularnewline
84 & 3596.5 & 4639.20083333333 & -1042.70083333333 \tabularnewline
85 & 12230 & 4639.20083333333 & 7590.79916666667 \tabularnewline
86 & 1693 & 4639.20083333333 & -2946.20083333333 \tabularnewline
87 & 5182 & 4639.20083333333 & 542.799166666667 \tabularnewline
88 & 5781 & 4639.20083333333 & 1141.79916666667 \tabularnewline
89 & 10564 & 4639.20083333333 & 5924.79916666667 \tabularnewline
90 & 4795 & 4639.20083333333 & 155.799166666667 \tabularnewline
91 & 3435 & 4639.20083333333 & -1204.20083333333 \tabularnewline
92 & 7727 & 4639.20083333333 & 3087.79916666667 \tabularnewline
93 & 2586.33 & 4639.20083333333 & -2052.87083333333 \tabularnewline
94 & 5467 & 4639.20083333333 & 827.799166666667 \tabularnewline
95 & 4290 & 4639.20083333333 & -349.200833333333 \tabularnewline
96 & 6413 & 4639.20083333333 & 1773.79916666667 \tabularnewline
97 & 2150.5 & 4639.20083333333 & -2488.70083333333 \tabularnewline
98 & 5317 & 4639.20083333333 & 677.799166666667 \tabularnewline
99 & 5727 & 4639.20083333333 & 1087.79916666667 \tabularnewline
100 & 5366 & 3487.04464285714 & 1878.95535714286 \tabularnewline
101 & 1780 & 4639.20083333333 & -2859.20083333333 \tabularnewline
102 & 3415.5 & 4639.20083333333 & -1223.70083333333 \tabularnewline
103 & 4438 & 4639.20083333333 & -201.200833333333 \tabularnewline
104 & 8631 & 4639.20083333333 & 3991.79916666667 \tabularnewline
105 & 2966 & 4639.20083333333 & -1673.20083333333 \tabularnewline
106 & 4357 & 4639.20083333333 & -282.200833333333 \tabularnewline
107 & 4110 & 4639.20083333333 & -529.200833333333 \tabularnewline
108 & 2775 & 3487.04464285714 & -712.044642857143 \tabularnewline
109 & 5622 & 4639.20083333333 & 982.799166666667 \tabularnewline
110 & 7680 & 4639.20083333333 & 3040.79916666667 \tabularnewline
111 & 1571 & 4639.20083333333 & -3068.20083333333 \tabularnewline
112 & 3776 & 3487.04464285714 & 288.955357142857 \tabularnewline
113 & 4341 & 4639.20083333333 & -298.200833333333 \tabularnewline
114 & 6397 & 4639.20083333333 & 1757.79916666667 \tabularnewline
115 & 5581 & 4639.20083333333 & 941.799166666667 \tabularnewline
116 & 3149.5 & 3487.04464285714 & -337.544642857143 \tabularnewline
117 & 6195 & 4639.20083333333 & 1555.79916666667 \tabularnewline
118 & 3430 & 4639.20083333333 & -1209.20083333333 \tabularnewline
119 & 6788 & 4639.20083333333 & 2148.79916666667 \tabularnewline
120 & 3876 & 3487.04464285714 & 388.955357142857 \tabularnewline
121 & 4607 & 4639.20083333333 & -32.2008333333333 \tabularnewline
122 & 1868 & 4639.20083333333 & -2771.20083333333 \tabularnewline
123 & 3717 & 4639.20083333333 & -922.200833333333 \tabularnewline
124 & 3149.5 & 4639.20083333333 & -1489.70083333333 \tabularnewline
125 & 3151 & 4639.20083333333 & -1488.20083333333 \tabularnewline
126 & 4178 & 4639.20083333333 & -461.200833333333 \tabularnewline
127 & 4512 & 4639.20083333333 & -127.200833333333 \tabularnewline
128 & 4154 & 4639.20083333333 & -485.200833333333 \tabularnewline
129 & 3055 & 4639.20083333333 & -1584.20083333333 \tabularnewline
130 & 4955 & 3487.04464285714 & 1467.95535714286 \tabularnewline
131 & 4297 & 3487.04464285714 & 809.955357142857 \tabularnewline
132 & 6063 & 4639.20083333333 & 1423.79916666667 \tabularnewline
133 & 4178 & 4639.20083333333 & -461.200833333333 \tabularnewline
134 & 3779 & 4639.20083333333 & -860.200833333333 \tabularnewline
135 & 3786 & 3487.04464285714 & 298.955357142857 \tabularnewline
136 & 5418 & 4639.20083333333 & 778.799166666667 \tabularnewline
137 & 5310 & 4639.20083333333 & 670.799166666667 \tabularnewline
138 & 6804 & 4639.20083333333 & 2164.79916666667 \tabularnewline
139 & 3904 & 3487.04464285714 & 416.955357142857 \tabularnewline
140 & 7448 & 4639.20083333333 & 2808.79916666667 \tabularnewline
141 & 7393 & 4639.20083333333 & 2753.79916666667 \tabularnewline
142 & 3858 & 4639.20083333333 & -781.200833333333 \tabularnewline
143 & 4545 & 4639.20083333333 & -94.2008333333333 \tabularnewline
144 & 6135 & 4639.20083333333 & 1495.79916666667 \tabularnewline
145 & 2179 & 3487.04464285714 & -1308.04464285714 \tabularnewline
146 & 5164 & 4639.20083333333 & 524.799166666667 \tabularnewline
147 & 3030.5 & 4639.20083333333 & -1608.70083333333 \tabularnewline
148 & 4758 & 4639.20083333333 & 118.799166666667 \tabularnewline
149 & 4647 & 4639.20083333333 & 7.79916666666668 \tabularnewline
150 & 0 & 3487.04464285714 & -3487.04464285714 \tabularnewline
151 & 3658 & 4639.20083333333 & -981.200833333333 \tabularnewline
152 & 6178 & 4639.20083333333 & 1538.79916666667 \tabularnewline
153 & 5818 & 4639.20083333333 & 1178.79916666667 \tabularnewline
154 & 4621 & 4639.20083333333 & -18.2008333333333 \tabularnewline
155 & 4962 & 4639.20083333333 & 322.799166666667 \tabularnewline
156 & 4604 & 3487.04464285714 & 1116.95535714286 \tabularnewline
157 & 5777 & 4639.20083333333 & 1137.79916666667 \tabularnewline
158 & 3409 & 4639.20083333333 & -1230.20083333333 \tabularnewline
159 & 7241 & 4639.20083333333 & 2601.79916666667 \tabularnewline
160 & 1962 & 4639.20083333333 & -2677.20083333333 \tabularnewline
161 & 1958 & 4639.20083333333 & -2681.20083333333 \tabularnewline
162 & 2670.5 & 4639.20083333333 & -1968.70083333333 \tabularnewline
163 & 4308 & 4639.20083333333 & -331.200833333333 \tabularnewline
164 & 2875 & 4639.20083333333 & -1764.20083333333 \tabularnewline
165 & 3055 & 4639.20083333333 & -1584.20083333333 \tabularnewline
166 & 4178 & 4639.20083333333 & -461.200833333333 \tabularnewline
167 & 3347 & 4639.20083333333 & -1292.20083333333 \tabularnewline
168 & 3513 & 4639.20083333333 & -1126.20083333333 \tabularnewline
169 & 4415 & 4639.20083333333 & -224.200833333333 \tabularnewline
170 & 4302 & 4639.20083333333 & -337.200833333333 \tabularnewline
171 & 8198 & 4639.20083333333 & 3558.79916666667 \tabularnewline
172 & 4723 & 4639.20083333333 & 83.7991666666667 \tabularnewline
173 & 6902 & 4639.20083333333 & 2262.79916666667 \tabularnewline
174 & 2569 & 4639.20083333333 & -2070.20083333333 \tabularnewline
175 & 4720 & 4639.20083333333 & 80.7991666666667 \tabularnewline
176 & 4511 & 4639.20083333333 & -128.200833333333 \tabularnewline
177 & 5550 & 4639.20083333333 & 910.799166666667 \tabularnewline
178 & 4390 & 3487.04464285714 & 902.955357142857 \tabularnewline
179 & 1748 & 3487.04464285714 & -1739.04464285714 \tabularnewline
180 & 4521 & 4639.20083333333 & -118.200833333333 \tabularnewline
181 & 9804 & 4639.20083333333 & 5164.79916666667 \tabularnewline
182 & 3119 & 4639.20083333333 & -1520.20083333333 \tabularnewline
183 & 627.5 & 3487.04464285714 & -2859.54464285714 \tabularnewline
184 & 4007 & 4639.20083333333 & -632.200833333333 \tabularnewline
185 & 6712 & 3487.04464285714 & 3224.95535714286 \tabularnewline
186 & 5243 & 4639.20083333333 & 603.799166666667 \tabularnewline
187 & 5699 & 4639.20083333333 & 1059.79916666667 \tabularnewline
188 & 3433 & 4639.20083333333 & -1206.20083333333 \tabularnewline
189 & 9327 & 4639.20083333333 & 4687.79916666667 \tabularnewline
190 & 2004 & 4639.20083333333 & -2635.20083333333 \tabularnewline
191 & 2553 & 4639.20083333333 & -2086.20083333333 \tabularnewline
192 & 1678 & 4639.20083333333 & -2961.20083333333 \tabularnewline
193 & 7021 & 3487.04464285714 & 3533.95535714286 \tabularnewline
194 & 175 & 4639.20083333333 & -4464.20083333333 \tabularnewline
195 & 4647 & 4639.20083333333 & 7.79916666666668 \tabularnewline
196 & 3199 & 4639.20083333333 & -1440.20083333333 \tabularnewline
197 & 6082 & 4639.20083333333 & 1442.79916666667 \tabularnewline
198 & 3622 & 4639.20083333333 & -1017.20083333333 \tabularnewline
199 & 1997 & 3487.04464285714 & -1490.04464285714 \tabularnewline
200 & 2670.5 & 4639.20083333333 & -1968.70083333333 \tabularnewline
201 & 9123 & 4639.20083333333 & 4483.79916666667 \tabularnewline
202 & 2348 & 4639.20083333333 & -2291.20083333333 \tabularnewline
203 & 4024 & 4639.20083333333 & -615.200833333333 \tabularnewline
204 & 3600 & 4639.20083333333 & -1039.20083333333 \tabularnewline
205 & 6985 & 4639.20083333333 & 2345.79916666667 \tabularnewline
206 & 3711 & 3487.04464285714 & 223.955357142857 \tabularnewline
207 & 2446.5 & 4639.20083333333 & -2192.70083333333 \tabularnewline
208 & 2446.5 & 3487.04464285714 & -1040.54464285714 \tabularnewline
209 & 3867 & 4639.20083333333 & -772.200833333333 \tabularnewline
210 & 7105 & 4639.20083333333 & 2465.79916666667 \tabularnewline
211 & 6559 & 4639.20083333333 & 1919.79916666667 \tabularnewline
212 & 6211 & 4639.20083333333 & 1571.79916666667 \tabularnewline
213 & 2718 & 3487.04464285714 & -769.044642857143 \tabularnewline
214 & 2395 & 3487.04464285714 & -1092.04464285714 \tabularnewline
215 & 5016 & 4639.20083333333 & 376.799166666667 \tabularnewline
216 & 3030.5 & 4639.20083333333 & -1608.70083333333 \tabularnewline
217 & 5852 & 4639.20083333333 & 1212.79916666667 \tabularnewline
218 & 4917 & 4639.20083333333 & 277.799166666667 \tabularnewline
219 & 3768 & 4639.20083333333 & -871.200833333333 \tabularnewline
220 & 2258 & 3487.04464285714 & -1229.04464285714 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=165739&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]3945[/C][C]4639.20083333333[/C][C]-694.200833333333[/C][/ROW]
[ROW][C]2[/C][C]2879[/C][C]4639.20083333333[/C][C]-1760.20083333333[/C][/ROW]
[ROW][C]3[/C][C]3435[/C][C]4639.20083333333[/C][C]-1204.20083333333[/C][/ROW]
[ROW][C]4[/C][C]2260.33[/C][C]4639.20083333333[/C][C]-2378.87083333333[/C][/ROW]
[ROW][C]5[/C][C]4108[/C][C]4639.20083333333[/C][C]-531.200833333333[/C][/ROW]
[ROW][C]6[/C][C]4055[/C][C]4639.20083333333[/C][C]-584.200833333333[/C][/ROW]
[ROW][C]7[/C][C]5770[/C][C]4639.20083333333[/C][C]1130.79916666667[/C][/ROW]
[ROW][C]8[/C][C]2260.33[/C][C]4639.20083333333[/C][C]-2378.87083333333[/C][/ROW]
[ROW][C]9[/C][C]3325[/C][C]4639.20083333333[/C][C]-1314.20083333333[/C][/ROW]
[ROW][C]10[/C][C]1571[/C][C]4639.20083333333[/C][C]-3068.20083333333[/C][/ROW]
[ROW][C]11[/C][C]5646[/C][C]4639.20083333333[/C][C]1006.79916666667[/C][/ROW]
[ROW][C]12[/C][C]3596.5[/C][C]4639.20083333333[/C][C]-1042.70083333333[/C][/ROW]
[ROW][C]13[/C][C]5852[/C][C]4639.20083333333[/C][C]1212.79916666667[/C][/ROW]
[ROW][C]14[/C][C]2567.75[/C][C]4639.20083333333[/C][C]-2071.45083333333[/C][/ROW]
[ROW][C]15[/C][C]4323[/C][C]3487.04464285714[/C][C]835.955357142857[/C][/ROW]
[ROW][C]16[/C][C]3007[/C][C]4639.20083333333[/C][C]-1632.20083333333[/C][/ROW]
[ROW][C]17[/C][C]6676[/C][C]4639.20083333333[/C][C]2036.79916666667[/C][/ROW]
[ROW][C]18[/C][C]5085[/C][C]4639.20083333333[/C][C]445.799166666667[/C][/ROW]
[ROW][C]19[/C][C]4595[/C][C]4639.20083333333[/C][C]-44.2008333333333[/C][/ROW]
[ROW][C]20[/C][C]6187[/C][C]4639.20083333333[/C][C]1547.79916666667[/C][/ROW]
[ROW][C]21[/C][C]2391.33[/C][C]4639.20083333333[/C][C]-2247.87083333333[/C][/ROW]
[ROW][C]22[/C][C]10610[/C][C]4639.20083333333[/C][C]5970.79916666667[/C][/ROW]
[ROW][C]23[/C][C]1571[/C][C]4639.20083333333[/C][C]-3068.20083333333[/C][/ROW]
[ROW][C]24[/C][C]5273[/C][C]4639.20083333333[/C][C]633.799166666667[/C][/ROW]
[ROW][C]25[/C][C]2586.33[/C][C]4639.20083333333[/C][C]-2052.87083333333[/C][/ROW]
[ROW][C]26[/C][C]9024[/C][C]4639.20083333333[/C][C]4384.79916666667[/C][/ROW]
[ROW][C]27[/C][C]2335[/C][C]4639.20083333333[/C][C]-2304.20083333333[/C][/ROW]
[ROW][C]28[/C][C]6042[/C][C]4639.20083333333[/C][C]1402.79916666667[/C][/ROW]
[ROW][C]29[/C][C]4290[/C][C]4639.20083333333[/C][C]-349.200833333333[/C][/ROW]
[ROW][C]30[/C][C]5581[/C][C]4639.20083333333[/C][C]941.799166666667[/C][/ROW]
[ROW][C]31[/C][C]7475[/C][C]4639.20083333333[/C][C]2835.79916666667[/C][/ROW]
[ROW][C]32[/C][C]4379[/C][C]4639.20083333333[/C][C]-260.200833333333[/C][/ROW]
[ROW][C]33[/C][C]5943[/C][C]4639.20083333333[/C][C]1303.79916666667[/C][/ROW]
[ROW][C]34[/C][C]3125[/C][C]4639.20083333333[/C][C]-1514.20083333333[/C][/ROW]
[ROW][C]35[/C][C]4486[/C][C]4639.20083333333[/C][C]-153.200833333333[/C][/ROW]
[ROW][C]36[/C][C]3415.5[/C][C]4639.20083333333[/C][C]-1223.70083333333[/C][/ROW]
[ROW][C]37[/C][C]1693[/C][C]4639.20083333333[/C][C]-2946.20083333333[/C][/ROW]
[ROW][C]38[/C][C]8528[/C][C]4639.20083333333[/C][C]3888.79916666667[/C][/ROW]
[ROW][C]39[/C][C]4141[/C][C]4639.20083333333[/C][C]-498.200833333333[/C][/ROW]
[ROW][C]40[/C][C]4290[/C][C]4639.20083333333[/C][C]-349.200833333333[/C][/ROW]
[ROW][C]41[/C][C]2701[/C][C]4639.20083333333[/C][C]-1938.20083333333[/C][/ROW]
[ROW][C]42[/C][C]2093[/C][C]4639.20083333333[/C][C]-2546.20083333333[/C][/ROW]
[ROW][C]43[/C][C]2150.5[/C][C]4639.20083333333[/C][C]-2488.70083333333[/C][/ROW]
[ROW][C]44[/C][C]2567.75[/C][C]4639.20083333333[/C][C]-2071.45083333333[/C][/ROW]
[ROW][C]45[/C][C]5951[/C][C]4639.20083333333[/C][C]1311.79916666667[/C][/ROW]
[ROW][C]46[/C][C]2586.33[/C][C]4639.20083333333[/C][C]-2052.87083333333[/C][/ROW]
[ROW][C]47[/C][C]7228[/C][C]4639.20083333333[/C][C]2588.79916666667[/C][/ROW]
[ROW][C]48[/C][C]2567.75[/C][C]3487.04464285714[/C][C]-919.294642857143[/C][/ROW]
[ROW][C]49[/C][C]2567.75[/C][C]4639.20083333333[/C][C]-2071.45083333333[/C][/ROW]
[ROW][C]50[/C][C]8201[/C][C]4639.20083333333[/C][C]3561.79916666667[/C][/ROW]
[ROW][C]51[/C][C]4462[/C][C]4639.20083333333[/C][C]-177.200833333333[/C][/ROW]
[ROW][C]52[/C][C]2649[/C][C]4639.20083333333[/C][C]-1990.20083333333[/C][/ROW]
[ROW][C]53[/C][C]11465[/C][C]4639.20083333333[/C][C]6825.79916666667[/C][/ROW]
[ROW][C]54[/C][C]1693[/C][C]4639.20083333333[/C][C]-2946.20083333333[/C][/ROW]
[ROW][C]55[/C][C]4053.5[/C][C]4639.20083333333[/C][C]-585.700833333333[/C][/ROW]
[ROW][C]56[/C][C]6126[/C][C]4639.20083333333[/C][C]1486.79916666667[/C][/ROW]
[ROW][C]57[/C][C]2901[/C][C]4639.20083333333[/C][C]-1738.20083333333[/C][/ROW]
[ROW][C]58[/C][C]2817[/C][C]3487.04464285714[/C][C]-670.044642857143[/C][/ROW]
[ROW][C]59[/C][C]5360[/C][C]4639.20083333333[/C][C]720.799166666667[/C][/ROW]
[ROW][C]60[/C][C]10610[/C][C]4639.20083333333[/C][C]5970.79916666667[/C][/ROW]
[ROW][C]61[/C][C]5646[/C][C]4639.20083333333[/C][C]1006.79916666667[/C][/ROW]
[ROW][C]62[/C][C]2391.33[/C][C]4639.20083333333[/C][C]-2247.87083333333[/C][/ROW]
[ROW][C]63[/C][C]4687[/C][C]4639.20083333333[/C][C]47.7991666666667[/C][/ROW]
[ROW][C]64[/C][C]1571[/C][C]4639.20083333333[/C][C]-3068.20083333333[/C][/ROW]
[ROW][C]65[/C][C]5568[/C][C]4639.20083333333[/C][C]928.799166666667[/C][/ROW]
[ROW][C]66[/C][C]0[/C][C]4639.20083333333[/C][C]-4639.20083333333[/C][/ROW]
[ROW][C]67[/C][C]4857[/C][C]4639.20083333333[/C][C]217.799166666667[/C][/ROW]
[ROW][C]68[/C][C]3822[/C][C]4639.20083333333[/C][C]-817.200833333333[/C][/ROW]
[ROW][C]69[/C][C]3945[/C][C]4639.20083333333[/C][C]-694.200833333333[/C][/ROW]
[ROW][C]70[/C][C]5192[/C][C]4639.20083333333[/C][C]552.799166666667[/C][/ROW]
[ROW][C]71[/C][C]6231[/C][C]3487.04464285714[/C][C]2743.95535714286[/C][/ROW]
[ROW][C]72[/C][C]4423[/C][C]4639.20083333333[/C][C]-216.200833333333[/C][/ROW]
[ROW][C]73[/C][C]7610[/C][C]4639.20083333333[/C][C]2970.79916666667[/C][/ROW]
[ROW][C]74[/C][C]3017[/C][C]4639.20083333333[/C][C]-1622.20083333333[/C][/ROW]
[ROW][C]75[/C][C]1868[/C][C]4639.20083333333[/C][C]-2771.20083333333[/C][/ROW]
[ROW][C]76[/C][C]3690[/C][C]4639.20083333333[/C][C]-949.200833333333[/C][/ROW]
[ROW][C]77[/C][C]4053.5[/C][C]4639.20083333333[/C][C]-585.700833333333[/C][/ROW]
[ROW][C]78[/C][C]5868[/C][C]4639.20083333333[/C][C]1228.79916666667[/C][/ROW]
[ROW][C]79[/C][C]8612[/C][C]4639.20083333333[/C][C]3972.79916666667[/C][/ROW]
[ROW][C]80[/C][C]7948[/C][C]4639.20083333333[/C][C]3308.79916666667[/C][/ROW]
[ROW][C]81[/C][C]3007[/C][C]3487.04464285714[/C][C]-480.044642857143[/C][/ROW]
[ROW][C]82[/C][C]3804[/C][C]4639.20083333333[/C][C]-835.200833333333[/C][/ROW]
[ROW][C]83[/C][C]5553[/C][C]4639.20083333333[/C][C]913.799166666667[/C][/ROW]
[ROW][C]84[/C][C]3596.5[/C][C]4639.20083333333[/C][C]-1042.70083333333[/C][/ROW]
[ROW][C]85[/C][C]12230[/C][C]4639.20083333333[/C][C]7590.79916666667[/C][/ROW]
[ROW][C]86[/C][C]1693[/C][C]4639.20083333333[/C][C]-2946.20083333333[/C][/ROW]
[ROW][C]87[/C][C]5182[/C][C]4639.20083333333[/C][C]542.799166666667[/C][/ROW]
[ROW][C]88[/C][C]5781[/C][C]4639.20083333333[/C][C]1141.79916666667[/C][/ROW]
[ROW][C]89[/C][C]10564[/C][C]4639.20083333333[/C][C]5924.79916666667[/C][/ROW]
[ROW][C]90[/C][C]4795[/C][C]4639.20083333333[/C][C]155.799166666667[/C][/ROW]
[ROW][C]91[/C][C]3435[/C][C]4639.20083333333[/C][C]-1204.20083333333[/C][/ROW]
[ROW][C]92[/C][C]7727[/C][C]4639.20083333333[/C][C]3087.79916666667[/C][/ROW]
[ROW][C]93[/C][C]2586.33[/C][C]4639.20083333333[/C][C]-2052.87083333333[/C][/ROW]
[ROW][C]94[/C][C]5467[/C][C]4639.20083333333[/C][C]827.799166666667[/C][/ROW]
[ROW][C]95[/C][C]4290[/C][C]4639.20083333333[/C][C]-349.200833333333[/C][/ROW]
[ROW][C]96[/C][C]6413[/C][C]4639.20083333333[/C][C]1773.79916666667[/C][/ROW]
[ROW][C]97[/C][C]2150.5[/C][C]4639.20083333333[/C][C]-2488.70083333333[/C][/ROW]
[ROW][C]98[/C][C]5317[/C][C]4639.20083333333[/C][C]677.799166666667[/C][/ROW]
[ROW][C]99[/C][C]5727[/C][C]4639.20083333333[/C][C]1087.79916666667[/C][/ROW]
[ROW][C]100[/C][C]5366[/C][C]3487.04464285714[/C][C]1878.95535714286[/C][/ROW]
[ROW][C]101[/C][C]1780[/C][C]4639.20083333333[/C][C]-2859.20083333333[/C][/ROW]
[ROW][C]102[/C][C]3415.5[/C][C]4639.20083333333[/C][C]-1223.70083333333[/C][/ROW]
[ROW][C]103[/C][C]4438[/C][C]4639.20083333333[/C][C]-201.200833333333[/C][/ROW]
[ROW][C]104[/C][C]8631[/C][C]4639.20083333333[/C][C]3991.79916666667[/C][/ROW]
[ROW][C]105[/C][C]2966[/C][C]4639.20083333333[/C][C]-1673.20083333333[/C][/ROW]
[ROW][C]106[/C][C]4357[/C][C]4639.20083333333[/C][C]-282.200833333333[/C][/ROW]
[ROW][C]107[/C][C]4110[/C][C]4639.20083333333[/C][C]-529.200833333333[/C][/ROW]
[ROW][C]108[/C][C]2775[/C][C]3487.04464285714[/C][C]-712.044642857143[/C][/ROW]
[ROW][C]109[/C][C]5622[/C][C]4639.20083333333[/C][C]982.799166666667[/C][/ROW]
[ROW][C]110[/C][C]7680[/C][C]4639.20083333333[/C][C]3040.79916666667[/C][/ROW]
[ROW][C]111[/C][C]1571[/C][C]4639.20083333333[/C][C]-3068.20083333333[/C][/ROW]
[ROW][C]112[/C][C]3776[/C][C]3487.04464285714[/C][C]288.955357142857[/C][/ROW]
[ROW][C]113[/C][C]4341[/C][C]4639.20083333333[/C][C]-298.200833333333[/C][/ROW]
[ROW][C]114[/C][C]6397[/C][C]4639.20083333333[/C][C]1757.79916666667[/C][/ROW]
[ROW][C]115[/C][C]5581[/C][C]4639.20083333333[/C][C]941.799166666667[/C][/ROW]
[ROW][C]116[/C][C]3149.5[/C][C]3487.04464285714[/C][C]-337.544642857143[/C][/ROW]
[ROW][C]117[/C][C]6195[/C][C]4639.20083333333[/C][C]1555.79916666667[/C][/ROW]
[ROW][C]118[/C][C]3430[/C][C]4639.20083333333[/C][C]-1209.20083333333[/C][/ROW]
[ROW][C]119[/C][C]6788[/C][C]4639.20083333333[/C][C]2148.79916666667[/C][/ROW]
[ROW][C]120[/C][C]3876[/C][C]3487.04464285714[/C][C]388.955357142857[/C][/ROW]
[ROW][C]121[/C][C]4607[/C][C]4639.20083333333[/C][C]-32.2008333333333[/C][/ROW]
[ROW][C]122[/C][C]1868[/C][C]4639.20083333333[/C][C]-2771.20083333333[/C][/ROW]
[ROW][C]123[/C][C]3717[/C][C]4639.20083333333[/C][C]-922.200833333333[/C][/ROW]
[ROW][C]124[/C][C]3149.5[/C][C]4639.20083333333[/C][C]-1489.70083333333[/C][/ROW]
[ROW][C]125[/C][C]3151[/C][C]4639.20083333333[/C][C]-1488.20083333333[/C][/ROW]
[ROW][C]126[/C][C]4178[/C][C]4639.20083333333[/C][C]-461.200833333333[/C][/ROW]
[ROW][C]127[/C][C]4512[/C][C]4639.20083333333[/C][C]-127.200833333333[/C][/ROW]
[ROW][C]128[/C][C]4154[/C][C]4639.20083333333[/C][C]-485.200833333333[/C][/ROW]
[ROW][C]129[/C][C]3055[/C][C]4639.20083333333[/C][C]-1584.20083333333[/C][/ROW]
[ROW][C]130[/C][C]4955[/C][C]3487.04464285714[/C][C]1467.95535714286[/C][/ROW]
[ROW][C]131[/C][C]4297[/C][C]3487.04464285714[/C][C]809.955357142857[/C][/ROW]
[ROW][C]132[/C][C]6063[/C][C]4639.20083333333[/C][C]1423.79916666667[/C][/ROW]
[ROW][C]133[/C][C]4178[/C][C]4639.20083333333[/C][C]-461.200833333333[/C][/ROW]
[ROW][C]134[/C][C]3779[/C][C]4639.20083333333[/C][C]-860.200833333333[/C][/ROW]
[ROW][C]135[/C][C]3786[/C][C]3487.04464285714[/C][C]298.955357142857[/C][/ROW]
[ROW][C]136[/C][C]5418[/C][C]4639.20083333333[/C][C]778.799166666667[/C][/ROW]
[ROW][C]137[/C][C]5310[/C][C]4639.20083333333[/C][C]670.799166666667[/C][/ROW]
[ROW][C]138[/C][C]6804[/C][C]4639.20083333333[/C][C]2164.79916666667[/C][/ROW]
[ROW][C]139[/C][C]3904[/C][C]3487.04464285714[/C][C]416.955357142857[/C][/ROW]
[ROW][C]140[/C][C]7448[/C][C]4639.20083333333[/C][C]2808.79916666667[/C][/ROW]
[ROW][C]141[/C][C]7393[/C][C]4639.20083333333[/C][C]2753.79916666667[/C][/ROW]
[ROW][C]142[/C][C]3858[/C][C]4639.20083333333[/C][C]-781.200833333333[/C][/ROW]
[ROW][C]143[/C][C]4545[/C][C]4639.20083333333[/C][C]-94.2008333333333[/C][/ROW]
[ROW][C]144[/C][C]6135[/C][C]4639.20083333333[/C][C]1495.79916666667[/C][/ROW]
[ROW][C]145[/C][C]2179[/C][C]3487.04464285714[/C][C]-1308.04464285714[/C][/ROW]
[ROW][C]146[/C][C]5164[/C][C]4639.20083333333[/C][C]524.799166666667[/C][/ROW]
[ROW][C]147[/C][C]3030.5[/C][C]4639.20083333333[/C][C]-1608.70083333333[/C][/ROW]
[ROW][C]148[/C][C]4758[/C][C]4639.20083333333[/C][C]118.799166666667[/C][/ROW]
[ROW][C]149[/C][C]4647[/C][C]4639.20083333333[/C][C]7.79916666666668[/C][/ROW]
[ROW][C]150[/C][C]0[/C][C]3487.04464285714[/C][C]-3487.04464285714[/C][/ROW]
[ROW][C]151[/C][C]3658[/C][C]4639.20083333333[/C][C]-981.200833333333[/C][/ROW]
[ROW][C]152[/C][C]6178[/C][C]4639.20083333333[/C][C]1538.79916666667[/C][/ROW]
[ROW][C]153[/C][C]5818[/C][C]4639.20083333333[/C][C]1178.79916666667[/C][/ROW]
[ROW][C]154[/C][C]4621[/C][C]4639.20083333333[/C][C]-18.2008333333333[/C][/ROW]
[ROW][C]155[/C][C]4962[/C][C]4639.20083333333[/C][C]322.799166666667[/C][/ROW]
[ROW][C]156[/C][C]4604[/C][C]3487.04464285714[/C][C]1116.95535714286[/C][/ROW]
[ROW][C]157[/C][C]5777[/C][C]4639.20083333333[/C][C]1137.79916666667[/C][/ROW]
[ROW][C]158[/C][C]3409[/C][C]4639.20083333333[/C][C]-1230.20083333333[/C][/ROW]
[ROW][C]159[/C][C]7241[/C][C]4639.20083333333[/C][C]2601.79916666667[/C][/ROW]
[ROW][C]160[/C][C]1962[/C][C]4639.20083333333[/C][C]-2677.20083333333[/C][/ROW]
[ROW][C]161[/C][C]1958[/C][C]4639.20083333333[/C][C]-2681.20083333333[/C][/ROW]
[ROW][C]162[/C][C]2670.5[/C][C]4639.20083333333[/C][C]-1968.70083333333[/C][/ROW]
[ROW][C]163[/C][C]4308[/C][C]4639.20083333333[/C][C]-331.200833333333[/C][/ROW]
[ROW][C]164[/C][C]2875[/C][C]4639.20083333333[/C][C]-1764.20083333333[/C][/ROW]
[ROW][C]165[/C][C]3055[/C][C]4639.20083333333[/C][C]-1584.20083333333[/C][/ROW]
[ROW][C]166[/C][C]4178[/C][C]4639.20083333333[/C][C]-461.200833333333[/C][/ROW]
[ROW][C]167[/C][C]3347[/C][C]4639.20083333333[/C][C]-1292.20083333333[/C][/ROW]
[ROW][C]168[/C][C]3513[/C][C]4639.20083333333[/C][C]-1126.20083333333[/C][/ROW]
[ROW][C]169[/C][C]4415[/C][C]4639.20083333333[/C][C]-224.200833333333[/C][/ROW]
[ROW][C]170[/C][C]4302[/C][C]4639.20083333333[/C][C]-337.200833333333[/C][/ROW]
[ROW][C]171[/C][C]8198[/C][C]4639.20083333333[/C][C]3558.79916666667[/C][/ROW]
[ROW][C]172[/C][C]4723[/C][C]4639.20083333333[/C][C]83.7991666666667[/C][/ROW]
[ROW][C]173[/C][C]6902[/C][C]4639.20083333333[/C][C]2262.79916666667[/C][/ROW]
[ROW][C]174[/C][C]2569[/C][C]4639.20083333333[/C][C]-2070.20083333333[/C][/ROW]
[ROW][C]175[/C][C]4720[/C][C]4639.20083333333[/C][C]80.7991666666667[/C][/ROW]
[ROW][C]176[/C][C]4511[/C][C]4639.20083333333[/C][C]-128.200833333333[/C][/ROW]
[ROW][C]177[/C][C]5550[/C][C]4639.20083333333[/C][C]910.799166666667[/C][/ROW]
[ROW][C]178[/C][C]4390[/C][C]3487.04464285714[/C][C]902.955357142857[/C][/ROW]
[ROW][C]179[/C][C]1748[/C][C]3487.04464285714[/C][C]-1739.04464285714[/C][/ROW]
[ROW][C]180[/C][C]4521[/C][C]4639.20083333333[/C][C]-118.200833333333[/C][/ROW]
[ROW][C]181[/C][C]9804[/C][C]4639.20083333333[/C][C]5164.79916666667[/C][/ROW]
[ROW][C]182[/C][C]3119[/C][C]4639.20083333333[/C][C]-1520.20083333333[/C][/ROW]
[ROW][C]183[/C][C]627.5[/C][C]3487.04464285714[/C][C]-2859.54464285714[/C][/ROW]
[ROW][C]184[/C][C]4007[/C][C]4639.20083333333[/C][C]-632.200833333333[/C][/ROW]
[ROW][C]185[/C][C]6712[/C][C]3487.04464285714[/C][C]3224.95535714286[/C][/ROW]
[ROW][C]186[/C][C]5243[/C][C]4639.20083333333[/C][C]603.799166666667[/C][/ROW]
[ROW][C]187[/C][C]5699[/C][C]4639.20083333333[/C][C]1059.79916666667[/C][/ROW]
[ROW][C]188[/C][C]3433[/C][C]4639.20083333333[/C][C]-1206.20083333333[/C][/ROW]
[ROW][C]189[/C][C]9327[/C][C]4639.20083333333[/C][C]4687.79916666667[/C][/ROW]
[ROW][C]190[/C][C]2004[/C][C]4639.20083333333[/C][C]-2635.20083333333[/C][/ROW]
[ROW][C]191[/C][C]2553[/C][C]4639.20083333333[/C][C]-2086.20083333333[/C][/ROW]
[ROW][C]192[/C][C]1678[/C][C]4639.20083333333[/C][C]-2961.20083333333[/C][/ROW]
[ROW][C]193[/C][C]7021[/C][C]3487.04464285714[/C][C]3533.95535714286[/C][/ROW]
[ROW][C]194[/C][C]175[/C][C]4639.20083333333[/C][C]-4464.20083333333[/C][/ROW]
[ROW][C]195[/C][C]4647[/C][C]4639.20083333333[/C][C]7.79916666666668[/C][/ROW]
[ROW][C]196[/C][C]3199[/C][C]4639.20083333333[/C][C]-1440.20083333333[/C][/ROW]
[ROW][C]197[/C][C]6082[/C][C]4639.20083333333[/C][C]1442.79916666667[/C][/ROW]
[ROW][C]198[/C][C]3622[/C][C]4639.20083333333[/C][C]-1017.20083333333[/C][/ROW]
[ROW][C]199[/C][C]1997[/C][C]3487.04464285714[/C][C]-1490.04464285714[/C][/ROW]
[ROW][C]200[/C][C]2670.5[/C][C]4639.20083333333[/C][C]-1968.70083333333[/C][/ROW]
[ROW][C]201[/C][C]9123[/C][C]4639.20083333333[/C][C]4483.79916666667[/C][/ROW]
[ROW][C]202[/C][C]2348[/C][C]4639.20083333333[/C][C]-2291.20083333333[/C][/ROW]
[ROW][C]203[/C][C]4024[/C][C]4639.20083333333[/C][C]-615.200833333333[/C][/ROW]
[ROW][C]204[/C][C]3600[/C][C]4639.20083333333[/C][C]-1039.20083333333[/C][/ROW]
[ROW][C]205[/C][C]6985[/C][C]4639.20083333333[/C][C]2345.79916666667[/C][/ROW]
[ROW][C]206[/C][C]3711[/C][C]3487.04464285714[/C][C]223.955357142857[/C][/ROW]
[ROW][C]207[/C][C]2446.5[/C][C]4639.20083333333[/C][C]-2192.70083333333[/C][/ROW]
[ROW][C]208[/C][C]2446.5[/C][C]3487.04464285714[/C][C]-1040.54464285714[/C][/ROW]
[ROW][C]209[/C][C]3867[/C][C]4639.20083333333[/C][C]-772.200833333333[/C][/ROW]
[ROW][C]210[/C][C]7105[/C][C]4639.20083333333[/C][C]2465.79916666667[/C][/ROW]
[ROW][C]211[/C][C]6559[/C][C]4639.20083333333[/C][C]1919.79916666667[/C][/ROW]
[ROW][C]212[/C][C]6211[/C][C]4639.20083333333[/C][C]1571.79916666667[/C][/ROW]
[ROW][C]213[/C][C]2718[/C][C]3487.04464285714[/C][C]-769.044642857143[/C][/ROW]
[ROW][C]214[/C][C]2395[/C][C]3487.04464285714[/C][C]-1092.04464285714[/C][/ROW]
[ROW][C]215[/C][C]5016[/C][C]4639.20083333333[/C][C]376.799166666667[/C][/ROW]
[ROW][C]216[/C][C]3030.5[/C][C]4639.20083333333[/C][C]-1608.70083333333[/C][/ROW]
[ROW][C]217[/C][C]5852[/C][C]4639.20083333333[/C][C]1212.79916666667[/C][/ROW]
[ROW][C]218[/C][C]4917[/C][C]4639.20083333333[/C][C]277.799166666667[/C][/ROW]
[ROW][C]219[/C][C]3768[/C][C]4639.20083333333[/C][C]-871.200833333333[/C][/ROW]
[ROW][C]220[/C][C]2258[/C][C]3487.04464285714[/C][C]-1229.04464285714[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165739&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165739&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
139454639.20083333333-694.200833333333
228794639.20083333333-1760.20083333333
334354639.20083333333-1204.20083333333
42260.334639.20083333333-2378.87083333333
541084639.20083333333-531.200833333333
640554639.20083333333-584.200833333333
757704639.200833333331130.79916666667
82260.334639.20083333333-2378.87083333333
933254639.20083333333-1314.20083333333
1015714639.20083333333-3068.20083333333
1156464639.200833333331006.79916666667
123596.54639.20083333333-1042.70083333333
1358524639.200833333331212.79916666667
142567.754639.20083333333-2071.45083333333
1543233487.04464285714835.955357142857
1630074639.20083333333-1632.20083333333
1766764639.200833333332036.79916666667
1850854639.20083333333445.799166666667
1945954639.20083333333-44.2008333333333
2061874639.200833333331547.79916666667
212391.334639.20083333333-2247.87083333333
22106104639.200833333335970.79916666667
2315714639.20083333333-3068.20083333333
2452734639.20083333333633.799166666667
252586.334639.20083333333-2052.87083333333
2690244639.200833333334384.79916666667
2723354639.20083333333-2304.20083333333
2860424639.200833333331402.79916666667
2942904639.20083333333-349.200833333333
3055814639.20083333333941.799166666667
3174754639.200833333332835.79916666667
3243794639.20083333333-260.200833333333
3359434639.200833333331303.79916666667
3431254639.20083333333-1514.20083333333
3544864639.20083333333-153.200833333333
363415.54639.20083333333-1223.70083333333
3716934639.20083333333-2946.20083333333
3885284639.200833333333888.79916666667
3941414639.20083333333-498.200833333333
4042904639.20083333333-349.200833333333
4127014639.20083333333-1938.20083333333
4220934639.20083333333-2546.20083333333
432150.54639.20083333333-2488.70083333333
442567.754639.20083333333-2071.45083333333
4559514639.200833333331311.79916666667
462586.334639.20083333333-2052.87083333333
4772284639.200833333332588.79916666667
482567.753487.04464285714-919.294642857143
492567.754639.20083333333-2071.45083333333
5082014639.200833333333561.79916666667
5144624639.20083333333-177.200833333333
5226494639.20083333333-1990.20083333333
53114654639.200833333336825.79916666667
5416934639.20083333333-2946.20083333333
554053.54639.20083333333-585.700833333333
5661264639.200833333331486.79916666667
5729014639.20083333333-1738.20083333333
5828173487.04464285714-670.044642857143
5953604639.20083333333720.799166666667
60106104639.200833333335970.79916666667
6156464639.200833333331006.79916666667
622391.334639.20083333333-2247.87083333333
6346874639.2008333333347.7991666666667
6415714639.20083333333-3068.20083333333
6555684639.20083333333928.799166666667
6604639.20083333333-4639.20083333333
6748574639.20083333333217.799166666667
6838224639.20083333333-817.200833333333
6939454639.20083333333-694.200833333333
7051924639.20083333333552.799166666667
7162313487.044642857142743.95535714286
7244234639.20083333333-216.200833333333
7376104639.200833333332970.79916666667
7430174639.20083333333-1622.20083333333
7518684639.20083333333-2771.20083333333
7636904639.20083333333-949.200833333333
774053.54639.20083333333-585.700833333333
7858684639.200833333331228.79916666667
7986124639.200833333333972.79916666667
8079484639.200833333333308.79916666667
8130073487.04464285714-480.044642857143
8238044639.20083333333-835.200833333333
8355534639.20083333333913.799166666667
843596.54639.20083333333-1042.70083333333
85122304639.200833333337590.79916666667
8616934639.20083333333-2946.20083333333
8751824639.20083333333542.799166666667
8857814639.200833333331141.79916666667
89105644639.200833333335924.79916666667
9047954639.20083333333155.799166666667
9134354639.20083333333-1204.20083333333
9277274639.200833333333087.79916666667
932586.334639.20083333333-2052.87083333333
9454674639.20083333333827.799166666667
9542904639.20083333333-349.200833333333
9664134639.200833333331773.79916666667
972150.54639.20083333333-2488.70083333333
9853174639.20083333333677.799166666667
9957274639.200833333331087.79916666667
10053663487.044642857141878.95535714286
10117804639.20083333333-2859.20083333333
1023415.54639.20083333333-1223.70083333333
10344384639.20083333333-201.200833333333
10486314639.200833333333991.79916666667
10529664639.20083333333-1673.20083333333
10643574639.20083333333-282.200833333333
10741104639.20083333333-529.200833333333
10827753487.04464285714-712.044642857143
10956224639.20083333333982.799166666667
11076804639.200833333333040.79916666667
11115714639.20083333333-3068.20083333333
11237763487.04464285714288.955357142857
11343414639.20083333333-298.200833333333
11463974639.200833333331757.79916666667
11555814639.20083333333941.799166666667
1163149.53487.04464285714-337.544642857143
11761954639.200833333331555.79916666667
11834304639.20083333333-1209.20083333333
11967884639.200833333332148.79916666667
12038763487.04464285714388.955357142857
12146074639.20083333333-32.2008333333333
12218684639.20083333333-2771.20083333333
12337174639.20083333333-922.200833333333
1243149.54639.20083333333-1489.70083333333
12531514639.20083333333-1488.20083333333
12641784639.20083333333-461.200833333333
12745124639.20083333333-127.200833333333
12841544639.20083333333-485.200833333333
12930554639.20083333333-1584.20083333333
13049553487.044642857141467.95535714286
13142973487.04464285714809.955357142857
13260634639.200833333331423.79916666667
13341784639.20083333333-461.200833333333
13437794639.20083333333-860.200833333333
13537863487.04464285714298.955357142857
13654184639.20083333333778.799166666667
13753104639.20083333333670.799166666667
13868044639.200833333332164.79916666667
13939043487.04464285714416.955357142857
14074484639.200833333332808.79916666667
14173934639.200833333332753.79916666667
14238584639.20083333333-781.200833333333
14345454639.20083333333-94.2008333333333
14461354639.200833333331495.79916666667
14521793487.04464285714-1308.04464285714
14651644639.20083333333524.799166666667
1473030.54639.20083333333-1608.70083333333
14847584639.20083333333118.799166666667
14946474639.200833333337.79916666666668
15003487.04464285714-3487.04464285714
15136584639.20083333333-981.200833333333
15261784639.200833333331538.79916666667
15358184639.200833333331178.79916666667
15446214639.20083333333-18.2008333333333
15549624639.20083333333322.799166666667
15646043487.044642857141116.95535714286
15757774639.200833333331137.79916666667
15834094639.20083333333-1230.20083333333
15972414639.200833333332601.79916666667
16019624639.20083333333-2677.20083333333
16119584639.20083333333-2681.20083333333
1622670.54639.20083333333-1968.70083333333
16343084639.20083333333-331.200833333333
16428754639.20083333333-1764.20083333333
16530554639.20083333333-1584.20083333333
16641784639.20083333333-461.200833333333
16733474639.20083333333-1292.20083333333
16835134639.20083333333-1126.20083333333
16944154639.20083333333-224.200833333333
17043024639.20083333333-337.200833333333
17181984639.200833333333558.79916666667
17247234639.2008333333383.7991666666667
17369024639.200833333332262.79916666667
17425694639.20083333333-2070.20083333333
17547204639.2008333333380.7991666666667
17645114639.20083333333-128.200833333333
17755504639.20083333333910.799166666667
17843903487.04464285714902.955357142857
17917483487.04464285714-1739.04464285714
18045214639.20083333333-118.200833333333
18198044639.200833333335164.79916666667
18231194639.20083333333-1520.20083333333
183627.53487.04464285714-2859.54464285714
18440074639.20083333333-632.200833333333
18567123487.044642857143224.95535714286
18652434639.20083333333603.799166666667
18756994639.200833333331059.79916666667
18834334639.20083333333-1206.20083333333
18993274639.200833333334687.79916666667
19020044639.20083333333-2635.20083333333
19125534639.20083333333-2086.20083333333
19216784639.20083333333-2961.20083333333
19370213487.044642857143533.95535714286
1941754639.20083333333-4464.20083333333
19546474639.200833333337.79916666666668
19631994639.20083333333-1440.20083333333
19760824639.200833333331442.79916666667
19836224639.20083333333-1017.20083333333
19919973487.04464285714-1490.04464285714
2002670.54639.20083333333-1968.70083333333
20191234639.200833333334483.79916666667
20223484639.20083333333-2291.20083333333
20340244639.20083333333-615.200833333333
20436004639.20083333333-1039.20083333333
20569854639.200833333332345.79916666667
20637113487.04464285714223.955357142857
2072446.54639.20083333333-2192.70083333333
2082446.53487.04464285714-1040.54464285714
20938674639.20083333333-772.200833333333
21071054639.200833333332465.79916666667
21165594639.200833333331919.79916666667
21262114639.200833333331571.79916666667
21327183487.04464285714-769.044642857143
21423953487.04464285714-1092.04464285714
21550164639.20083333333376.799166666667
2163030.54639.20083333333-1608.70083333333
21758524639.200833333331212.79916666667
21849174639.20083333333277.799166666667
21937684639.20083333333-871.200833333333
22022583487.04464285714-1229.04464285714



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