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 11:38:18 +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/t1290425799xydtgz4ttouowf7.htm/, Retrieved Mon, 22 Nov 2010 12:36:42 +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/t1290425799xydtgz4ttouowf7.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 «
41.82 41.32 41.82 41.82 41.82 41.82 41.82 41.82 41.82 41.82 41.82 41.32 41.32 41.32 41.82 41.32 41.32 41.32 41.82 41.82 41.82 41.82 41.32 41.82 41.32 41.32 41.82 41.32 41.32 41.82 41.82 41.82 41.82 41.82 41.82 41.82 42.17 42.17 41.67 42.17 42.17 42.16 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 41.67 41.67 42.17 42.17 42.17 42.17 42.17 42.17 41.67 42.17 42.17 42.17 42.17 42.17 42.17 41.67 41.67 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 42.17 41.67 42.17 42.17 42.17 41.67 41.67 42.17 42.17 42.17 42.17 41.96 42.46 41.96 42.46 42.46 42.46 41.96 41.96 42.46 41.96 41.96 41.96 41.96 41.96 42.46 42.46 42.46 42.46 42.46 42.46 42.46 42.46 41.96 41.96 41.96 42.46 42.46 42.46 42.46 41.96 42.46 42.46 42.46 42.46 42.46 42.46 42.46 42.46 42.46 42.46 42.46 42.46 41.96 42.46 5 5 42.46 42.46 42. 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'George Udny Yule' @ 72.249.76.132


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean41.59716417910450.319469822132366130.206865554486
Geometric Mean40.8302079750825
Harmonic Mean37.9413956949818
Quadratic Mean41.8418004057429
Winsorized Mean ( 1 / 67 )41.59716417910450.319469822132366130.206865554486
Winsorized Mean ( 2 / 67 )41.59716417910450.319469822132366130.206865554486
Winsorized Mean ( 3 / 67 )42.13925373134330.02541104279663621658.30477987788
Winsorized Mean ( 4 / 67 )42.13925373134330.02541104279663621658.30477987789
Winsorized Mean ( 5 / 67 )42.13925373134330.02541104279663621658.30477987789
Winsorized Mean ( 6 / 67 )42.13925373134330.02541104279663621658.30477987789
Winsorized Mean ( 7 / 67 )42.13925373134330.02541104279663621658.30477987789
Winsorized Mean ( 8 / 67 )42.13925373134330.02541104279663621658.30477987789
Winsorized Mean ( 9 / 67 )42.13925373134330.02541104279663621658.30477987789
Winsorized Mean ( 10 / 67 )42.13925373134330.02541104279663621658.30477987789
Winsorized Mean ( 11 / 67 )42.13925373134330.02541104279663621658.30477987789
Winsorized Mean ( 12 / 67 )42.13925373134330.02541104279663621658.30477987789
Winsorized Mean ( 13 / 67 )42.13925373134330.02541104279663621658.30477987789
Winsorized Mean ( 14 / 67 )42.13925373134330.02541104279663621658.30477987789
Winsorized Mean ( 15 / 67 )42.16537313432840.02177233913972171936.64873873847
Winsorized Mean ( 16 / 67 )42.16537313432840.02177233913972171936.64873873847
Winsorized Mean ( 17 / 67 )42.16537313432840.02177233913972171936.64873873847
Winsorized Mean ( 18 / 67 )42.14835820895520.01977319043362142131.59117394066
Winsorized Mean ( 19 / 67 )42.14835820895520.01977319043362142131.59117394066
Winsorized Mean ( 20 / 67 )42.13940298507460.01893779313728692225.14855239948
Winsorized Mean ( 21 / 67 )42.13940298507460.01893779313728692225.14855239948
Winsorized Mean ( 22 / 67 )42.13940298507460.01893779313728692225.14855239948
Winsorized Mean ( 23 / 67 )42.13940298507460.01893779313728692225.14855239948
Winsorized Mean ( 24 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 25 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 26 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 27 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 28 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 29 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 30 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 31 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 32 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 33 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 34 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 35 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 36 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 37 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 38 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 39 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 40 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 41 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 42 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 43 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 44 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 45 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 46 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 47 / 67 )42.15731343283580.01692326054887942491.08694574979
Winsorized Mean ( 48 / 67 )42.19074626865670.01383609460515953049.32478944773
Winsorized Mean ( 49 / 67 )42.19074626865670.01383609460515953049.32478944773
Winsorized Mean ( 50 / 67 )42.19074626865670.01383609460515953049.32478944773
Winsorized Mean ( 51 / 67 )42.19074626865670.01383609460515953049.32478944773
Winsorized Mean ( 52 / 67 )42.19074626865670.01383609460515953049.32478944773
Winsorized Mean ( 53 / 67 )42.19074626865670.01383609460515953049.32478944773
Winsorized Mean ( 54 / 67 )42.19074626865670.01383609460515953049.32478944773
Winsorized Mean ( 55 / 67 )42.19074626865670.01383609460515953049.32478944773
Winsorized Mean ( 56 / 67 )42.13502487562190.009033416233425454664.3510923048
Winsorized Mean ( 57 / 67 )42.13502487562190.009033416233425454664.3510923048
Winsorized Mean ( 58 / 67 )42.13502487562190.009033416233425454664.3510923048
Winsorized Mean ( 59 / 67 )42.13502487562190.009033416233425454664.3510923048
Winsorized Mean ( 60 / 67 )42.13502487562190.009033416233425454664.3510923048
Winsorized Mean ( 61 / 67 )42.13502487562190.009033416233425454664.3510923048
Winsorized Mean ( 62 / 67 )42.13502487562190.009033416233425454664.3510923048
Winsorized Mean ( 63 / 67 )42.13502487562190.009033416233425454664.3510923048
Winsorized Mean ( 64 / 67 )42.16368159203980.006343162617127796647.10715096434
Winsorized Mean ( 65 / 67 )42.16368159203980.006343162617127796647.10715096434
Winsorized Mean ( 66 / 67 )42.16368159203980.006343162617127796647.10715096434
Winsorized Mean ( 67 / 67 )42.16368159203980.006343162617127796647.10715096434
Trimmed Mean ( 1 / 67 )41.77532663316580.264466509672893157.960744008139
Trimmed Mean ( 2 / 67 )41.95710659898480.190144272510709220.659323812247
Trimmed Mean ( 3 / 67 )42.14261538461540.02458192114772311714.3743620103
Trimmed Mean ( 4 / 67 )42.14378238341970.02426918590743991736.51405301157
Trimmed Mean ( 5 / 67 )42.14497382198950.02393580953155411760.74988257367
Trimmed Mean ( 6 / 67 )42.14619047619050.02358004918452371787.36652101016
Trimmed Mean ( 7 / 67 )42.14743315508020.0231999406613881816.70435154288
Trimmed Mean ( 8 / 67 )42.14870270270270.02279325709495531849.17418897676
Trimmed Mean ( 9 / 67 )42.150.02235745696234471885.27702730193
Trimmed Mean ( 10 / 67 )42.15132596685080.02188961772784541925.63097679092
Trimmed Mean ( 11 / 67 )42.15268156424580.02138634986072631971.00869661048
Trimmed Mean ( 12 / 67 )42.15406779661020.02084368349968152022.39051448149
Trimmed Mean ( 13 / 67 )42.15548571428570.02025691612056142081.04162861674
Trimmed Mean ( 14 / 67 )42.1569364161850.01962040315098122148.62743093415
Trimmed Mean ( 15 / 67 )42.1569364161850.01892726258090942227.31291627485
Trimmed Mean ( 16 / 67 )42.15786982248520.01861394767871452264.85378331077
Trimmed Mean ( 17 / 67 )42.15730538922160.01827679134415772306.60319940115
Trimmed Mean ( 18 / 67 )42.15672727272730.01791335053510852353.36919188312
Trimmed Mean ( 19 / 67 )42.15730061349690.01772018221141632379.05570668099
Trimmed Mean ( 20 / 67 )42.15788819875780.01751206548086102407.36241220844
Trimmed Mean ( 21 / 67 )42.15905660377360.01735925637712182428.62111647455
Trimmed Mean ( 22 / 67 )42.16025477707010.01719368036497082452.07854759034
Trimmed Mean ( 23 / 67 )42.16148387096770.01701419933583982478.01750988988
Trimmed Mean ( 24 / 67 )42.16274509803920.01681953508142632506.77232717326
Trimmed Mean ( 25 / 67 )42.16304635761590.01677430847953922513.54900317024
Trimmed Mean ( 26 / 67 )42.1633557046980.01672339028122682521.22057762590
Trimmed Mean ( 27 / 67 )42.16367346938780.01666631673269382529.87352548488
Trimmed Mean ( 28 / 67 )42.1640.01660257792843422539.60560713817
Trimmed Mean ( 29 / 67 )42.16433566433570.01653161193740302550.52779027181
Trimmed Mean ( 30 / 67 )42.16433566433570.01645279797513582562.74560278783
Trimmed Mean ( 31 / 67 )42.1650359712230.01636544842671542576.46688754289
Trimmed Mean ( 32 / 67 )42.1654014598540.01626879947613862591.79551150643
Trimmed Mean ( 33 / 67 )42.16577777777780.01616200003313152608.94553219525
Trimmed Mean ( 34 / 67 )42.16616541353380.01604409856324512628.14175862338
Trimmed Mean ( 35 / 67 )42.16656488549620.01591402731317022649.64763825684
Trimmed Mean ( 36 / 67 )42.16697674418600.01577058326907522673.77407827850
Trimmed Mean ( 37 / 67 )42.16740157480320.01561240497430422700.89083931685
Trimmed Mean ( 38 / 67 )42.167840.01543794403827892731.44143387509
Trimmed Mean ( 39 / 67 )42.16829268292680.01524542975155672765.9628734717
Trimmed Mean ( 40 / 67 )42.16876033057850.01503282462104992805.11223895550
Trimmed Mean ( 41 / 67 )42.1692436974790.01479776775562072849.70303588267
Trimmed Mean ( 42 / 67 )42.16974358974360.01453750170313542900.75588301728
Trimmed Mean ( 43 / 67 )42.17026086956520.01424877629044732959.57070347417
Trimmed Mean ( 44 / 67 )42.1707964601770.01392771976637423027.83206207166
Trimmed Mean ( 45 / 67 )42.17135135135140.0135696622207183107.76721376046
Trimmed Mean ( 46 / 67 )42.17192660550460.01316888719467123202.39105871978
Trimmed Mean ( 47 / 67 )42.1725233644860.01271827131671423315.90059012684
Trimmed Mean ( 48 / 67 )42.17314285714290.01220874175319603454.33982548634
Trimmed Mean ( 49 / 67 )42.1724271844660.01194844724533993529.53202357855
Trimmed Mean ( 50 / 67 )42.17168316831680.0116551686634253618.28167280457
Trimmed Mean ( 51 / 67 )42.17090909090910.01132355330237333724.17632211529
Trimmed Mean ( 52 / 67 )42.17010309278350.01094689505218363852.24329746102
Trimmed Mean ( 53 / 67 )42.16926315789470.01051660246132384009.78008943268
Trimmed Mean ( 54 / 67 )42.16838709677420.01002135438812234207.85309685823
Trimmed Mean ( 55 / 67 )42.16838709677420.009445678388016944464.30477140427
Trimmed Mean ( 56 / 67 )42.16651685393260.008767367301958044809.48446684963
Trimmed Mean ( 57 / 67 )42.1678160919540.008577562979707264916.06021333966
Trimmed Mean ( 58 / 67 )42.16917647058820.008356905202141935046.02785966508
Trimmed Mean ( 59 / 67 )42.17060240963860.00809934894622035206.66570728727
Trimmed Mean ( 60 / 67 )42.17060240963860.007797031821652455408.54563303568
Trimmed Mean ( 61 / 67 )42.17367088607590.007439417145501355668.94826049358
Trimmed Mean ( 62 / 67 )42.17532467532470.00701181605879626014.89319195937
Trimmed Mean ( 63 / 67 )42.17706666666670.006492610722505516496.16440432309
Trimmed Mean ( 64 / 67 )42.17890410958900.005847379188383457213.30065157784
Trimmed Mean ( 65 / 67 )42.17957746478870.005611272858029227516.93573489901
Trimmed Mean ( 66 / 67 )42.18028985507250.005327993175127037916.73120978928
Trimmed Mean ( 67 / 67 )42.18104477611940.004983620064199038463.93670318821
Median42.17
Midrange23.87
Midmean - Weighted Average at Xnp42.2335338345865
Midmean - Weighted Average at X(n+1)p42.2335338345865
Midmean - Empirical Distribution Function42.2335338345865
Midmean - Empirical Distribution Function - Averaging42.2335338345865
Midmean - Empirical Distribution Function - Interpolation42.2335338345865
Midmean - Closest Observation42.2335338345865
Midmean - True Basic - Statistics Graphics Toolkit42.2335338345865
Midmean - MS Excel (old versions)42.2335338345865
Number of observations201
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290425799xydtgz4ttouowf7/1ta6n1290425895.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290425799xydtgz4ttouowf7/1ta6n1290425895.ps (open in new window)


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