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:52: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/t1290437451795krc8143jhiwp.htm/, Retrieved Mon, 22 Nov 2010 15:50:53 +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/t1290437451795krc8143jhiwp.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 «
14.84 14.84 15.57 14.84 14.84 15.57 15.57 15.57 15.57 15.57 15.57 14.84 15.57 15.57 15.57 15.57 15.57 15.57 15.57 14.84 14.84 14.84 14.84 15.57 15.57 15.57 15.57 15.57 15.57 15.57 14.84 14.84 14.84 14.84 14.84 15.57 15.57 15.57 15.57 15.57 15.57 15.57 14.84 14.84 14.84 14.84 14.84 14.84 15.57 15.57 14.84 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 14.84 14.84 14.84 14.84 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 14.84 14.84 14.84 14.84 14.84 15.57 15.57 15.57 14.84 14.84 14.84 15.57 14.84 14.84 14.84 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 15.57 14.84 14.84 14.84 14.84 14.84 15.57 15.57 14.84 14.84 14.84 14.84 14.84 14.84 14.84 14.84 15.57 15.57 15.57 15.57 15.57 14.84 14.84 15.57 15.57 15.54 15.54 15.54 15.54 16.28 16.28 16.28 15.54 15.54 16.28 16.28 16.28 15.54 15.54 15.54 15.54 15.54 16.28 16.28 15 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'Gwilym Jenkins' @ 72.249.127.135


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean15.49084577114430.0323558249536383478.76528548849
Geometric Mean15.4840910004680
Harmonic Mean15.4773400911857
Quadratic Mean15.497602478676
Winsorized Mean ( 1 / 67 )15.49084577114430.0323558249536383478.76528548849
Winsorized Mean ( 2 / 67 )15.49084577114430.0323558249536383478.76528548849
Winsorized Mean ( 3 / 67 )15.49084577114430.0323558249536383478.76528548849
Winsorized Mean ( 4 / 67 )15.49084577114430.0323558249536383478.76528548849
Winsorized Mean ( 5 / 67 )15.49084577114430.0323558249536383478.76528548849
Winsorized Mean ( 6 / 67 )15.49084577114430.0323558249536383478.76528548849
Winsorized Mean ( 7 / 67 )15.49084577114430.0323558249536383478.76528548849
Winsorized Mean ( 8 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 9 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 10 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 11 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 12 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 13 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 14 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 15 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 16 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 17 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 18 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 19 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 20 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 21 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 22 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 23 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 24 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 25 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 26 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 27 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 28 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 29 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 30 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 31 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 32 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 33 / 67 )15.48965174129350.0322125541879360480.857607593707
Winsorized Mean ( 34 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 35 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 36 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 37 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 38 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 39 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 40 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 41 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 42 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 43 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 44 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 45 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 46 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 47 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 48 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 49 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 50 / 67 )15.37462686567160.0220904951392144695.98380519679
Winsorized Mean ( 51 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 52 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 53 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 54 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 55 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 56 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 57 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 58 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 59 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 60 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 61 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 62 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 63 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 64 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 65 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 66 / 67 )15.54462686567160.002030838214596407654.29109711772
Winsorized Mean ( 67 / 67 )15.54462686567160.002030838214596407654.29109711772
Trimmed Mean ( 1 / 67 )15.49015075376880.0322729524786142479.973152875723
Trimmed Mean ( 2 / 67 )15.48944162436550.0321830135828291481.29245524197
Trimmed Mean ( 3 / 67 )15.48871794871790.0320855729860885482.731536551754
Trimmed Mean ( 4 / 67 )15.48797927461140.0319801623448108484.299582585594
Trimmed Mean ( 5 / 67 )15.48722513089010.0318662770338334486.00673101683
Trimmed Mean ( 6 / 67 )15.48645502645500.0317433725292493487.864199438334
Trimmed Mean ( 7 / 67 )15.48566844919790.0316108603303403489.884434886279
Trimmed Mean ( 8 / 67 )15.48486486486490.0314681033468774492.08128923987
Trimmed Mean ( 9 / 67 )15.48420765027320.0313368639543515494.121162629072
Trimmed Mean ( 10 / 67 )15.48353591160220.0311952095575968496.343385128234
Trimmed Mean ( 11 / 67 )15.48284916201120.0310424246804474498.764169403407
Trimmed Mean ( 12 / 67 )15.48214689265540.0308777308692863501.401704619924
Trimmed Mean ( 13 / 67 )15.48142857142860.0307002793893797504.276471724363
Trimmed Mean ( 14 / 67 )15.48069364161850.0305091428182377507.411621947127
Trimmed Mean ( 15 / 67 )15.48069364161850.0303033053240159510.858253780975
Trimmed Mean ( 16 / 67 )15.47917159763310.0300816513664342514.571870043848
Trimmed Mean ( 17 / 67 )15.47838323353290.0298429524925298518.661256368901
Trimmed Mean ( 18 / 67 )15.47757575757580.0295858518147854523.141123482573
Trimmed Mean ( 19 / 67 )15.47674846625770.0293088456477122528.057251120901
Trimmed Mean ( 20 / 67 )15.4759006211180.0290102616308246533.462980033046
Trimmed Mean ( 21 / 67 )15.47503144654090.0286882324666792539.420874552477
Trimmed Mean ( 22 / 67 )15.47414012738850.0283406641311325546.004852101898
Trimmed Mean ( 23 / 67 )15.47322580645160.0279651970377700553.302942423519
Trimmed Mean ( 24 / 67 )15.47228758169930.0275591581119210561.42090839149
Trimmed Mean ( 25 / 67 )15.47132450331130.027119500978154570.487064484488
Trimmed Mean ( 26 / 67 )15.47033557046980.0266427303723212580.658789631477
Trimmed Mean ( 27 / 67 )15.46931972789120.026124805266792592.131484614534
Trimmed Mean ( 28 / 67 )15.46827586206900.0255610127325141605.151134813725
Trimmed Mean ( 29 / 67 )15.46720279720280.0249458007177614620.032324165491
Trimmed Mean ( 30 / 67 )15.46720279720280.0242725517506253637.230191374681
Trimmed Mean ( 31 / 67 )15.46496402877700.0235332693200763657.153233511153
Trimmed Mean ( 32 / 67 )15.46379562043800.0227181309882575680.680801974019
Trimmed Mean ( 33 / 67 )15.46259259259260.0218148303004823708.811041828309
Trimmed Mean ( 34 / 67 )15.46135338345860.0208075685626252743.063916234332
Trimmed Mean ( 35 / 67 )15.46526717557250.0205632171205608752.08402872472
Trimmed Mean ( 36 / 67 )15.46930232558140.0202889692407029762.448902261012
Trimmed Mean ( 37 / 67 )15.47346456692910.0199810489994785774.407017736307
Trimmed Mean ( 38 / 67 )15.477760.0196350128350419788.273485229275
Trimmed Mean ( 39 / 67 )15.48219512195120.0192455795151128804.454607864297
Trimmed Mean ( 40 / 67 )15.48677685950410.0188063990618988823.484432534451
Trimmed Mean ( 41 / 67 )15.49151260504200.0183097308026666846.080850232153
Trimmed Mean ( 42 / 67 )15.49641025641030.0177459814500474873.234895462422
Trimmed Mean ( 43 / 67 )15.50147826086960.0171030187129722906.359194304812
Trimmed Mean ( 44 / 67 )15.50672566371680.0163651069930623947.548077155293
Trimmed Mean ( 45 / 67 )15.51216216216220.01551116762648321000.06411739612
Trimmed Mean ( 46 / 67 )15.51779816513760.01451173719609781069.32739722645
Trimmed Mean ( 47 / 67 )15.52364485981310.01332315581048891165.16274977373
Trimmed Mean ( 48 / 67 )15.52971428571430.01187500309840501307.76507231398
Trimmed Mean ( 49 / 67 )15.53601941747570.01003737523912221547.81693892660
Trimmed Mean ( 50 / 67 )15.54257425742570.007502677364156392071.60370932109
Trimmed Mean ( 51 / 67 )15.54939393939390.002677691271721605807.01520881328
Trimmed Mean ( 52 / 67 )15.54958762886600.002694007946935755771.9160207202
Trimmed Mean ( 53 / 67 )15.54978947368420.002710268092376025737.36211462834
Trimmed Mean ( 54 / 67 )15.550.002726422579893225703.4445484269
Trimmed Mean ( 55 / 67 )15.550.002742413319967345670.18832893694
Trimmed Mean ( 56 / 67 )15.55044943820220.0027581715918565637.9557690021
Trimmed Mean ( 57 / 67 )15.55068965517240.002773616020398195606.64833949866
Trimmed Mean ( 58 / 67 )15.55094117647060.002788650112744535576.51212871796
Trimmed Mean ( 59 / 67 )15.55120481927710.002803159243494005547.74219672703
Trimmed Mean ( 60 / 67 )15.55120481927710.002817006943675065520.47088637598
Trimmed Mean ( 61 / 67 )15.55177215189870.002830030304525725495.2670036885
Trimmed Mean ( 62 / 67 )15.55207792207790.002842034246478535472.16415190914
Trimmed Mean ( 63 / 67 )15.55240.002852784320340145451.65643582396
Trimmed Mean ( 64 / 67 )15.55273972602740.002861997591202255434.2253025776
Trimmed Mean ( 65 / 67 )15.55309859154930.002869330990637745420.46164848079
Trimmed Mean ( 66 / 67 )15.55347826086960.002874366285148595411.09821014531
Trimmed Mean ( 67 / 67 )15.55388059701490.002876590460361735407.05422316496
Median15.57
Midrange15.56
Midmean - Weighted Average at Xnp15.3348502994012
Midmean - Weighted Average at X(n+1)p15.3348502994012
Midmean - Empirical Distribution Function15.3348502994012
Midmean - Empirical Distribution Function - Averaging15.3348502994012
Midmean - Empirical Distribution Function - Interpolation15.3348502994012
Midmean - Closest Observation15.3348502994012
Midmean - True Basic - Statistics Graphics Toolkit15.3348502994012
Midmean - MS Excel (old versions)15.3348502994012
Number of observations201
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290437451795krc8143jhiwp/1dyau1290437571.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290437451795krc8143jhiwp/1dyau1290437571.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/22/t1290437451795krc8143jhiwp/2dyau1290437571.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290437451795krc8143jhiwp/2dyau1290437571.ps (open in new window)


 
Parameters (Session):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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