Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_regression_trees1.wasp
Title produced by softwareRecursive Partitioning (Regression Trees)
Date of computationFri, 24 Dec 2010 21:47:07 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/24/t12932271258kxide3olwww2at.htm/, Retrieved Tue, 30 Apr 2024 00:30:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=115292, Retrieved Tue, 30 Apr 2024 00:30:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact123
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Recursive Partitioning (Regression Trees)] [] [2010-12-24 21:47:07] [0956ee981dded61b2e7128dae94e5715] [Current]
Feedback Forum

Post a new message
Dataseries X:
1221.53	2617.2	10168.52	6957.61	23448.78
1180.55	2506.13	9937.04	6688.49	23007.99
1183.26	2679.07	9202.45	6601.37	23096.32
1141.2	2589.73	9369.35	6229.02	22358.17
1049.33	2457.46	8824.06	5925.22	20536.49
1101.6	2517.3	9537.3	6147.97	21029.81
1030.71	2386.53	9382.64	5965.52	20128.99
1089.41	2453.37	9768.7	5964.33	19765.19
1186.69	2529.66	11057.4	6135.7	21108.59
1169.43	2475.14	11089.94	6153.55	21239.35
1104.49	2525.93	10126.03	5598.46	20608.7
1073.87	2480.93	10198.04	5608.79	20121.99
1115.1	2229.85	10546.44	5957.43	21872.5
1095.63	2169.14	9345.55	5625.95	21821.5
1036.19	2030.98	10034.74	5414.96	21752.87
1057.08	2071.37	10133.23	5675.16	20955.25
1020.62	1953.35	10492.53	5458.04	19724.19
987.48	1748.74	10356.83	5332.14	20573.33
919.32	1696.58	9958.44	4808.64	18378.73
919.14	1900.09	9522.5	4940.82	18171
872.81	1908.64	8828.26	4769.45	15520.99
797.87	1881.46	8109.53	4084.76	13576.02
735.09	2100.18	7568.42	3843.74	12811.57
825.88	2672.2	7994.05	4338.35	13278.21
903.25	3136	8859.56	4810.2	14387.48
896.24	2994.38	8512.27	4669.44	13888.24
968.75	3168.22	8576.98	4987.97	13968.67
1166.36	3751.41	11259.86	5831.02	18016.21
1282.83	3925.43	13072.87	6422.3	21261.89
1267.38	3719.52	13376.81	6479.56	22731.1
1280	3757.12	13481.38	6418.32	22102.01
1400.38	3722.23	14338.54	7096.79	24533.12
1385.59	4127.47	13849.99	6948.82	25755.35
1322.7	4162.5	12525.54	6534.97	22849.2
1330.63	4441.82	13603.02	6748.13	24331.67
1378.55	4325.29	13592.47	6851.75	23455.74
1468.36	4350.83	15307.78	8067.32	27812.65
1481.14	4384.47	15680.67	7870.52	28643.61
1549.38	4639.4	16737.63	8019.22	31352.58
1526.75	4697.86	16785.69	7861.51	27142.47
1473.99	4614.76	16569.09	7638.17	23984.14
1455.27	4471.65	17248.89	7584.14	23184.94
1503.35	4305.23	18138.36	8007.32	21772.73
1530.62	4433.57	17875.75	7883.04	20634.47
1482.37	4388.53	17400.41	7408.87	20318.98
1420.86	4140.3	17287.65	6917.03	19800.93
1406.82	4144.38	17604.12	6715.44	19651.51
1438.24	4070.78	17383.42	6789.11	20106.42
1418.3	3906.01	17225.83	6596.92	19964.72
1400.63	3795.91	16274.33	6309.19	18960.48
1377.94	3703.32	16399.39	6268.92	18324.35
1335.85	3675.8	16127.58	6004.33	17543.05
1303.82	3911.06	16140.76	5859.57	17392.27
1276.66	3912.28	15456.81	5681.97	16971.34
1270.2	3839.25	15505.18	5683.31	16267.62
1270.09	3744.63	15467.33	5692.86	15857.89
1310.61	3549.25	16906.23	6009.89	16661.3
1294.87	3394.14	17059.66	5970.08	15805.04
1280.66	3264.26	16205.43	5796.04	15918.48
1280.08	3328.8	16649.82	5674.15	15753.14
1248.29	3223.98	16111.43	5408.26	14876.43
1249.48	3228.01	14872.15	5193.4	14937.14
1207.01	3112.83	13606.5	4929.07	14386.37
1228.81	3051.67	13574.3	5044.12	15428.52
1220.33	3039.71	12413.6	4829.69	14903.55
1234.18	3125.67	11899.6	4886.5	14880.98
1191.33	3106.54	11584.01	4586.28	14201.06
1191.5		11276.59	4460.63	13867.07
1156.85		11008.9	4184.84	13908.97
1180.59		11668.95	4348.77	13516.88
1203.6		11740.6	4350.49	14195.35
1181.27		11387.59	4254.85	13721.69




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time12 seconds
R Server'George Udny Yule' @ 72.249.76.132
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\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 & 12 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=115292&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]12 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=115292&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115292&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 time12 seconds
R Server'George Udny Yule' @ 72.249.76.132
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Goodness of Fit
CorrelationNA
R-squaredNA
RMSE1926.8208

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115292&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
CorrelationNA
R-squaredNA
RMSE1926.8208







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
11221.531577.76777777778-356.237777777777
21180.551577.76777777778-397.217777777777
31183.261577.76777777778-394.507777777777
41141.21577.76777777778-436.567777777777
51049.331577.76777777778-528.437777777777
61101.61577.76777777778-476.167777777777
71030.711577.76777777778-547.057777777777
81089.411577.76777777778-488.357777777777
91186.691577.76777777778-391.077777777777
101169.431577.76777777778-408.337777777777
111104.491577.76777777778-473.277777777777
121073.871577.76777777778-503.897777777777
131115.11577.76777777778-462.667777777777
141095.631577.76777777778-482.137777777777
151036.191577.76777777778-541.577777777777
161057.081577.76777777778-520.687777777777
171020.621577.76777777778-557.147777777777
18987.481577.76777777778-590.287777777777
19919.321577.76777777778-658.447777777777
20919.141577.76777777778-658.627777777777
21872.811577.76777777778-704.957777777777
22797.871577.76777777778-779.897777777777
23735.091577.76777777778-842.677777777777
24825.881577.76777777778-751.887777777777
25903.251577.76777777778-674.517777777777
26896.241577.76777777778-681.527777777777
27968.751577.76777777778-609.017777777777
281166.361577.76777777778-411.407777777777
291282.831577.76777777778-294.937777777777
301267.381577.76777777778-310.387777777777
3112801577.76777777778-297.767777777777
321400.381577.76777777778-177.387777777777
331385.591577.76777777778-192.177777777777
341322.71577.76777777778-255.067777777777
351330.631577.76777777778-247.137777777777
361378.551577.76777777778-199.217777777777
371468.361577.76777777778-109.407777777777
381481.141577.76777777778-96.6277777777773
391549.381577.76777777778-28.3877777777773
401526.751577.76777777778-51.0177777777774
411473.991577.76777777778-103.777777777777
421455.271577.76777777778-122.497777777777
431503.351577.76777777778-74.4177777777775
441530.621577.76777777778-47.1477777777775
451482.371577.76777777778-95.3977777777775
461420.861577.76777777778-156.907777777777
471406.821577.76777777778-170.947777777777
481438.241577.76777777778-139.527777777777
491418.31577.76777777778-159.467777777777
501400.631577.76777777778-177.137777777777
511377.941577.76777777778-199.827777777777
521335.851577.76777777778-241.917777777777
531303.821577.76777777778-273.947777777777
541276.661577.76777777778-301.107777777777
551270.21577.76777777778-307.567777777777
561270.091577.76777777778-307.677777777777
571310.611577.76777777778-267.157777777777
581294.871577.76777777778-282.897777777777
591280.661577.76777777778-297.107777777777
601280.081577.76777777778-297.687777777777
611248.291577.76777777778-329.477777777777
621249.481577.76777777778-328.287777777777
631207.011577.76777777778-370.757777777777
641228.811577.76777777778-348.957777777777
651220.331577.76777777778-357.437777777777
661234.181577.76777777778-343.587777777777
671191.331577.76777777778-386.437777777777
681191.51577.76777777778-386.267777777777
6911008.91577.767777777789431.13222222222
704348.771577.767777777782771.00222222222
7114195.351577.7677777777812617.5822222222
721221.531577.76777777778-356.237777777777

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 1221.53 & 1577.76777777778 & -356.237777777777 \tabularnewline
2 & 1180.55 & 1577.76777777778 & -397.217777777777 \tabularnewline
3 & 1183.26 & 1577.76777777778 & -394.507777777777 \tabularnewline
4 & 1141.2 & 1577.76777777778 & -436.567777777777 \tabularnewline
5 & 1049.33 & 1577.76777777778 & -528.437777777777 \tabularnewline
6 & 1101.6 & 1577.76777777778 & -476.167777777777 \tabularnewline
7 & 1030.71 & 1577.76777777778 & -547.057777777777 \tabularnewline
8 & 1089.41 & 1577.76777777778 & -488.357777777777 \tabularnewline
9 & 1186.69 & 1577.76777777778 & -391.077777777777 \tabularnewline
10 & 1169.43 & 1577.76777777778 & -408.337777777777 \tabularnewline
11 & 1104.49 & 1577.76777777778 & -473.277777777777 \tabularnewline
12 & 1073.87 & 1577.76777777778 & -503.897777777777 \tabularnewline
13 & 1115.1 & 1577.76777777778 & -462.667777777777 \tabularnewline
14 & 1095.63 & 1577.76777777778 & -482.137777777777 \tabularnewline
15 & 1036.19 & 1577.76777777778 & -541.577777777777 \tabularnewline
16 & 1057.08 & 1577.76777777778 & -520.687777777777 \tabularnewline
17 & 1020.62 & 1577.76777777778 & -557.147777777777 \tabularnewline
18 & 987.48 & 1577.76777777778 & -590.287777777777 \tabularnewline
19 & 919.32 & 1577.76777777778 & -658.447777777777 \tabularnewline
20 & 919.14 & 1577.76777777778 & -658.627777777777 \tabularnewline
21 & 872.81 & 1577.76777777778 & -704.957777777777 \tabularnewline
22 & 797.87 & 1577.76777777778 & -779.897777777777 \tabularnewline
23 & 735.09 & 1577.76777777778 & -842.677777777777 \tabularnewline
24 & 825.88 & 1577.76777777778 & -751.887777777777 \tabularnewline
25 & 903.25 & 1577.76777777778 & -674.517777777777 \tabularnewline
26 & 896.24 & 1577.76777777778 & -681.527777777777 \tabularnewline
27 & 968.75 & 1577.76777777778 & -609.017777777777 \tabularnewline
28 & 1166.36 & 1577.76777777778 & -411.407777777777 \tabularnewline
29 & 1282.83 & 1577.76777777778 & -294.937777777777 \tabularnewline
30 & 1267.38 & 1577.76777777778 & -310.387777777777 \tabularnewline
31 & 1280 & 1577.76777777778 & -297.767777777777 \tabularnewline
32 & 1400.38 & 1577.76777777778 & -177.387777777777 \tabularnewline
33 & 1385.59 & 1577.76777777778 & -192.177777777777 \tabularnewline
34 & 1322.7 & 1577.76777777778 & -255.067777777777 \tabularnewline
35 & 1330.63 & 1577.76777777778 & -247.137777777777 \tabularnewline
36 & 1378.55 & 1577.76777777778 & -199.217777777777 \tabularnewline
37 & 1468.36 & 1577.76777777778 & -109.407777777777 \tabularnewline
38 & 1481.14 & 1577.76777777778 & -96.6277777777773 \tabularnewline
39 & 1549.38 & 1577.76777777778 & -28.3877777777773 \tabularnewline
40 & 1526.75 & 1577.76777777778 & -51.0177777777774 \tabularnewline
41 & 1473.99 & 1577.76777777778 & -103.777777777777 \tabularnewline
42 & 1455.27 & 1577.76777777778 & -122.497777777777 \tabularnewline
43 & 1503.35 & 1577.76777777778 & -74.4177777777775 \tabularnewline
44 & 1530.62 & 1577.76777777778 & -47.1477777777775 \tabularnewline
45 & 1482.37 & 1577.76777777778 & -95.3977777777775 \tabularnewline
46 & 1420.86 & 1577.76777777778 & -156.907777777777 \tabularnewline
47 & 1406.82 & 1577.76777777778 & -170.947777777777 \tabularnewline
48 & 1438.24 & 1577.76777777778 & -139.527777777777 \tabularnewline
49 & 1418.3 & 1577.76777777778 & -159.467777777777 \tabularnewline
50 & 1400.63 & 1577.76777777778 & -177.137777777777 \tabularnewline
51 & 1377.94 & 1577.76777777778 & -199.827777777777 \tabularnewline
52 & 1335.85 & 1577.76777777778 & -241.917777777777 \tabularnewline
53 & 1303.82 & 1577.76777777778 & -273.947777777777 \tabularnewline
54 & 1276.66 & 1577.76777777778 & -301.107777777777 \tabularnewline
55 & 1270.2 & 1577.76777777778 & -307.567777777777 \tabularnewline
56 & 1270.09 & 1577.76777777778 & -307.677777777777 \tabularnewline
57 & 1310.61 & 1577.76777777778 & -267.157777777777 \tabularnewline
58 & 1294.87 & 1577.76777777778 & -282.897777777777 \tabularnewline
59 & 1280.66 & 1577.76777777778 & -297.107777777777 \tabularnewline
60 & 1280.08 & 1577.76777777778 & -297.687777777777 \tabularnewline
61 & 1248.29 & 1577.76777777778 & -329.477777777777 \tabularnewline
62 & 1249.48 & 1577.76777777778 & -328.287777777777 \tabularnewline
63 & 1207.01 & 1577.76777777778 & -370.757777777777 \tabularnewline
64 & 1228.81 & 1577.76777777778 & -348.957777777777 \tabularnewline
65 & 1220.33 & 1577.76777777778 & -357.437777777777 \tabularnewline
66 & 1234.18 & 1577.76777777778 & -343.587777777777 \tabularnewline
67 & 1191.33 & 1577.76777777778 & -386.437777777777 \tabularnewline
68 & 1191.5 & 1577.76777777778 & -386.267777777777 \tabularnewline
69 & 11008.9 & 1577.76777777778 & 9431.13222222222 \tabularnewline
70 & 4348.77 & 1577.76777777778 & 2771.00222222222 \tabularnewline
71 & 14195.35 & 1577.76777777778 & 12617.5822222222 \tabularnewline
72 & 1221.53 & 1577.76777777778 & -356.237777777777 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115292&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]1221.53[/C][C]1577.76777777778[/C][C]-356.237777777777[/C][/ROW]
[ROW][C]2[/C][C]1180.55[/C][C]1577.76777777778[/C][C]-397.217777777777[/C][/ROW]
[ROW][C]3[/C][C]1183.26[/C][C]1577.76777777778[/C][C]-394.507777777777[/C][/ROW]
[ROW][C]4[/C][C]1141.2[/C][C]1577.76777777778[/C][C]-436.567777777777[/C][/ROW]
[ROW][C]5[/C][C]1049.33[/C][C]1577.76777777778[/C][C]-528.437777777777[/C][/ROW]
[ROW][C]6[/C][C]1101.6[/C][C]1577.76777777778[/C][C]-476.167777777777[/C][/ROW]
[ROW][C]7[/C][C]1030.71[/C][C]1577.76777777778[/C][C]-547.057777777777[/C][/ROW]
[ROW][C]8[/C][C]1089.41[/C][C]1577.76777777778[/C][C]-488.357777777777[/C][/ROW]
[ROW][C]9[/C][C]1186.69[/C][C]1577.76777777778[/C][C]-391.077777777777[/C][/ROW]
[ROW][C]10[/C][C]1169.43[/C][C]1577.76777777778[/C][C]-408.337777777777[/C][/ROW]
[ROW][C]11[/C][C]1104.49[/C][C]1577.76777777778[/C][C]-473.277777777777[/C][/ROW]
[ROW][C]12[/C][C]1073.87[/C][C]1577.76777777778[/C][C]-503.897777777777[/C][/ROW]
[ROW][C]13[/C][C]1115.1[/C][C]1577.76777777778[/C][C]-462.667777777777[/C][/ROW]
[ROW][C]14[/C][C]1095.63[/C][C]1577.76777777778[/C][C]-482.137777777777[/C][/ROW]
[ROW][C]15[/C][C]1036.19[/C][C]1577.76777777778[/C][C]-541.577777777777[/C][/ROW]
[ROW][C]16[/C][C]1057.08[/C][C]1577.76777777778[/C][C]-520.687777777777[/C][/ROW]
[ROW][C]17[/C][C]1020.62[/C][C]1577.76777777778[/C][C]-557.147777777777[/C][/ROW]
[ROW][C]18[/C][C]987.48[/C][C]1577.76777777778[/C][C]-590.287777777777[/C][/ROW]
[ROW][C]19[/C][C]919.32[/C][C]1577.76777777778[/C][C]-658.447777777777[/C][/ROW]
[ROW][C]20[/C][C]919.14[/C][C]1577.76777777778[/C][C]-658.627777777777[/C][/ROW]
[ROW][C]21[/C][C]872.81[/C][C]1577.76777777778[/C][C]-704.957777777777[/C][/ROW]
[ROW][C]22[/C][C]797.87[/C][C]1577.76777777778[/C][C]-779.897777777777[/C][/ROW]
[ROW][C]23[/C][C]735.09[/C][C]1577.76777777778[/C][C]-842.677777777777[/C][/ROW]
[ROW][C]24[/C][C]825.88[/C][C]1577.76777777778[/C][C]-751.887777777777[/C][/ROW]
[ROW][C]25[/C][C]903.25[/C][C]1577.76777777778[/C][C]-674.517777777777[/C][/ROW]
[ROW][C]26[/C][C]896.24[/C][C]1577.76777777778[/C][C]-681.527777777777[/C][/ROW]
[ROW][C]27[/C][C]968.75[/C][C]1577.76777777778[/C][C]-609.017777777777[/C][/ROW]
[ROW][C]28[/C][C]1166.36[/C][C]1577.76777777778[/C][C]-411.407777777777[/C][/ROW]
[ROW][C]29[/C][C]1282.83[/C][C]1577.76777777778[/C][C]-294.937777777777[/C][/ROW]
[ROW][C]30[/C][C]1267.38[/C][C]1577.76777777778[/C][C]-310.387777777777[/C][/ROW]
[ROW][C]31[/C][C]1280[/C][C]1577.76777777778[/C][C]-297.767777777777[/C][/ROW]
[ROW][C]32[/C][C]1400.38[/C][C]1577.76777777778[/C][C]-177.387777777777[/C][/ROW]
[ROW][C]33[/C][C]1385.59[/C][C]1577.76777777778[/C][C]-192.177777777777[/C][/ROW]
[ROW][C]34[/C][C]1322.7[/C][C]1577.76777777778[/C][C]-255.067777777777[/C][/ROW]
[ROW][C]35[/C][C]1330.63[/C][C]1577.76777777778[/C][C]-247.137777777777[/C][/ROW]
[ROW][C]36[/C][C]1378.55[/C][C]1577.76777777778[/C][C]-199.217777777777[/C][/ROW]
[ROW][C]37[/C][C]1468.36[/C][C]1577.76777777778[/C][C]-109.407777777777[/C][/ROW]
[ROW][C]38[/C][C]1481.14[/C][C]1577.76777777778[/C][C]-96.6277777777773[/C][/ROW]
[ROW][C]39[/C][C]1549.38[/C][C]1577.76777777778[/C][C]-28.3877777777773[/C][/ROW]
[ROW][C]40[/C][C]1526.75[/C][C]1577.76777777778[/C][C]-51.0177777777774[/C][/ROW]
[ROW][C]41[/C][C]1473.99[/C][C]1577.76777777778[/C][C]-103.777777777777[/C][/ROW]
[ROW][C]42[/C][C]1455.27[/C][C]1577.76777777778[/C][C]-122.497777777777[/C][/ROW]
[ROW][C]43[/C][C]1503.35[/C][C]1577.76777777778[/C][C]-74.4177777777775[/C][/ROW]
[ROW][C]44[/C][C]1530.62[/C][C]1577.76777777778[/C][C]-47.1477777777775[/C][/ROW]
[ROW][C]45[/C][C]1482.37[/C][C]1577.76777777778[/C][C]-95.3977777777775[/C][/ROW]
[ROW][C]46[/C][C]1420.86[/C][C]1577.76777777778[/C][C]-156.907777777777[/C][/ROW]
[ROW][C]47[/C][C]1406.82[/C][C]1577.76777777778[/C][C]-170.947777777777[/C][/ROW]
[ROW][C]48[/C][C]1438.24[/C][C]1577.76777777778[/C][C]-139.527777777777[/C][/ROW]
[ROW][C]49[/C][C]1418.3[/C][C]1577.76777777778[/C][C]-159.467777777777[/C][/ROW]
[ROW][C]50[/C][C]1400.63[/C][C]1577.76777777778[/C][C]-177.137777777777[/C][/ROW]
[ROW][C]51[/C][C]1377.94[/C][C]1577.76777777778[/C][C]-199.827777777777[/C][/ROW]
[ROW][C]52[/C][C]1335.85[/C][C]1577.76777777778[/C][C]-241.917777777777[/C][/ROW]
[ROW][C]53[/C][C]1303.82[/C][C]1577.76777777778[/C][C]-273.947777777777[/C][/ROW]
[ROW][C]54[/C][C]1276.66[/C][C]1577.76777777778[/C][C]-301.107777777777[/C][/ROW]
[ROW][C]55[/C][C]1270.2[/C][C]1577.76777777778[/C][C]-307.567777777777[/C][/ROW]
[ROW][C]56[/C][C]1270.09[/C][C]1577.76777777778[/C][C]-307.677777777777[/C][/ROW]
[ROW][C]57[/C][C]1310.61[/C][C]1577.76777777778[/C][C]-267.157777777777[/C][/ROW]
[ROW][C]58[/C][C]1294.87[/C][C]1577.76777777778[/C][C]-282.897777777777[/C][/ROW]
[ROW][C]59[/C][C]1280.66[/C][C]1577.76777777778[/C][C]-297.107777777777[/C][/ROW]
[ROW][C]60[/C][C]1280.08[/C][C]1577.76777777778[/C][C]-297.687777777777[/C][/ROW]
[ROW][C]61[/C][C]1248.29[/C][C]1577.76777777778[/C][C]-329.477777777777[/C][/ROW]
[ROW][C]62[/C][C]1249.48[/C][C]1577.76777777778[/C][C]-328.287777777777[/C][/ROW]
[ROW][C]63[/C][C]1207.01[/C][C]1577.76777777778[/C][C]-370.757777777777[/C][/ROW]
[ROW][C]64[/C][C]1228.81[/C][C]1577.76777777778[/C][C]-348.957777777777[/C][/ROW]
[ROW][C]65[/C][C]1220.33[/C][C]1577.76777777778[/C][C]-357.437777777777[/C][/ROW]
[ROW][C]66[/C][C]1234.18[/C][C]1577.76777777778[/C][C]-343.587777777777[/C][/ROW]
[ROW][C]67[/C][C]1191.33[/C][C]1577.76777777778[/C][C]-386.437777777777[/C][/ROW]
[ROW][C]68[/C][C]1191.5[/C][C]1577.76777777778[/C][C]-386.267777777777[/C][/ROW]
[ROW][C]69[/C][C]11008.9[/C][C]1577.76777777778[/C][C]9431.13222222222[/C][/ROW]
[ROW][C]70[/C][C]4348.77[/C][C]1577.76777777778[/C][C]2771.00222222222[/C][/ROW]
[ROW][C]71[/C][C]14195.35[/C][C]1577.76777777778[/C][C]12617.5822222222[/C][/ROW]
[ROW][C]72[/C][C]1221.53[/C][C]1577.76777777778[/C][C]-356.237777777777[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115292&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115292&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
11221.531577.76777777778-356.237777777777
21180.551577.76777777778-397.217777777777
31183.261577.76777777778-394.507777777777
41141.21577.76777777778-436.567777777777
51049.331577.76777777778-528.437777777777
61101.61577.76777777778-476.167777777777
71030.711577.76777777778-547.057777777777
81089.411577.76777777778-488.357777777777
91186.691577.76777777778-391.077777777777
101169.431577.76777777778-408.337777777777
111104.491577.76777777778-473.277777777777
121073.871577.76777777778-503.897777777777
131115.11577.76777777778-462.667777777777
141095.631577.76777777778-482.137777777777
151036.191577.76777777778-541.577777777777
161057.081577.76777777778-520.687777777777
171020.621577.76777777778-557.147777777777
18987.481577.76777777778-590.287777777777
19919.321577.76777777778-658.447777777777
20919.141577.76777777778-658.627777777777
21872.811577.76777777778-704.957777777777
22797.871577.76777777778-779.897777777777
23735.091577.76777777778-842.677777777777
24825.881577.76777777778-751.887777777777
25903.251577.76777777778-674.517777777777
26896.241577.76777777778-681.527777777777
27968.751577.76777777778-609.017777777777
281166.361577.76777777778-411.407777777777
291282.831577.76777777778-294.937777777777
301267.381577.76777777778-310.387777777777
3112801577.76777777778-297.767777777777
321400.381577.76777777778-177.387777777777
331385.591577.76777777778-192.177777777777
341322.71577.76777777778-255.067777777777
351330.631577.76777777778-247.137777777777
361378.551577.76777777778-199.217777777777
371468.361577.76777777778-109.407777777777
381481.141577.76777777778-96.6277777777773
391549.381577.76777777778-28.3877777777773
401526.751577.76777777778-51.0177777777774
411473.991577.76777777778-103.777777777777
421455.271577.76777777778-122.497777777777
431503.351577.76777777778-74.4177777777775
441530.621577.76777777778-47.1477777777775
451482.371577.76777777778-95.3977777777775
461420.861577.76777777778-156.907777777777
471406.821577.76777777778-170.947777777777
481438.241577.76777777778-139.527777777777
491418.31577.76777777778-159.467777777777
501400.631577.76777777778-177.137777777777
511377.941577.76777777778-199.827777777777
521335.851577.76777777778-241.917777777777
531303.821577.76777777778-273.947777777777
541276.661577.76777777778-301.107777777777
551270.21577.76777777778-307.567777777777
561270.091577.76777777778-307.677777777777
571310.611577.76777777778-267.157777777777
581294.871577.76777777778-282.897777777777
591280.661577.76777777778-297.107777777777
601280.081577.76777777778-297.687777777777
611248.291577.76777777778-329.477777777777
621249.481577.76777777778-328.287777777777
631207.011577.76777777778-370.757777777777
641228.811577.76777777778-348.957777777777
651220.331577.76777777778-357.437777777777
661234.181577.76777777778-343.587777777777
671191.331577.76777777778-386.437777777777
681191.51577.76777777778-386.267777777777
6911008.91577.767777777789431.13222222222
704348.771577.767777777782771.00222222222
7114195.351577.7677777777812617.5822222222
721221.531577.76777777778-356.237777777777



Parameters (Session):
par1 = 1 ; par2 = none ; par3 = 0 ; par4 = no ;
Parameters (R input):
par1 = 1 ; par2 = none ; par3 = 0 ; par4 = no ;
R code (references can be found in the software module):
library(party)
library(Hmisc)
par1 <- as.numeric(par1)
par3 <- as.numeric(par3)
x <- data.frame(t(y))
is.data.frame(x)
x <- x[!is.na(x[,par1]),]
k <- length(x[1,])
n <- length(x[,1])
colnames(x)[par1]
x[,par1]
if (par2 == 'kmeans') {
cl <- kmeans(x[,par1], par3)
print(cl)
clm <- matrix(cbind(cl$centers,1:par3),ncol=2)
clm <- clm[sort.list(clm[,1]),]
for (i in 1:par3) {
cl$cluster[cl$cluster==clm[i,2]] <- paste('C',i,sep='')
}
cl$cluster <- as.factor(cl$cluster)
print(cl$cluster)
x[,par1] <- cl$cluster
}
if (par2 == 'quantiles') {
x[,par1] <- cut2(x[,par1],g=par3)
}
if (par2 == 'hclust') {
hc <- hclust(dist(x[,par1])^2, 'cen')
print(hc)
memb <- cutree(hc, k = par3)
dum <- c(mean(x[memb==1,par1]))
for (i in 2:par3) {
dum <- c(dum, mean(x[memb==i,par1]))
}
hcm <- matrix(cbind(dum,1:par3),ncol=2)
hcm <- hcm[sort.list(hcm[,1]),]
for (i in 1:par3) {
memb[memb==hcm[i,2]] <- paste('C',i,sep='')
}
memb <- as.factor(memb)
print(memb)
x[,par1] <- memb
}
if (par2=='equal') {
ed <- cut(as.numeric(x[,par1]),par3,labels=paste('C',1:par3,sep=''))
x[,par1] <- as.factor(ed)
}
table(x[,par1])
colnames(x)
colnames(x)[par1]
x[,par1]
if (par2 == 'none') {
m <- ctree(as.formula(paste(colnames(x)[par1],' ~ .',sep='')),data = x)
}
load(file='createtable')
if (par2 != 'none') {
m <- ctree(as.formula(paste('as.factor(',colnames(x)[par1],') ~ .',sep='')),data = x)
if (par4=='yes') {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'10-Fold Cross Validation',3+2*par3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'',1,TRUE)
a<-table.element(a,'Prediction (training)',par3+1,TRUE)
a<-table.element(a,'Prediction (testing)',par3+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Actual',1,TRUE)
for (jjj in 1:par3) a<-table.element(a,paste('C',jjj,sep=''),1,TRUE)
a<-table.element(a,'CV',1,TRUE)
for (jjj in 1:par3) a<-table.element(a,paste('C',jjj,sep=''),1,TRUE)
a<-table.element(a,'CV',1,TRUE)
a<-table.row.end(a)
for (i in 1:10) {
ind <- sample(2, nrow(x), replace=T, prob=c(0.9,0.1))
m.ct <- ctree(as.formula(paste('as.factor(',colnames(x)[par1],') ~ .',sep='')),data =x[ind==1,])
if (i==1) {
m.ct.i.pred <- predict(m.ct, newdata=x[ind==1,])
m.ct.i.actu <- x[ind==1,par1]
m.ct.x.pred <- predict(m.ct, newdata=x[ind==2,])
m.ct.x.actu <- x[ind==2,par1]
} else {
m.ct.i.pred <- c(m.ct.i.pred,predict(m.ct, newdata=x[ind==1,]))
m.ct.i.actu <- c(m.ct.i.actu,x[ind==1,par1])
m.ct.x.pred <- c(m.ct.x.pred,predict(m.ct, newdata=x[ind==2,]))
m.ct.x.actu <- c(m.ct.x.actu,x[ind==2,par1])
}
}
print(m.ct.i.tab <- table(m.ct.i.actu,m.ct.i.pred))
numer <- 0
for (i in 1:par3) {
print(m.ct.i.tab[i,i] / sum(m.ct.i.tab[i,]))
numer <- numer + m.ct.i.tab[i,i]
}
print(m.ct.i.cp <- numer / sum(m.ct.i.tab))
print(m.ct.x.tab <- table(m.ct.x.actu,m.ct.x.pred))
numer <- 0
for (i in 1:par3) {
print(m.ct.x.tab[i,i] / sum(m.ct.x.tab[i,]))
numer <- numer + m.ct.x.tab[i,i]
}
print(m.ct.x.cp <- numer / sum(m.ct.x.tab))
for (i in 1:par3) {
a<-table.row.start(a)
a<-table.element(a,paste('C',i,sep=''),1,TRUE)
for (jjj in 1:par3) a<-table.element(a,m.ct.i.tab[i,jjj])
a<-table.element(a,round(m.ct.i.tab[i,i]/sum(m.ct.i.tab[i,]),4))
for (jjj in 1:par3) a<-table.element(a,m.ct.x.tab[i,jjj])
a<-table.element(a,round(m.ct.x.tab[i,i]/sum(m.ct.x.tab[i,]),4))
a<-table.row.end(a)
}
a<-table.row.start(a)
a<-table.element(a,'Overall',1,TRUE)
for (jjj in 1:par3) a<-table.element(a,'-')
a<-table.element(a,round(m.ct.i.cp,4))
for (jjj in 1:par3) a<-table.element(a,'-')
a<-table.element(a,round(m.ct.x.cp,4))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
}
}
m
bitmap(file='test1.png')
plot(m)
dev.off()
bitmap(file='test1a.png')
plot(x[,par1] ~ as.factor(where(m)),main='Response by Terminal Node',xlab='Terminal Node',ylab='Response')
dev.off()
if (par2 == 'none') {
forec <- predict(m)
result <- as.data.frame(cbind(x[,par1],forec,x[,par1]-forec))
colnames(result) <- c('Actuals','Forecasts','Residuals')
print(result)
}
if (par2 != 'none') {
print(cbind(as.factor(x[,par1]),predict(m)))
myt <- table(as.factor(x[,par1]),predict(m))
print(myt)
}
bitmap(file='test2.png')
if(par2=='none') {
op <- par(mfrow=c(2,2))
plot(density(result$Actuals),main='Kernel Density Plot of Actuals')
plot(density(result$Residuals),main='Kernel Density Plot of Residuals')
plot(result$Forecasts,result$Actuals,main='Actuals versus Predictions',xlab='Predictions',ylab='Actuals')
plot(density(result$Forecasts),main='Kernel Density Plot of Predictions')
par(op)
}
if(par2!='none') {
plot(myt,main='Confusion Matrix',xlab='Actual',ylab='Predicted')
}
dev.off()
if (par2 == 'none') {
detcoef <- cor(result$Forecasts,result$Actuals)
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goodness of Fit',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Correlation',1,TRUE)
a<-table.element(a,round(detcoef,4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'R-squared',1,TRUE)
a<-table.element(a,round(detcoef*detcoef,4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'RMSE',1,TRUE)
a<-table.element(a,round(sqrt(mean((result$Residuals)^2)),4))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Actuals, Predictions, and Residuals',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'#',header=TRUE)
a<-table.element(a,'Actuals',header=TRUE)
a<-table.element(a,'Forecasts',header=TRUE)
a<-table.element(a,'Residuals',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(result$Actuals)) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,result$Actuals[i])
a<-table.element(a,result$Forecasts[i])
a<-table.element(a,result$Residuals[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
}
if (par2 != 'none') {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Confusion Matrix (predicted in columns / actuals in rows)',par3+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'',1,TRUE)
for (i in 1:par3) {
a<-table.element(a,paste('C',i,sep=''),1,TRUE)
}
a<-table.row.end(a)
for (i in 1:par3) {
a<-table.row.start(a)
a<-table.element(a,paste('C',i,sep=''),1,TRUE)
for (j in 1:par3) {
a<-table.element(a,myt[i,j])
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
}