Home » date » 2011 » May » 19 »

*Unverified author*
R Software Module: /rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Thu, 19 May 2011 11:31:02 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/May/19/t1305804625a3m230t2fxez79b.htm/, Retrieved Thu, 19 May 2011 13:30:28 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP1W52
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1686 1591 2304 1712 1471 1377 1966 2453 1984 2596 4087 5179 1530 1523 1633 1976 1170 1480 1781 2472 1981 2273 3857 4551 1510 1329 1518 1790 1537 1449 1954 1897 1706 2514 3593 4524 1609 1638 2030 1375 1320 1245 1600 2298 2191 2511 3440 4923 1609 1435 2061 1789 1567 1404 1597 3159 1759 2504 4273 5274 1771 1682 1846 1589 1896 1379 1645 2512 1771 3727 4388 5434 1606 1523 1577 1605 1765 1403 2584 3318 1562 2349 3987 5891 1389 1442 1548 1935 1518 1250 1847 1930 2638 3114 4405 7242 1853 1779 2108 2336 1728 1661 2230 1645 2421 3740 4988 6757 1757 1394 1982 1650 1654 1406 1971 1968 2608 3845 4514 6694 1720 1321 1859 1628 1615 1457 1899 1605 2424 3116 4286 6047 1902 2049 1874 1279 1432 1540 2214 1857 2408 3252 3627 6153 1577 1667 1993 1997 1783 1625 2076 1773 2377 3088 4096 6119 1494 1564 1898 2121 1831 1515 2048 2795 1749 3339 4227 6410 1197 1968 1720 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'George Udny Yule' @ 216.218.223.82


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean2402.4171122994794.707935517590325.3665872787741
Geometric Mean2160.40799614105
Harmonic Mean1996.68225648574
Quadratic Mean2727.62759349037
Winsorized Mean ( 1 / 62 )2400.3582887700593.989323015813725.5386272796772
Winsorized Mean ( 2 / 62 )2399.9732620320993.80233170215725.5854328829749
Winsorized Mean ( 3 / 62 )2396.187165775492.658658237565725.8603697846764
Winsorized Mean ( 4 / 62 )2390.7967914438591.402871161028926.1566924657308
Winsorized Mean ( 5 / 62 )2390.6631016042891.15088641650426.2275354150743
Winsorized Mean ( 6 / 62 )2389.6684491978690.561165792484226.387341950452
Winsorized Mean ( 7 / 62 )2387.9090909090990.170286492991126.4822169672789
Winsorized Mean ( 8 / 62 )2383.6310160427889.162498988781926.7335599952473
Winsorized Mean ( 9 / 62 )2363.8502673796884.544847782184527.9597199520631
Winsorized Mean ( 10 / 62 )2355.4010695187282.892779164825428.4150331699604
Winsorized Mean ( 11 / 62 )2349.9304812834281.837004636873328.7147665253698
Winsorized Mean ( 12 / 62 )2338.3155080213979.559044424858729.3909451141016
Winsorized Mean ( 13 / 62 )2334.1443850267478.732741276744129.6464259617516
Winsorized Mean ( 14 / 62 )2306.8930481283473.954386451379631.1934580059694
Winsorized Mean ( 15 / 62 )2304.8074866310273.596886276036731.3166439947809
Winsorized Mean ( 16 / 62 )2304.0374331550873.452694548515131.3676366444702
Winsorized Mean ( 17 / 62 )2294.3101604278171.856585027133731.9290174945199
Winsorized Mean ( 18 / 62 )2295.1764705882471.43403314032232.1300138000005
Winsorized Mean ( 19 / 62 )2285.1176470588269.799128444838332.7384839606519
Winsorized Mean ( 20 / 62 )2284.4759358288869.53620775123232.8530417419607
Winsorized Mean ( 21 / 62 )2280.0962566844968.694341460245233.1919079245272
Winsorized Mean ( 22 / 62 )2265.625668449266.314659881920334.1647785343899
Winsorized Mean ( 23 / 62 )2266.2406417112366.038298535130934.3170658842102
Winsorized Mean ( 24 / 62 )2254.561497326264.079117414041335.184028562044
Winsorized Mean ( 25 / 62 )2239.0534759358361.463686969298836.4288832372559
Winsorized Mean ( 26 / 62 )2237.5240641711261.218790304972636.5496288480136
Winsorized Mean ( 27 / 62 )2224.5294117647158.959565029282237.7297459820115
Winsorized Mean ( 28 / 62 )2223.6310160427858.683489883763837.8919355417886
Winsorized Mean ( 29 / 62 )2223.7860962566858.610555469658537.9417338470354
Winsorized Mean ( 30 / 62 )2207.7433155080256.419231765820639.1310417814923
Winsorized Mean ( 31 / 62 )2202.9358288770155.604811289349239.6177197223753
Winsorized Mean ( 32 / 62 )2176.7540106951952.138359816252641.7495682328052
Winsorized Mean ( 33 / 62 )2168.2834224598950.797813527725442.6845817148497
Winsorized Mean ( 34 / 62 )2161.1925133689849.639777977252543.5375136923327
Winsorized Mean ( 35 / 62 )2157.8235294117649.101453827732743.9462248303739
Winsorized Mean ( 36 / 62 )2146.657754010747.393246722127945.2945915817247
Winsorized Mean ( 37 / 62 )2131.0267379679144.918591466161947.4419759927971
Winsorized Mean ( 38 / 62 )2122.6951871657843.820765525936148.4403949061415
Winsorized Mean ( 39 / 62 )2122.9037433155143.727109397247548.548915594433
Winsorized Mean ( 40 / 62 )2119.4812834224642.904952328262749.399455503562
Winsorized Mean ( 41 / 62 )2093.1711229946539.75033149700552.657953887815
Winsorized Mean ( 42 / 62 )2057.0106951871735.055787364984658.6782055062842
Winsorized Mean ( 43 / 62 )2021.3689839572231.044522747498465.1119361826911
Winsorized Mean ( 44 / 62 )2015.7219251336930.190044335122766.7677696249233
Winsorized Mean ( 45 / 62 )2013.5561497326229.83237442942167.4956716736175
Winsorized Mean ( 46 / 62 )2011.8342245989329.431643895334268.3561622229964
Winsorized Mean ( 47 / 62 )1994.2406417112327.621321226980672.1993211448282
Winsorized Mean ( 48 / 62 )1993.9839572192527.549963473203472.3770091077875
Winsorized Mean ( 49 / 62 )1994.5080213903727.464050520868672.6225004529047
Winsorized Mean ( 50 / 62 )1992.6363636363627.275100236021873.0569767441119
Winsorized Mean ( 51 / 62 )1985.5454545454526.276940724003475.5622762710617
Winsorized Mean ( 52 / 62 )1983.0427807486625.542468116252777.637085489278
Winsorized Mean ( 53 / 62 )1975.6737967914424.670085273474580.0837846683776
Winsorized Mean ( 54 / 62 )1976.251336898424.476317905445680.741365777845
Winsorized Mean ( 55 / 62 )1973.8983957219323.992797558840982.270455993348
Winsorized Mean ( 56 / 62 )1966.7112299465222.936841182068985.7446417462236
Winsorized Mean ( 57 / 62 )1958.1764705882422.121008165453788.5211223621495
Winsorized Mean ( 58 / 62 )1955.6951871657821.620884402221190.4539865614778
Winsorized Mean ( 59 / 62 )1946.8609625668420.576010669789394.617999271614
Winsorized Mean ( 60 / 62 )1947.1818181818220.225050449736396.2757459132672
Winsorized Mean ( 61 / 62 )1940.9839572192519.3188944096377100.470757594231
Winsorized Mean ( 62 / 62 )1927.7219251336917.9376259591539107.468063473022
Trimmed Mean ( 1 / 62 )2402.4171122994791.776596113506726.1767946735377
Trimmed Mean ( 2 / 62 )2383.4594594594689.377923493505426.6672055726675
Trimmed Mean ( 3 / 62 )2348.7403314917186.878553987142727.0347539605609
Trimmed Mean ( 4 / 62 )2348.7403314917184.619968256727427.756336711991
Trimmed Mean ( 5 / 62 )2316.7457627118682.560065051285828.0613364496832
Trimmed Mean ( 6 / 62 )2300.9485714285780.38483517030928.6241623380035
Trimmed Mean ( 7 / 62 )2300.9485714285778.147335047290829.4437240890704
Trimmed Mean ( 8 / 62 )2284.9653179190875.783389389465230.1512684550991
Trimmed Mean ( 9 / 62 )2253.0118343195373.386388784988630.7006772185033
Trimmed Mean ( 10 / 62 )2239.2215568862371.566497315927631.2886845223299
Trimmed Mean ( 11 / 62 )2226.0545454545569.843986342947731.8718140531696
Trimmed Mean ( 12 / 62 )2213.1349693251568.12176530580932.4879274544641
Trimmed Mean ( 13 / 62 )2201.0186335403766.563934772714733.0662338555532
Trimmed Mean ( 14 / 62 )2201.0186335403764.973151877572533.8758174713104
Trimmed Mean ( 15 / 62 )2178.9426751592463.846468732879234.1278494864844
Trimmed Mean ( 16 / 62 )2178.9426751592462.660343775858234.773870423589
Trimmed Mean ( 17 / 62 )2158.4901960784361.381050781576635.1654161763926
Trimmed Mean ( 18 / 62 )2148.5960264900760.16616151547535.7110371074186
Trimmed Mean ( 19 / 62 )2138.3758389261758.878912409684136.3181952826707
Trimmed Mean ( 20 / 62 )2128.5510204081657.649027083763936.9225835730997
Trimmed Mean ( 21 / 62 )2118.4965517241456.325188253693237.6118858614774
Trimmed Mean ( 22 / 62 )2108.4335664335754.958893836794738.3638282949207
Trimmed Mean ( 23 / 62 )2098.9574468085153.710554784628639.0790498296847
Trimmed Mean ( 24 / 62 )2089.172661870552.358844928768239.9010456535611
Trimmed Mean ( 25 / 62 )2079.7664233576651.073442080144640.7210937554216
Trimmed Mean ( 26 / 62 )2070.9407407407449.924935098667841.481090293816
Trimmed Mean ( 27 / 62 )2061.9323308270748.677849782099142.3587389347943
Trimmed Mean ( 28 / 62 )2061.9323308270747.528031239018143.3834997384518
Trimmed Mean ( 29 / 62 )2044.5193798449646.277109565793344.1799282415903
Trimmed Mean ( 30 / 62 )2035.4173228346544.888126905964445.344224923856
Trimmed Mean ( 31 / 62 )2026.82443.576440903387846.5119215333262
Trimmed Mean ( 32 / 62 )2026.82442.195135677261948.0345415998322
Trimmed Mean ( 33 / 62 )2010.5289256198341.029508084562549.0020236527355
Trimmed Mean ( 34 / 62 )2003.0168067226939.865598128490850.2442431759525
Trimmed Mean ( 35 / 62 )1995.581196581238.682224680540551.5891010163409
Trimmed Mean ( 36 / 62 )1988.0434782608737.407501769094253.145582683722
Trimmed Mean ( 37 / 62 )1980.7522123893836.159532325055454.7781479744662
Trimmed Mean ( 38 / 62 )1973.9099099099135.025498023607456.3563695391135
Trimmed Mean ( 39 / 62 )1967.1926605504633.866451547893858.0867664204046
Trimmed Mean ( 40 / 62 )1960.2149532710332.555862027608460.2108140035949
Trimmed Mean ( 41 / 62 )1953.1238095238131.151839811959462.6969007709776
Trimmed Mean ( 42 / 62 )1946.9223300970929.946601023700865.0131321600145
Trimmed Mean ( 43 / 62 )1942.0693069306929.132756078304266.6627387299273
Trimmed Mean ( 44 / 62 )1938.5858585858628.649381429585567.6658888203404
Trimmed Mean ( 45 / 62 )1935.2061855670128.184948283417268.6609805385239
Trimmed Mean ( 46 / 62 )1931.7789473684227.69058838476769.7630155244776
Trimmed Mean ( 47 / 62 )1928.2795698924727.165296513020970.9831961145062
Trimmed Mean ( 48 / 62 )1925.395604395626.76172105958571.9458812125241
Trimmed Mean ( 49 / 62 )1922.3932584269726.303294155804273.0856464988725
Trimmed Mean ( 50 / 62 )1919.2298850574725.781372156406974.4425034251144
Trimmed Mean ( 51 / 62 )1919.2298850574725.199606506198276.1611053166806
Trimmed Mean ( 52 / 62 )1912.9277108433724.644172306262477.6219094344376
Trimmed Mean ( 53 / 62 )1909.8148148148124.082414509648779.3032946945431
Trimmed Mean ( 54 / 62 )1906.8734177215223.536931328194381.016228969378
Trimmed Mean ( 55 / 62 )1903.7532467532522.917674558997683.0692155023131
Trimmed Mean ( 56 / 62 )1903.7532467532522.251382573368985.5566273455615
Trimmed Mean ( 57 / 62 )1897.5479452054821.612023130563387.8005697912663
Trimmed Mean ( 58 / 62 )1894.7464788732420.976289367227290.3280101500478
Trimmed Mean ( 59 / 62 )1891.8985507246420.290191660830193.2420246368059
Trimmed Mean ( 60 / 62 )1889.2985074626919.634735727639596.222252933262
Trimmed Mean ( 61 / 62 )1886.5230769230818.894470442793899.8452474566483
Trimmed Mean ( 62 / 62 )1883.8730158730218.1528399313924103.778418307714
Median1874
Midrange4156
Midmean - Weighted Average at Xnp1924.84042553191
Midmean - Weighted Average at X(n+1)p1931.77894736842
Midmean - Empirical Distribution Function1931.77894736842
Midmean - Empirical Distribution Function - Averaging1931.77894736842
Midmean - Empirical Distribution Function - Interpolation1924.84042553191
Midmean - Closest Observation1924.84042553191
Midmean - True Basic - Statistics Graphics Toolkit1931.77894736842
Midmean - MS Excel (old versions)1931.77894736842
Number of observations187
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/May/19/t1305804625a3m230t2fxez79b/1c3wl1305804659.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t1305804625a3m230t2fxez79b/1c3wl1305804659.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/19/t1305804625a3m230t2fxez79b/2bqm51305804659.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t1305804625a3m230t2fxez79b/2bqm51305804659.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