Home » date » 2010 » Mar » 12 »

Centrummaten:Monthly Australian sales of red wine

*Unverified author*
R Software Module: /rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Fri, 12 Mar 2010 06:13:51 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Mar/12/t1268400124szpthulk7mo7rz2.htm/, Retrieved Fri, 12 Mar 2010 14:22:06 +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/Mar/12/t1268400124szpthulk7mo7rz2.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:
KDGP1W52
 
Dataseries X:
» Textbox « » Textfile « » CSV «
464 675 703 887 1139 1077 1318 1260 1120 963 996 960 530 883 894 1045 1199 1287 1565 1577 1076 918 1008 1063 544 635 804 980 1018 1064 1404 1286 1104 999 996 1015 615 722 832 977 1270 1437 1520 1708 1151 934 1159 1209 699 830 996 1124 1458 1270 1753 2258 1208 1241 1265 1828 809 997 1164 1205 1538 1513 1378 2083 1357 1536 1526 1376 779 1005 1193 1522 1539 1546 2116 2326 1596 1356 1553 1613 814 1150 1225 1691 1759 1754 2100 2062 2012 1897 1964 2186 966 1549 1538 1612 2078 2137 2907 2249 1883 1739 1828 1868 1138 1430 1809 1763 2200 2067 2503 2141 2103 1972 2181 2344 970 1199 1718 1683 2025 2051 2439 2353 2230 1852 2147 2286 1007 1665 1642 1518 1831 2207 2822 2393 2306 1785 2047 2171 1212 1335 2011 1860 1954 2152 2835 2224 2182 1992 2389 2724 891 1247 2017 2257 2255 2255 3057 3330 1896 2096 2374 2535 1041 1728 2201 2455 2204 2660 3670 2665 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'Gwilym Jenkins' @ 72.249.127.135


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean1664.0641711229947.458090433476635.0638670018879
Geometric Mean1536.17482508946
Harmonic Mean1406.55618309747
Quadratic Mean1785.50604879048
Winsorized Mean ( 1 / 62 )1663.0641711229947.083051431535.3219283916325
Winsorized Mean ( 2 / 62 )1659.5775401069546.293735333863135.8488579100032
Winsorized Mean ( 3 / 62 )1660.3957219251346.088494152166036.0262523753361
Winsorized Mean ( 4 / 62 )1655.4117647058845.06242174016336.7359698120809
Winsorized Mean ( 5 / 62 )1652.4705882352944.292892087408737.3078051659907
Winsorized Mean ( 6 / 62 )1650.9304812834243.858687856525537.6420399690044
Winsorized Mean ( 7 / 62 )1650.593582887743.770911974751837.7098284778669
Winsorized Mean ( 8 / 62 )1647.2139037433243.093308959663838.2243541633143
Winsorized Mean ( 9 / 62 )1648.0320855615042.528843644751538.7509262966965
Winsorized Mean ( 10 / 62 )1648.3529411764742.251328569081939.0130440154414
Winsorized Mean ( 11 / 62 )1648.3529411764742.181809623731439.0773405854335
Winsorized Mean ( 12 / 62 )1647.3262032085641.97505601561939.2453604492054
Winsorized Mean ( 13 / 62 )1646.9786096256741.672909168773939.5215655080728
Winsorized Mean ( 14 / 62 )1644.7326203208641.360472769228539.7658080336187
Winsorized Mean ( 15 / 62 )1648.7433155080240.928740496219540.2832653904977
Winsorized Mean ( 16 / 62 )1644.8074866310240.377584739088640.7356580949409
Winsorized Mean ( 17 / 62 )1642.2620320855640.000175435339141.0563707336809
Winsorized Mean ( 18 / 62 )1638.3155080213939.489308055028141.4875719204401
Winsorized Mean ( 19 / 62 )1640.3475935828939.199539375514641.8460935948525
Winsorized Mean ( 20 / 62 )1640.3475935828938.840919112219142.2324607933092
Winsorized Mean ( 21 / 62 )1638.1016042780737.996545647658343.1118559952312
Winsorized Mean ( 22 / 62 )1637.9839572192537.912529936223243.2042905069824
Winsorized Mean ( 23 / 62 )1636.5080213903737.681910281034343.4295397761202
Winsorized Mean ( 24 / 62 )1634.3262032085637.351598950448543.755187170881
Winsorized Mean ( 25 / 62 )1634.0588235294137.138283408885743.999309433307
Winsorized Mean ( 26 / 62 )1631.9732620320936.843260168696644.2950285767238
Winsorized Mean ( 27 / 62 )1631.3957219251336.334392094714644.8994913048909
Winsorized Mean ( 28 / 62 )1628.4010695187236.038024389245945.1856364802463
Winsorized Mean ( 29 / 62 )1624.0588235294135.617238388613145.5975504279587
Winsorized Mean ( 30 / 62 )1624.0588235294135.586688626004445.6366941188976
Winsorized Mean ( 31 / 62 )1624.0588235294135.523619732219645.717717838771
Winsorized Mean ( 32 / 62 )1625.0855614973335.426744721903845.8717156841272
Winsorized Mean ( 33 / 62 )1624.3796791443935.292556525555146.0261267264156
Winsorized Mean ( 34 / 62 )1621.1069518716634.949276049882146.3845645774722
Winsorized Mean ( 35 / 62 )1621.6684491978634.755958317990246.6587177473528
Winsorized Mean ( 36 / 62 )1621.8609625668434.665839686602746.7855669220568
Winsorized Mean ( 37 / 62 )1623.0481283422533.930161188446547.8349666341965
Winsorized Mean ( 38 / 62 )1623.2513368984033.798932942752948.0267036727989
Winsorized Mean ( 39 / 62 )1626.3796791443933.398204389322148.6966203387977
Winsorized Mean ( 40 / 62 )1626.3796791443933.359030421549848.7538054491461
Winsorized Mean ( 41 / 62 )1625.9411764705932.838726974897749.5129174073489
Winsorized Mean ( 42 / 62 )1625.2673796791432.736244167912049.6473380190703
Winsorized Mean ( 43 / 62 )1631.2459893048132.161993782590950.7196786471552
Winsorized Mean ( 44 / 62 )1632.6577540107031.616153552223551.6399868603204
Winsorized Mean ( 45 / 62 )1629.0481283422531.116330965470852.3534773476337
Winsorized Mean ( 46 / 62 )1631.2620320855630.706246268464653.124762233177
Winsorized Mean ( 47 / 62 )1630.0053475935830.548636056813553.3577127490127
Winsorized Mean ( 48 / 62 )1631.8021390374330.213278670380054.0094359450367
Winsorized Mean ( 49 / 62 )1626.5614973262029.699628110775654.7670661484161
Winsorized Mean ( 50 / 62 )1625.2245989304829.208937915178355.6413452502134
Winsorized Mean ( 51 / 62 )1625.7700534759429.020180348660756.0220520321807
Winsorized Mean ( 52 / 62 )1630.4973262032128.426519487913857.3583173591284
Winsorized Mean ( 53 / 62 )1629.0802139037427.912496547932958.3638303763404
Winsorized Mean ( 54 / 62 )1629.3689839572227.641095759866958.9473368969314
Winsorized Mean ( 55 / 62 )1626.1336898395727.359791847327759.4351630638739
Winsorized Mean ( 56 / 62 )1626.4331550802127.079614110735860.0611644032035
Winsorized Mean ( 57 / 62 )1623.9946524064226.714026461438360.7918336365599
Winsorized Mean ( 58 / 62 )1623.0641711229926.581557243636261.059785032405
Winsorized Mean ( 59 / 62 )1617.0695187165825.910751276071462.4092100413138
Winsorized Mean ( 60 / 62 )1618.6737967914425.344197805759563.8676279753308
Winsorized Mean ( 61 / 62 )1622.2620320855624.772420630344565.4866174078444
Winsorized Mean ( 62 / 62 )1623.9197860962624.580057461165366.0665577638267
Trimmed Mean ( 1 / 62 )1664.0641711229945.923562644165636.2355199664459
Trimmed Mean ( 2 / 62 )1658.3405405405444.672077845085637.1225297889960
Trimmed Mean ( 3 / 62 )1650.3812154696143.771642439995337.7043474603917
Trimmed Mean ( 4 / 62 )1650.3812154696142.883243082739638.4854571816162
Trimmed Mean ( 5 / 62 )1644.6440677966142.239305354181438.9363426790778
Trimmed Mean ( 6 / 62 )1642.9714285714341.738051241245639.3638749225513
Trimmed Mean ( 7 / 62 )1642.9714285714341.291453162131539.7896247952397
Trimmed Mean ( 8 / 62 )1641.5375722543440.828544998854940.2056348640486
Trimmed Mean ( 9 / 62 )1639.1420118343240.443842228204640.5288400292299
Trimmed Mean ( 10 / 62 )1638.0359281437140.114340305159540.8341734073844
Trimmed Mean ( 11 / 62 )1636.8666666666739.797457024440941.12993113257
Trimmed Mean ( 12 / 62 )1635.6687116564439.46464727896441.4464292584292
Trimmed Mean ( 13 / 62 )1634.5403726708139.130806669089641.7711903179847
Trimmed Mean ( 14 / 62 )1634.5403726708138.805070245835642.1218248624668
Trimmed Mean ( 15 / 62 )1632.4522292993638.487511465106942.415115115441
Trimmed Mean ( 16 / 62 )1632.4522292993638.18813639205842.7476274971843
Trimmed Mean ( 17 / 62 )1630.0980392156937.919510791284242.9883720860229
Trimmed Mean ( 18 / 62 )1629.211920529837.664260536880143.2561770045774
Trimmed Mean ( 19 / 62 )1628.5771812080537.43430448526243.5049402840977
Trimmed Mean ( 20 / 62 )1627.7891156462637.208833259171943.7473839695044
Trimmed Mean ( 21 / 62 )1626.9793103448336.993436133329443.9802159626636
Trimmed Mean ( 22 / 62 )1626.2867132867136.82920431924544.1575305073018
Trimmed Mean ( 23 / 62 )1625.5815602836936.654076068073144.3492712042365
Trimmed Mean ( 24 / 62 )1624.9424460431736.479038290125344.5445527680764
Trimmed Mean ( 25 / 62 )1624.4087591240936.311544865895344.7353249530777
Trimmed Mean ( 26 / 62 )1623.8740740740736.141903589801244.9305076042622
Trimmed Mean ( 27 / 62 )1623.4360902255635.976001078627645.1255292848544
Trimmed Mean ( 28 / 62 )1623.4360902255635.829781215210745.3096847137981
Trimmed Mean ( 29 / 62 )1622.7364341085335.687760098598545.4703917989029
Trimmed Mean ( 30 / 62 )1622.6692913385835.558985526984645.633171680536
Trimmed Mean ( 31 / 62 )1622.635.414371057797445.8175580007299
Trimmed Mean ( 32 / 62 )1622.635.254776749356646.024968801699
Trimmed Mean ( 33 / 62 )1622.4049586776935.081156555188446.2471913126745
Trimmed Mean ( 34 / 62 )1622.3109243697534.894838143829546.4914299840827
Trimmed Mean ( 35 / 62 )1622.3675213675234.710258330163546.7402894537858
Trimmed Mean ( 36 / 62 )1622.434.515614702278247.0048125752462
Trimmed Mean ( 37 / 62 )1622.4247787610634.301642632852247.2987488128978
Trimmed Mean ( 38 / 62 )1622.3963963964034.116076557139847.5551868832016
Trimmed Mean ( 39 / 62 )1622.3577981651433.913968234481347.8374511336494
Trimmed Mean ( 40 / 62 )1622.1775700934633.714312657838648.1153979485416
Trimmed Mean ( 41 / 62 )1621.9904761904833.488414417926148.4343766159988
Trimmed Mean ( 42 / 62 )1621.8155339805833.271806192290248.7444391989874
Trimmed Mean ( 43 / 62 )1621.6633663366333.031108281474949.0950334611123
Trimmed Mean ( 44 / 62 )1621.2424242424232.801565678617949.4257633957775
Trimmed Mean ( 45 / 62 )1620.7422680412432.581668728025249.7439919842765
Trimmed Mean ( 46 / 62 )1620.3789473684232.368770908259650.0599467295481
Trimmed Mean ( 47 / 62 )1619.9032258064532.154689315890350.3784443348958
Trimmed Mean ( 48 / 62 )1619.4615384615431.917603426195250.738820106162
Trimmed Mean ( 49 / 62 )1618.9213483146131.669498835086651.1192601040155
Trimmed Mean ( 50 / 62 )1618.5862068965531.425869679996451.5048978239363
Trimmed Mean ( 51 / 62 )1618.5862068965531.183988311937451.9044001269378
Trimmed Mean ( 52 / 62 )1617.9638554216930.915117244216752.3356855689868
Trimmed Mean ( 53 / 62 )1617.4074074074130.653367576150152.7644280319083
Trimmed Mean ( 54 / 62 )1616.8860759493730.392530916682653.2001128955618
Trimmed Mean ( 55 / 62 )1616.3246753246830.107454185385753.6851991992483
Trimmed Mean ( 56 / 62 )1616.3246753246829.796045205864354.2462821544706
Trimmed Mean ( 57 / 62 )1615.3972602739729.452937847368554.8467276386929
Trimmed Mean ( 58 / 62 )161529.082959118122755.5308004746199
Trimmed Mean ( 59 / 62 )1614.6231884058028.653529733283556.3498878998588
Trimmed Mean ( 60 / 62 )1614.5074626865728.220768012830257.2099052000482
Trimmed Mean ( 61 / 62 )1614.3076923076927.7697168612958.1319464066262
Trimmed Mean ( 62 / 62 )1613.9206349206327.297110815565659.1242291473694
Median1596
Midrange2193.5
Midmean - Weighted Average at Xnp1614.77659574468
Midmean - Weighted Average at X(n+1)p1620.37894736842
Midmean - Empirical Distribution Function1620.37894736842
Midmean - Empirical Distribution Function - Averaging1620.37894736842
Midmean - Empirical Distribution Function - Interpolation1619.90322580645
Midmean - Closest Observation1614.77659574468
Midmean - True Basic - Statistics Graphics Toolkit1620.37894736842
Midmean - MS Excel (old versions)1620.37894736842
Number of observations187
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Mar/12/t1268400124szpthulk7mo7rz2/1k7211268399629.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Mar/12/t1268400124szpthulk7mo7rz2/1k7211268399629.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Mar/12/t1268400124szpthulk7mo7rz2/2caog1268399629.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Mar/12/t1268400124szpthulk7mo7rz2/2caog1268399629.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