Home » date » 2009 » Oct » 20 »

*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: Tue, 20 Oct 2009 01:38:50 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Oct/20/t1256024401co9qt4fgnm3y6m6.htm/, Retrieved Tue, 20 Oct 2009 09:40:02 +0200
 
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/2009/Oct/20/t1256024401co9qt4fgnm3y6m6.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
3.88 3.98 3.29 2.88 3.22 3.62 3.82 3.54 2.53 2.22 2.85 2.78 2.28 2.26 2.71 2.77 2.77 2.64 2.56 2.07 2.32 2.16 2.23 2.4 2.84 2.77 2.93 2.91 2.69 2.38 2.58 3.19 2.82 2.72 2.53 2.7 2.42 2.5 2.31 2.41 2.56 2.76 2.71 2.44 2.46 2.12 1.99 1.86 1.88 1.82 1.74 1.71 1.38 1.27 1.19 1.28 1.19 1.22 1.47 1.46 1.96 1.88 2.03 2.04 1.9 1.8 1.92 1.92 1.97 2.46 2.36 2.53 2.31 1.98 1.46 1.26 1.58 1.74 1.89 1.85 1.62 1.3 1.42 1.15 0.42 0.74 1.02 1.51 1.86 1.59 1.03 0.44 0.82 0.86 0.58 0.59 0.95 0.98 1.23 1.17 0.84 0.74 0.65 0.91 1.19 1.3 1.53 1.94 1.79 1.95 2.26 2.04 2.16 2.75 2.79 2.88 3.36 2.97 3.1 2.49 2.2 2.25 2.09 2.79 3.14 2.93 2.65 2.67 2.26 2.35 2.13 2.18 2.9 2.63 2.67 1.81 1.33 0.88 1.28 1.26 1.26 1.29 1.1 1.37 1.21 1.74 1.76 1.48 1.04 1.62 1.49 1.79 1.8 1.58 1.86 1.74 1.59 1.26 1.13 1.92 2.61 2.26 2.41 2.26 2.03 2.86 2.55 2.27 2.26 2.57 3.07 2.76 2.51 etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean2.109955357142860.068215344248451430.9308027451721
Geometric MeanNaN
Harmonic Mean1.86850864882622
Quadratic Mean2.34299059125603
Winsorized Mean ( 1 / 74 )2.112053571428570.067494758521485331.2921124202
Winsorized Mean ( 2 / 74 )2.1118750.066193311915635931.9046583239649
Winsorized Mean ( 3 / 74 )2.116428571428570.064971403625752132.5747706424754
Winsorized Mean ( 4 / 74 )2.127321428571430.062164022136321734.2211033884897
Winsorized Mean ( 5 / 74 )2.116830357142860.059822375069601235.3852610278345
Winsorized Mean ( 6 / 74 )2.111741071428570.057717158967369136.5877515319571
Winsorized Mean ( 7 / 74 )2.104553571428570.056405544312193737.3111118258212
Winsorized Mean ( 8 / 74 )2.098839285714290.055406254368870437.8809091071405
Winsorized Mean ( 9 / 74 )2.0956250.054709154791069838.3048323082862
Winsorized Mean ( 10 / 74 )2.094285714285710.054160813992287238.6679143076386
Winsorized Mean ( 11 / 74 )2.089866071428570.052422973600106839.8654621801979
Winsorized Mean ( 12 / 74 )2.088794642857140.05228157916561739.9527840626291
Winsorized Mean ( 13 / 74 )2.088794642857140.051154389760797240.8331455545564
Winsorized Mean ( 14 / 74 )2.085044642857140.050391603787281841.376826418519
Winsorized Mean ( 15 / 74 )2.07968750.049444681695669442.0608936831754
Winsorized Mean ( 16 / 74 )2.076116071428570.048717315827432842.6155677127743
Winsorized Mean ( 17 / 74 )2.073080357142860.047885789310991343.2921830666582
Winsorized Mean ( 18 / 74 )2.073883928571430.047282349935612143.8616932406192
Winsorized Mean ( 19 / 74 )2.073883928571430.046745953797858044.3649933326734
Winsorized Mean ( 20 / 74 )2.075669642857140.046190239095848544.9374084977122
Winsorized Mean ( 21 / 74 )2.076607142857140.046094469741027645.0511125200949
Winsorized Mean ( 22 / 74 )2.077589285714290.045994791708577845.1700987989652
Winsorized Mean ( 23 / 74 )2.080669642857140.045065170874105246.1702375137938
Winsorized Mean ( 24 / 74 )2.081741071428570.044747812143912246.5216280235901
Winsorized Mean ( 25 / 74 )2.081741071428570.044526932989976946.7524020101986
Winsorized Mean ( 26 / 74 )2.081741071428570.044071044761268747.236027253388
Winsorized Mean ( 27 / 74 )2.072098214285710.042667106058972248.564301769653
Winsorized Mean ( 28 / 74 )2.070848214285710.042080621720230149.2114453073815
Winsorized Mean ( 29 / 74 )2.069553571428570.041961141727332949.32071641131
Winsorized Mean ( 30 / 74 )2.069553571428570.041961141727332949.32071641131
Winsorized Mean ( 31 / 74 )2.069553571428570.041449251210990249.9298180537417
Winsorized Mean ( 32 / 74 )2.0681250.041319817088085350.0516494444103
Winsorized Mean ( 33 / 74 )2.0681250.041050334648767350.3802226631081
Winsorized Mean ( 34 / 74 )2.066607142857140.040914538590344250.510337255639
Winsorized Mean ( 35 / 74 )2.068169642857140.040770022050294450.7277047901967
Winsorized Mean ( 36 / 74 )2.071383928571430.040186113850924251.5447683310585
Winsorized Mean ( 37 / 74 )2.069732142857140.040039414419921751.6923679539964
Winsorized Mean ( 38 / 74 )2.068035714285710.039889776394159751.8437529920197
Winsorized Mean ( 39 / 74 )2.066294642857140.039737241694836451.9989449374803
Winsorized Mean ( 40 / 74 )2.064508928571430.039264984261710452.5788808372108
Winsorized Mean ( 41 / 74 )2.060848214285710.038629669142645653.3488445545764
Winsorized Mean ( 42 / 74 )2.060848214285710.038629669142645653.3488445545764
Winsorized Mean ( 43 / 74 )2.058928571428570.038467745370366953.5235052536934
Winsorized Mean ( 44 / 74 )2.058928571428570.03812503422487854.0046353606955
Winsorized Mean ( 45 / 74 )2.058928571428570.03812503422487854.0046353606955
Winsorized Mean ( 46 / 74 )2.060982142857140.037939814587331854.322409460201
Winsorized Mean ( 47 / 74 )2.058883928571430.037764553945680154.5189526541977
Winsorized Mean ( 48 / 74 )2.06531250.03718988204247655.5342578833976
Winsorized Mean ( 49 / 74 )2.0718750.036238500931906757.1733086833013
Winsorized Mean ( 50 / 74 )2.065178571428570.035681958062707257.8773891219546
Winsorized Mean ( 51 / 74 )2.065178571428570.035296456811013458.5095150622650
Winsorized Mean ( 52 / 74 )2.074464285714290.03449720523706460.1342709201692
Winsorized Mean ( 53 / 74 )2.08156250.033505175053790962.1265967617885
Winsorized Mean ( 54 / 74 )2.079151785714290.033306271364255462.4252340640464
Winsorized Mean ( 55 / 74 )2.076696428571430.032700055489658263.5074282741879
Winsorized Mean ( 56 / 74 )2.079196428571430.032492686112533663.9896751339807
Winsorized Mean ( 57 / 74 )2.076651785714290.031869653663278965.160789246576
Winsorized Mean ( 58 / 74 )2.07406250.031661434128204265.5075348640766
Winsorized Mean ( 59 / 74 )2.076696428571430.031016812668361666.953895320448
Winsorized Mean ( 60 / 74 )2.076696428571430.031016812668361666.953895320448
Winsorized Mean ( 61 / 74 )2.082142857142860.030573137828129868.1036689412729
Winsorized Mean ( 62 / 74 )2.090446428571430.029021986351850472.0297502461662
Winsorized Mean ( 63 / 74 )2.082008928571430.028350935507761673.4370450668706
Winsorized Mean ( 64 / 74 )2.082008928571430.027899949651312674.6241106020589
Winsorized Mean ( 65 / 74 )2.082008928571430.027899949651312674.6241106020589
Winsorized Mean ( 66 / 74 )2.082008928571430.027436737838940975.883982301148
Winsorized Mean ( 67 / 74 )2.087991071428570.02696831693221377.4238554329105
Winsorized Mean ( 68 / 74 )2.084955357142860.026730767734154977.9983342745082
Winsorized Mean ( 69 / 74 )2.0818750.026012339882315680.0341303173328
Winsorized Mean ( 70 / 74 )2.0850.025769623795665880.9092137523045
Winsorized Mean ( 71 / 74 )2.091339285714290.025281644712769882.721646849896
Winsorized Mean ( 72 / 74 )2.094553571428570.024049830887845487.0922369972732
Winsorized Mean ( 73 / 74 )2.09781250.023308498818510190.00204244531
Winsorized Mean ( 74 / 74 )2.104419642857140.022320052608135294.2838119516855
Trimmed Mean ( 1 / 74 )2.109909909909910.064425539663894432.7495884538528
Trimmed Mean ( 2 / 74 )2.107727272727270.06107482424048334.5105745114888
Trimmed Mean ( 3 / 74 )2.105596330275230.058182453653133836.1895416585240
Trimmed Mean ( 4 / 74 )2.101851851851850.055533831526357337.8481331844405
Trimmed Mean ( 5 / 74 )2.095186915887850.053552352624097939.1240872384203
Trimmed Mean ( 6 / 74 )2.090613207547170.052028686973178340.1819328753177
Trimmed Mean ( 7 / 74 )2.086857142857140.050856578368229841.0341633239095
Trimmed Mean ( 8 / 74 )2.084134615384620.049855337976939841.8036402912084
Trimmed Mean ( 9 / 74 )2.082135922330100.048957945436500542.5290706904903
Trimmed Mean ( 10 / 74 )2.080490196078430.04810962134040443.2447842679479
Trimmed Mean ( 11 / 74 )2.078960396039600.047283968199240443.9675533846798
Trimmed Mean ( 12 / 74 )2.077850.046632039662828144.5584198122974
Trimmed Mean ( 13 / 74 )2.076818181818180.045955949855738445.1914972563417
Trimmed Mean ( 14 / 74 )2.075765306122450.045365538204916145.7564351324615
Trimmed Mean ( 15 / 74 )2.0750.044819984291989646.2963125217082
Trimmed Mean ( 16 / 74 )2.074635416666670.044336530371353446.7929131867099
Trimmed Mean ( 17 / 74 )2.074526315789470.043892639889756247.2636487802966
Trimmed Mean ( 18 / 74 )2.074627659574470.043496970028304947.6959121112216
Trimmed Mean ( 19 / 74 )2.074677419354840.043128805766110148.1042167178459
Trimmed Mean ( 20 / 74 )2.074728260869570.042781910048812348.4954565727054
Trimmed Mean ( 21 / 74 )2.074670329670330.042457423565867848.8647250686731
Trimmed Mean ( 22 / 74 )2.074555555555560.042118063068439149.2557208099656
Trimmed Mean ( 23 / 74 )2.074382022471910.041762790926562249.6705793949357
Trimmed Mean ( 24 / 74 )2.074034090909090.041454338749413550.0317735966404
Trimmed Mean ( 25 / 74 )2.073620689655170.041147345945001550.3950046359448
Trimmed Mean ( 26 / 74 )2.073197674418600.040834131116974450.7711959997305
Trimmed Mean ( 27 / 74 )2.072764705882350.040530935355452451.1403126452525
Trimmed Mean ( 28 / 74 )2.072797619047620.04030482702856351.4280241812893
Trimmed Mean ( 29 / 74 )2.072891566265060.040100736627457651.6921069436345
Trimmed Mean ( 30 / 74 )2.073048780487810.039887464963392951.9724375161561
Trimmed Mean ( 31 / 74 )2.073209876543210.039656106865842752.2797127705176
Trimmed Mean ( 32 / 74 )2.0733750.039439557240345252.5709502103389
Trimmed Mean ( 33 / 74 )2.073607594936710.039212725183157752.8809865994048
Trimmed Mean ( 34 / 74 )2.073846153846150.038983937811180953.1974518297985
Trimmed Mean ( 35 / 74 )2.074155844155840.038743824795116753.5351337954964
Trimmed Mean ( 36 / 74 )2.074407894736840.038492046223244053.8918581440387
Trimmed Mean ( 37 / 74 )2.074533333333330.038256357301429654.2271528098628
Trimmed Mean ( 38 / 74 )2.074729729729730.038008602333078354.5857938039496
Trimmed Mean ( 39 / 74 )2.0750.037747795688723154.9700972504705
Trimmed Mean ( 40 / 74 )2.075347222222220.037472848652263355.3826916517828
Trimmed Mean ( 41 / 74 )2.075774647887320.037203504252087955.7951378402971
Trimmed Mean ( 42 / 74 )2.076357142857140.036950177660321956.1934278623724
Trimmed Mean ( 43 / 74 )2.076956521739130.036672043405583756.6359637713259
Trimmed Mean ( 44 / 74 )2.077647058823530.036377384594796157.1137007777284
Trimmed Mean ( 45 / 74 )2.078358208955220.036077012420074957.6089334880382
Trimmed Mean ( 46 / 74 )2.079090909090910.035746792227910658.161607783861
Trimmed Mean ( 47 / 74 )2.079769230769230.035396967717715758.7555761090895
Trimmed Mean ( 48 / 74 )2.0805468750.035024124945116659.4032507096253
Trimmed Mean ( 49 / 74 )2.081111111111110.034655716626342660.0510193902385
Trimmed Mean ( 50 / 74 )2.081451612903230.034318262808409860.6514270411484
Trimmed Mean ( 51 / 74 )2.082049180327870.033984172404951361.2652606489404
Trimmed Mean ( 52 / 74 )2.082666666666670.033641863453996361.9069948225258
Trimmed Mean ( 53 / 74 )2.082966101694920.033321447103282362.5112737522654
Trimmed Mean ( 54 / 74 )2.083017241379310.033037441806732363.0501978199424
Trimmed Mean ( 55 / 74 )2.083157894736840.032734486232038963.6380201592396
Trimmed Mean ( 56 / 74 )2.083392857142860.032440558841829764.2218547251559
Trimmed Mean ( 57 / 74 )2.083545454545450.032126622490095764.8541705617448
Trimmed Mean ( 58 / 74 )2.083796296296300.03182183592792965.483220421843
Trimmed Mean ( 59 / 74 )2.084150943396230.03149462451446166.1748147668588
Trimmed Mean ( 60 / 74 )2.084423076923080.031177365751983566.856933761008
Trimmed Mean ( 61 / 74 )2.084423076923080.030818670415393467.6350747396923
Trimmed Mean ( 62 / 74 )2.08480.03045064892907968.4648791838755
Trimmed Mean ( 63 / 74 )2.084591836734690.030163719185975469.1092442507529
Trimmed Mean ( 64 / 74 )2.08468750.029891966710035369.740727340638
Trimmed Mean ( 65 / 74 )2.084787234042550.029618070904043870.3890284008305
Trimmed Mean ( 66 / 74 )2.084891304347830.029302487939691171.1506582184708
Trimmed Mean ( 67 / 74 )2.0850.028981138125360171.9433443566356
Trimmed Mean ( 68 / 74 )2.084886363636360.028653605526536672.7617458719291
Trimmed Mean ( 69 / 74 )2.084883720930230.028297203308392773.6780839508572
Trimmed Mean ( 70 / 74 )2.0850.027954505700951174.5854719201513
Trimmed Mean ( 71 / 74 )2.0850.027579918637927175.5984826268767
Trimmed Mean ( 72 / 74 )2.084750.027193618364366976.6632072299633
Trimmed Mean ( 73 / 74 )2.084358974358970.026871873037789977.5665682636913
Trimmed Mean ( 74 / 74 )2.083815789473680.026569978511082978.4274548285569
Median2.055
Midrange2.115
Midmean - Weighted Average at Xnp2.08315789473684
Midmean - Weighted Average at X(n+1)p2.08858407079646
Midmean - Empirical Distribution Function2.08315789473684
Midmean - Empirical Distribution Function - Averaging2.08858407079646
Midmean - Empirical Distribution Function - Interpolation2.08858407079646
Midmean - Closest Observation2.08315789473684
Midmean - True Basic - Statistics Graphics Toolkit2.08858407079646
Midmean - MS Excel (old versions)2.08315789473684
Number of observations224
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Oct/20/t1256024401co9qt4fgnm3y6m6/1iy101256024324.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Oct/20/t1256024401co9qt4fgnm3y6m6/1iy101256024324.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Oct/20/t1256024401co9qt4fgnm3y6m6/2ox661256024324.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Oct/20/t1256024401co9qt4fgnm3y6m6/2ox661256024324.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