Home » date » 2010 » Jan » 03 »

*Unverified author*
R Software Module: /rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Sun, 03 Jan 2010 10:27:45 -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/Jan/03/t1262540587kmxxqz1qn00p7g0.htm/, Retrieved Sun, 03 Jan 2010 18:43:09 +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/Jan/03/t1262540587kmxxqz1qn00p7g0.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 «
8357,00 7454,00 8076,00 7248,00 7339,00 7292,00 7359,00 7537,00 7441,00 8057,00 8037,00 8257,00 8692,00 8119,00 8236,00 7432,00 7669,00 7453,00 7566,00 7731,00 7657,00 8130,00 8401,00 8737,00 9009,00 7919,00 8228,00 7903,00 7912,00 7857,00 7965,00 8091,00 8024,00 8772,00 8656,00 8953,00 9014,00 8103,00 8876,00 8231,00 8173,00 8087,00 8296,00 8007,00 8382,00 9168,00 9137,00 9321,00 9234,00 8451,00 9101,00 8279,00 8284,00 8225,00 8597,00 8305,00 8620,00 9102,00 9258,00 9652,00 9522,00 8874,00 9415,00 8525,00 8862,00 8421,00 8626,00 8750,00 8852,00 9412,00 9570,00 9513,00 9986,00 8907,00 9663,00 8799,00 8931,00 8732,00 8936,00 9127,00 9070,00 9773,00 9670,00 9929,00 10095,00 9025,00 9659,00 8954,00 9022,00 8855,00 9034,00 9196,00 9038,00 9650,00 9715,00 10052,00 10436,00 9314,00 9717,00 8997,00 9062,00 8885,00 9058,00 9095,00 9149,00 9857,00 9848,00 10269,00 10341,00 9690,00 10125,00 9349,00 9224,00 9 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 Mean9212.8514285714371.6403941923656128.598558570651
Geometric Mean9163.98618728869
Harmonic Mean9114.71155621063
Quadratic Mean9261.1910499059
Winsorized Mean ( 1 / 58 )9211.1428571428671.2503930052414129.278484912571
Winsorized Mean ( 2 / 58 )9211.1428571428671.0800897594805129.588227706399
Winsorized Mean ( 3 / 58 )9209.5485714285770.7219865890254130.221859079644
Winsorized Mean ( 4 / 58 )9210.6228571428670.3842480111678130.861991388775
Winsorized Mean ( 5 / 58 )9207.4228571428669.8340869122148131.847114557638
Winsorized Mean ( 6 / 58 )9207.2514285714369.690769222679132.115795696730
Winsorized Mean ( 7 / 58 )9206.9714285714369.6393153913939132.209390296637
Winsorized Mean ( 8 / 58 )9209.7668.9573957424888133.557247933093
Winsorized Mean ( 9 / 58 )9206.0571428571468.029845046349135.323799967279
Winsorized Mean ( 10 / 58 )9208.9714285714367.0155943073397137.4153512142
Winsorized Mean ( 11 / 58 )9208.4057142857166.7394881901606137.975372062312
Winsorized Mean ( 12 / 58 )9211.6971428571466.0565163179587139.451755198794
Winsorized Mean ( 13 / 58 )9216.7485714285764.317870540326143.299964597706
Winsorized Mean ( 14 / 58 )9219.7085714285763.7820318797604144.550248709687
Winsorized Mean ( 15 / 58 )9211.8228571428662.5864544929314147.185568055836
Winsorized Mean ( 16 / 58 )9212.1885714285762.4760722084266147.451468150811
Winsorized Mean ( 17 / 58 )9214.3257142857161.661077570609149.435041963616
Winsorized Mean ( 18 / 58 )9215.3542857142960.7580563652018151.672960542435
Winsorized Mean ( 19 / 58 )9209.3828571428659.6067868840959154.502252823161
Winsorized Mean ( 20 / 58 )9207.8971428571459.0878503645921155.834018094097
Winsorized Mean ( 21 / 58 )9202.0171428571457.8621381062406159.033479301462
Winsorized Mean ( 22 / 58 )9203.9028571428657.5348539610064159.970908475421
Winsorized Mean ( 23 / 58 )9196.4114285714356.3771216734415163.123110148132
Winsorized Mean ( 24 / 58 )9191.6114285714355.7361923602826164.912797938478
Winsorized Mean ( 25 / 58 )9186.6114285714354.8314328538477167.542793438541
Winsorized Mean ( 26 / 58 )9188.8454.5469278746135168.457516454864
Winsorized Mean ( 27 / 58 )9188.0685714285754.0985038376844169.839605897350
Winsorized Mean ( 28 / 58 )9193.9885714285753.2326640149896172.713290637486
Winsorized Mean ( 29 / 58 )9200.6171428571452.0861750734207176.642211294800
Winsorized Mean ( 30 / 58 )9197.1885714285751.621016575491178.167521322997
Winsorized Mean ( 31 / 58 )9192.4057142857151.0189076623265180.176450956703
Winsorized Mean ( 32 / 58 )9185.4571428571450.1292632642957183.235430659110
Winsorized Mean ( 33 / 58 )9176.9714285714348.4824572939451189.284370900019
Winsorized Mean ( 34 / 58 )9170.9485714285747.0432161784451194.947312629332
Winsorized Mean ( 35 / 58 )9171.1485714285746.8599128581701195.714161893273
Winsorized Mean ( 36 / 58 )9162.3028571428645.5567561166036201.118421023914
Winsorized Mean ( 37 / 58 )9160.6114285714345.0277767135825203.443565220669
Winsorized Mean ( 38 / 58 )9169.9485714285743.6323882568498210.163801198505
Winsorized Mean ( 39 / 58 )9164.642.0752738547325217.814387415311
Winsorized Mean ( 40 / 58 )9165.5142857142941.3161823019671221.838363930297
Winsorized Mean ( 41 / 58 )9167.6228571428640.5981043781508225.814061951048
Winsorized Mean ( 42 / 58 )9173.1428571428639.6971083098412231.078364336900
Winsorized Mean ( 43 / 58 )9189.8514285714337.6970370916481243.781796596621
Winsorized Mean ( 44 / 58 )9206.4457142857135.7602999891382257.448783066195
Winsorized Mean ( 45 / 58 )9209.0171428571434.8901597809837263.943106040929
Winsorized Mean ( 46 / 58 )9204.2857142857134.1886833053073269.220245544141
Winsorized Mean ( 47 / 58 )9211.8057142857133.3648819804002276.092860741935
Winsorized Mean ( 48 / 58 )9220.8571428571432.3567579369370284.974692483978
Winsorized Mean ( 49 / 58 )9231.2171428571431.2427161947232295.467816732793
Winsorized Mean ( 50 / 58 )9230.9314285714330.9611893168324298.145246751
Winsorized Mean ( 51 / 58 )9230.9314285714330.2835788075084304.81639859166
Winsorized Mean ( 52 / 58 )9231.5257142857129.1737446542647316.432663125274
Winsorized Mean ( 53 / 58 )9237.5828571428628.2555326396058326.930055609517
Winsorized Mean ( 54 / 58 )9252.7028571428626.7131183363211346.372996991602
Winsorized Mean ( 55 / 58 )9252.7028571428626.549527128702348.50725635486
Winsorized Mean ( 56 / 58 )9253.6628571428626.2453493314423352.58295632807
Winsorized Mean ( 57 / 58 )9256.9225.8545145730784358.038824277095
Winsorized Mean ( 58 / 58 )9256.9225.7402171893009359.628667152339
Trimmed Mean ( 1 / 58 )9210.3641618497170.2102277022036131.182656192420
Trimmed Mean ( 2 / 58 )9209.5672514619969.09402715227133.290352741575
Trimmed Mean ( 3 / 58 )9208.7514792899467.990206654905135.442322245473
Trimmed Mean ( 4 / 58 )9208.4730538922266.9422014679543137.558563237577
Trimmed Mean ( 5 / 58 )9207.9030303030365.9163231481546139.690786599356
Trimmed Mean ( 6 / 58 )9208.0061349693364.948862420779141.773170333826
Trimmed Mean ( 7 / 58 )9208.1428571428663.9373716140147144.018163785833
Trimmed Mean ( 8 / 58 )9208.3270440251662.8561512383296146.498423187100
Trimmed Mean ( 9 / 58 )9208.1273885350361.8069833838524148.981990131243
Trimmed Mean ( 10 / 58 )9208.3870967741960.8208680997342151.401770222587
Trimmed Mean ( 11 / 58 )9208.3202614379159.9040129564206153.717919835134
Trimmed Mean ( 12 / 58 )9208.3112582781558.9498759548584156.205778368889
Trimmed Mean ( 13 / 58 )9207.9798657718158.0056950907422158.742686409794
Trimmed Mean ( 14 / 58 )9207.176870748357.197558375013160.971501797015
Trimmed Mean ( 15 / 58 )9206.0965517241456.3833284272424163.276926150321
Trimmed Mean ( 16 / 58 )9205.6293706293755.6350873530102165.464454332906
Trimmed Mean ( 17 / 58 )9205.1205673758954.8331663986557167.875050301701
Trimmed Mean ( 18 / 58 )9204.4388489208654.0469025903123170.304650364380
Trimmed Mean ( 19 / 58 )9203.6642335766453.2835054528707172.730081389208
Trimmed Mean ( 20 / 58 )9203.2740740740752.5672734155262175.076116300067
Trimmed Mean ( 21 / 58 )9202.9699248120351.8357642000127177.540932729410
Trimmed Mean ( 22 / 58 )9203.0305343511451.1544194163973179.906851438160
Trimmed Mean ( 23 / 58 )9202.9767441860550.4387165870541182.458582749668
Trimmed Mean ( 24 / 58 )9203.3700787401649.7624387751906184.946122120698
Trimmed Mean ( 25 / 58 )9204.05649.0781881832942187.538626438801
Trimmed Mean ( 26 / 58 )9205.048780487848.4076618570231190.156855905907
Trimmed Mean ( 27 / 58 )9205.9504132231447.6944704755683193.019239367359
Trimmed Mean ( 28 / 58 )9206.924369747946.9479208530094196.109310113522
Trimmed Mean ( 29 / 58 )9206.924369747946.2032262366004199.270161841091
Trimmed Mean ( 30 / 58 )9207.9826086956545.4847557175621202.441069836072
Trimmed Mean ( 31 / 58 )9207.9826086956544.7297264167329205.858236710588
Trimmed Mean ( 32 / 58 )9209.3603603603643.9454669000515209.563375018996
Trimmed Mean ( 33 / 58 )9210.5596330275243.153761135047213.435848713248
Trimmed Mean ( 34 / 58 )9212.2242990654242.4221388047241217.156054801262
Trimmed Mean ( 35 / 58 )9214.2476190476241.73507669273220.779458173433
Trimmed Mean ( 36 / 58 )9216.3398058252440.9806906966547224.894691845142
Trimmed Mean ( 37 / 58 )9218.940594059440.251350931839229.034315138158
Trimmed Mean ( 38 / 58 )9221.7272727272739.4778244409381233.592590354711
Trimmed Mean ( 39 / 58 )9224.1855670103138.7464617880742238.065235929476
Trimmed Mean ( 40 / 58 )922738.0657120286859242.396621743123
Trimmed Mean ( 41 / 58 )9229.8924731182837.3663317014929247.010933448132
Trimmed Mean ( 42 / 58 )9232.8131868131936.6420227275965251.973349163926
Trimmed Mean ( 43 / 58 )9235.6067415730335.9107202788278257.182442175023
Trimmed Mean ( 44 / 58 )9237.7471264367835.2931747586857261.743161095570
Trimmed Mean ( 45 / 58 )9237.7471264367834.7910614028137265.520704283247
Trimmed Mean ( 46 / 58 )9240.626506024134.2995983662779269.409175213817
Trimmed Mean ( 47 / 58 )9242.3333333333333.7978513087211273.459198601435
Trimmed Mean ( 48 / 58 )9243.7721518987333.3042048128636277.555708170770
Trimmed Mean ( 49 / 58 )9244.8571428571432.8393358683662281.517786471517
Trimmed Mean ( 50 / 58 )9245.5066666666732.4174426040208285.201605185226
Trimmed Mean ( 51 / 58 )9246.2054794520631.9475881122312289.417950643733
Trimmed Mean ( 52 / 58 )9246.9436619718331.467513108234293.856830381433
Trimmed Mean ( 53 / 58 )9247.6956521739131.0265149671906298.057827698438
Trimmed Mean ( 54 / 58 )9248.1940298507530.6085809514815302.143834910554
Trimmed Mean ( 55 / 58 )9247.9692307692330.2917382842917305.296749363668
Trimmed Mean ( 56 / 58 )9247.7301587301629.9181953992786309.100533481814
Trimmed Mean ( 57 / 58 )9247.426229508229.4949607534071313.525632626583
Trimmed Mean ( 58 / 58 )9247.426229508229.0231559178391318.622352982098
Median9227
Midrange9428
Midmean - Weighted Average at Xnp9229.64772727273
Midmean - Weighted Average at X(n+1)p9235.60674157303
Midmean - Empirical Distribution Function9235.60674157303
Midmean - Empirical Distribution Function - Averaging9235.60674157303
Midmean - Empirical Distribution Function - Interpolation9237.74712643678
Midmean - Closest Observation9229.64772727273
Midmean - True Basic - Statistics Graphics Toolkit9235.60674157303
Midmean - MS Excel (old versions)9235.60674157303
Number of observations175
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jan/03/t1262540587kmxxqz1qn00p7g0/119y81262539662.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/03/t1262540587kmxxqz1qn00p7g0/119y81262539662.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/03/t1262540587kmxxqz1qn00p7g0/2i9mc1262539662.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/03/t1262540587kmxxqz1qn00p7g0/2i9mc1262539662.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