Home » date » 2010 » Aug » 10 »

Tijdreeks 1 - Stap 14

*Unverified author*
R Software Module: /rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Tue, 10 Aug 2010 11:25:43 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Aug/10/t1281439680r0hc9mle5euqw3t.htm/, Retrieved Tue, 10 Aug 2010 13:28:01 +0200
 
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/Aug/10/t1281439680r0hc9mle5euqw3t.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:
Van Boxel Dieter
 
Dataseries X:
» Textbox « » Textfile « » CSV «
356 355 354 352 372 371 356 346 347 347 348 350 353 350 343 346 373 363 349 350 353 356 355 346 349 348 342 342 379 375 363 361 363 373 367 360 358 367 357 346 386 383 367 354 363 370 361 354 363 366 353 351 389 385 364 348 347 352 342 338 343 354 329 320 353 345 324 310 314 313 310 301 294 296 274 269 292 287 271 256 260 265 263 256 246 245 220 224 240 238 222 203 209 214 216 214 206 196 169 177 193 183 164 142 141 137 140 146 136 124 105 114 135 123 100 74 64 57 62 64
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean287.6583333333338.4293944796280534.1256224309514
Geometric Mean265.854094921594
Harmonic Mean233.574429143917
Quadratic Mean301.998054629496
Winsorized Mean ( 1 / 40 )287.6758.4174202660657434.1761479059971
Winsorized Mean ( 2 / 40 )287.6916666666678.408310846607934.2151559231101
Winsorized Mean ( 3 / 40 )287.6416666666678.4034956364736434.2288113315865
Winsorized Mean ( 4 / 40 )287.8416666666678.3177108113905634.605875726346
Winsorized Mean ( 5 / 40 )288.7583333333338.0790301217256135.7417077276173
Winsorized Mean ( 6 / 40 )288.9083333333338.0215134038148836.016686476636
Winsorized Mean ( 7 / 40 )289.4333333333337.9220796767786136.5350192300801
Winsorized Mean ( 8 / 40 )289.9666666666677.8064195852748837.1446427519251
Winsorized Mean ( 9 / 40 )289.9666666666677.7863715361743737.2402813453639
Winsorized Mean ( 10 / 40 )290.87.6181873638999338.1718099213476
Winsorized Mean ( 11 / 40 )290.6166666666677.5787941596953738.3460297961632
Winsorized Mean ( 12 / 40 )290.7166666666677.5616808497566338.4460376525972
Winsorized Mean ( 13 / 40 )291.0416666666677.5064435050364838.7722450014299
Winsorized Mean ( 14 / 40 )291.0416666666677.4768681170261738.9256119154908
Winsorized Mean ( 15 / 40 )290.9166666666677.434952123039939.1282501692453
Winsorized Mean ( 16 / 40 )291.3166666666677.3346858633040339.7176746347305
Winsorized Mean ( 17 / 40 )293.8666666666676.9210426236995842.4598839574236
Winsorized Mean ( 18 / 40 )294.6166666666676.8037226518602343.3022746137534
Winsorized Mean ( 19 / 40 )295.8833333333336.609699003361144.7650238207328
Winsorized Mean ( 20 / 40 )296.8833333333336.4600385839458545.9568978536958
Winsorized Mean ( 21 / 40 )298.2833333333336.1749605441456448.3053019045005
Winsorized Mean ( 22 / 40 )298.8333333333336.0965772338463849.0165746895323
Winsorized Mean ( 23 / 40 )299.9833333333335.8922512774586750.9114970165896
Winsorized Mean ( 24 / 40 )300.1833333333335.775697459105951.9735210264637
Winsorized Mean ( 25 / 40 )300.65.673003542011552.987804039589
Winsorized Mean ( 26 / 40 )301.4666666666675.5091588286294954.7209975323333
Winsorized Mean ( 27 / 40 )301.4666666666675.5091588286294954.7209975323333
Winsorized Mean ( 28 / 40 )301.9333333333335.4470938122145755.430169507321
Winsorized Mean ( 29 / 40 )302.6583333333335.2995493682075557.1102016992249
Winsorized Mean ( 30 / 40 )303.1583333333335.2342065476956757.9186798554591
Winsorized Mean ( 31 / 40 )303.4166666666675.1456187794779558.9660213222111
Winsorized Mean ( 32 / 40 )307.154.6708112347895665.7594547414499
Winsorized Mean ( 33 / 40 )307.74.6026055219882266.8534373693362
Winsorized Mean ( 34 / 40 )309.1166666666674.4288521717585569.796113005941
Winsorized Mean ( 35 / 40 )309.1166666666674.3686748327821970.7575359802656
Winsorized Mean ( 36 / 40 )312.1166666666674.0099173858875677.8361837989793
Winsorized Mean ( 37 / 40 )312.1166666666674.0099173858875677.8361837989793
Winsorized Mean ( 38 / 40 )313.3833333333333.8618507510202881.148483858559
Winsorized Mean ( 39 / 40 )314.0333333333333.7210871076033284.392900314445
Winsorized Mean ( 40 / 40 )314.73.6444693526966486.3500195898601
Trimmed Mean ( 1 / 40 )288.7542372881368.2997841528571334.7905718956239
Trimmed Mean ( 2 / 40 )289.8706896551728.1681497409613335.487925521436
Trimmed Mean ( 3 / 40 )291.0175438596498.0259726507477736.2594736517742
Trimmed Mean ( 4 / 40 )292.2232142857147.8682105399677437.1397299044456
Trimmed Mean ( 5 / 40 )293.4181818181827.7186815804782638.0140285305047
Trimmed Mean ( 6 / 40 )294.4537037037047.6152661372967638.6662394189454
Trimmed Mean ( 7 / 40 )295.57.511479684058639.3397855587803
Trimmed Mean ( 8 / 40 )296.57.4147381643793239.9879258615492
Trimmed Mean ( 9 / 40 )297.4607843137257.3267960073804340.599026370338
Trimmed Mean ( 10 / 40 )298.467.2295328655830541.2834418971729
Trimmed Mean ( 11 / 40 )299.3979591836737.1466225685690341.893629656676
Trimmed Mean ( 12 / 40 )300.3958333333337.0566858798394342.568967706434
Trimmed Mean ( 13 / 40 )301.4255319148946.9553678827423143.3371084026759
Trimmed Mean ( 14 / 40 )302.4673913043486.8466837677879444.1772106851768
Trimmed Mean ( 15 / 40 )303.5555555555566.724841886971945.1394338569709
Trimmed Mean ( 16 / 40 )304.7045454545456.588858092582346.2454254095379
Trimmed Mean ( 17 / 40 )305.8720930232566.445261390698347.45689499338
Trimmed Mean ( 18 / 40 )306.8809523809526.3394014343298848.4085060017014
Trimmed Mean ( 19 / 40 )307.8780487804886.231854484126149.403921347124
Trimmed Mean ( 20 / 40 )308.8256.1328843597136550.3555883147974
Trimmed Mean ( 21 / 40 )309.743589743596.0368067384074651.3091777102842
Trimmed Mean ( 22 / 40 )310.6052631578955.9613397454330852.1032647729642
Trimmed Mean ( 23 / 40 )311.4729729729735.8810000664787152.9625862016814
Trimmed Mean ( 24 / 40 )312.3055555555565.8117184681274353.737213402249
Trimmed Mean ( 25 / 40 )313.1714285714295.7415333805948654.5449112304877
Trimmed Mean ( 26 / 40 )314.0588235294125.6685554409450855.4036785564279
Trimmed Mean ( 27 / 40 )314.9393939393945.600819070464956.2309530047454
Trimmed Mean ( 28 / 40 )315.8755.5151981573000457.2735540937729
Trimmed Mean ( 29 / 40 )316.8387096774195.4175319892714158.4839573268547
Trimmed Mean ( 30 / 40 )317.8166666666675.3178354452705259.7642913056516
Trimmed Mean ( 31 / 40 )318.8275862068975.2026761420194561.2814592920523
Trimmed Mean ( 32 / 40 )319.8928571428575.0707128633443763.0863678863237
Trimmed Mean ( 33 / 40 )320.7777777777784.990603796339564.2763462836023
Trimmed Mean ( 34 / 40 )321.6923076923084.897481304030965.6852548732625
Trimmed Mean ( 35 / 40 )322.584.8083337518716167.0876891343987
Trimmed Mean ( 36 / 40 )323.5416666666674.698815145404868.8560108569228
Trimmed Mean ( 37 / 40 )324.3695652173914.6286608382143970.0784906380232
Trimmed Mean ( 38 / 40 )325.2727272727274.529602379112171.8104372191027
Trimmed Mean ( 39 / 40 )326.1666666666674.4274925939818273.668483852467
Trimmed Mean ( 40 / 40 )327.14.3163077763886175.7823623675139
Median342.5
Midrange223
Midmean - Weighted Average at Xnp316.838709677419
Midmean - Weighted Average at X(n+1)p318.426229508197
Midmean - Empirical Distribution Function316.838709677419
Midmean - Empirical Distribution Function - Averaging318.426229508197
Midmean - Empirical Distribution Function - Interpolation318.426229508197
Midmean - Closest Observation316.838709677419
Midmean - True Basic - Statistics Graphics Toolkit318.426229508197
Midmean - MS Excel (old versions)316.838709677419
Number of observations120
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/10/t1281439680r0hc9mle5euqw3t/1ruci1281439539.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/10/t1281439680r0hc9mle5euqw3t/1ruci1281439539.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/10/t1281439680r0hc9mle5euqw3t/223b31281439539.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/10/t1281439680r0hc9mle5euqw3t/223b31281439539.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