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 computationTue, 21 Dec 2010 21:38:27 +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/21/t12929673801gw07krom1iz9iy.htm/, Retrieved Thu, 16 May 2024 20:46:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114005, Retrieved Thu, 16 May 2024 20:46:32 +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-05 18:59:57] [b98453cac15ba1066b407e146608df68]
-   PD  [Recursive Partitioning (Regression Trees)] [Recursive Partici...] [2010-12-10 13:40:23] [9894f466352df31a128e82ec8d720241]
-    D      [Recursive Partitioning (Regression Trees)] [paper - recursive...] [2010-12-21 21:38:27] [5398da98f4f83c6a353e4d3806d4bcaa] [Current]
-   P         [Recursive Partitioning (Regression Trees)] [paper- recursive ...] [2010-12-21 21:54:09] [9894f466352df31a128e82ec8d720241]
Feedback Forum

Post a new message
Dataseries X:
631923	-12	-10.8
654294	-13	-12.2
671833	-16	-14.1
586840	-10	-15.2
600969	-4	-15.8
625568	-9	-15.8
558110	-8	-14.9
630577	-9	-12.6
628654	-3	-9.9
603184	-13	-7.8
656255	-3	-6
600730	-1	-5
670326	-2	-4.5
678423	0	-3.9
641502	0	-2.9
625311	-3	-1.5
628177	0	-0.5
589767	5	0
582471	3	0.5
636248	4	0.9
599885	3	0.8
621694	1	0.1
637406	-1	-1
596994	0	-2
696308	-2	-3
674201	-1	-3.7
648861	2	-4.7
649605	0	-6.4
672392	-6	-7.5
598396	-7	-7.8
613177	-6	-7.7
638104	-4	-6.6
615632	-9	-4.2
634465	-2	-2
638686	-3	-0.7
604243	2	0.1
706669	3	0.9
677185	1	2.1
644328	0	3.5
644825	1	4.9
605707	1	5.7
600136	3	6.2
612166	5	6.5
599659	5	6.5
634210	4	6.3
618234	11	6.2
613576	8	6.4
627200	-1	6.3
668973	4	5.8
651479	4	5.1
619661	4	5.1
644260	6	5.8
579936	6	6.7
601752	6	7.1
595376	6	6.7
588902	4	5.5
634341	1	4.2
594305	6	3
606200	0	2.2
610926	2	2
633685	-2	1.8
639696	0	1.8
659451	1	1.5
593248	-3	0.4
606677	-3	-0.9
599434	-5	-1.7
569578	-7	-2.6
629873	-7	-4.4
613438	-5	-8.3
604172	-13	-14.4
658328	-16	-21.3
612633	-20	-26.5
707372	-18	-29.2
739770	-21	-30.8
777535	-20	-30.9
685030	-16	-29.5
730234	-14	-27.1
714154	-12	-24.4
630872	-10	-21.9
719492	-3	-19.3
677023	-4	-17
679272	-4	-13.8
718317	-1	-9.9
645672	-8	-7.9




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 6 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114005&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114005&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114005&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 time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Goodness of Fit
Correlation0.557
R-squared0.3102
RMSE34250.6269

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114005&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.557
R-squared0.3102
RMSE34250.6269







Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
1631923627585.3424657534337.65753424657
2654294627585.34246575326708.6575342466
3671833627585.34246575344247.6575342466
4586840627585.342465753-40745.3424657534
5600969627585.342465753-26616.3424657534
6625568627585.342465753-2017.34246575343
7558110627585.342465753-69475.3424657534
8630577627585.3424657532991.65753424657
9628654627585.3424657531068.65753424657
10603184627585.342465753-24401.3424657534
11656255627585.34246575328669.6575342466
12600730627585.342465753-26855.3424657534
13670326627585.34246575342740.6575342466
14678423627585.34246575350837.6575342466
15641502627585.34246575313916.6575342466
16625311627585.342465753-2274.34246575343
17628177627585.342465753591.657534246566
18589767627585.342465753-37818.3424657534
19582471627585.342465753-45114.3424657534
20636248627585.3424657538662.65753424657
21599885627585.342465753-27700.3424657534
22621694627585.342465753-5891.34246575343
23637406627585.3424657539820.65753424657
24596994627585.342465753-30591.3424657534
25696308627585.34246575368722.6575342466
26674201627585.34246575346615.6575342466
27648861627585.34246575321275.6575342466
28649605627585.34246575322019.6575342466
29672392627585.34246575344806.6575342466
30598396627585.342465753-29189.3424657534
31613177627585.342465753-14408.3424657534
32638104627585.34246575310518.6575342466
33615632627585.342465753-11953.3424657534
34634465627585.3424657536879.65753424657
35638686627585.34246575311100.6575342466
36604243627585.342465753-23342.3424657534
37706669627585.34246575379083.6575342466
38677185627585.34246575349599.6575342466
39644328627585.34246575316742.6575342466
40644825627585.34246575317239.6575342466
41605707627585.342465753-21878.3424657534
42600136627585.342465753-27449.3424657534
43612166627585.342465753-15419.3424657534
44599659627585.342465753-27926.3424657534
45634210627585.3424657536624.65753424657
46618234627585.342465753-9351.34246575343
47613576627585.342465753-14009.3424657534
48627200627585.342465753-385.342465753434
49668973627585.34246575341387.6575342466
50651479627585.34246575323893.6575342466
51619661627585.342465753-7924.34246575343
52644260627585.34246575316674.6575342466
53579936627585.342465753-47649.3424657534
54601752627585.342465753-25833.3424657534
55595376627585.342465753-32209.3424657534
56588902627585.342465753-38683.3424657534
57634341627585.3424657536755.65753424657
58594305627585.342465753-33280.3424657534
59606200627585.342465753-21385.3424657534
60610926627585.342465753-16659.3424657534
61633685627585.3424657536099.65753424657
62639696627585.34246575312110.6575342466
63659451627585.34246575331865.6575342466
64593248627585.342465753-34337.3424657534
65606677627585.342465753-20908.3424657534
66599434627585.342465753-28151.3424657534
67569578627585.342465753-58007.3424657534
68629873627585.3424657532287.65753424657
69613438627585.342465753-14147.3424657534
70604172627585.342465753-23413.3424657534
71658328695676.636363636-37348.6363636364
72612633695676.636363636-83043.6363636364
73707372695676.63636363611695.3636363636
74739770695676.63636363644093.3636363636
75777535695676.63636363681858.3636363636
76685030695676.636363636-10646.6363636364
77730234695676.63636363634557.3636363636
78714154695676.63636363618477.3636363636
79630872695676.636363636-64804.6363636364
80719492695676.63636363623815.3636363636
81677023695676.636363636-18653.6363636364
82679272627585.34246575351686.6575342466
83718317627585.34246575390731.6575342466
84645672627585.34246575318086.6575342466

\begin{tabular}{lllllllll}
\hline
Actuals, Predictions, and Residuals \tabularnewline
# & Actuals & Forecasts & Residuals \tabularnewline
1 & 631923 & 627585.342465753 & 4337.65753424657 \tabularnewline
2 & 654294 & 627585.342465753 & 26708.6575342466 \tabularnewline
3 & 671833 & 627585.342465753 & 44247.6575342466 \tabularnewline
4 & 586840 & 627585.342465753 & -40745.3424657534 \tabularnewline
5 & 600969 & 627585.342465753 & -26616.3424657534 \tabularnewline
6 & 625568 & 627585.342465753 & -2017.34246575343 \tabularnewline
7 & 558110 & 627585.342465753 & -69475.3424657534 \tabularnewline
8 & 630577 & 627585.342465753 & 2991.65753424657 \tabularnewline
9 & 628654 & 627585.342465753 & 1068.65753424657 \tabularnewline
10 & 603184 & 627585.342465753 & -24401.3424657534 \tabularnewline
11 & 656255 & 627585.342465753 & 28669.6575342466 \tabularnewline
12 & 600730 & 627585.342465753 & -26855.3424657534 \tabularnewline
13 & 670326 & 627585.342465753 & 42740.6575342466 \tabularnewline
14 & 678423 & 627585.342465753 & 50837.6575342466 \tabularnewline
15 & 641502 & 627585.342465753 & 13916.6575342466 \tabularnewline
16 & 625311 & 627585.342465753 & -2274.34246575343 \tabularnewline
17 & 628177 & 627585.342465753 & 591.657534246566 \tabularnewline
18 & 589767 & 627585.342465753 & -37818.3424657534 \tabularnewline
19 & 582471 & 627585.342465753 & -45114.3424657534 \tabularnewline
20 & 636248 & 627585.342465753 & 8662.65753424657 \tabularnewline
21 & 599885 & 627585.342465753 & -27700.3424657534 \tabularnewline
22 & 621694 & 627585.342465753 & -5891.34246575343 \tabularnewline
23 & 637406 & 627585.342465753 & 9820.65753424657 \tabularnewline
24 & 596994 & 627585.342465753 & -30591.3424657534 \tabularnewline
25 & 696308 & 627585.342465753 & 68722.6575342466 \tabularnewline
26 & 674201 & 627585.342465753 & 46615.6575342466 \tabularnewline
27 & 648861 & 627585.342465753 & 21275.6575342466 \tabularnewline
28 & 649605 & 627585.342465753 & 22019.6575342466 \tabularnewline
29 & 672392 & 627585.342465753 & 44806.6575342466 \tabularnewline
30 & 598396 & 627585.342465753 & -29189.3424657534 \tabularnewline
31 & 613177 & 627585.342465753 & -14408.3424657534 \tabularnewline
32 & 638104 & 627585.342465753 & 10518.6575342466 \tabularnewline
33 & 615632 & 627585.342465753 & -11953.3424657534 \tabularnewline
34 & 634465 & 627585.342465753 & 6879.65753424657 \tabularnewline
35 & 638686 & 627585.342465753 & 11100.6575342466 \tabularnewline
36 & 604243 & 627585.342465753 & -23342.3424657534 \tabularnewline
37 & 706669 & 627585.342465753 & 79083.6575342466 \tabularnewline
38 & 677185 & 627585.342465753 & 49599.6575342466 \tabularnewline
39 & 644328 & 627585.342465753 & 16742.6575342466 \tabularnewline
40 & 644825 & 627585.342465753 & 17239.6575342466 \tabularnewline
41 & 605707 & 627585.342465753 & -21878.3424657534 \tabularnewline
42 & 600136 & 627585.342465753 & -27449.3424657534 \tabularnewline
43 & 612166 & 627585.342465753 & -15419.3424657534 \tabularnewline
44 & 599659 & 627585.342465753 & -27926.3424657534 \tabularnewline
45 & 634210 & 627585.342465753 & 6624.65753424657 \tabularnewline
46 & 618234 & 627585.342465753 & -9351.34246575343 \tabularnewline
47 & 613576 & 627585.342465753 & -14009.3424657534 \tabularnewline
48 & 627200 & 627585.342465753 & -385.342465753434 \tabularnewline
49 & 668973 & 627585.342465753 & 41387.6575342466 \tabularnewline
50 & 651479 & 627585.342465753 & 23893.6575342466 \tabularnewline
51 & 619661 & 627585.342465753 & -7924.34246575343 \tabularnewline
52 & 644260 & 627585.342465753 & 16674.6575342466 \tabularnewline
53 & 579936 & 627585.342465753 & -47649.3424657534 \tabularnewline
54 & 601752 & 627585.342465753 & -25833.3424657534 \tabularnewline
55 & 595376 & 627585.342465753 & -32209.3424657534 \tabularnewline
56 & 588902 & 627585.342465753 & -38683.3424657534 \tabularnewline
57 & 634341 & 627585.342465753 & 6755.65753424657 \tabularnewline
58 & 594305 & 627585.342465753 & -33280.3424657534 \tabularnewline
59 & 606200 & 627585.342465753 & -21385.3424657534 \tabularnewline
60 & 610926 & 627585.342465753 & -16659.3424657534 \tabularnewline
61 & 633685 & 627585.342465753 & 6099.65753424657 \tabularnewline
62 & 639696 & 627585.342465753 & 12110.6575342466 \tabularnewline
63 & 659451 & 627585.342465753 & 31865.6575342466 \tabularnewline
64 & 593248 & 627585.342465753 & -34337.3424657534 \tabularnewline
65 & 606677 & 627585.342465753 & -20908.3424657534 \tabularnewline
66 & 599434 & 627585.342465753 & -28151.3424657534 \tabularnewline
67 & 569578 & 627585.342465753 & -58007.3424657534 \tabularnewline
68 & 629873 & 627585.342465753 & 2287.65753424657 \tabularnewline
69 & 613438 & 627585.342465753 & -14147.3424657534 \tabularnewline
70 & 604172 & 627585.342465753 & -23413.3424657534 \tabularnewline
71 & 658328 & 695676.636363636 & -37348.6363636364 \tabularnewline
72 & 612633 & 695676.636363636 & -83043.6363636364 \tabularnewline
73 & 707372 & 695676.636363636 & 11695.3636363636 \tabularnewline
74 & 739770 & 695676.636363636 & 44093.3636363636 \tabularnewline
75 & 777535 & 695676.636363636 & 81858.3636363636 \tabularnewline
76 & 685030 & 695676.636363636 & -10646.6363636364 \tabularnewline
77 & 730234 & 695676.636363636 & 34557.3636363636 \tabularnewline
78 & 714154 & 695676.636363636 & 18477.3636363636 \tabularnewline
79 & 630872 & 695676.636363636 & -64804.6363636364 \tabularnewline
80 & 719492 & 695676.636363636 & 23815.3636363636 \tabularnewline
81 & 677023 & 695676.636363636 & -18653.6363636364 \tabularnewline
82 & 679272 & 627585.342465753 & 51686.6575342466 \tabularnewline
83 & 718317 & 627585.342465753 & 90731.6575342466 \tabularnewline
84 & 645672 & 627585.342465753 & 18086.6575342466 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114005&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]631923[/C][C]627585.342465753[/C][C]4337.65753424657[/C][/ROW]
[ROW][C]2[/C][C]654294[/C][C]627585.342465753[/C][C]26708.6575342466[/C][/ROW]
[ROW][C]3[/C][C]671833[/C][C]627585.342465753[/C][C]44247.6575342466[/C][/ROW]
[ROW][C]4[/C][C]586840[/C][C]627585.342465753[/C][C]-40745.3424657534[/C][/ROW]
[ROW][C]5[/C][C]600969[/C][C]627585.342465753[/C][C]-26616.3424657534[/C][/ROW]
[ROW][C]6[/C][C]625568[/C][C]627585.342465753[/C][C]-2017.34246575343[/C][/ROW]
[ROW][C]7[/C][C]558110[/C][C]627585.342465753[/C][C]-69475.3424657534[/C][/ROW]
[ROW][C]8[/C][C]630577[/C][C]627585.342465753[/C][C]2991.65753424657[/C][/ROW]
[ROW][C]9[/C][C]628654[/C][C]627585.342465753[/C][C]1068.65753424657[/C][/ROW]
[ROW][C]10[/C][C]603184[/C][C]627585.342465753[/C][C]-24401.3424657534[/C][/ROW]
[ROW][C]11[/C][C]656255[/C][C]627585.342465753[/C][C]28669.6575342466[/C][/ROW]
[ROW][C]12[/C][C]600730[/C][C]627585.342465753[/C][C]-26855.3424657534[/C][/ROW]
[ROW][C]13[/C][C]670326[/C][C]627585.342465753[/C][C]42740.6575342466[/C][/ROW]
[ROW][C]14[/C][C]678423[/C][C]627585.342465753[/C][C]50837.6575342466[/C][/ROW]
[ROW][C]15[/C][C]641502[/C][C]627585.342465753[/C][C]13916.6575342466[/C][/ROW]
[ROW][C]16[/C][C]625311[/C][C]627585.342465753[/C][C]-2274.34246575343[/C][/ROW]
[ROW][C]17[/C][C]628177[/C][C]627585.342465753[/C][C]591.657534246566[/C][/ROW]
[ROW][C]18[/C][C]589767[/C][C]627585.342465753[/C][C]-37818.3424657534[/C][/ROW]
[ROW][C]19[/C][C]582471[/C][C]627585.342465753[/C][C]-45114.3424657534[/C][/ROW]
[ROW][C]20[/C][C]636248[/C][C]627585.342465753[/C][C]8662.65753424657[/C][/ROW]
[ROW][C]21[/C][C]599885[/C][C]627585.342465753[/C][C]-27700.3424657534[/C][/ROW]
[ROW][C]22[/C][C]621694[/C][C]627585.342465753[/C][C]-5891.34246575343[/C][/ROW]
[ROW][C]23[/C][C]637406[/C][C]627585.342465753[/C][C]9820.65753424657[/C][/ROW]
[ROW][C]24[/C][C]596994[/C][C]627585.342465753[/C][C]-30591.3424657534[/C][/ROW]
[ROW][C]25[/C][C]696308[/C][C]627585.342465753[/C][C]68722.6575342466[/C][/ROW]
[ROW][C]26[/C][C]674201[/C][C]627585.342465753[/C][C]46615.6575342466[/C][/ROW]
[ROW][C]27[/C][C]648861[/C][C]627585.342465753[/C][C]21275.6575342466[/C][/ROW]
[ROW][C]28[/C][C]649605[/C][C]627585.342465753[/C][C]22019.6575342466[/C][/ROW]
[ROW][C]29[/C][C]672392[/C][C]627585.342465753[/C][C]44806.6575342466[/C][/ROW]
[ROW][C]30[/C][C]598396[/C][C]627585.342465753[/C][C]-29189.3424657534[/C][/ROW]
[ROW][C]31[/C][C]613177[/C][C]627585.342465753[/C][C]-14408.3424657534[/C][/ROW]
[ROW][C]32[/C][C]638104[/C][C]627585.342465753[/C][C]10518.6575342466[/C][/ROW]
[ROW][C]33[/C][C]615632[/C][C]627585.342465753[/C][C]-11953.3424657534[/C][/ROW]
[ROW][C]34[/C][C]634465[/C][C]627585.342465753[/C][C]6879.65753424657[/C][/ROW]
[ROW][C]35[/C][C]638686[/C][C]627585.342465753[/C][C]11100.6575342466[/C][/ROW]
[ROW][C]36[/C][C]604243[/C][C]627585.342465753[/C][C]-23342.3424657534[/C][/ROW]
[ROW][C]37[/C][C]706669[/C][C]627585.342465753[/C][C]79083.6575342466[/C][/ROW]
[ROW][C]38[/C][C]677185[/C][C]627585.342465753[/C][C]49599.6575342466[/C][/ROW]
[ROW][C]39[/C][C]644328[/C][C]627585.342465753[/C][C]16742.6575342466[/C][/ROW]
[ROW][C]40[/C][C]644825[/C][C]627585.342465753[/C][C]17239.6575342466[/C][/ROW]
[ROW][C]41[/C][C]605707[/C][C]627585.342465753[/C][C]-21878.3424657534[/C][/ROW]
[ROW][C]42[/C][C]600136[/C][C]627585.342465753[/C][C]-27449.3424657534[/C][/ROW]
[ROW][C]43[/C][C]612166[/C][C]627585.342465753[/C][C]-15419.3424657534[/C][/ROW]
[ROW][C]44[/C][C]599659[/C][C]627585.342465753[/C][C]-27926.3424657534[/C][/ROW]
[ROW][C]45[/C][C]634210[/C][C]627585.342465753[/C][C]6624.65753424657[/C][/ROW]
[ROW][C]46[/C][C]618234[/C][C]627585.342465753[/C][C]-9351.34246575343[/C][/ROW]
[ROW][C]47[/C][C]613576[/C][C]627585.342465753[/C][C]-14009.3424657534[/C][/ROW]
[ROW][C]48[/C][C]627200[/C][C]627585.342465753[/C][C]-385.342465753434[/C][/ROW]
[ROW][C]49[/C][C]668973[/C][C]627585.342465753[/C][C]41387.6575342466[/C][/ROW]
[ROW][C]50[/C][C]651479[/C][C]627585.342465753[/C][C]23893.6575342466[/C][/ROW]
[ROW][C]51[/C][C]619661[/C][C]627585.342465753[/C][C]-7924.34246575343[/C][/ROW]
[ROW][C]52[/C][C]644260[/C][C]627585.342465753[/C][C]16674.6575342466[/C][/ROW]
[ROW][C]53[/C][C]579936[/C][C]627585.342465753[/C][C]-47649.3424657534[/C][/ROW]
[ROW][C]54[/C][C]601752[/C][C]627585.342465753[/C][C]-25833.3424657534[/C][/ROW]
[ROW][C]55[/C][C]595376[/C][C]627585.342465753[/C][C]-32209.3424657534[/C][/ROW]
[ROW][C]56[/C][C]588902[/C][C]627585.342465753[/C][C]-38683.3424657534[/C][/ROW]
[ROW][C]57[/C][C]634341[/C][C]627585.342465753[/C][C]6755.65753424657[/C][/ROW]
[ROW][C]58[/C][C]594305[/C][C]627585.342465753[/C][C]-33280.3424657534[/C][/ROW]
[ROW][C]59[/C][C]606200[/C][C]627585.342465753[/C][C]-21385.3424657534[/C][/ROW]
[ROW][C]60[/C][C]610926[/C][C]627585.342465753[/C][C]-16659.3424657534[/C][/ROW]
[ROW][C]61[/C][C]633685[/C][C]627585.342465753[/C][C]6099.65753424657[/C][/ROW]
[ROW][C]62[/C][C]639696[/C][C]627585.342465753[/C][C]12110.6575342466[/C][/ROW]
[ROW][C]63[/C][C]659451[/C][C]627585.342465753[/C][C]31865.6575342466[/C][/ROW]
[ROW][C]64[/C][C]593248[/C][C]627585.342465753[/C][C]-34337.3424657534[/C][/ROW]
[ROW][C]65[/C][C]606677[/C][C]627585.342465753[/C][C]-20908.3424657534[/C][/ROW]
[ROW][C]66[/C][C]599434[/C][C]627585.342465753[/C][C]-28151.3424657534[/C][/ROW]
[ROW][C]67[/C][C]569578[/C][C]627585.342465753[/C][C]-58007.3424657534[/C][/ROW]
[ROW][C]68[/C][C]629873[/C][C]627585.342465753[/C][C]2287.65753424657[/C][/ROW]
[ROW][C]69[/C][C]613438[/C][C]627585.342465753[/C][C]-14147.3424657534[/C][/ROW]
[ROW][C]70[/C][C]604172[/C][C]627585.342465753[/C][C]-23413.3424657534[/C][/ROW]
[ROW][C]71[/C][C]658328[/C][C]695676.636363636[/C][C]-37348.6363636364[/C][/ROW]
[ROW][C]72[/C][C]612633[/C][C]695676.636363636[/C][C]-83043.6363636364[/C][/ROW]
[ROW][C]73[/C][C]707372[/C][C]695676.636363636[/C][C]11695.3636363636[/C][/ROW]
[ROW][C]74[/C][C]739770[/C][C]695676.636363636[/C][C]44093.3636363636[/C][/ROW]
[ROW][C]75[/C][C]777535[/C][C]695676.636363636[/C][C]81858.3636363636[/C][/ROW]
[ROW][C]76[/C][C]685030[/C][C]695676.636363636[/C][C]-10646.6363636364[/C][/ROW]
[ROW][C]77[/C][C]730234[/C][C]695676.636363636[/C][C]34557.3636363636[/C][/ROW]
[ROW][C]78[/C][C]714154[/C][C]695676.636363636[/C][C]18477.3636363636[/C][/ROW]
[ROW][C]79[/C][C]630872[/C][C]695676.636363636[/C][C]-64804.6363636364[/C][/ROW]
[ROW][C]80[/C][C]719492[/C][C]695676.636363636[/C][C]23815.3636363636[/C][/ROW]
[ROW][C]81[/C][C]677023[/C][C]695676.636363636[/C][C]-18653.6363636364[/C][/ROW]
[ROW][C]82[/C][C]679272[/C][C]627585.342465753[/C][C]51686.6575342466[/C][/ROW]
[ROW][C]83[/C][C]718317[/C][C]627585.342465753[/C][C]90731.6575342466[/C][/ROW]
[ROW][C]84[/C][C]645672[/C][C]627585.342465753[/C][C]18086.6575342466[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114005&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114005&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
1631923627585.3424657534337.65753424657
2654294627585.34246575326708.6575342466
3671833627585.34246575344247.6575342466
4586840627585.342465753-40745.3424657534
5600969627585.342465753-26616.3424657534
6625568627585.342465753-2017.34246575343
7558110627585.342465753-69475.3424657534
8630577627585.3424657532991.65753424657
9628654627585.3424657531068.65753424657
10603184627585.342465753-24401.3424657534
11656255627585.34246575328669.6575342466
12600730627585.342465753-26855.3424657534
13670326627585.34246575342740.6575342466
14678423627585.34246575350837.6575342466
15641502627585.34246575313916.6575342466
16625311627585.342465753-2274.34246575343
17628177627585.342465753591.657534246566
18589767627585.342465753-37818.3424657534
19582471627585.342465753-45114.3424657534
20636248627585.3424657538662.65753424657
21599885627585.342465753-27700.3424657534
22621694627585.342465753-5891.34246575343
23637406627585.3424657539820.65753424657
24596994627585.342465753-30591.3424657534
25696308627585.34246575368722.6575342466
26674201627585.34246575346615.6575342466
27648861627585.34246575321275.6575342466
28649605627585.34246575322019.6575342466
29672392627585.34246575344806.6575342466
30598396627585.342465753-29189.3424657534
31613177627585.342465753-14408.3424657534
32638104627585.34246575310518.6575342466
33615632627585.342465753-11953.3424657534
34634465627585.3424657536879.65753424657
35638686627585.34246575311100.6575342466
36604243627585.342465753-23342.3424657534
37706669627585.34246575379083.6575342466
38677185627585.34246575349599.6575342466
39644328627585.34246575316742.6575342466
40644825627585.34246575317239.6575342466
41605707627585.342465753-21878.3424657534
42600136627585.342465753-27449.3424657534
43612166627585.342465753-15419.3424657534
44599659627585.342465753-27926.3424657534
45634210627585.3424657536624.65753424657
46618234627585.342465753-9351.34246575343
47613576627585.342465753-14009.3424657534
48627200627585.342465753-385.342465753434
49668973627585.34246575341387.6575342466
50651479627585.34246575323893.6575342466
51619661627585.342465753-7924.34246575343
52644260627585.34246575316674.6575342466
53579936627585.342465753-47649.3424657534
54601752627585.342465753-25833.3424657534
55595376627585.342465753-32209.3424657534
56588902627585.342465753-38683.3424657534
57634341627585.3424657536755.65753424657
58594305627585.342465753-33280.3424657534
59606200627585.342465753-21385.3424657534
60610926627585.342465753-16659.3424657534
61633685627585.3424657536099.65753424657
62639696627585.34246575312110.6575342466
63659451627585.34246575331865.6575342466
64593248627585.342465753-34337.3424657534
65606677627585.342465753-20908.3424657534
66599434627585.342465753-28151.3424657534
67569578627585.342465753-58007.3424657534
68629873627585.3424657532287.65753424657
69613438627585.342465753-14147.3424657534
70604172627585.342465753-23413.3424657534
71658328695676.636363636-37348.6363636364
72612633695676.636363636-83043.6363636364
73707372695676.63636363611695.3636363636
74739770695676.63636363644093.3636363636
75777535695676.63636363681858.3636363636
76685030695676.636363636-10646.6363636364
77730234695676.63636363634557.3636363636
78714154695676.63636363618477.3636363636
79630872695676.636363636-64804.6363636364
80719492695676.63636363623815.3636363636
81677023695676.636363636-18653.6363636364
82679272627585.34246575351686.6575342466
83718317627585.34246575390731.6575342466
84645672627585.34246575318086.6575342466



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