Home » date » 2010 » Nov » 22 »

*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: Mon, 22 Nov 2010 12:27:00 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Nov/22/t1290428708616g7q8jdcr5xjw.htm/, Retrieved Mon, 22 Nov 2010 13:25:14 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Nov/22/t1290428708616g7q8jdcr5xjw.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
12.88 12.88 12.88 12.88 12.38 12.38 12.38 12.88 12.88 12.38 12.38 12.38 12.38 12.38 12.88 12.88 12.88 12.88 12.88 12.88 12.88 12.88 12.88 12.88 12.88 12.88 12.88 12.88 12.88 12.88 12.38 12.88 12.88 12.38 12.38 12.8 12.38 12.8 12.38 12.38 12.8 12.8 12.8 12.8 12.38 12.38 12.38 12.38 12.38 12.8 12.8 12.38 12.8 12.88 12.38 12.38 12.38 12.88 12.38 12.88 12.88 12.88 12.88 12.38 12.38 12.38 12.88 12.88 12.88 12.88 12.38 12.38 12.88 12.88 12.38 12.38 12.38 12.38 12.38 12.88 12.38 12.38 12.38 12.38 12.88 12.38 12.88 12.38 12.88 12.88 12.88 12.88 12.88 12.38 12.88 12.88 12.88 12.88 12.88 12.88 12.88 12.38 12.38 12.88 12.88 12.38 12.88 12.88 12.88 12.88 12.38 12.38 12.38 12.88 12.88 12.38 12.38 12.88 12.79 12.79 12.29 12.29 12.29 12.29 12.29 12.29 12.29 12.29 12.29 12.79 12.79 12.79 12.79 12.79 12.79 12.79 12.29 12.29 12.79 12.79 12.29 12.29 12.29 12.79 12.29 12.79 12.79 12.7 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 Mean12.63776119402990.0173243082158293729.481433635697
Geometric Mean12.6353743985261
Harmonic Mean12.6329762404567
Quadratic Mean12.6401358508664
Winsorized Mean ( 1 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 2 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 3 / 67 )12.63776119402980.0173243082158293729.481433635697
Winsorized Mean ( 4 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 5 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 6 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 7 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 8 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 9 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 10 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 11 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 12 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 13 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 14 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 15 / 67 )12.63776119402980.0173243082158293729.481433635697
Winsorized Mean ( 16 / 67 )12.63776119402980.0173243082158293729.481433635697
Winsorized Mean ( 17 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 18 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 19 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 20 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 21 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 22 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 23 / 67 )12.63776119402980.0173243082158293729.481433635697
Winsorized Mean ( 24 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 25 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 26 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 27 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 28 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 29 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 30 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 31 / 67 )12.63776119402990.0173243082158293729.481433635697
Winsorized Mean ( 32 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 33 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 34 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 35 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 36 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 37 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 38 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 39 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 40 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 41 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 42 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 43 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 44 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 45 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 46 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 47 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 48 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 49 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 50 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 51 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 52 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 53 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 54 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 55 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 56 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 57 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 58 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 59 / 67 )12.65208955223880.0159913863537194791.181531881137
Winsorized Mean ( 60 / 67 )12.62820895522390.0144221664865645875.61109261831
Winsorized Mean ( 61 / 67 )12.62820895522390.0144221664865645875.61109261831
Winsorized Mean ( 62 / 67 )12.62820895522390.0144221664865645875.61109261831
Winsorized Mean ( 63 / 67 )12.62820895522390.0144221664865645875.61109261831
Winsorized Mean ( 64 / 67 )12.62820895522390.0144221664865645875.61109261831
Winsorized Mean ( 65 / 67 )12.62820895522390.0144221664865645875.61109261831
Winsorized Mean ( 66 / 67 )12.62820895522390.0144221664865645875.61109261831
Winsorized Mean ( 67 / 67 )12.62820895522390.0144221664865645875.61109261831
Trimmed Mean ( 1 / 67 )12.63829145728640.0173680783935894727.673561281899
Trimmed Mean ( 2 / 67 )12.63883248730960.0174116522568273725.8835807701
Trimmed Mean ( 3 / 67 )12.63938461538460.017454995682486724.112732268775
Trimmed Mean ( 4 / 67 )12.63994818652850.0174980719097801722.362340931043
Trimmed Mean ( 5 / 67 )12.64052356020940.017540841327206720.633823909224
Trimmed Mean ( 6 / 67 )12.64111111111110.017583261240104718.928698066501
Trimmed Mean ( 7 / 67 )12.64171122994650.0176252856167388717.24858846773
Trimmed Mean ( 8 / 67 )12.64232432432430.0176668648106221715.595237742648
Trimmed Mean ( 9 / 67 )12.64295081967210.0177079452565221713.97051642768
Trimmed Mean ( 10 / 67 )12.6435911602210.0177484691372948712.37643440769
Trimmed Mean ( 11 / 67 )12.64424581005590.0177883740183083710.815153596503
Trimmed Mean ( 12 / 67 )12.64491525423730.0178275924458241709.289002015479
Trimmed Mean ( 13 / 67 )12.64560.0178660515052297707.800489453331
Trimmed Mean ( 14 / 67 )12.64630057803470.0179036723344764706.352324918401
Trimmed Mean ( 15 / 67 )12.64630057803470.0179403695874579704.907472300664
Trimmed Mean ( 16 / 67 )12.64775147928990.0179760508413483703.588991314919
Trimmed Mean ( 17 / 67 )12.6485029940120.0180106159410931702.280423689072
Trimmed Mean ( 18 / 67 )12.64927272727270.0180439562732883701.025458923236
Trimmed Mean ( 19 / 67 )12.65006134969330.0180759539605688699.828146126522
Trimmed Mean ( 20 / 67 )12.65086956521740.0181064809663299698.692892823429
Trimmed Mean ( 21 / 67 )12.65169811320750.0181353980980892697.624504561637
Trimmed Mean ( 22 / 67 )12.65254777070060.018162553896019696.628229880928
Trimmed Mean ( 23 / 67 )12.65341935483870.0181877833910842695.709811512352
Trimmed Mean ( 24 / 67 )12.65431372549020.0182109067147575694.875544842342
Trimmed Mean ( 25 / 67 )12.65523178807950.0182317275393527694.132344878645
Trimmed Mean ( 26 / 67 )12.65617449664430.0182500313245475693.487823202853
Trimmed Mean ( 27 / 67 )12.65714285714290.0182655833415115692.950376699848
Trimmed Mean ( 28 / 67 )12.65813793103450.018278126441086692.52929023301
Trimmed Mean ( 29 / 67 )12.65916083916080.01828737852647692.234855905529
Trimmed Mean ( 30 / 67 )12.65916083916080.0182930296836293692.021007897325
Trimmed Mean ( 31 / 67 )12.66129496402880.0182947389138378692.073006543536
Trimmed Mean ( 32 / 67 )12.66240875912410.0182921304020092692.232587502944
Trimmed Mean ( 33 / 67 )12.66288888888890.0183738784788522689.178874425642
Trimmed Mean ( 34 / 67 )12.66338345864660.0184559747281882686.140051942397
Trimmed Mean ( 35 / 67 )12.6638931297710.0185383614645623683.118254759416
Trimmed Mean ( 36 / 67 )12.66441860465120.0186209730366251680.115833890198
Trimmed Mean ( 37 / 67 )12.66496062992130.0187037348271619677.135382155279
Trimmed Mean ( 38 / 67 )12.665520.0187865621157526674.179763277706
Trimmed Mean ( 39 / 67 )12.66609756097560.0188693587827162671.252145175033
Trimmed Mean ( 40 / 67 )12.6666942148760.0189520158292218668.356038165896
Trimmed Mean ( 41 / 67 )12.66731092436970.0190344096839188665.495338952997
Trimmed Mean ( 42 / 67 )12.66794871794870.0191164002609823662.674381421316
Trimmed Mean ( 43 / 67 )12.66860869565220.0191978287278681659.897995509362
Trimmed Mean ( 44 / 67 )12.66929203539820.0192785149330546657.171575683754
Trimmed Mean ( 45 / 67 )12.670.019358254434272654.50116088819
Trimmed Mean ( 46 / 67 )12.67073394495410.0194368150557393651.893528266748
Trimmed Mean ( 47 / 67 )12.67149532710280.019513932888184649.356303504332
Trimmed Mean ( 48 / 67 )12.67228571428570.0195893076271827646.898091319024
Trimmed Mean ( 49 / 67 )12.67310679611650.0196625971226713644.528630528885
Trimmed Mean ( 50 / 67 )12.67396039603960.0197334109841086642.258979263444
Trimmed Mean ( 51 / 67 )12.67484848484850.0198013030500826640.101737385187
Trimmed Mean ( 52 / 67 )12.67577319587630.0198657624859538638.071315150311
Trimmed Mean ( 53 / 67 )12.67673684210530.019926203215514636.184259740738
Trimmed Mean ( 54 / 67 )12.67774193548390.0199819513186439634.459654781317
Trimmed Mean ( 55 / 67 )12.67774193548390.0200322299311761632.86723340538
Trimmed Mean ( 56 / 67 )12.67988764044940.0200761410581333631.589885911491
Trimmed Mean ( 57 / 67 )12.68103448275860.020112643546783630.500632761772
Trimmed Mean ( 58 / 67 )12.68223529411760.0201405262467361629.687384468063
Trimmed Mean ( 59 / 67 )12.68349397590360.0201583750894177629.19227961791
Trimmed Mean ( 60 / 67 )12.68349397590360.0201645324177597629.00015299798
Trimmed Mean ( 61 / 67 )12.68721518987340.0202555378356323626.357852989459
Trimmed Mean ( 62 / 67 )12.68974025974030.0203380302866074623.941457501736
Trimmed Mean ( 63 / 67 )12.69240.02041006640878621.86960815277
Trimmed Mean ( 64 / 67 )12.69520547945210.0204692939178349620.207298327508
Trimmed Mean ( 65 / 67 )12.69816901408450.0205128510136069619.034818985492
Trimmed Mean ( 66 / 67 )12.70130434782610.0205372356853138618.452480287248
Trimmed Mean ( 67 / 67 )12.70462686567160.0205381338386512618.587207848577
Median12.79
Midrange12.585
Midmean - Weighted Average at Xnp12.7036094674556
Midmean - Weighted Average at X(n+1)p12.7036094674556
Midmean - Empirical Distribution Function12.7036094674556
Midmean - Empirical Distribution Function - Averaging12.7036094674556
Midmean - Empirical Distribution Function - Interpolation12.7036094674556
Midmean - Closest Observation12.7036094674556
Midmean - True Basic - Statistics Graphics Toolkit12.7036094674556
Midmean - MS Excel (old versions)12.7036094674556
Number of observations201
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290428708616g7q8jdcr5xjw/19yre1290428815.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290428708616g7q8jdcr5xjw/19yre1290428815.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/22/t1290428708616g7q8jdcr5xjw/2j78h1290428815.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290428708616g7q8jdcr5xjw/2j78h1290428815.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