Home » date » 2009 » Oct » 28 »

*Unverified author*
R Software Module: rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Wed, 28 Oct 2009 12:00:10 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Oct/28/t1256752871ct4lsj5864fxzap.htm/, Retrieved Wed, 28 Oct 2009 19:01:13 +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/2009/Oct/28/t1256752871ct4lsj5864fxzap.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
1,61 1,58 1,69 1,78 1,76 1,83 1,8 1,57 1,45 1,4 1,55 1,58 1,58 1,59 1,8 1,99 2,06 2,06 2,08 2 1,85 1,77 1,7 1,66 1,67 1,73 1,91 2,02 2,07 2,15 2,1 1,68 1,68 1,65 1,72 1,73 1,76 1,84 1,99 2,05 2,12 2,13 2,08 1,88 1,81 1,81 1,88 1,87 1,87 1,9 2,01 2,05 2,16 2,18 2,15 2,12 2,04 2,04 2,06 1,93 1,86 1,94 2,35 2,46 2,59 2,66 2,41 2,18 2,13 2,11 2,12 2,16 2,07 2,2 2,29 2,32 2,37 2,38 2,38 2,28 2,22 2,25 2,3 2,3 2,23 2,27 2,3 2,32 2,41 2,43 2,45 2,47 2,46 2,5 2,46 2,43 2,37 2,45 2,53 2,56 2,62 2,67 2,62 2,6 2,53 2,49 2,48 2,44
 
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 Mean2.083333333333330.030407694732204968.5133599136953
Geometric Mean2.05899008517345
Harmonic Mean2.03415321495609
Quadratic Mean2.10694398666955
Winsorized Mean ( 1 / 36 )2.083703703703700.030297244571106968.7753534422348
Winsorized Mean ( 2 / 36 )2.084814814814810.029832949428568169.8829601078059
Winsorized Mean ( 3 / 36 )2.085370370370370.029741422237518970.1166996559993
Winsorized Mean ( 4 / 36 )2.0850.029559328376690170.5361087176862
Winsorized Mean ( 5 / 36 )2.084537037037040.029484548481474970.6993033434699
Winsorized Mean ( 6 / 36 )2.082870370370370.029223850167054771.2729622710178
Winsorized Mean ( 7 / 36 )2.081574074074070.028830367087633572.2007481814875
Winsorized Mean ( 8 / 36 )2.083055555555560.028597800087412772.8397131663429
Winsorized Mean ( 9 / 36 )2.083888888888890.02773834168439175.126657267386
Winsorized Mean ( 10 / 36 )2.083888888888890.027475037707192675.8466252566182
Winsorized Mean ( 11 / 36 )2.083888888888890.027189460439126276.6432601174435
Winsorized Mean ( 12 / 36 )2.083888888888890.026882187659937677.5193193072787
Winsorized Mean ( 13 / 36 )2.082685185185190.026721972270647577.9390519566136
Winsorized Mean ( 14 / 36 )2.083981481481480.026540765817320878.5200207042048
Winsorized Mean ( 15 / 36 )2.085370370370370.026349498149223379.1426978442032
Winsorized Mean ( 16 / 36 )2.086851851851850.025753661737832281.0312674405543
Winsorized Mean ( 17 / 36 )2.088425925925930.025545675785748781.7526200301581
Winsorized Mean ( 18 / 36 )2.086759259259260.0253268111732282.3932884794337
Winsorized Mean ( 19 / 36 )2.090277777777780.024416506147897085.6092089964238
Winsorized Mean ( 20 / 36 )2.090277777777780.024416506147897085.6092089964238
Winsorized Mean ( 21 / 36 )2.088333333333330.023671521886542588.2213380002649
Winsorized Mean ( 22 / 36 )2.090370370370370.023417340956920489.2659151274225
Winsorized Mean ( 23 / 36 )2.088240740740740.022091579390196094.5265480505877
Winsorized Mean ( 24 / 36 )2.088240740740740.022091579390196094.5265480505877
Winsorized Mean ( 25 / 36 )2.088240740740740.021526155415518797.0094613009845
Winsorized Mean ( 26 / 36 )2.088240740740740.021526155415518797.0094613009845
Winsorized Mean ( 27 / 36 )2.088240740740740.0203201396957166102.767046487428
Winsorized Mean ( 28 / 36 )2.083055555555560.0190921769508424109.105188000242
Winsorized Mean ( 29 / 36 )2.085740740740740.0187748698355923111.092154513195
Winsorized Mean ( 30 / 36 )2.082962962962960.0178088671851933116.962125737834
Winsorized Mean ( 31 / 36 )2.085833333333330.0174752581860000119.359228409247
Winsorized Mean ( 32 / 36 )2.085833333333330.0174752581860000119.359228409247
Winsorized Mean ( 33 / 36 )2.085833333333330.0167748952225207124.342555089885
Winsorized Mean ( 34 / 36 )2.082685185185190.0164190360111520126.845765108902
Winsorized Mean ( 35 / 36 )2.085925925925930.0153131820703621136.217666344027
Winsorized Mean ( 36 / 36 )2.082592592592590.0141924482100659146.739488618710
Trimmed Mean ( 1 / 36 )2.084245283018870.029784776984890669.9768638212795
Trimmed Mean ( 2 / 36 )2.084807692307690.02921041482080671.3720672950774
Trimmed Mean ( 3 / 36 )2.084803921568630.028838153665192572.2932523965629
Trimmed Mean ( 4 / 36 )2.08460.028455323834837273.2586988677272
Trimmed Mean ( 5 / 36 )2.084489795918370.028080885562943974.2316260377879
Trimmed Mean ( 6 / 36 )2.084479166666670.027676415711926275.3160809681158
Trimmed Mean ( 7 / 36 )2.084787234042550.02727866513125376.4255590957793
Trimmed Mean ( 8 / 36 )2.085326086956520.026908939846163577.4956612515462
Trimmed Mean ( 9 / 36 )2.085666666666670.026531516132980578.6109114990996
Trimmed Mean ( 10 / 36 )2.085909090909090.02625364400424279.4521739752415
Trimmed Mean ( 11 / 36 )2.086162790697670.025975453320969380.3128540210527
Trimmed Mean ( 12 / 36 )2.086428571428570.025697187851720381.1928754020801
Trimmed Mean ( 13 / 36 )2.086707317073170.025419133265802182.0919932734507
Trimmed Mean ( 14 / 36 )2.0871250.025116307772824483.0984004049452
Trimmed Mean ( 15 / 36 )2.087435897435900.024787096033717784.214620970378
Trimmed Mean ( 16 / 36 )2.087631578947370.024427384992683885.462753363597
Trimmed Mean ( 17 / 36 )2.087702702702700.024089143419875886.6657093742967
Trimmed Mean ( 18 / 36 )2.087638888888890.023717076723494488.0226055355654
Trimmed Mean ( 19 / 36 )2.087714285714290.023305666616108189.5796854946567
Trimmed Mean ( 20 / 36 )2.08750.022946262183636390.9734223070399
Trimmed Mean ( 21 / 36 )2.087272727272730.022512928639403392.7144024975709
Trimmed Mean ( 22 / 36 )2.08718750.022101260412147494.437487323249
Trimmed Mean ( 23 / 36 )2.086935483870970.021639062048267996.4429733236988
Trimmed Mean ( 24 / 36 )2.086833333333330.021277679436079498.076171304414
Trimmed Mean ( 25 / 36 )2.086724137931030.0208302968352657100.177359661923
Trimmed Mean ( 26 / 36 )2.086607142857140.0203672081519173102.449345403323
Trimmed Mean ( 27 / 36 )2.086481481481480.0197895238847231105.433637192868
Trimmed Mean ( 28 / 36 )2.086346153846150.0192781279604287108.22348301291
Trimmed Mean ( 29 / 36 )2.08660.0188476382973505110.708830840271
Trimmed Mean ( 30 / 36 )2.086666666666670.0183526655003917113.698289037205
Trimmed Mean ( 31 / 36 )2.086956521739130.0178962915901035116.613909157202
Trimmed Mean ( 32 / 36 )2.087045454545450.0173649410642951120.187304225105
Trimmed Mean ( 33 / 36 )2.087142857142860.0166618542911281125.264740687007
Trimmed Mean ( 34 / 36 )2.087250.0158922150753128131.337890288331
Trimmed Mean ( 35 / 36 )2.087631578947370.0149414895377084139.720445788134
Trimmed Mean ( 36 / 36 )2.087777777777780.0139563441289690149.593457891612
Median2.08
Midrange2.035
Midmean - Weighted Average at Xnp2.07660714285714
Midmean - Weighted Average at X(n+1)p2.08648148148148
Midmean - Empirical Distribution Function2.07660714285714
Midmean - Empirical Distribution Function - Averaging2.08648148148148
Midmean - Empirical Distribution Function - Interpolation2.08648148148148
Midmean - Closest Observation2.07660714285714
Midmean - True Basic - Statistics Graphics Toolkit2.08648148148148
Midmean - MS Excel (old versions)2.08672413793103
Number of observations108
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Oct/28/t1256752871ct4lsj5864fxzap/1j4sz1256752807.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Oct/28/t1256752871ct4lsj5864fxzap/1j4sz1256752807.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Oct/28/t1256752871ct4lsj5864fxzap/28umo1256752807.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Oct/28/t1256752871ct4lsj5864fxzap/28umo1256752807.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