Home » date » 2008 » Oct » 23 »

mean of the error

*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: Thu, 23 Oct 2008 08:45:08 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Oct/23/t1224773302bczag8lj95cny6u.htm/, Retrieved Thu, 23 Oct 2008 14:48:25 +0000
 
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/Oct/23/t1224773302bczag8lj95cny6u.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},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
distribution Q6
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0.025749385 0.02374787 0.021734644 0.019846432 0.018140909 0.016621471 0.015270188 0.014070406 0.013016966 0.012114996 0.011375257 0.010806475 0.01041044 0.010179372 0.01009575 0.010135252 0.010270244 0.010473029 0.010718977 0.010986893 0.011260233 0.011526183 0.011775741 0.012002907 0.012204698 0.012380026 0.012529858 0.012656553 0.012763782 0.012855895 0.012937608 0.013013837 0.013089429 0.013168544 0.013254564 0.013349985 0.013456339 0.013573675 0.013700963 0.013836316 0.013976347 0.014117471 0.014255109 0.014384556 0.014500777 0.014598919 0.01467451 0.014723505 0.014742413 0.014728713 0.014680949 0.01459833 0.014481446 0.014331633 0.014151607 0.01394507 0.013716369 0.013470887 0.013214505 0.012953678 0.012695236 0.012445944 0.012212696 0.012001897 0.011819503 0.011670936 0.011560378 0.011491247 0.011465717 0.01148472 0.011547978 0.011654156 0.011800748 0.011984507 0.012201422 0.012446842 0.012715908 0.013003495 0.01330457 0.013613992 0.013926996 0.014239117 0.014546304 0.014844989 0.015132148 0.015405269 0.015662525 0.015902616 0.01612482 0.016328967 0.016515394 0.016684831 0.016838382 0.016977485 0.017103717 0.017218825 0.017324554 0.017422675 0.017514828 0.017602504 0.017687027 0.017769428 0.017850499 0.01793075 0.018010355 0.018089198 0.018166812 0.018242448 0.018314982 0.018383012 0.018444798 0.018498321 0.018541308 0.018571245 0.018585367 0.018580929 0.018555004 0.018504726 0.018427342 0.018320256 0.018181244 0.018008336 0.017800172 0.017555895 0.017275153 0.01695839 0.016606633 0.016221732 0.015806088 0.01536282 0.014895774 0.014409298 0.013908231 0.013398015 0.012884423 0.012373828 0.011872755 0.011388287 0.01092791 0.010499544 0.010111815 0.009773851 0.009495565 0.009287581 0.009160983 0.009127086 0.009196839 0.009380001 0.009684446 0.010115235 0.010674166 0.01135928 0.012164855 0.013081277 0.014095168 0.015189115 0.016342299 0.017530232 0.018725319 0.019897617 0.021015315 0.022046049 0.022957976 0.023721479 0.024310322 0.024703403 0.024886415 0.024852666 0.024604672 0.024154591 0.023524617 0.022746938 0.02186292 0.020922174 0.019980527 0.019097146 0.018329924 0.017729391 0.017330373 0.017144205 0.017153293 0.01731132 0.017549121 0.017785239 0.017938518 0.017941391 0.017753954 0.017378803 0.016876717 0.016383702 0.016120959 0.016377277 0.017432385 0.019434723 0.022319625 0.025817482 0.029505023
 
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 Mean0.01550756052791880.00028089381708603555.2079098386454
Geometric Mean0.0150358592477163
Harmonic Mean0.0145889615570400
Quadratic Mean0.0159984091545562
Winsorized Mean ( 1 / 65 )0.01548901411167510.00027670741521687655.9761439697424
Winsorized Mean ( 2 / 65 )0.01548868679187820.00027653378160535156.0101073437114
Winsorized Mean ( 3 / 65 )0.01547692697461930.00027397821594601656.4896260864361
Winsorized Mean ( 4 / 65 )0.01547811826395940.00027364346651927056.5630835657807
Winsorized Mean ( 5 / 65 )0.01547726295939090.00027265445200743056.7651210000015
Winsorized Mean ( 6 / 65 )0.01548000864467010.00027150182685368857.0162227785386
Winsorized Mean ( 7 / 65 )0.01547272633502540.00026938525873701757.4371678968906
Winsorized Mean ( 8 / 65 )0.01547947427411170.00026695357590765357.9856412167577
Winsorized Mean ( 9 / 65 )0.01546162704568530.00026384853807320758.6003892937823
Winsorized Mean ( 10 / 65 )0.01546046100507610.00026361615815315858.6476227913685
Winsorized Mean ( 11 / 65 )0.01545058641116750.00026175669177851759.0265192694323
Winsorized Mean ( 12 / 65 )0.01541875772081220.00025616849986151160.1899051957904
Winsorized Mean ( 13 / 65 )0.01541082798477160.00025347147700640360.7990617594511
Winsorized Mean ( 14 / 65 )0.01539042373096450.00024803856208419262.0485121411907
Winsorized Mean ( 15 / 65 )0.01537435873096450.00024461680380333662.8507874026715
Winsorized Mean ( 16 / 65 )0.01536163881218270.00024234372098465363.3878144222913
Winsorized Mean ( 17 / 65 )0.01536563821319800.00023930964112046264.2081871054385
Winsorized Mean ( 18 / 65 )0.01530400712690360.00023027022854424666.4610758570682
Winsorized Mean ( 19 / 65 )0.01530346287817260.00022828505235631967.036640026199
Winsorized Mean ( 20 / 65 )0.01522019262436550.00021563593467759670.5828212126226
Winsorized Mean ( 21 / 65 )0.01521764203045690.00021400877862019471.1075598326922
Winsorized Mean ( 22 / 65 )0.01524245121827410.00021035661385348372.4600521897103
Winsorized Mean ( 23 / 65 )0.01520594753299490.00020401430871748774.5337306416664
Winsorized Mean ( 24 / 65 )0.01516676783756350.00019958449979051675.9917120491947
Winsorized Mean ( 25 / 65 )0.01512123522335030.00019482454356311377.614631846689
Winsorized Mean ( 26 / 65 )0.01511298358883250.00019210655756867278.669795451569
Winsorized Mean ( 27 / 65 )0.01511497980710660.00019179857356189078.806528778637
Winsorized Mean ( 28 / 65 )0.01511453109644670.00019158221869045378.8931833014622
Winsorized Mean ( 29 / 65 )0.01511728315228430.00019086736051270279.2030817195601
Winsorized Mean ( 30 / 65 )0.01511851650253810.00019035774405969079.4215994585299
Winsorized Mean ( 31 / 65 )0.01511471121319800.00018964452518995579.7002243964516
Winsorized Mean ( 32 / 65 )0.01512890378172590.00018810335083299580.4286777174847
Winsorized Mean ( 33 / 65 )0.01512274886294420.00018702257308273180.860553962406
Winsorized Mean ( 34 / 65 )0.01513782432487310.00018505941033186281.7998084924556
Winsorized Mean ( 35 / 65 )0.01513439130456850.00018393609210272182.2807048445748
Winsorized Mean ( 36 / 65 )0.01512811725380710.00018274863210235682.7810149918603
Winsorized Mean ( 37 / 65 )0.01513630308121830.00018166599273925183.3194086190018
Winsorized Mean ( 38 / 65 )0.01515684198477160.00017961567789840884.3848497086342
Winsorized Mean ( 39 / 65 )0.01514592515228430.00017802418899057185.0779056383537
Winsorized Mean ( 40 / 65 )0.01513370302030460.00017690813292549685.5455471155647
Winsorized Mean ( 41 / 65 )0.01515402757360410.00017455450435110286.8154484465377
Winsorized Mean ( 42 / 65 )0.01515913494416240.0001731275928128787.560478938488
Winsorized Mean ( 43 / 65 )0.01515582940101520.00017143593095775888.4052095517224
Winsorized Mean ( 44 / 65 )0.01513895149238580.00016984335709770889.1347872008715
Winsorized Mean ( 45 / 65 )0.01514031725380710.00016964262809198789.2483064197605
Winsorized Mean ( 46 / 65 )0.01516231015736040.00016501806377575891.8827297474798
Winsorized Mean ( 47 / 65 )0.01516310343147210.00016483173935018891.9914058496816
Winsorized Mean ( 48 / 65 )0.01517727195939090.00016329186458345792.94567122561
Winsorized Mean ( 49 / 65 )0.01515753441116750.00016156533713587093.816747328795
Winsorized Mean ( 50 / 65 )0.01516583111167510.00015868651144680595.5710159193903
Winsorized Mean ( 51 / 65 )0.01519476442131980.00015560363586769497.6504458690124
Winsorized Mean ( 52 / 65 )0.01520080170050760.00015440168127726298.4497161867768
Winsorized Mean ( 53 / 65 )0.01520220014720810.00015358866449707198.9799618154636
Winsorized Mean ( 54 / 65 )0.0152085899644670.000151937725099640100.097523208889
Winsorized Mean ( 55 / 65 )0.01522247927918780.000148838635962896102.275052312241
Winsorized Mean ( 56 / 65 )0.01520656191878170.000146161268421001104.039613798239
Winsorized Mean ( 57 / 65 )0.01520846461928930.000143791991778744105.767118398992
Winsorized Mean ( 58 / 65 )0.01521120151269040.000143245071504514106.190051447676
Winsorized Mean ( 59 / 65 )0.01522046421319800.000141578247331127107.505669127263
Winsorized Mean ( 60 / 65 )0.01521892248730960.000140936477383471107.984269011498
Winsorized Mean ( 61 / 65 )0.01519436332994920.000138747631394654109.510794362538
Winsorized Mean ( 62 / 65 )0.01521154740101520.000136882078232701111.128846065264
Winsorized Mean ( 63 / 65 )0.01520012425380710.000135521444941089112.160287697749
Winsorized Mean ( 64 / 65 )0.01521009298477160.000132198591954180115.054878875287
Winsorized Mean ( 65 / 65 )0.01522333780710660.000130850032734131116.341872363443
Trimmed Mean ( 1 / 65 )0.01550756052791880.0002725236453157256.9035413787791
Trimmed Mean ( 2 / 65 )0.01546849905128210.00026805640738520257.7061343251292
Trimmed Mean ( 3 / 65 )0.01542634882722510.00026337705408872458.5713470013544
Trimmed Mean ( 4 / 65 )0.01542634882722510.0002593576772631759.4790522108665
Trimmed Mean ( 5 / 65 )0.0153905131711230.00025515863016337260.3174314004932
Trimmed Mean ( 6 / 65 )0.01537203781081080.00025090733460087661.2657969336109
Trimmed Mean ( 7 / 65 )0.01535266599453550.00024659525960727862.2585609268638
Trimmed Mean ( 8 / 65 )0.01535266599453550.00024237203196086663.3433893767677
Trimmed Mean ( 9 / 65 )0.01531398526815640.0002382491836239964.2771783525827
Trimmed Mean ( 10 / 65 )0.01529572699435030.00023431266276160165.2791309444199
Trimmed Mean ( 11 / 65 )0.01527718265142860.00023011593671834066.3890683509145
Trimmed Mean ( 12 / 65 )0.01525923176300580.00022585842907373167.5610462075092
Trimmed Mean ( 13 / 65 )0.01524391664912280.00022200870339682968.6635992908579
Trimmed Mean ( 14 / 65 )0.01522895008875740.00021819590698332169.7948476637625
Trimmed Mean ( 15 / 65 )0.01521534431137720.00021472731563374870.8589136248016
Trimmed Mean ( 16 / 65 )0.01521534431137720.00021137518919534371.9826407692338
Trimmed Mean ( 17 / 65 )0.01519068072392640.00020800869688588673.0290653773
Trimmed Mean ( 18 / 65 )0.01517808787577640.00020468852534449374.1521189340316
Trimmed Mean ( 19 / 65 )0.01516942047798740.00020202265110114875.0877210812983
Trimmed Mean ( 20 / 65 )0.01516056819745220.00019933400300745376.0561066788258
Trimmed Mean ( 21 / 65 )0.01515677916129030.00019759939675691776.7045821497923
Trimmed Mean ( 22 / 65 )0.01515304745098040.00019586266889643377.3656743082213
Trimmed Mean ( 23 / 65 )0.01514774566225170.00019428533993965477.966488191835
Trimmed Mean ( 24 / 65 )0.01514439994630870.00019309602862804478.42937037033
Trimmed Mean ( 25 / 65 )0.01514315094557820.00019214876605193778.8095144024247
Trimmed Mean ( 26 / 65 )0.01514434195172410.0001914692321215479.0954336836265
Trimmed Mean ( 27 / 65 )0.01514600348951050.00019091154617548879.3351884311289
Trimmed Mean ( 28 / 65 )0.01514760886524820.00019030359478982879.5970716264046
Trimmed Mean ( 29 / 65 )0.01514928315107910.00018963366345028779.8870985005812
Trimmed Mean ( 30 / 65 )0.01515086986131390.00018893221493160580.1920935865736
Trimmed Mean ( 31 / 65 )0.01515244359259260.00018818032933429480.5208687124516
Trimmed Mean ( 32 / 65 )0.01515244359259260.00018738693023944580.8617952875937
Trimmed Mean ( 33 / 65 )0.01515543743511450.00018660758281852881.2155497981711
Trimmed Mean ( 34 / 65 )0.01515695015503880.00018580685189850581.5736879462231
Trimmed Mean ( 35 / 65 )0.01515782273228350.00018504505271187781.9142285089074
Trimmed Mean ( 36 / 65 )0.0151588778160.00018426196151524282.268080136258
Trimmed Mean ( 37 / 65 )0.01516024634146340.00018345828991222182.6359296639967
Trimmed Mean ( 38 / 65 )0.01516129990909090.00018262372858815683.0193317500481
Trimmed Mean ( 39 / 65 )0.01516149411764710.00018182339768400183.385825536034
Trimmed Mean ( 40 / 65 )0.01516216628205130.00018102387456798583.7578265200428
Trimmed Mean ( 41 / 65 )0.01516338525217390.00018018840818860684.1529452677233
Trimmed Mean ( 42 / 65 )0.01516378315044250.00017940333611498284.5234178963307
Trimmed Mean ( 43 / 65 )0.01516397956756760.00017860217021294384.9036691406822
Trimmed Mean ( 44 / 65 )0.01516432212844040.00017780084597422685.2882450887695
Trimmed Mean ( 45 / 65 )0.01516538372897200.00017698928433148085.6853214942042
Trimmed Mean ( 46 / 65 )0.01516642882857140.0001760602726361886.1433905643899
Trimmed Mean ( 47 / 65 )0.01516660007766990.00017533807885864986.4991801917518
Trimmed Mean ( 48 / 65 )0.01516674518811880.00017449845367793186.91621540734
Trimmed Mean ( 49 / 65 )0.01516630878787880.00017363288594038987.3469832960421
Trimmed Mean ( 50 / 65 )0.01516667246391750.00017275162940396487.794670975008
Trimmed Mean ( 51 / 65 )0.01516670735789470.00017194333354554488.2075916823922
Trimmed Mean ( 52 / 65 )0.01516554201075270.00017122791852393088.5693299403931
Trimmed Mean ( 53 / 65 )0.01516554201075270.00017045888457116488.9689149902967
Trimmed Mean ( 54 / 65 )0.01516248180898880.00016959563825225689.403725032339
Trimmed Mean ( 55 / 65 )0.01516054836781610.00016869635731817389.868854365493
Trimmed Mean ( 56 / 65 )0.01515793865882350.00016787980255309490.2904246270464
Trimmed Mean ( 57 / 65 )0.01515793865882350.00016712024727948790.7007912301247
Trimmed Mean ( 58 / 65 )0.01515363402469140.00016639086798341891.0725102185386
Trimmed Mean ( 59 / 65 )0.01515115894936710.00016552323744507391.534936020055
Trimmed Mean ( 60 / 65 )0.01514815363636360.00016460197386708592.0289913934791
Trimmed Mean ( 61 / 65 )0.01514505553333330.00016351752807891992.6203796697796
Trimmed Mean ( 62 / 65 )0.01514287416438360.00016240839329113693.23948016183
Trimmed Mean ( 63 / 65 )0.01513980087323940.00016122423129803493.9052445860481
Trimmed Mean ( 64 / 65 )0.01513980087323940.00015990246067234894.6814752542304
Trimmed Mean ( 65 / 65 )0.01513371213432840.00015863675163819995.3985251087567
Median0.014728713
Midrange0.0193160545
Midmean - Weighted Average at Xnp0.0151389190918367
Midmean - Weighted Average at X(n+1)p0.0151663087878788
Midmean - Empirical Distribution Function0.0151663087878788
Midmean - Empirical Distribution Function - Averaging0.0151663087878788
Midmean - Empirical Distribution Function - Interpolation0.0151663087878788
Midmean - Closest Observation0.01513910514
Midmean - True Basic - Statistics Graphics Toolkit0.0151663087878788
Midmean - MS Excel (old versions)0.0151663087878788
Number of observations197
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Oct/23/t1224773302bczag8lj95cny6u/1hf4b1224773103.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Oct/23/t1224773302bczag8lj95cny6u/1hf4b1224773103.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Oct/23/t1224773302bczag8lj95cny6u/2qstx1224773103.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Oct/23/t1224773302bczag8lj95cny6u/2qstx1224773103.ps (open in new window)


 
Parameters (Session):
 
Parameters (R input):
 
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