Home » date » 2008 » Dec » 02 »

*The author of this computation has been verified*
R Software Module: rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Tue, 02 Dec 2008 08:28:29 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/02/t1228232053iw3sxhf94unyo63.htm/, Retrieved Tue, 02 Dec 2008 15:34:15 +0000
 
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/2008/Dec/02/t1228232053iw3sxhf94unyo63.htm/},
    year = {2008},
}
@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 = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1160,9 1470,1 1653 1390 1550,7 1852,1 1797,9 1256,4 1835,5 1793,2 1874,8 1948,6 1819,9 1823,6 2042,7 1705,9 1876,8 1919,5 1803,4 1380,4 1812,1 1856,4 1934,3 1977,5 1813,7 1937,1 2178,7 1699,9 1943,8 2151 1927,7 1418,2 1899,8 1974,9 1918,7 1818,3 1751 1888 1947,7 1818,1 2110,8 2009 2124,2 1542,5 2044,1 2324,3 2055,6 2137,9 2140,7 2301,5 2412,6 2477 2311,8 2326,6 2745,3 1937,2 2668,7 2636,1 2327,6 2584,6 2282,8 2337 2499,3 2389,6 2327,1 2556,6 2580 1831,4 2382,1 2237,9 2117,7 2240,9 1946,1 2149,6 2690 2171,1 2358,6 2841,4 3064,6 2037,3 2799,9 2852,3 2541,2 2910 2694,6 3081,7 3648,2 2823,3 3670,1 3027,6 3578,5 2655,1 3835,3 3766 3716 3531,7 3194 3442,2 3610 3105,5 3428,4 3489,7 3679 2596,1 3110,7 3401,7 3431,8 3383,1 3797,5 3860,5 4054,1 4044,9 4402,4 4046,4 4329,7 3204,2 4037,2 4678,4 4174,6 4151,4 3874,7 3568 3431 3733,2 3278,3 3583,7 4060,3 2979 4078,4 4002,1 3542,4 3928,2 3626 3998,4 4413,5 3853,1 3920,5 4616,2 4332,7 3362,7 3855,4 4087,1 3860,2 4018,1 3627,7 3996 4420,7 4386,5 4631,8 4875,3 4549,3 3933 4963,3 4419,7 4646,7 5000,2 4302,2 4432,1 5125,5 4299,9 5145,6 4537,8 4880,9 4136,9 4668,8 4818,5 4933,9 4524,4 4676,1 4911 5745 4483,7 4772,7 5021,4 5535,6 4736 5001,7 5486,3 4958,5 4756,4 4763,3 4951,2 4692,8 5301,2 4929,7 5223,3 5708,3 4018
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ 72.249.76.132


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean3215.9585.755491133721937.5013886281083
Geometric Mean2993.40557717569
Harmonic Mean2773.80133785337
Quadratic Mean3423.08825463828
Winsorized Mean ( 1 / 62 )3216.2627659574585.661288155877937.5462806501907
Winsorized Mean ( 2 / 62 )3215.7446808510685.227977044027137.7310924462031
Winsorized Mean ( 3 / 62 )3215.1111702127785.096974389508637.7817330554722
Winsorized Mean ( 4 / 62 )3211.7728723404384.486968884890738.0150088792546
Winsorized Mean ( 5 / 62 )3211.0813829787284.06256652393938.1987074123449
Winsorized Mean ( 6 / 62 )3210.9122340425583.49878984726738.4545960476294
Winsorized Mean ( 7 / 62 )3210.4691489361783.373897065143238.5068859912798
Winsorized Mean ( 8 / 62 )3210.3925531914982.389617527879238.9659844227963
Winsorized Mean ( 9 / 62 )3211.6946808510682.055092273505239.1407113423976
Winsorized Mean ( 10 / 62 )3211.9340425531982.01439485703239.1630523904036
Winsorized Mean ( 11 / 62 )3212.4138297872381.508430400913739.4120438092895
Winsorized Mean ( 12 / 62 )3214.8010638297981.218043850028939.5823503181879
Winsorized Mean ( 13 / 62 )3214.6212765957481.1297915853739.6231916017326
Winsorized Mean ( 14 / 62 )3213.7425531914980.944651897617339.702963418218
Winsorized Mean ( 15 / 62 )3214.1015957446880.842069845109439.7577845532999
Winsorized Mean ( 16 / 62 )3212.6462765957480.649524131364839.8346588054614
Winsorized Mean ( 17 / 62 )3210.3223404255380.307981335259239.9751343147763
Winsorized Mean ( 18 / 62 )3209.8053191489480.246629560193239.9992540090578
Winsorized Mean ( 19 / 62 )3204.2265957446879.601763092423940.2532113770435
Winsorized Mean ( 20 / 62 )3199.7478723404379.041672857809840.4817833005197
Winsorized Mean ( 21 / 62 )3199.5691489361778.849142318181840.5783633767996
Winsorized Mean ( 22 / 62 )3199.241489361778.71913542288640.6412173123485
Winsorized Mean ( 23 / 62 )3198.7765957446878.268565617233540.8692374840246
Winsorized Mean ( 24 / 62 )3193.8106382978777.64371877026641.1341791568201
Winsorized Mean ( 25 / 62 )3194.3425531914977.221988088194641.3657124385771
Winsorized Mean ( 26 / 62 )3194.3010638297977.164046319303441.3962358921904
Winsorized Mean ( 27 / 62 )3194.8611702127776.909979869971741.5402679290019
Winsorized Mean ( 28 / 62 )3193.3271276595776.414534280920241.7895254837261
Winsorized Mean ( 29 / 62 )3193.9441489361775.918355472691142.0707762839393
Winsorized Mean ( 30 / 62 )3191.5824468085175.655483564813242.1857385139085
Winsorized Mean ( 31 / 62 )3181.9031914893674.436421558419442.7465899739973
Winsorized Mean ( 32 / 62 )3181.0691489361774.143381897645842.904289870775
Winsorized Mean ( 33 / 62 )3179.208510638373.869575722247743.0381314574249
Winsorized Mean ( 34 / 62 )3171.8659574468173.15661034067943.3572023454329
Winsorized Mean ( 35 / 62 )3163.4882978723472.133228246855743.85618632021
Winsorized Mean ( 36 / 62 )3161.7457446808571.88853089337143.9812262872714
Winsorized Mean ( 37 / 62 )3161.8638297872371.841634590492344.0115797449531
Winsorized Mean ( 38 / 62 )3160.7925531914971.707987900748444.078667464026
Winsorized Mean ( 39 / 62 )3163.9457446808571.00212951592244.5612795876967
Winsorized Mean ( 40 / 62 )3161.1159574468170.637884247625844.750999992657
Winsorized Mean ( 41 / 62 )3156.2526595744768.94479459377545.7794192900452
Winsorized Mean ( 42 / 62 )3161.9047872340468.324029085239546.2780785847586
Winsorized Mean ( 43 / 62 )3156.8567.643047241266446.6692458241906
Winsorized Mean ( 44 / 62 )3156.6393617021367.565466520617546.7197153258593
Winsorized Mean ( 45 / 62 )3129.464.667708749407348.3920036834254
Winsorized Mean ( 46 / 62 )3137.2297872340462.989725319935949.8054209841288
Winsorized Mean ( 47 / 62 )3135.3297872340462.528191114654550.1426593564007
Winsorized Mean ( 48 / 62 )3124.2744680851161.304981981237450.9628152087427
Winsorized Mean ( 49 / 62 )3125.5776595744760.803913105685651.4042189051514
Winsorized Mean ( 50 / 62 )3121.5085106383060.33723687748951.734362927098
Winsorized Mean ( 51 / 62 )3122.2409574468159.987799750112452.0479325871751
Winsorized Mean ( 52 / 62 )3120.4984042553259.77755363874452.2018419006162
Winsorized Mean ( 53 / 62 )3125.7420212766059.252663513181452.7527681617424
Winsorized Mean ( 54 / 62 )3125.7132978723458.881467859377253.084839959107
Winsorized Mean ( 55 / 62 )3137.4446808510656.94256484685355.0984081818095
Winsorized Mean ( 56 / 62 )3138.308510638356.864647930637155.189095947035
Winsorized Mean ( 57 / 62 )3146.191489361755.400601833696356.7898431646296
Winsorized Mean ( 58 / 62 )3150.8191489361754.826902725400957.4684870439785
Winsorized Mean ( 59 / 62 )3153.2984042553254.497284822861557.8615689663224
Winsorized Mean ( 60 / 62 )3137.1813829787252.52128540458259.7316185011921
Winsorized Mean ( 61 / 62 )3136.3702127659652.333420411284459.9305412892462
Winsorized Mean ( 62 / 62 )3133.9957446808552.114569892269160.1366518261482
Trimmed Mean ( 1 / 62 )3213.4016129032384.881037392633537.8577089961686
Trimmed Mean ( 2 / 62 )3210.4782608695784.047939062272438.1981794757736
Trimmed Mean ( 3 / 62 )3210.4782608695783.395288818695938.4971178389855
Trimmed Mean ( 4 / 62 )3205.1983333333382.745973714921138.7353993123095
Trimmed Mean ( 5 / 62 )3203.4623595505682.226806838744738.9588563962222
Trimmed Mean ( 6 / 62 )3203.4623595505681.769218432554239.1768739014288
Trimmed Mean ( 7 / 62 )3200.281.389467656972439.319583874018
Trimmed Mean ( 8 / 62 )3198.5965116279181.000594325218339.488556081274
Trimmed Mean ( 9 / 62 )3196.9658823529480.734323562645439.5985962509771
Trimmed Mean ( 10 / 62 )3195.1345238095280.48988244624639.6961012577369
Trimmed Mean ( 11 / 62 )3193.2319277108480.22593005543639.802990448404
Trimmed Mean ( 12 / 62 )3193.2319277108479.997401181554739.9166957994521
Trimmed Mean ( 13 / 62 )3188.9537037037079.776909385953739.9733924045092
Trimmed Mean ( 14 / 62 )3186.6337579.54116419195940.0626993880754
Trimmed Mean ( 15 / 62 )3184.3297468354479.298554721174640.1562141710150
Trimmed Mean ( 16 / 62 )3181.9378205128279.038989186970640.2578253244837
Trimmed Mean ( 17 / 62 )3179.5948051948178.769555781925240.3657831205442
Trimmed Mean ( 18 / 62 )3177.3592105263278.50248847913440.4746304490826
Trimmed Mean ( 19 / 62 )3175.178.211014638209740.5965836741468
Trimmed Mean ( 20 / 62 )3173.152702702777.944800585197340.7102549352769
Trimmed Mean ( 21 / 62 )3171.4404109589077.695904100597440.8186306301637
Trimmed Mean ( 22 / 62 )3169.6916666666777.432637739119840.9348274734712
Trimmed Mean ( 23 / 62 )3167.9133802816977.148133200531341.0627354008337
Trimmed Mean ( 24 / 62 )3167.9133802816976.86593366075341.2134898960994
Trimmed Mean ( 25 / 62 )3164.5391304347876.599434422799241.3128263188962
Trimmed Mean ( 26 / 62 )3162.8911764705976.331635155858541.4361774120574
Trimmed Mean ( 27 / 62 )3161.1962686567276.033508155818341.5763568633235
Trimmed Mean ( 28 / 62 )3159.4204545454575.717078472441441.7266555747444
Trimmed Mean ( 29 / 62 )3157.6692307692375.398882397033641.8795230165568
Trimmed Mean ( 30 / 62 )3155.8320312575.077375022851242.0343949197673
Trimmed Mean ( 31 / 62 )3155.8320312574.734314055421342.2273499280358
Trimmed Mean ( 32 / 62 )3152.6919354838774.440078444201542.3520770178534
Trimmed Mean ( 33 / 62 )3151.3254098360774.126381052359642.5128728139326
Trimmed Mean ( 34 / 62 )3150.0016666666773.789566901087442.6889843504455
Trimmed Mean ( 35 / 62 )3148.9771186440773.46054492544442.8662368600723
Trimmed Mean ( 36 / 62 )3148.3051724137973.161884865472943.0320402242612
Trimmed Mean ( 37 / 62 )3147.6894736842172.836051200997243.2160917812238
Trimmed Mean ( 38 / 62 )3147.0464285714372.464733200365443.4286623241933
Trimmed Mean ( 39 / 62 )3146.4281818181872.049654816561643.6702741994946
Trimmed Mean ( 40 / 62 )3145.646296296371.629836746518343.9153073519911
Trimmed Mean ( 41 / 62 )3144.9603773584971.177731125884144.1846112205565
Trimmed Mean ( 42 / 62 )3144.462570.794080565702744.4170257579895
Trimmed Mean ( 43 / 62 )3143.6970588235370.398210641008544.6559227883593
Trimmed Mean ( 44 / 62 )3143.12269.993800729533644.9057197528891
Trimmed Mean ( 45 / 62 )3142.5326530612269.529534291609845.197090489364
Trimmed Mean ( 46 / 62 )3143.1041666666769.228813101292945.4016763521252
Trimmed Mean ( 47 / 62 )3143.3595744680969.004800898620245.5527663805046
Trimmed Mean ( 48 / 62 )3143.3595744680968.764385310833145.712028985052
Trimmed Mean ( 49 / 62 )3144.5544444444468.566463671952545.8614062333616
Trimmed Mean ( 50 / 62 )3145.3818181818268.355450638858546.015084222029
Trimmed Mean ( 51 / 62 )3145.3818181818268.125033579701246.1707195270877
Trimmed Mean ( 52 / 62 )3147.4869047619067.862442449266746.3803952696653
Trimmed Mean ( 53 / 62 )3148.6768292682967.549575787683546.612829060022
Trimmed Mean ( 54 / 62 )3149.6937567.209438837185246.8638602626951
Trimmed Mean ( 55 / 62 )3150.764102564166.821591407042247.1518866315424
Trimmed Mean ( 56 / 62 )3151.3631578947466.53309625811547.3653464986663
Trimmed Mean ( 57 / 62 )3151.9554054054166.169166291579247.6348060895325
Trimmed Mean ( 58 / 62 )3152.2194444444465.860309759069647.8622019236761
Trimmed Mean ( 59 / 62 )3152.2842857142965.519054508345548.1124813135507
Trimmed Mean ( 60 / 62 )3152.2367647058865.112341997143648.4122774272835
Trimmed Mean ( 61 / 62 )3152.9515151515264.812066822407348.6476002036932
Trimmed Mean ( 62 / 62 )3152.9515151515264.42796853820848.9376211401374
Median3199.1
Midrange3452.95
Midmean - Weighted Average at Xnp3132.49052631579
Midmean - Weighted Average at X(n+1)p3143.35957446809
Midmean - Empirical Distribution Function3132.49052631579
Midmean - Empirical Distribution Function - Averaging3143.35957446809
Midmean - Empirical Distribution Function - Interpolation3143.35957446809
Midmean - Closest Observation3132.49052631579
Midmean - True Basic - Statistics Graphics Toolkit3143.35957446809
Midmean - MS Excel (old versions)3143.10416666667
Number of observations188
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228232053iw3sxhf94unyo63/1je4e1228231705.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228232053iw3sxhf94unyo63/1je4e1228231705.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228232053iw3sxhf94unyo63/2h2yk1228231705.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228232053iw3sxhf94unyo63/2h2yk1228231705.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