Home » date » 2008 » Dec » 21 »

D1: Central Tendency

*The author of this computation has been verified*
R Software Module: rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Sun, 21 Dec 2008 09:30:07 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/21/t1229877437qu9hgvq9jab1gj6.htm/, Retrieved Sun, 21 Dec 2008 17:37:19 +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/2008/Dec/21/t1229877437qu9hgvq9jab1gj6.htm/},
    year = {2008},
}
@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 = {2008},
    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:
s0800650 Jan Werkhoven
 
Dataseries X:
» Textbox « » Textfile « » CSV «
510401 508642 501805 495476 490336 490042 553155 569999 573170 571687 575453 580177 579849 574346 563325 555604 545544 545109 605181 627856 631421 625671 613577 606463 601676 589121 573559 558487 552148 545720 606569 636067 630704 623275 617771 605401 619393 596019 569977 546213 528492 505944 554910 567831 564021 552800 541102 542378 540380 521219 504652 490626 481686 477930 522605 531432 532355 539954 524987 533307 530541 508392 495208 482223 470495 466106 515037 517752 515565 510727 499725 498369 493756 476141 458458 443182 429597 424476 476257 480555 469762 459820 451028 450065 444385 428846 421020 399778 389005 384018 431933 445844 431464 423263 415881 416208 413491 399153 385939 373917 364635 364696 418358 428212 423730 420677 417428 423245 423113 418873 405733 397812 389918 391116 443814 460373 455422 456288 452233 459256 461146 451391 443101 438810 430457 435721 488280 505814 502338 500910 501434 515476 520862 519517 511805 508607 505327 511435 570158 591665 593572 586346 586063 591504 594033 585597 572450 562917 554675 553997 601310 622255 616735 606480 595079 598588 599917 591573 575489 567223 555338 555252 608249 630859 628632 624435 609670 615830 621170 604212 584348 573717 555234 544897 598866 620081 607699 589960 578665 580166 579457 571560 560460 551397 536763 540562 588184 607049 598968 577644 562640 565867 561274 554144 539900 526271 511841 505282 554083 584225 568858 539516 521612 525562 526519 515713 503454 489301 479020 475102 523682 551528 531626 511037 492417 492188 492865 480961 461935 456608 441977 439148 488180 520564 501492 485025 464196 460170 467037 460070 447988 442867 436087 431328 484015 509673 512927 502831 470984 471067 476049 474605 470439 461251 454724 455626 516847 525192 522975 518585 509239 512238 519164 517009 509933 509127 500857 506971 569323 579714 577992 565464 547344 554788 562325 560854 555332 543599 536662 542722 593530 610763 612613 611324 594167 595454 590865 589379 584428 573100 567456 569028 620735 628884 628232 612117 595404 597141 593408 590072 579799 574205 572775 572942 619567 625809 619916 587625 565742 557274 560576 548854 531673 525919 511038 498662 555362 564591 541657 527070 509846 514258 516922 507561 492622 490243 469357 477580 528379 533590 517945 506174
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ 72.249.76.132


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean525776.1956521743512.78429654102149.675058662126
Geometric Mean521851.378133577
Harmonic Mean517766.663630311
Quadratic Mean529529.637218235
Winsorized Mean ( 1 / 107 )525761.9565217393511.37532451895149.731062028741
Winsorized Mean ( 2 / 107 )525815.7391304353503.08803584025150.100635139851
Winsorized Mean ( 3 / 107 )525908.4037267083490.63756076655150.662563663934
Winsorized Mean ( 4 / 107 )525909.6583850933485.53628208951150.883426773518
Winsorized Mean ( 5 / 107 )525953.3540372673479.27942942445151.167322057910
Winsorized Mean ( 6 / 107 )525962.9130434783476.51527249716151.290263904315
Winsorized Mean ( 7 / 107 )525980.7826086963472.60429561449151.465798528485
Winsorized Mean ( 8 / 107 )526096.2857142863448.28416405712152.567555539072
Winsorized Mean ( 9 / 107 )526129.9099378883443.61206039354152.784315047892
Winsorized Mean ( 10 / 107 )526110.9347826093437.94799989583153.030509710604
Winsorized Mean ( 11 / 107 )526274.7391304353411.58592228572154.261024379488
Winsorized Mean ( 12 / 107 )526525.8447204973377.23528401305155.904401216265
Winsorized Mean ( 13 / 107 )526578.53105593363.40511791138156.56113747692
Winsorized Mean ( 14 / 107 )526573.8354037273360.29488893803156.704650278519
Winsorized Mean ( 15 / 107 )526600.2018633543351.85084771932157.107289610355
Winsorized Mean ( 16 / 107 )526638.2142857143346.46523732245157.371488103992
Winsorized Mean ( 17 / 107 )526646.9782608703342.13128159613157.578184065036
Winsorized Mean ( 18 / 107 )526738.0962732923331.22204997790158.121580720441
Winsorized Mean ( 19 / 107 )526662.6273291933320.97911026847158.586552291386
Winsorized Mean ( 20 / 107 )526728.2795031063302.70338249671159.483979788981
Winsorized Mean ( 21 / 107 )526677.8664596273296.87053089607159.750849032121
Winsorized Mean ( 22 / 107 )526525.1645962733283.91030954474160.334818848712
Winsorized Mean ( 23 / 107 )526489.6645962733274.98250197243160.761061861913
Winsorized Mean ( 24 / 107 )526508.2981366463266.53623965899161.182445106322
Winsorized Mean ( 25 / 107 )526736.7919254663233.63382236048162.893147728446
Winsorized Mean ( 26 / 107 )526742.6863354043225.09993012763163.326004696716
Winsorized Mean ( 27 / 107 )526714.009316773211.75018216674163.995945961598
Winsorized Mean ( 28 / 107 )526665.2267080753194.83380507512164.849021527018
Winsorized Mean ( 29 / 107 )526694.1366459633183.56055996944165.441846236158
Winsorized Mean ( 30 / 107 )526646.2484472053177.59116414195165.737573288292
Winsorized Mean ( 31 / 107 )526645.1894409943169.74671656345166.147404361686
Winsorized Mean ( 32 / 107 )527012.7919254663134.44883310075168.135713800796
Winsorized Mean ( 33 / 107 )527048.5590062113130.91210095135168.337066647787
Winsorized Mean ( 34 / 107 )527223.9440993793096.27042201385170.277098650985
Winsorized Mean ( 35 / 107 )527236.7701863353091.12586108296170.564640160469
Winsorized Mean ( 36 / 107 )527444.7204968943054.80561869902172.660648935667
Winsorized Mean ( 37 / 107 )527255.5838509323023.32182476178174.396116064315
Winsorized Mean ( 38 / 107 )527240.006211183017.61437213670174.720802989102
Winsorized Mean ( 39 / 107 )527081.0993788823003.93861348076175.463339035459
Winsorized Mean ( 40 / 107 )527041.7204968942988.24487398152176.371663877287
Winsorized Mean ( 41 / 107 )527101.4378881992980.9743661952176.821861960850
Winsorized Mean ( 42 / 107 )527255.481366462961.88126520806178.013712960037
Winsorized Mean ( 43 / 107 )527348.5590062112923.07876637351180.408603788827
Winsorized Mean ( 44 / 107 )527479.0559006212887.85488241331182.654280557138
Winsorized Mean ( 45 / 107 )527534.6770186342870.82001646628183.757488798612
Winsorized Mean ( 46 / 107 )527579.3913043482865.99359962658184.082543440812
Winsorized Mean ( 47 / 107 )527654.8540372672852.34733681783184.989691552059
Winsorized Mean ( 48 / 107 )527890.2329192552812.00553473027187.727309352501
Winsorized Mean ( 49 / 107 )527976.0590062112801.91908516259188.433728083755
Winsorized Mean ( 50 / 107 )527936.1521739132794.11653033524188.945645767527
Winsorized Mean ( 51 / 107 )528034.3509316772785.19574211427189.586082926739
Winsorized Mean ( 52 / 107 )528066.3260869572779.60982969067189.97857916833
Winsorized Mean ( 53 / 107 )528083.9378881992734.44207438802193.123102820303
Winsorized Mean ( 54 / 107 )528202.3354037272722.73765655294193.996778989146
Winsorized Mean ( 55 / 107 )528286.8850931682714.29797107319194.631131409752
Winsorized Mean ( 56 / 107 )528219.2329192552702.83841671569195.431302756571
Winsorized Mean ( 57 / 107 )528096.5590062112691.34420999551196.220370863336
Winsorized Mean ( 58 / 107 )528112.9503105592687.0239963749196.541955346526
Winsorized Mean ( 59 / 107 )528148.1304347832668.30046172871197.934279894630
Winsorized Mean ( 60 / 107 )528119.6211180122663.33657641971198.292482367346
Winsorized Mean ( 61 / 107 )528071.6925465842640.58674076171199.982710052636
Winsorized Mean ( 62 / 107 )528399.4068322982599.21395140972203.292001624458
Winsorized Mean ( 63 / 107 )528522.8633540372552.89250720141207.029031525275
Winsorized Mean ( 64 / 107 )528651.6583850932534.87053166786208.551739341598
Winsorized Mean ( 65 / 107 )529025.9130434782493.03422387099212.201624822481
Winsorized Mean ( 66 / 107 )528869.3167701862469.98072460416214.118803236791
Winsorized Mean ( 67 / 107 )528993.5372670812458.33661404124215.183524601813
Winsorized Mean ( 68 / 107 )528979.3881987582455.63786615227215.414249588688
Winsorized Mean ( 69 / 107 )528216.7453416152388.02931614636221.193576548723
Winsorized Mean ( 70 / 107 )528232.3975155282386.52041867302221.339986610817
Winsorized Mean ( 71 / 107 )528942.6180124222324.24255993007227.576341269793
Winsorized Mean ( 72 / 107 )529042.5683229812315.39989443005228.488638008342
Winsorized Mean ( 73 / 107 )529237.990683232298.55360560942230.248269777860
Winsorized Mean ( 74 / 107 )529200.0714285712292.99287343318230.790107357040
Winsorized Mean ( 75 / 107 )529042.6180124222278.48826607092232.190187630291
Winsorized Mean ( 76 / 107 )529196.0341614912245.27231403127235.693475065101
Winsorized Mean ( 77 / 107 )529196.512422362233.65462231582236.919578853107
Winsorized Mean ( 78 / 107 )528938.5310559012179.79252359708242.655447860262
Winsorized Mean ( 79 / 107 )529306.2981366462152.48339709869245.904938848817
Winsorized Mean ( 80 / 107 )529132.1366459632127.07571052086248.760368062495
Winsorized Mean ( 81 / 107 )529279.0434782612111.89080153843250.618565643972
Winsorized Mean ( 82 / 107 )529291.521739132094.07817489441252.756333590946
Winsorized Mean ( 83 / 107 )529712.7080745342059.24138563478257.236821175894
Winsorized Mean ( 84 / 107 )529874.7080745342034.35619792541260.463093245366
Winsorized Mean ( 85 / 107 )530689.0714285711976.61761591484268.483427019824
Winsorized Mean ( 86 / 107 )530673.5807453421972.00940533242269.102966400855
Winsorized Mean ( 87 / 107 )530904.3198757761950.59198243153272.175998187982
Winsorized Mean ( 88 / 107 )531018.009316771931.23344351952274.963138764328
Winsorized Mean ( 89 / 107 )530862.6739130431913.50458541526277.429527976719
Winsorized Mean ( 90 / 107 )530853.1708074531909.42756869592278.016919578682
Winsorized Mean ( 91 / 107 )530538.9099378881877.82599712495282.528259141247
Winsorized Mean ( 92 / 107 )530939.7670807451845.46156899006287.700256674164
Winsorized Mean ( 93 / 107 )530999.5527950311840.71983799985288.473857799036
Winsorized Mean ( 94 / 107 )530868.4782608701824.24569900353291.007115187855
Winsorized Mean ( 95 / 107 )530853.1366459631813.85478139035292.665731618854
Winsorized Mean ( 96 / 107 )531068.0931677021793.25434574096296.147668304279
Winsorized Mean ( 97 / 107 )531196.1211180121744.74941377429304.454104941588
Winsorized Mean ( 98 / 107 )531163.5559006211732.05336756399306.66696872491
Winsorized Mean ( 99 / 107 )531981.3819875781670.93410761566318.373644755321
Winsorized Mean ( 100 / 107 )531651.2577639751637.68755858278324.635340225736
Winsorized Mean ( 101 / 107 )531945.475155281614.30460861749329.519888821258
Winsorized Mean ( 102 / 107 )532215.996894411586.36786395741335.493430613707
Winsorized Mean ( 103 / 107 )531953.6987577641567.14734839838339.44076752031
Winsorized Mean ( 104 / 107 )531938.8416149071544.79206033498344.343329612634
Winsorized Mean ( 105 / 107 )531730.7981366461528.98086032358347.768119232123
Winsorized Mean ( 106 / 107 )531699.524844721514.00104173445351.18834808436
Winsorized Mean ( 107 / 107 )531784.5931677021497.21666506424355.182122652157
Trimmed Mean ( 1 / 107 )525776.1956521743481.52400537128151.018977562989
Trimmed Mean ( 2 / 107 )525935.1031253450.48033655915152.423735777456
Trimmed Mean ( 3 / 107 )526260.5696202533422.60699659472153.760151295153
Trimmed Mean ( 4 / 107 )526260.5696202533398.12831838105154.867774349079
Trimmed Mean ( 5 / 107 )526502.5480769233374.08201330215156.043198120619
Trimmed Mean ( 6 / 107 )526616.6387096773350.48399313920157.176288496836
Trimmed Mean ( 7 / 107 )526730.5454545453326.46604362975158.345384725404
Trimmed Mean ( 8 / 107 )526730.5454545453302.13003056455159.512357350898
Trimmed Mean ( 9 / 107 )526942.1546052633280.41731019103160.632658829184
Trimmed Mean ( 10 / 107 )527038.3807947023258.44664280822161.745284968204
Trimmed Mean ( 11 / 107 )527137.9266666673236.26570659851162.884625199924
Trimmed Mean ( 12 / 107 )527222.7181208053216.16624861616163.928938172166
Trimmed Mean ( 13 / 107 )527285.8918918923198.85052793576164.836051977756
Trimmed Mean ( 14 / 107 )527345.4863945583182.16377270687165.719153400448
Trimmed Mean ( 15 / 107 )527406.2671232883165.05642884127166.634080301808
Trimmed Mean ( 16 / 107 )527406.2671232883147.96225340419167.538942550201
Trimmed Mean ( 17 / 107 )527523.7743055563130.58756607445168.506314923826
Trimmed Mean ( 18 / 107 )527581.8426573433112.81107204337169.487267439915
Trimmed Mean ( 19 / 107 )527634.989436623095.10969238979170.473760827915
Trimmed Mean ( 20 / 107 )527693.4255319153077.38984367926171.474350776766
Trimmed Mean ( 21 / 107 )527748.9214285713060.20286001983172.455534998471
Trimmed Mean ( 22 / 107 )527807.9964028783042.65254848508173.469690670290
Trimmed Mean ( 23 / 107 )527876.0253623193025.17728814818174.494244496147
Trimmed Mean ( 24 / 107 )527946.8613138693007.49428310365175.543762220902
Trimmed Mean ( 25 / 107 )527946.8613138692989.54822412312176.597539739880
Trimmed Mean ( 26 / 107 )528078.929629632972.84834341418177.633995625608
Trimmed Mean ( 27 / 107 )528140.6791044782955.89313966086178.673806579176
Trimmed Mean ( 28 / 107 )528204.6428571432938.93873252390179.726319916690
Trimmed Mean ( 29 / 107 )528271.7007575762922.16864567745180.780702557674
Trimmed Mean ( 30 / 107 )528338.5572519082905.24998814539181.856487189655
Trimmed Mean ( 31 / 107 )528408.4192307692887.85400643942182.976153937321
Trimmed Mean ( 32 / 107 )528408.4192307692870.05694930100184.110778484539
Trimmed Mean ( 33 / 107 )528537.05468752853.36193657111185.233092203734
Trimmed Mean ( 34 / 107 )528594.2362204722836.04285951768186.384431549236
Trimmed Mean ( 35 / 107 )528645.7341269842819.72483972748187.481319694327
Trimmed Mean ( 36 / 107 )528697.5842802.86395448534188.627629662132
Trimmed Mean ( 37 / 107 )528742.770161292787.05136003934189.714038909505
Trimmed Mean ( 38 / 107 )528795.3821138212772.02152258728190.761643733656
Trimmed Mean ( 39 / 107 )528849.3975409842756.50108379479191.855320010588
Trimmed Mean ( 40 / 107 )528909.7272727272740.84361038368192.973333198930
Trimmed Mean ( 41 / 107 )528972.3833333332725.13970272173194.108354446938
Trimmed Mean ( 42 / 107 )529034.121848742708.97000431912195.289767330484
Trimmed Mean ( 43 / 107 )529091.9025423732692.89159023278196.477238245093
Trimmed Mean ( 44 / 107 )529147.6923076922677.84090104455197.602363942266
Trimmed Mean ( 45 / 107 )529147.6923076922663.6664306562198.653887820832
Trimmed Mean ( 46 / 107 )529252.1478260872649.51797714967199.754125992174
Trimmed Mean ( 47 / 107 )529303.5043859652634.80916092510200.888744519213
Trimmed Mean ( 48 / 107 )529353.4823008852619.92463833019202.049125595562
Trimmed Mean ( 49 / 107 )529397.3035714292606.10776563937203.137149795319
Trimmed Mean ( 50 / 107 )529397.3035714292591.96888185029204.245238929534
Trimmed Mean ( 51 / 107 )529483.3772727272577.36874498938205.435632096528
Trimmed Mean ( 52 / 107 )529525.3440366972562.33996283296206.656943152558
Trimmed Mean ( 53 / 107 )529567.1712962962546.69274583772207.943094887208
Trimmed Mean ( 54 / 107 )529609.2803738322532.22948873262209.147426301753
Trimmed Mean ( 55 / 107 )529648.8537735852517.44717611899210.391248244627
Trimmed Mean ( 56 / 107 )529686.8238095242502.16776060700211.691171211089
Trimmed Mean ( 57 / 107 )529727.3942307692486.48711263847213.042485335330
Trimmed Mean ( 58 / 107 )529772.1165048542470.37235911669214.450309302473
Trimmed Mean ( 59 / 107 )529817.2696078432453.46656269311215.946399133427
Trimmed Mean ( 60 / 107 )529862.3663366342436.4020577620217.477392390379
Trimmed Mean ( 61 / 107 )529909.132418.50156048239219.106383331960
Trimmed Mean ( 62 / 107 )529958.1161616162400.5590583241220.764456647693
Trimmed Mean ( 63 / 107 )529999.4183673472383.49013608722222.362748787123
Trimmed Mean ( 64 / 107 )529999.4183673472367.53761298906223.861034122373
Trimmed Mean ( 65 / 107 )530074.656252351.40293551375225.429103725341
Trimmed Mean ( 66 / 107 )5301022336.21670160514226.90617682674
Trimmed Mean ( 67 / 107 )530133.9893617022321.08736513821228.398981151722
Trimmed Mean ( 68 / 107 )530163.4569892472305.48578773984229.957373759822
Trimmed Mean ( 69 / 107 )530193.9293478262288.93487935374231.633470279208
Trimmed Mean ( 70 / 107 )530244.6263736262274.43338771628233.132625135281
Trimmed Mean ( 71 / 107 )530296.052258.96318717740234.751966304777
Trimmed Mean ( 72 / 107 )530330.5337078652245.47840849187236.177079994304
Trimmed Mean ( 73 / 107 )530363.2613636362231.42551583658237.679123770707
Trimmed Mean ( 74 / 107 )530391.7873563222217.16120956921239.221119811751
Trimmed Mean ( 75 / 107 )530421.9360465122202.09112927675240.871928048101
Trimmed Mean ( 76 / 107 )530456.7705882352186.59164089673242.59526134962
Trimmed Mean ( 77 / 107 )530488.5654761912171.59898140962244.28477357815
Trimmed Mean ( 78 / 107 )530521.1144578312156.02989041978246.063895874160
Trimmed Mean ( 79 / 107 )530560.9512195122141.96435053828247.698310705396
Trimmed Mean ( 80 / 107 )530592.5185185192128.19235552392249.316053194777
Trimmed Mean ( 81 / 107 )530592.5185185192114.57202873789250.921941323139
Trimmed Mean ( 82 / 107 )530663.2278481012100.6128962811252.623045772775
Trimmed Mean ( 83 / 107 )530697.7564102562086.40935940237254.359363381244
Trimmed Mean ( 84 / 107 )530722.5714285712072.87642343298256.031939689689
Trimmed Mean ( 85 / 107 )530743.9539473682059.49620012313257.705721387414
Trimmed Mean ( 86 / 107 )530745.342048.03335009877259.148778009110
Trimmed Mean ( 87 / 107 )530747.1554054052035.73837479737260.714815801532
Trimmed Mean ( 88 / 107 )530743.1712328772023.45432461741262.29560251291
Trimmed Mean ( 89 / 107 )530736.18752011.06237906224263.908366555732
Trimmed Mean ( 90 / 107 )530736.18751998.46406481603265.572044473493
Trimmed Mean ( 91 / 107 )530729.8928571431984.86403042891267.388538822207
Trimmed Mean ( 92 / 107 )530734.7898550731971.75889309333269.168198867584
Trimmed Mean ( 93 / 107 )530729.5147058821959.22259342491270.887808504758
Trimmed Mean ( 94 / 107 )530722.5373134331945.67125122655272.770920050788
Trimmed Mean ( 95 / 107 )530718.751931.72209924785274.738664638482
Trimmed Mean ( 96 / 107 )530715.2461538461916.96223838197276.852217288224
Trimmed Mean ( 97 / 107 )5307061901.94863126336279.032772639859
Trimmed Mean ( 98 / 107 )530693.0873015871888.4141242422281.025798572942
Trimmed Mean ( 99 / 107 )530680.6209677421874.19753330916283.150848048951
Trimmed Mean ( 100 / 107 )530680.6209677421862.2617191964284.965649831829
Trimmed Mean ( 101 / 107 )530618.9666666671851.09758900612286.650995505625
Trimmed Mean ( 102 / 107 )530583.1271186441840.02951593718288.355769580361
Trimmed Mean ( 103 / 107 )530538.6896551721829.34898446376290.015024011774
Trimmed Mean ( 104 / 107 )530499.8859649121818.60512418057291.707022547815
Trimmed Mean ( 105 / 107 )530460.1071428571807.95039724344293.404126546637
Trimmed Mean ( 106 / 107 )530424.6818181821796.96939228784295.177360334927
Trimmed Mean ( 107 / 107 )530388.8240740741785.53088995607297.04824881922
Median526794.5
Midrange500351
Midmean - Weighted Average at Xnp530320.757763975
Midmean - Weighted Average at X(n+1)p530592.518518519
Midmean - Empirical Distribution Function530592.518518519
Midmean - Empirical Distribution Function - Averaging530592.518518519
Midmean - Empirical Distribution Function - Interpolation530629.25625
Midmean - Closest Observation530592.518518519
Midmean - True Basic - Statistics Graphics Toolkit530592.518518519
Midmean - MS Excel (old versions)530592.518518519
Number of observations322
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229877437qu9hgvq9jab1gj6/1iuv61229877002.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229877437qu9hgvq9jab1gj6/1iuv61229877002.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229877437qu9hgvq9jab1gj6/2q59m1229877002.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229877437qu9hgvq9jab1gj6/2q59m1229877002.ps (open in new window)


 
Parameters (Session):
par1 = Exchange rate of Japanese Yen (JPY refered to 1 EUR) ; par2 = http://www.nbb.be/belgostat/PresentationLinker?TableId=451000038&Lang=N ; par3 = Exchange rate of Japanese Yen (JPY refered to 1 EUR) ;
 
Parameters (R input):
par1 = Exchange rate of Japanese Yen (JPY refered to 1 EUR) ; par2 = http://www.nbb.be/belgostat/PresentationLinker?TableId=451000038&Lang=N ; par3 = Exchange rate of Japanese Yen (JPY refered to 1 EUR) ;
 
R code (references can be found in the software module):
geomean <- function(x) {
return(exp(mean(log(x))))
}
harmean <- function(x) {
return(1/mean(1/x))
}
quamean <- function(x) {
return(sqrt(mean(x*x)))
}
winmean <- function(x) {
x <-sort(x[!is.na(x)])
n<-length(x)
denom <- 3
nodenom <- n/denom
if (nodenom>40) denom <- n/40
sqrtn = sqrt(n)
roundnodenom = floor(nodenom)
win <- array(NA,dim=c(roundnodenom,2))
for (j in 1:roundnodenom) {
win[j,1] <- (j*x[j+1]+sum(x[(j+1):(n-j)])+j*x[n-j])/n
win[j,2] <- sd(c(rep(x[j+1],j),x[(j+1):(n-j)],rep(x[n-j],j)))/sqrtn
}
return(win)
}
trimean <- function(x) {
x <-sort(x[!is.na(x)])
n<-length(x)
denom <- 3
nodenom <- n/denom
if (nodenom>40) denom <- n/40
sqrtn = sqrt(n)
roundnodenom = floor(nodenom)
tri <- array(NA,dim=c(roundnodenom,2))
for (j in 1:roundnodenom) {
tri[j,1] <- mean(x,trim=j/n)
tri[j,2] <- sd(x[(j+1):(n-j)]) / sqrt(n-j*2)
}
return(tri)
}
midrange <- function(x) {
return((max(x)+min(x))/2)
}
q1 <- function(data,n,p,i,f) {
np <- n*p;
i <<- floor(np)
f <<- np - i
qvalue <- (1-f)*data[i] + f*data[i+1]
}
q2 <- function(data,n,p,i,f) {
np <- (n+1)*p
i <<- floor(np)
f <<- np - i
qvalue <- (1-f)*data[i] + f*data[i+1]
}
q3 <- function(data,n,p,i,f) {
np <- n*p
i <<- floor(np)
f <<- np - i
if (f==0) {
qvalue <- data[i]
} else {
qvalue <- data[i+1]
}
}
q4 <- function(data,n,p,i,f) {
np <- n*p
i <<- floor(np)
f <<- np - i
if (f==0) {
qvalue <- (data[i]+data[i+1])/2
} else {
qvalue <- data[i+1]
}
}
q5 <- function(data,n,p,i,f) {
np <- (n-1)*p
i <<- floor(np)
f <<- np - i
if (f==0) {
qvalue <- data[i+1]
} else {
qvalue <- data[i+1] + f*(data[i+2]-data[i+1])
}
}
q6 <- function(data,n,p,i,f) {
np <- n*p+0.5
i <<- floor(np)
f <<- np - i
qvalue <- data[i]
}
q7 <- function(data,n,p,i,f) {
np <- (n+1)*p
i <<- floor(np)
f <<- np - i
if (f==0) {
qvalue <- data[i]
} else {
qvalue <- f*data[i] + (1-f)*data[i+1]
}
}
q8 <- function(data,n,p,i,f) {
np <- (n+1)*p
i <<- floor(np)
f <<- np - i
if (f==0) {
qvalue <- data[i]
} else {
if (f == 0.5) {
qvalue <- (data[i]+data[i+1])/2
} else {
if (f < 0.5) {
qvalue <- data[i]
} else {
qvalue <- data[i+1]
}
}
}
}
midmean <- function(x,def) {
x <-sort(x[!is.na(x)])
n<-length(x)
if (def==1) {
qvalue1 <- q1(x,n,0.25,i,f)
qvalue3 <- q1(x,n,0.75,i,f)
}
if (def==2) {
qvalue1 <- q2(x,n,0.25,i,f)
qvalue3 <- q2(x,n,0.75,i,f)
}
if (def==3) {
qvalue1 <- q3(x,n,0.25,i,f)
qvalue3 <- q3(x,n,0.75,i,f)
}
if (def==4) {
qvalue1 <- q4(x,n,0.25,i,f)
qvalue3 <- q4(x,n,0.75,i,f)
}
if (def==5) {
qvalue1 <- q5(x,n,0.25,i,f)
qvalue3 <- q5(x,n,0.75,i,f)
}
if (def==6) {
qvalue1 <- q6(x,n,0.25,i,f)
qvalue3 <- q6(x,n,0.75,i,f)
}
if (def==7) {
qvalue1 <- q7(x,n,0.25,i,f)
qvalue3 <- q7(x,n,0.75,i,f)
}
if (def==8) {
qvalue1 <- q8(x,n,0.25,i,f)
qvalue3 <- q8(x,n,0.75,i,f)
}
midm <- 0
myn <- 0
roundno4 <- round(n/4)
round3no4 <- round(3*n/4)
for (i in 1:n) {
if ((x[i]>=qvalue1) & (x[i]<=qvalue3)){
midm = midm + x[i]
myn = myn + 1
}
}
midm = midm / myn
return(midm)
}
(arm <- mean(x))
sqrtn <- sqrt(length(x))
(armse <- sd(x) / sqrtn)
(armose <- arm / armse)
(geo <- geomean(x))
(har <- harmean(x))
(qua <- quamean(x))
(win <- winmean(x))
(tri <- trimean(x))
(midr <- midrange(x))
midm <- array(NA,dim=8)
for (j in 1:8) midm[j] <- midmean(x,j)
midm
bitmap(file='test1.png')
lb <- win[,1] - 2*win[,2]
ub <- win[,1] + 2*win[,2]
if ((ylimmin == '') | (ylimmax == '')) plot(win[,1],type='b',main=main, xlab='j', pch=19, ylab='Winsorized Mean(j/n)', ylim=c(min(lb),max(ub))) else plot(win[,1],type='l',main=main, xlab='j', pch=19, ylab='Winsorized Mean(j/n)', ylim=c(ylimmin,ylimmax))
lines(ub,lty=3)
lines(lb,lty=3)
grid()
dev.off()
bitmap(file='test2.png')
lb <- tri[,1] - 2*tri[,2]
ub <- tri[,1] + 2*tri[,2]
if ((ylimmin == '') | (ylimmax == '')) plot(tri[,1],type='b',main=main, xlab='j', pch=19, ylab='Trimmed Mean(j/n)', ylim=c(min(lb),max(ub))) else plot(tri[,1],type='l',main=main, xlab='j', pch=19, ylab='Trimmed Mean(j/n)', ylim=c(ylimmin,ylimmax))
lines(ub,lty=3)
lines(lb,lty=3)
grid()
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Central Tendency - Ungrouped Data',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Measure',header=TRUE)
a<-table.element(a,'Value',header=TRUE)
a<-table.element(a,'S.E.',header=TRUE)
a<-table.element(a,'Value/S.E.',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/arithmetic_mean.htm', 'Arithmetic Mean', 'click to view the definition of the Arithmetic Mean'),header=TRUE)
a<-table.element(a,arm)
a<-table.element(a,hyperlink('http://www.xycoon.com/arithmetic_mean_standard_error.htm', armse, 'click to view the definition of the Standard Error of the Arithmetic Mean'))
a<-table.element(a,armose)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/geometric_mean.htm', 'Geometric Mean', 'click to view the definition of the Geometric Mean'),header=TRUE)
a<-table.element(a,geo)
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/harmonic_mean.htm', 'Harmonic Mean', 'click to view the definition of the Harmonic Mean'),header=TRUE)
a<-table.element(a,har)
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/quadratic_mean.htm', 'Quadratic Mean', 'click to view the definition of the Quadratic Mean'),header=TRUE)
a<-table.element(a,qua)
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
for (j in 1:length(win[,1])) {
a<-table.row.start(a)
mylabel <- paste('Winsorized Mean (',j)
mylabel <- paste(mylabel,'/')
mylabel <- paste(mylabel,length(win[,1]))
mylabel <- paste(mylabel,')')
a<-table.element(a,hyperlink('http://www.xycoon.com/winsorized_mean.htm', mylabel, 'click to view the definition of the Winsorized Mean'),header=TRUE)
a<-table.element(a,win[j,1])
a<-table.element(a,win[j,2])
a<-table.element(a,win[j,1]/win[j,2])
a<-table.row.end(a)
}
for (j in 1:length(tri[,1])) {
a<-table.row.start(a)
mylabel <- paste('Trimmed Mean (',j)
mylabel <- paste(mylabel,'/')
mylabel <- paste(mylabel,length(tri[,1]))
mylabel <- paste(mylabel,')')
a<-table.element(a,hyperlink('http://www.xycoon.com/arithmetic_mean.htm', mylabel, 'click to view the definition of the Trimmed Mean'),header=TRUE)
a<-table.element(a,tri[j,1])
a<-table.element(a,tri[j,2])
a<-table.element(a,tri[j,1]/tri[j,2])
a<-table.row.end(a)
}
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/median_1.htm', 'Median', 'click to view the definition of the Median'),header=TRUE)
a<-table.element(a,median(x))
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/midrange.htm', 'Midrange', 'click to view the definition of the Midrange'),header=TRUE)
a<-table.element(a,midr)
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('http://www.xycoon.com/midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('http://www.xycoon.com/method_1.htm','Weighted Average at Xnp',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[1])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('http://www.xycoon.com/midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('http://www.xycoon.com/method_2.htm','Weighted Average at X(n+1)p',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[2])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('http://www.xycoon.com/midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('http://www.xycoon.com/method_3.htm','Empirical Distribution Function',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[3])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('http://www.xycoon.com/midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('http://www.xycoon.com/method_4.htm','Empirical Distribution Function - Averaging',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[4])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('http://www.xycoon.com/midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('http://www.xycoon.com/method_5.htm','Empirical Distribution Function - Interpolation',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[5])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('http://www.xycoon.com/midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('http://www.xycoon.com/method_6.htm','Closest Observation',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[6])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('http://www.xycoon.com/midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('http://www.xycoon.com/method_7.htm','True Basic - Statistics Graphics Toolkit',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[7])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('http://www.xycoon.com/midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('http://www.xycoon.com/method_8.htm','MS Excel (old versions)',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[8])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Number of observations',header=TRUE)
a<-table.element(a,length(x))
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.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