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 14:42:55 +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/t1290436891drng6ccyw5ym0yv.htm/, Retrieved Mon, 22 Nov 2010 15:41:40 +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/t1290436891drng6ccyw5ym0yv.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 «
27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.02 27.02 27.02 27.02 27.02 27.76 27.02 27.02 27.02 27.02 27.02 27.02 27.02 27.02 27.76 27.02 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.02 27.02 27.02 27.02 27.02 27.02 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.02 27.02 27.02 27.02 27.02 27.02 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.02 27.02 27.02 27.02 27.02 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.76 27.02 27.76 27.59 27.59 27.59 28.33 27.59 27.59 28.33 28.33 28.33 28.33 28.33 27.59 27.59 27.59 27.59 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 27.59 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 28.33 27.59 27.59 27.59 27.59 27.59 27.59 27.59 27.59 27.59 27.59 27.59 27.59 27.59 27.59 27.59 28.33 27.59 27.59 28 etc...
 
Output produced by software:


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


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean27.76497512437810.0309993680226152895.662618157974
Geometric Mean27.761507524653
Harmonic Mean27.7580335202364
Quadratic Mean27.7684359628139
Winsorized Mean ( 1 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 2 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 3 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 4 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 5 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 6 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 7 / 67 )27.76497512437810.0309993680226152895.662618157975
Winsorized Mean ( 8 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 9 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 10 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 11 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 12 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 13 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 14 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 15 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 16 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 17 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 18 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 19 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 20 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 21 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 22 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 23 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 24 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 25 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 26 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 27 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 28 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 29 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 30 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 31 / 67 )27.76497512437810.0309993680226152895.662618157974
Winsorized Mean ( 32 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 33 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 34 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 35 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 36 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 37 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 38 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 39 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 40 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 41 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 42 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 43 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 44 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 45 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 46 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 47 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 48 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 49 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 50 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 51 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 52 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 53 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 54 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 55 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 56 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 57 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 58 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 59 / 67 )27.85572139303480.02241374866691711242.79618759847
Winsorized Mean ( 60 / 67 )27.68557213930350.005963736190739794642.32005806903
Winsorized Mean ( 61 / 67 )27.68557213930350.005963736190739794642.32005806903
Winsorized Mean ( 62 / 67 )27.68557213930350.005963736190739794642.32005806903
Winsorized Mean ( 63 / 67 )27.68557213930350.005963736190739794642.32005806903
Winsorized Mean ( 64 / 67 )27.68557213930350.005963736190739794642.32005806903
Winsorized Mean ( 65 / 67 )27.68557213930350.005963736190739794642.32005806903
Winsorized Mean ( 66 / 67 )27.68557213930350.005963736190739794642.32005806903
Winsorized Mean ( 67 / 67 )27.68557213930350.005963736190739794642.32005806903
Trimmed Mean ( 1 / 67 )27.76587939698490.0309553078214198896.966670697167
Trimmed Mean ( 2 / 67 )27.76680203045690.0309060179493919898.427033722836
Trimmed Mean ( 3 / 67 )27.76774358974360.0308511760161225900.054622722728
Trimmed Mean ( 4 / 67 )27.76870466321240.030790436086357901.861363227542
Trimmed Mean ( 5 / 67 )27.76968586387430.0307234265304895903.86031116406
Trimmed Mean ( 6 / 67 )27.77068783068780.0306497476298953906.06579101489
Trimmed Mean ( 7 / 67 )27.77171122994650.0305689689025822908.493554965822
Trimmed Mean ( 8 / 67 )27.77275675675680.030480626108734911.160966893614
Trimmed Mean ( 9 / 67 )27.7738251366120.0303842178886086914.087215884032
Trimmed Mean ( 10 / 67 )27.77491712707180.0302792019766392917.293565018673
Trimmed Mean ( 11 / 67 )27.77603351955310.0301649909251081920.803642491186
Trimmed Mean ( 12 / 67 )27.77717514124290.0300409472579344924.643783791019
Trimmed Mean ( 13 / 67 )27.77834285714290.0299063779593254928.843435835768
Trimmed Mean ( 14 / 67 )27.77953757225430.0297605281824651933.43563669082
Trimmed Mean ( 15 / 67 )27.77953757225430.0296025740390054938.416285545
Trimmed Mean ( 16 / 67 )27.78201183431950.0294316142994382943.951342650268
Trimmed Mean ( 17 / 67 )27.78329341317370.0292466607955829949.964633821368
Trimmed Mean ( 18 / 67 )27.78460606060610.0290466272668265956.551884849578
Trimmed Mean ( 19 / 67 )27.78595092024540.0288303163278748963.775444023845
Trimmed Mean ( 20 / 67 )27.78732919254660.028596404152719971.707108493378
Trimmed Mean ( 21 / 67 )27.78874213836480.0283434223604408980.430019528968
Trimmed Mean ( 22 / 67 )27.79019108280250.0280697364436185990.041040770816
Trimmed Mean ( 23 / 67 )27.79167741935480.02777351988544671000.65377143348
Trimmed Mean ( 24 / 67 )27.79320261437910.0274527228467251012.40240429174
Trimmed Mean ( 25 / 67 )27.79476821192050.02710503393811991025.44672238284
Trimmed Mean ( 26 / 67 )27.79637583892620.02672783308041451039.97865278853
Trimmed Mean ( 27 / 67 )27.79802721088440.02631813272458481056.23098347388
Trimmed Mean ( 28 / 67 )27.7997241379310.02587250364206521074.48913806441
Trimmed Mean ( 29 / 67 )27.80146853146850.02538697992183081095.10735885372
Trimmed Mean ( 30 / 67 )27.80146853146850.02485693542336511118.45921703347
Trimmed Mean ( 31 / 67 )27.80510791366910.02427692021744591145.33094250101
Trimmed Mean ( 32 / 67 )27.80700729927010.02364043958756561176.24747189118
Trimmed Mean ( 33 / 67 )27.80474074074070.02361891794759551177.22330897768
Trimmed Mean ( 34 / 67 )27.80240601503760.02358894357554991178.62022629343
Trimmed Mean ( 35 / 67 )27.80.02354965020254781180.48462549955
Trimmed Mean ( 36 / 67 )27.7975193798450.02350006984149481182.86964963662
Trimmed Mean ( 37 / 67 )27.79496062992130.02343911796901611185.83645795303
Trimmed Mean ( 38 / 67 )27.792320.02336557600264721189.45580442148
Trimmed Mean ( 39 / 67 )27.7895934959350.02327807045756631193.81000872013
Trimmed Mean ( 40 / 67 )27.78677685950410.02317504799417111198.99543968552
Trimmed Mean ( 41 / 67 )27.78386554621850.02305474533563661205.12567550559
Trimmed Mean ( 42 / 67 )27.78085470085470.02291515271892451212.33556859134
Trimmed Mean ( 43 / 67 )27.77773913043480.02275396910735121220.78653615912
Trimmed Mean ( 44 / 67 )27.77451327433630.0225685467829561230.67353611407
Trimmed Mean ( 45 / 67 )27.77117117117120.02235582206771471242.23439813815
Trimmed Mean ( 46 / 67 )27.76770642201830.02211222766001641255.76250611006
Trimmed Mean ( 47 / 67 )27.76411214953270.02183358019925251271.62434635815
Trimmed Mean ( 48 / 67 )27.7603809523810.02151493382429531290.28428249373
Trimmed Mean ( 49 / 67 )27.75650485436890.02115038604756991312.34034177632
Trimmed Mean ( 50 / 67 )27.75247524752480.02073281511483711338.57727924579
Trimmed Mean ( 51 / 67 )27.74828282828280.02025351610298611370.04768392742
Trimmed Mean ( 52 / 67 )27.74391752577320.01970168232751121408.20043002276
Trimmed Mean ( 53 / 67 )27.73936842105260.01906364100071551455.09288703095
Trimmed Mean ( 54 / 67 )27.7346236559140.0183216796271931513.75988557022
Trimmed Mean ( 55 / 67 )27.7346236559140.01745215021122411589.18089291237
Trimmed Mean ( 56 / 67 )27.72449438202250.01642220279177221688.23237257263
Trimmed Mean ( 57 / 67 )27.71908045977010.0151836588463121825.58635835676
Trimmed Mean ( 58 / 67 )27.71341176470590.01366009229842842028.78656741539
Trimmed Mean ( 59 / 67 )27.70746987951810.01171440359751322365.24801701385
Trimmed Mean ( 60 / 67 )27.70746987951810.009039322048026923065.21548101785
Trimmed Mean ( 61 / 67 )27.70189873417720.009129733124180833034.25065742683
Trimmed Mean ( 62 / 67 )27.70259740259740.00922195847012433003.98201665551
Trimmed Mean ( 63 / 67 )27.70333333333330.009315942613970342973.75525819459
Trimmed Mean ( 64 / 67 )27.70410958904110.00941160027857072943.61306993888
Trimmed Mean ( 65 / 67 )27.70492957746480.009508808241970282913.60692869795
Trimmed Mean ( 66 / 67 )27.70579710144930.009607394932400012883.79912519409
Trimmed Mean ( 67 / 67 )27.70671641791040.009707127055970622854.26535144286
Median27.76
Midrange27.675
Midmean - Weighted Average at Xnp27.9060355029586
Midmean - Weighted Average at X(n+1)p27.9060355029586
Midmean - Empirical Distribution Function27.9060355029586
Midmean - Empirical Distribution Function - Averaging27.9060355029586
Midmean - Empirical Distribution Function - Interpolation27.9060355029586
Midmean - Closest Observation27.9060355029586
Midmean - True Basic - Statistics Graphics Toolkit27.9060355029586
Midmean - MS Excel (old versions)27.9060355029586
Number of observations201
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290436891drng6ccyw5ym0yv/1ftz71290436971.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290436891drng6ccyw5ym0yv/1ftz71290436971.ps (open in new window)


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