Home » date » 2010 » Nov » 27 »

Workshop 3 Simple Linear Regression Mini-tutorial

*The author of this computation has been verified*
R Software Module: /rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Sat, 27 Nov 2010 11:00:34 +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/Nov/27/t12908555586b1gnhjb4e3sgni.htm/, Retrieved Sat, 27 Nov 2010 11:59:20 +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/Nov/27/t12908555586b1gnhjb4e3sgni.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
38 32 35 33 37 29 31 36 35 38 31 34 35 38 37 33 32 38 38 32 33 31 38 39 32 32 35 37 33 33 28 32 31 37 30 33 31 33 31 33 32 33 32 33 28 35 39 34 38 32 38 30 33 38 32 32 34 34 36 34 28 34 35 35 31 37 35 27 40 37 36 38 39 41 27 30 37 31 31 27 36 38 37 33 34 31 39 34 32 33 36 32 41 28 30 36 35 31 34 36 36 35 37 28 39 32 35 39 35 42 34 33 41 33 34 32 40 40 35 36 37 27 39 38 31 33 32 39 36 33 33 32 37 30 38 29 22 35 35 34 35 34 34 35 23 31 27 36 31 32 39 37 38 39 34 31 32 37 36 32 35 36
 
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'Gwilym Jenkins' @ 72.249.127.135


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean34.09259259259260.279093578641282122.154700794502
Geometric Mean33.9004082539014
Harmonic Mean33.6981656985924
Quadratic Mean34.2760219251352
Winsorized Mean ( 1 / 54 )34.09259259259260.276471123542529123.313394020147
Winsorized Mean ( 2 / 54 )34.1419753086420.266164019595235128.274194838817
Winsorized Mean ( 3 / 54 )34.1419753086420.266164019595235128.274194838817
Winsorized Mean ( 4 / 54 )34.11728395061730.262467776744870129.986562060076
Winsorized Mean ( 5 / 54 )34.11728395061730.262467776744870129.986562060076
Winsorized Mean ( 6 / 54 )34.11728395061730.262467776744870129.986562060076
Winsorized Mean ( 7 / 54 )34.11728395061730.249896198444207136.525822173459
Winsorized Mean ( 8 / 54 )34.11728395061730.249896198444207136.525822173459
Winsorized Mean ( 9 / 54 )34.11728395061730.249896198444207136.525822173459
Winsorized Mean ( 10 / 54 )34.11728395061730.249896198444207136.525822173459
Winsorized Mean ( 11 / 54 )34.11728395061730.249896198444207136.525822173459
Winsorized Mean ( 12 / 54 )34.19135802469140.239259578962032142.904865807346
Winsorized Mean ( 13 / 54 )34.19135802469140.239259578962032142.904865807346
Winsorized Mean ( 14 / 54 )34.27777777777780.228390916759102150.083804838582
Winsorized Mean ( 15 / 54 )34.27777777777780.228390916759102150.083804838582
Winsorized Mean ( 16 / 54 )34.27777777777780.228390916759102150.083804838582
Winsorized Mean ( 17 / 54 )34.17283950617280.215847178263242158.319602698241
Winsorized Mean ( 18 / 54 )34.17283950617280.215847178263242158.319602698241
Winsorized Mean ( 19 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 20 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 21 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 22 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 23 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 24 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 25 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 26 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 27 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 28 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 29 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 30 / 54 )34.29012345679010.202863123132063169.030836789727
Winsorized Mean ( 31 / 54 )34.09876543209880.18247123077577186.872008738742
Winsorized Mean ( 32 / 54 )34.09876543209880.18247123077577186.872008738742
Winsorized Mean ( 33 / 54 )34.09876543209880.18247123077577186.872008738742
Winsorized Mean ( 34 / 54 )34.30864197530860.162008507279856211.770619650507
Winsorized Mean ( 35 / 54 )34.30864197530860.162008507279856211.770619650507
Winsorized Mean ( 36 / 54 )34.30864197530860.162008507279856211.770619650507
Winsorized Mean ( 37 / 54 )34.30864197530860.162008507279856211.770619650507
Winsorized Mean ( 38 / 54 )34.30864197530860.162008507279856211.770619650507
Winsorized Mean ( 39 / 54 )34.30864197530860.162008507279856211.770619650507
Winsorized Mean ( 40 / 54 )34.30864197530860.162008507279856211.770619650507
Winsorized Mean ( 41 / 54 )34.30864197530860.162008507279856211.770619650507
Winsorized Mean ( 42 / 54 )34.30864197530860.162008507279856211.770619650507
Winsorized Mean ( 43 / 54 )34.30864197530860.162008507279856211.770619650507
Winsorized Mean ( 44 / 54 )34.0370370370370.135628081631429250.958626175463
Winsorized Mean ( 45 / 54 )34.0370370370370.135628081631429250.958626175463
Winsorized Mean ( 46 / 54 )34.0370370370370.135628081631429250.958626175463
Winsorized Mean ( 47 / 54 )34.0370370370370.135628081631429250.958626175463
Winsorized Mean ( 48 / 54 )34.0370370370370.135628081631429250.958626175463
Winsorized Mean ( 49 / 54 )34.0370370370370.135628081631429250.958626175463
Winsorized Mean ( 50 / 54 )34.0370370370370.135628081631429250.958626175463
Winsorized Mean ( 51 / 54 )34.0370370370370.135628081631429250.958626175463
Winsorized Mean ( 52 / 54 )34.0370370370370.135628081631429250.958626175463
Winsorized Mean ( 53 / 54 )34.0370370370370.135628081631429250.958626175463
Winsorized Mean ( 54 / 54 )34.37037037037040.106490857850246322.754188145467
Trimmed Mean ( 1 / 54 )34.118750.267672808315153127.464385399316
Trimmed Mean ( 2 / 54 )34.14556962025320.25803635044821132.328524880088
Trimmed Mean ( 3 / 54 )34.14743589743590.253479424461371134.714823382597
Trimmed Mean ( 4 / 54 )34.14935064935070.248547681641655137.395571038099
Trimmed Mean ( 5 / 54 )34.15789473684210.244333705908472139.800174559779
Trimmed Mean ( 6 / 54 )34.16666666666670.239764363568245142.501021245143
Trimmed Mean ( 7 / 54 )34.17567567567570.23480014938329145.552188810097
Trimmed Mean ( 8 / 54 )34.18493150684930.231852620564222147.442506466647
Trimmed Mean ( 9 / 54 )34.19444444444440.228648816850095149.550060724184
Trimmed Mean ( 10 / 54 )34.20422535211270.225162397667951151.909136278402
Trimmed Mean ( 11 / 54 )34.21428571428570.22136308417282154.561840526103
Trimmed Mean ( 12 / 54 )34.22463768115940.217215804190152157.560532065148
Trimmed Mean ( 13 / 54 )34.22794117647060.21414238736381159.837300769045
Trimmed Mean ( 14 / 54 )34.23134328358210.210783837039715162.400228425163
Trimmed Mean ( 15 / 54 )34.22727272727270.208425052886413164.218611214295
Trimmed Mean ( 16 / 54 )34.22307692307690.205837696688682166.262436247707
Trimmed Mean ( 17 / 54 )34.218750.202997196317088168.567599064517
Trimmed Mean ( 18 / 54 )34.22222222222220.201230780847498170.064550155264
Trimmed Mean ( 19 / 54 )34.22580645161290.199277053480127171.749862083474
Trimmed Mean ( 20 / 54 )34.22131147540980.198392228601128172.49320558928
Trimmed Mean ( 21 / 54 )34.21666666666670.197386046029433173.348964402299
Trimmed Mean ( 22 / 54 )34.21186440677970.196245984895876174.331538170994
Trimmed Mean ( 23 / 54 )34.20689655172410.194957897803445175.457865196163
Trimmed Mean ( 24 / 54 )34.20175438596490.193505733657828176.748015366011
Trimmed Mean ( 25 / 54 )34.19642857142860.191871198734575178.225959898933
Trimmed Mean ( 26 / 54 )34.19090909090910.190033338256607179.920583433315
Trimmed Mean ( 27 / 54 )34.18518518518520.187968014330206181.867033638668
Trimmed Mean ( 28 / 54 )34.17924528301890.185647246776345184.108549286463
Trimmed Mean ( 29 / 54 )34.17307692307690.183038369617169186.698980080249
Trimmed Mean ( 30 / 54 )34.16666666666670.180102935112494189.706329024154
Trimmed Mean ( 31 / 54 )34.160.176795264802442193.217844596526
Trimmed Mean ( 32 / 54 )34.16326530612240.175080082996406195.129364353933
Trimmed Mean ( 33 / 54 )34.16666666666670.173120652245531197.357543559905
Trimmed Mean ( 34 / 54 )34.17021276595740.170883487482816199.962051742381
Trimmed Mean ( 35 / 54 )34.16304347826090.170211900981677200.708900383754
Trimmed Mean ( 36 / 54 )34.15555555555560.169386873419015201.642281164635
Trimmed Mean ( 37 / 54 )34.14772727272730.168386972785251202.793165693863
Trimmed Mean ( 38 / 54 )34.13953488372090.167187068646939204.199614001343
Trimmed Mean ( 39 / 54 )34.13095238095240.165757498932364205.908948921094
Trimmed Mean ( 40 / 54 )34.12195121951220.164062990435396207.980795235770
Trimmed Mean ( 41 / 54 )34.11250.16206123823021210.491419000161
Trimmed Mean ( 42 / 54 )34.10256410256410.159701002250439213.540075653911
Trimmed Mean ( 43 / 54 )34.09210526315790.156919502862385217.258560225340
Trimmed Mean ( 44 / 54 )34.08108108108110.153638768117859221.826050147296
Trimmed Mean ( 45 / 54 )34.08333333333330.15289332662701222.922308548372
Trimmed Mean ( 46 / 54 )34.08571428571430.151927378781915224.355310800451
Trimmed Mean ( 47 / 54 )34.08823529411760.150701162113489226.197560895030
Trimmed Mean ( 48 / 54 )34.09090909090910.149165937116794228.543525082517
Trimmed Mean ( 49 / 54 )34.093750.147261291237125231.518749520545
Trimmed Mean ( 50 / 54 )34.09677419354840.144911354254724235.294013839753
Trimmed Mean ( 51 / 54 )34.10.142019335040774240.108151402129
Trimmed Mean ( 52 / 54 )34.10344827586210.138459363224804246.306551478873
Trimmed Mean ( 53 / 54 )34.10714285714290.134063784558848254.409816710578
Trimmed Mean ( 54 / 54 )34.11111111111110.128602298306625265.244957207378
Median34
Midrange32
Midmean - Weighted Average at Xnp34.2577319587629
Midmean - Weighted Average at X(n+1)p34.2577319587629
Midmean - Empirical Distribution Function34.2577319587629
Midmean - Empirical Distribution Function - Averaging34.2577319587629
Midmean - Empirical Distribution Function - Interpolation34.2577319587629
Midmean - Closest Observation34.2577319587629
Midmean - True Basic - Statistics Graphics Toolkit34.2577319587629
Midmean - MS Excel (old versions)34.2577319587629
Number of observations162
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/27/t12908555586b1gnhjb4e3sgni/1f3ik1290855630.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/27/t12908555586b1gnhjb4e3sgni/1f3ik1290855630.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/27/t12908555586b1gnhjb4e3sgni/28vz51290855630.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/27/t12908555586b1gnhjb4e3sgni/28vz51290855630.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