Home » date » 2010 » Dec » 21 »

*The author of this computation has been verified*
R Software Module: /rwasp_regression_trees1.wasp (opens new window with default values)
Title produced by software: Recursive Partitioning (Regression Trees)
Date of computation: Tue, 21 Dec 2010 19:59:56 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t129296150385znwhrk89h7zs7.htm/, Retrieved Tue, 21 Dec 2010 20:58:23 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t129296150385znwhrk89h7zs7.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
8 350 165 3693 11.5 8 318 150 3436 11 8 302 140 3449 10.5 8 429 198 4341 10 8 440 215 4312 8.5 8 455 225 4425 10 8 383 170 3563 10 8 340 160 3609 8 8 455 225 3086 10 4 113 95 2372 15 6 199 97 2774 15.5 4 97 46 1835 20.5 4 110 87 2672 17.5 4 104 95 2375 17.5 4 121 113 2234 12.5 8 360 215 4615 14 8 307 200 4376 15 8 304 193 4732 18.5 4 97 88 2130 14.5 4 113 95 2228 14 6 250 100 3329 15.5 6 232 100 3288 15.5 8 350 165 4209 12 8 318 150 4096 13 8 400 170 4746 12 8 400 175 5140 12 4 140 72 2408 19 6 250 100 3282 15 4 122 86 2220 14 4 116 90 2123 14 4 88 76 2065 14.5 4 71 65 1773 19 4 97 60 1834 19 4 91 70 1955 20.5 4 97,5 80 2126 17 4 122 86 2226 16.5 8 350 165 4274 12 8 318 150 4135 13.5 8 351 153 4129 13 8 429 208 4633 11 8 350 155 4502 13.5 8 400 190 4422 12.5 3 70 97 2330 13.5 8 307 130 4098 14 8 302 140 4294 16 4 121 112 2933 14.5 4 121 76 2511 18 4 122 86 2395 16 4 120 97 2506 14.5 4 98 80 2164 15 8 350 175 4100 13 8 304 150 3672 11.5 8 302 137 4042 14.5 8 etc...
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time20 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24
R Framework
error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.


Goodness of Fit
Correlation0.8469
R-squared0.7173
RMSE1.4455


Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
111.511.260.24
21112.1038461538462-1.10384615384615
310.512.1038461538462-1.60384615384615
4109.940.0600000000000005
58.59.94-1.44
61010.8888888888889-0.88888888888889
7109.940.0600000000000005
8811.26-3.26
9109.940.0600000000000005
101515.5136363636364-0.513636363636364
1115.515.5083333333333-0.00833333333333286
1220.521.4055555555556-0.905555555555555
1317.516.34509803921571.15490196078431
1417.515.51363636363641.98636363636364
1512.513.0846153846154-0.584615384615384
161412.531.47
171515.4142857142857-0.414285714285715
1818.515.41428571428573.08571428571429
1914.516.3450980392157-1.84509803921569
201415.5136363636364-1.51363636363636
2115.515.6821428571429-0.182142857142857
2215.515.6821428571429-0.182142857142857
231211.260.74
241313.7887096774194-0.788709677419355
251212.53-0.529999999999999
261212.53-0.529999999999999
271916.34509803921572.65490196078431
281515.6821428571429-0.682142857142857
291416.3450980392157-2.34509803921569
301415.5136363636364-1.51363636363636
3114.516.3450980392157-1.84509803921569
321916.34509803921572.65490196078431
331917.51666666666671.48333333333333
3420.516.34509803921574.15490196078431
351716.34509803921570.654901960784315
3616.516.34509803921570.154901960784315
371211.260.74
3813.513.7887096774194-0.288709677419355
391313.7887096774194-0.788709677419355
401110.88888888888890.111111111111111
4113.513.7887096774194-0.288709677419355
4212.512.53-0.0299999999999994
4313.514.6733333333333-1.17333333333333
441413.78870967741940.211290322580645
451615.40.6
4614.515.5083333333333-1.00833333333333
471816.34509803921571.65490196078431
481616.3450980392157-0.345098039215685
4914.514.6733333333333-0.173333333333334
501516.3450980392157-1.34509803921569
511311.261.74
5211.512.1038461538462-0.603846153846154
5314.515.4-0.9
5412.512.10384615384620.396153846153846
551213.7887096774194-1.78870967741936
561313.7887096774194-0.788709677419355
571110.88888888888890.111111111111111
581110.88888888888890.111111111111111
5916.515.68214285714290.817857142857143
601815.68214285714292.31785714285714
6116.517.12-0.620000000000001
621615.51363636363640.486363636363636
631413.78870967741940.211290322580645
6412.512.53-0.0299999999999994
651515.5083333333333-0.508333333333333
6619.516.34509803921573.15490196078431
6716.515.51363636363640.986363636363636
6818.516.34509803921572.15490196078431
691413.63076923076920.36923076923077
701313.7887096774194-0.788709677419355
719.59.94-0.440000000000000
7215.516.3450980392157-0.845098039215685
731415.5136363636364-1.51363636363636
741112.1038461538462-1.10384615384615
751413.63076923076920.36923076923077
761111.26-0.26
7716.517.12-0.620000000000001
781615.50833333333330.491666666666667
7916.516.34509803921570.154901960784315
802116.34509803921574.65490196078431
811718.1485714285714-1.14857142857143
821818.1485714285714-0.148571428571429
831415.4-1.4
8414.513.78870967741940.711290322580645
851615.40.6
8615.513.78870967741941.71129032258064
8715.516.3450980392157-0.845098039215685
8814.516.3450980392157-1.84509803921569
891921.4055555555556-2.40555555555556
9014.516.3450980392157-1.84509803921569
911416.3450980392157-2.34509803921569
921514.67333333333330.326666666666666
931616.3450980392157-0.345098039215685
941617.12-1.12
9519.521.0461538461538-1.54615384615385
9611.512.53-1.03
971413.78870967741940.211290322580645
9813.513.7887096774194-0.288709677419355
992118.14857142857142.85142857142857
1001918.14857142857140.85142857142857
1011918.14857142857140.85142857142857
10213.515.6821428571429-2.18214285714286
1031212.1038461538462-0.103846153846154
1041716.34509803921570.654901960784315
1051615.50833333333330.491666666666667
10613.514.6733333333333-1.17333333333333
10716.516.34509803921570.154901960784315
10814.515.6821428571429-1.18214285714286
1091515.5136363636364-0.513636363636364
1101718.8-1.8
11113.513.08461538461540.415384615384616
11217.517.5166666666667-0.0166666666666657
11316.916.34509803921570.554901960784314
11414.915.5136363636364-0.613636363636363
11515.316.3450980392157-1.04509803921568
1161313.7887096774194-0.788709677419355
11713.913.78870967741940.111290322580645
11812.813.7887096774194-0.988709677419354
11914.515.6821428571429-1.18214285714286
12017.617.120.48
12122.221.40555555555560.794444444444444
12222.121.40555555555560.694444444444446
12317.718.1485714285714-0.44857142857143
12416.218.1485714285714-1.94857142857143
12517.817.120.68
1261716.34509803921570.654901960784315
12716.416.34509803921570.0549019607843135
12815.715.68214285714290.0178571428571423
12913.213.7887096774194-0.588709677419356
13016.715.41.3
13112.112.53-0.43
1321515.4-0.4
1331412.10384615384621.89615384615385
13414.816.3450980392157-1.54509803921568
13518.617.51666666666671.08333333333334
13616.816.34509803921570.454901960784316
13712.513.7887096774194-1.28870967741936
13813.713.7887096774194-0.0887096774193559
13916.918.1485714285714-1.24857142857143
14017.718.1485714285714-0.44857142857143
14111.19.941.16
14211.411.260.140000000000001
14314.513.78870967741940.711290322580645
14414.516.3450980392157-1.84509803921569
14518.216.34509803921571.85490196078431
14615.816.3450980392157-0.545098039215684
14715.916.3450980392157-0.445098039215685
14816.416.34509803921570.0549019607843135
14914.515.5083333333333-1.00833333333333
15012.813.6307692307692-0.83076923076923
15121.521.40555555555560.094444444444445
15214.416.3450980392157-1.94509803921568
15318.616.34509803921572.25490196078432
15413.212.10384615384621.09615384615384
15512.812.10384615384620.696153846153846
15618.217.121.08000000000000
15715.817.12-1.32
15817.218.1485714285714-0.94857142857143
15917.217.120.0799999999999983
16016.717.12-0.420000000000002
16118.718.14857142857140.55142857142857
16213.212.10384615384621.09615384615384
16313.415.4142857142857-2.01428571428571
16413.713.7887096774194-0.0887096774193559
16516.516.34509803921570.154901960784315
16614.714.67333333333330.0266666666666655
16714.516.3450980392157-1.84509803921569
16817.616.34509803921571.25490196078432
16915.915.50833333333330.391666666666667
17013.614.925-1.325
17115.814.9250.875
17214.916.3450980392157-1.44509803921568
17316.616.34509803921570.254901960784316
17418.217.121.08000000000000
17517.316.34509803921570.954901960784316
17616.615.68214285714290.917857142857144
17715.413.78870967741941.61129032258065
17813.213.7887096774194-0.588709677419356
17915.213.78870967741941.41129032258064
18014.313.78870967741940.511290322580646
1811514.9250.0749999999999993
1821416.3450980392157-2.34509803921569
18315.216.3450980392157-1.14509803921569
1841516.3450980392157-1.34509803921569
18524.821.04615384615383.75384615384615
18622.218.14857142857144.05142857142857
18714.916.3450980392157-1.44509803921568
18819.216.34509803921572.85490196078431
1891615.51363636363640.486363636363636
19011.313.0846153846154-1.78461538461538
19113.215.5136363636364-2.31363636363636
19214.716.3450980392157-1.64509803921569
19315.516.3450980392157-0.845098039215685
19416.416.34509803921570.0549019607843135
19518.116.34509803921571.75490196078432
19620.118.81.3
19715.816.3450980392157-0.545098039215684
19815.515.5136363636364-0.0136363636363637
1991515.5136363636364-0.513636363636364
20015.216.3450980392157-1.14509803921569
20114.415.5083333333333-1.10833333333333
20219.216.34509803921572.85490196078431
20319.921.0461538461538-1.14615384615385
20413.816.3450980392157-2.54509803921568
20515.316.3450980392157-1.04509803921568
20615.116.3450980392157-1.24509803921569
20715.716.3450980392157-0.645098039215686
20816.416.34509803921570.0549019607843135
20912.613.6307692307692-1.03076923076923
21012.916.3450980392157-3.44509803921568
21116.416.34509803921570.0549019607843135
21216.117.5166666666667-1.41666666666666
21319.416.34509803921573.05490196078431
21417.316.34509803921570.954901960784316
21514.916.3450980392157-1.44509803921568
21616.216.3450980392157-0.145098039215686
21714.216.3450980392157-2.14509803921569
21814.813.63076923076921.16923076923077
21920.421.0461538461538-0.646153846153847
22013.813.08461538461540.715384615384616
22115.815.68214285714290.117857142857144
22217.117.12-0.0199999999999996
22316.618.1485714285714-1.54857142857143
22418.616.34509803921572.25490196078432
2251816.34509803921571.65490196078431
2261616.3450980392157-0.345098039215685
2271815.51363636363642.48636363636364
22815.316.3450980392157-1.04509803921568
22917.616.34509803921571.25490196078432
23014.716.3450980392157-1.64509803921569
23114.516.3450980392157-1.84509803921569
23214.516.3450980392157-1.84509803921569
23315.716.3450980392157-0.645098039215686
23416.415.50833333333330.891666666666666
2351717.12-0.120000000000001
23613.914.6733333333333-0.773333333333333
23717.318.8-1.5
23815.616.3450980392157-0.745098039215685
23911.616.3450980392157-4.74509803921569
24018.616.34509803921572.25490196078432
2411816.34509803921571.65490196078431
2421717.5166666666667-0.516666666666666
2431717.5166666666667-0.516666666666666
2441617.5166666666667-1.51666666666667
2451916.34509803921572.65490196078431
2461817.51666666666670.483333333333334
2471717.5166666666667-0.516666666666666
2481416.3450980392157-2.34509803921569
2491617.5166666666667-1.51666666666667
2501216.3450980392157-4.34509803921569
2511917.51666666666671.48333333333333
2521917.51666666666671.48333333333333
2532121.4055555555556-0.405555555555555
2542116.34509803921574.65490196078431
2551516.3450980392157-1.34509803921569
2561416.3450980392157-2.34509803921569
2572021.4055555555556-1.40555555555556
2581616.3450980392157-0.345098039215685
2591416.3450980392157-2.34509803921569
2601416.3450980392157-2.34509803921569
2611416.3450980392157-2.34509803921569
2621416.3450980392157-2.34509803921569
2631516.3450980392157-1.34509803921569
2641716.34509803921570.654901960784315
2652121.4055555555556-0.405555555555555
2661916.34509803921572.65490196078431
2672116.34509803921574.65490196078431
2681616.3450980392157-0.345098039215685
2691516.3450980392157-1.34509803921569
2701616.3450980392157-0.345098039215685
2711921.4055555555556-2.40555555555556
2721816.34509803921571.65490196078431
2731516.3450980392157-1.34509803921569
2741916.34509803921572.65490196078431
2751516.3450980392157-1.34509803921569
2762221.40555555555560.594444444444445
2771616.3450980392157-0.345098039215685
2781921.4055555555556-2.40555555555556
2791616.3450980392157-0.345098039215685
2801516.3450980392157-1.34509803921569
2811716.34509803921570.654901960784315
2821616.3450980392157-0.345098039215685
2831616.3450980392157-0.345098039215685
2841921.4055555555556-2.40555555555556
2851616.3450980392157-0.345098039215685
2861916.34509803921572.65490196078431
2871816.34509803921571.65490196078431
2882221.40555555555560.594444444444445
2891616.3450980392157-0.345098039215685
2901916.34509803921572.65490196078431
2911716.34509803921570.654901960784315
2921716.34509803921570.654901960784315
2931516.3450980392157-1.34509803921569
2941816.34509803921571.65490196078431
2951916.34509803921572.65490196078431
2962016.34509803921573.65490196078431
2971616.3450980392157-0.345098039215685
2982221.40555555555560.594444444444445
2991716.34509803921570.654901960784315
3001616.3450980392157-0.345098039215685
3011816.34509803921571.65490196078431
3021916.34509803921572.65490196078431
3031616.3450980392157-0.345098039215685
3041415.5136363636364-1.51363636363636
3051415.5136363636364-1.51363636363636
3061516.3450980392157-1.34509803921569
3071516.3450980392157-1.34509803921569
3081716.34509803921570.654901960784315
3091716.34509803921570.654901960784315
3101516.3450980392157-1.34509803921569
3112521.40555555555563.59444444444444
3121516.3450980392157-1.34509803921569
3131516.3450980392157-1.34509803921569
3141716.34509803921570.654901960784315
3151516.3450980392157-1.34509803921569
3161816.34509803921571.65490196078431
3171516.3450980392157-1.34509803921569
3181516.3450980392157-1.34509803921569
3191716.34509803921570.654901960784315
3201616.3450980392157-0.345098039215685
3211616.3450980392157-0.345098039215685
3221516.3450980392157-1.34509803921569
3231516.3450980392157-1.34509803921569
3242221.40555555555560.594444444444445
3251616.3450980392157-0.345098039215685
3261616.3450980392157-0.345098039215685
3271816.34509803921571.65490196078431
3281416.3450980392157-2.34509803921569
3291416.3450980392157-2.34509803921569
3301316.3450980392157-3.34509803921569
3311516.3450980392157-1.34509803921569
3321516.3450980392157-1.34509803921569
3331416.3450980392157-2.34509803921569
3341516.3450980392157-1.34509803921569
3351716.34509803921570.654901960784315
3361416.3450980392157-2.34509803921569
3371716.34509803921570.654901960784315
3381716.34509803921570.654901960784315
3391716.34509803921570.654901960784315
3401415.5136363636364-1.51363636363636
3411516.3450980392157-1.34509803921569
3421313.0846153846154-0.0846153846153843
3431716.34509803921570.654901960784315
3441416.3450980392157-2.34509803921569
3452421.40555555555562.59444444444444
3461816.34509803921571.65490196078431
3471615.51363636363640.486363636363636
3481615.51363636363640.486363636363636
3491816.34509803921571.65490196078431
3501516.3450980392157-1.34509803921569
3511615.51363636363640.486363636363636
3521916.34509803921572.65490196078431
3531715.51363636363641.48636363636364
3541716.34509803921570.654901960784315
3551216.3450980392157-4.34509803921569
3561614.67333333333331.32666666666667
3571516.3450980392157-1.34509803921569
3581514.67333333333330.326666666666666
3591916.34509803921572.65490196078431
3601414.6733333333333-0.673333333333334
3612421.40555555555562.59444444444444
3621716.34509803921570.654901960784315
3631316.3450980392157-3.34509803921569
3641515.5136363636364-0.513636363636364
3651815.51363636363642.48636363636364
3661715.51363636363641.48636363636364
3672116.34509803921574.65490196078431
3681316.3450980392157-3.34509803921569
3691615.51363636363640.486363636363636
3701616.3450980392157-0.345098039215685
3711816.34509803921571.65490196078431
3722016.34509803921573.65490196078431
3731514.67333333333330.326666666666666
3741916.34509803921572.65490196078431
3752015.51363636363644.48636363636364
3761313.6307692307692-0.63076923076923
3771515.5136363636364-0.513636363636364
3781515.5136363636364-0.513636363636364
3791716.34509803921570.654901960784315
3801616.3450980392157-0.345098039215685
3811413.63076923076920.36923076923077
3821514.67333333333330.326666666666666
3831616.3450980392157-0.345098039215685
3841516.3450980392157-1.34509803921569
3851514.67333333333330.326666666666666
3861816.34509803921571.65490196078431
3871515.5136363636364-0.513636363636364
3881616.3450980392157-0.345098039215685
3891716.34509803921570.654901960784315
3901816.34509803921571.65490196078431
3911714.67333333333332.32666666666667
3921315.5136363636364-2.51363636363636
3931415.5136363636364-1.51363636363636
3941416.3450980392157-2.34509803921569
3951515.5136363636364-0.513636363636364
3961616.3450980392157-0.345098039215685
3971415.5136363636364-1.51363636363636
3981515.5136363636364-0.513636363636364
3991616.3450980392157-0.345098039215685
4001916.34509803921572.65490196078431
4011113.0846153846154-2.08461538461538
4021313.6307692307692-0.63076923076923
4032016.34509803921573.65490196078431
4041513.63076923076921.36923076923077
4051415.5136363636364-1.51363636363636
4061916.34509803921572.65490196078431
4071313.6307692307692-0.63076923076923
4081616.3450980392157-0.345098039215685
4091816.34509803921571.65490196078431
4101716.34509803921570.654901960784315
4111916.34509803921572.65490196078431
4121515.5136363636364-0.513636363636364
4131413.63076923076920.36923076923077
4141414.6733333333333-0.673333333333334
4151516.3450980392157-1.34509803921569
4161615.51363636363640.486363636363636
4171413.08461538461540.915384615384616
4181816.34509803921571.65490196078431
4191715.51363636363641.48636363636364
4201515.5136363636364-0.513636363636364
4211313.0846153846154-0.0846153846153843
4221414.6733333333333-0.673333333333334
4231615.51363636363640.486363636363636
4241516.3450980392157-1.34509803921569
4251916.34509803921572.65490196078431
4261413.63076923076920.36923076923077
4271313.6307692307692-0.63076923076923
4281815.51363636363642.48636363636364
4291616.3450980392157-0.345098039215685
4301715.50833333333331.49166666666667
4311616.3450980392157-0.345098039215685
4321615.50833333333330.491666666666667
4331515.5083333333333-0.508333333333333
4341616.3450980392157-0.345098039215685
4351613.08461538461542.91538461538462
4361415.5083333333333-1.50833333333333
4371413.08461538461540.915384615384616
4381515.5083333333333-0.508333333333333
4391615.50833333333330.491666666666667
4401615.51363636363640.486363636363636
4411515.5083333333333-0.508333333333333
4421816.34509803921571.65490196078431
4431615.51363636363640.486363636363636
4441615.50833333333330.491666666666667
4451816.34509803921571.65490196078431
4461716.34509803921570.654901960784315
4471313.0846153846154-0.0846153846153843
4481615.50833333333330.491666666666667
4491615.51363636363640.486363636363636
4501113.0846153846154-2.08461538461538
4511615.50833333333330.491666666666667
4521615.50833333333330.491666666666667
4531413.08461538461540.915384615384616
4541515.5083333333333-0.508333333333333
4551615.50833333333330.491666666666667
4561615.50833333333330.491666666666667
4571515.5083333333333-0.508333333333333
4581718.8-1.8
4592021.0461538461538-1.04615384615385
4601718.8-1.8
4611415.6821428571429-1.68214285714286
4621617.12-1.12
4632018.81.2
4641515.6821428571429-0.682142857142857
4651817.120.879999999999999
4662018.81.2
4671817.120.879999999999999
4681717.12-0.120000000000001
4691717.12-0.120000000000001
4701515.6821428571429-0.682142857142857
4711717.12-0.120000000000001
4721717.12-0.120000000000001
4731817.120.879999999999999
474109.940.0600000000000005
4751717.12-0.120000000000001
4761715.68214285714291.31785714285714
4771517.12-2.12
4781414.925-0.925
4791615.68214285714290.317857142857143
4801817.120.879999999999999
4812021.0461538461538-1.04615384615385
4822021.0461538461538-1.04615384615385
4831212.1038461538462-0.103846153846154
4842521.04615384615383.95384615384615
4851817.120.879999999999999
4861112.1038461538462-1.10384615384615
4871717.12-0.120000000000001
4881717.12-0.120000000000001
4891415.6821428571429-1.68214285714286
4902021.0461538461538-1.04615384615385
4911515.6821428571429-0.682142857142857
4921514.9250.0749999999999993
4932221.04615384615380.953846153846154
4941617.12-1.12
4951817.120.879999999999999
4962218.83.2
4971815.68214285714292.31785714285714
4981515.6821428571429-0.682142857142857
4991615.68214285714290.317857142857143
5001617.12-1.12
5011615.68214285714290.317857142857143
5021715.68214285714291.31785714285714
5031515.6821428571429-0.682142857142857
5041715.68214285714291.31785714285714
5051615.68214285714290.317857142857143
5061615.68214285714290.317857142857143
5071917.121.88
5081112.1038461538462-1.10384615384615
5091514.9250.0749999999999993
5101614.9251.075
5111615.68214285714290.317857142857143
5122218.14857142857143.85142857142857
5131718.1485714285714-1.14857142857143
5141312.10384615384620.896153846153846
5151718.1485714285714-1.14857142857143
5162121.0461538461538-0.046153846153846
5171212.1038461538462-0.103846153846154
5181112.1038461538462-1.10384615384615
5191618.1485714285714-2.14857142857143
5201315.4142857142857-2.41428571428571
5211112.1038461538462-1.10384615384615
5221618.1485714285714-2.14857142857143
5231718.1485714285714-1.14857142857143
5241212.1038461538462-0.103846153846154
5251618.1485714285714-2.14857142857143
5261918.14857142857140.85142857142857
5272021.0461538461538-1.04615384615385
5281918.14857142857140.85142857142857
529109.940.0600000000000005
5301312.10384615384620.896153846153846
5312121.0461538461538-0.046153846153846
5321514.9250.0749999999999993
533811.26-3.26
5341718.1485714285714-1.14857142857143
5351918.14857142857140.85142857142857
5361818.1485714285714-0.148571428571429
5371818.1485714285714-0.148571428571429
5381618.1485714285714-2.14857142857143
5391818.1485714285714-0.148571428571429
5401111.26-0.26
5411212.1038461538462-0.103846153846154
5421212.1038461538462-0.103846153846154
5431211.260.74
5441312.10384615384620.896153846153846
5451918.14857142857140.85142857142857
5461918.14857142857140.85142857142857
5471312.10384615384620.896153846153846
5481412.10384615384621.89615384615385
5491012.1038461538462-2.10384615384615
5501312.10384615384620.896153846153846
5511718.1485714285714-1.14857142857143
5521918.14857142857140.85142857142857
5531715.41.6
5541111.26-0.26
5551513.78870967741941.21129032258064
5561513.78870967741941.21129032258064
55799.94-0.94
5581515.4-0.4
5591313.7887096774194-0.788709677419355
5601313.7887096774194-0.788709677419355
5611918.14857142857140.85142857142857
5621713.78870967741943.21129032258064
5632118.14857142857142.85142857142857
5641313.7887096774194-0.788709677419355
5651313.7887096774194-0.788709677419355
5661313.7887096774194-0.788709677419355
5671413.78870967741940.211290322580645
5681313.7887096774194-0.788709677419355
5691515.4-0.4
5701413.78870967741940.211290322580645
5711213.7887096774194-1.78870967741936
5721918.14857142857140.85142857142857
5731413.78870967741940.211290322580645
5741413.78870967741940.211290322580645
5751313.7887096774194-0.788709677419355
5761313.7887096774194-0.788709677419355
5771413.78870967741940.211290322580645
5781311.261.74
5791313.7887096774194-0.788709677419355
5801413.78870967741940.211290322580645
5811413.78870967741940.211290322580645
5821415.4-1.4
5831413.78870967741940.211290322580645
5841111.26-0.26
5851313.7887096774194-0.788709677419355
5861211.260.74
5871313.7887096774194-0.788709677419355
5881313.7887096774194-0.788709677419355
589119.941.06
5901513.78870967741941.21129032258064
5911613.78870967741942.21129032258064
5921211.260.74
593109.940.0600000000000005
5941615.40.6
5951515.4-0.4
59699.94-0.94
597129.942.06
5981513.78870967741941.21129032258064
599109.940.0600000000000005
60099.94-0.94
6011513.78870967741941.21129032258064
6021313.7887096774194-0.788709677419355
6031515.4142857142857-0.414285714285715
6041212.53-0.529999999999999
6051415.4142857142857-1.41428571428571
6061212.53-0.529999999999999
6071312.530.470000000000001
6081010.8888888888889-0.88888888888889
6091413.78870967741940.211290322580645
6101412.531.47
6111413.78870967741940.211290322580645
6121212.53-0.529999999999999
6131213.7887096774194-1.78870967741936
6141513.78870967741941.21129032258064
6151312.530.470000000000001
6161413.78870967741940.211290322580645
6171412.531.47
6181110.88888888888890.111111111111111
6191615.40.6
6201312.530.470000000000001
6211413.78870967741940.211290322580645
6221212.53-0.529999999999999
6231513.78870967741941.21129032258064
6241915.41428571428573.58571428571429
6251110.88888888888890.111111111111111
6261212.53-0.529999999999999
6271312.530.470000000000001
6281110.88888888888890.111111111111111
6291210.88888888888891.11111111111111
6301212.53-0.529999999999999
6311413.78870967741940.211290322580645
6321212.53-0.529999999999999
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t129296150385znwhrk89h7zs7/2qvpc1292961572.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t129296150385znwhrk89h7zs7/2qvpc1292961572.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t129296150385znwhrk89h7zs7/3qvpc1292961572.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t129296150385znwhrk89h7zs7/3qvpc1292961572.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t129296150385znwhrk89h7zs7/40m6f1292961572.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t129296150385znwhrk89h7zs7/40m6f1292961572.ps (open in new window)


 
Parameters (Session):
par1 = kendall ;
 
Parameters (R input):
par1 = 5 ; 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')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by