Home » date » 2009 » Jun » 01 »

opgave 5 oefening 2 rosewijnen - Kathleen Geets

*Unverified author*
R Software Module: rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Mon, 01 Jun 2009 04:55:52 -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/Jun/01/t12438538089jsi69pemlpqd16.htm/, Retrieved Mon, 01 Jun 2009 12:56:50 +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/2009/Jun/01/t12438538089jsi69pemlpqd16.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
112 118 129 99 116 168 118 129 205 147 150 267 126 129 124 97 102 127 222 214 118 141 154 226 89 77 82 97 127 121 117 117 106 112 134 169 75 108 115 85 101 108 109 124 105 95 135 164 88 85 112 87 91 87 87 142 95 108 139 159 61 82 124 93 108 75 87 103 90 108 123 129 57 65 67 71 76 67 110 118 99 85 107 141 58 65 70 86 93 74 87 73 101 100 96 157 63 115 70 66 67 83 79 77 102 116 100 135 71 60 89 74 73 91 86 74 87 87 109 137 43 69 73 77 69 76 78 70 83 65 110 132 54 55 66 65 60 65 96 55 71 63 74 106 34 47 56 53 53 55 67 52 46 51 58 91 33 40 46 45 41 55 57 54 46 52 48 77 30 35 42 48 44 45 0 0 46 51 63 84 30 39 45 52 28 40 62
 
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 Mean89.4278074866312.9297732429793530.5237982840235
Geometric Mean0
Harmonic Mean0
Quadratic Mean97.9483384511835
Winsorized Mean ( 1 / 62 )89.20855614973262.8658347185537831.1282976551945
Winsorized Mean ( 2 / 62 )89.46524064171122.8122008223330331.8132474506177
Winsorized Mean ( 3 / 62 )89.36898395721932.7767213951447732.1850741358082
Winsorized Mean ( 4 / 62 )89.17647058823532.7315392906564832.6469660873167
Winsorized Mean ( 5 / 62 )88.29411764705882.5288106071678534.9152749505208
Winsorized Mean ( 6 / 62 )88.29411764705882.5195847419461535.0431228516091
Winsorized Mean ( 7 / 62 )88.18181818181822.4902767514068635.4104491125337
Winsorized Mean ( 8 / 62 )88.1390374331552.436936087800636.1679725103923
Winsorized Mean ( 9 / 62 )88.09090909090912.4168505412201736.448637426473
Winsorized Mean ( 10 / 62 )87.93048128342252.3926440291913636.7503398794932
Winsorized Mean ( 11 / 62 )87.75401069518722.3521222326926037.308439789173
Winsorized Mean ( 12 / 62 )87.62566844919792.3183460085797837.796630927787
Winsorized Mean ( 13 / 62 )87.34759358288772.2645107473024238.5723908296482
Winsorized Mean ( 14 / 62 )87.34759358288772.2470241529741138.8725655072628
Winsorized Mean ( 15 / 62 )87.4278074866312.2387778485124939.0515778708105
Winsorized Mean ( 16 / 62 )87.25668449197862.2170327674622239.3574176135697
Winsorized Mean ( 17 / 62 )87.07486631016042.1945048743882839.678593256455
Winsorized Mean ( 18 / 62 )86.97860962566852.1613639886092940.2424626689714
Winsorized Mean ( 19 / 62 )86.97860962566852.1613639886092940.2424626689714
Winsorized Mean ( 20 / 62 )86.87165775401072.1486698763512840.4304349914981
Winsorized Mean ( 21 / 62 )86.64705882352942.1225242362638640.8226475548041
Winsorized Mean ( 22 / 62 )86.41176470588232.0706520081553541.7316692353645
Winsorized Mean ( 23 / 62 )86.53475935828882.0581682870545742.0445499537495
Winsorized Mean ( 24 / 62 )86.53475935828882.0581682870545742.0445499537495
Winsorized Mean ( 25 / 62 )86.93582887700532.0187809890635743.0635266271906
Winsorized Mean ( 26 / 62 )86.65775401069521.9880334333773143.5896864488235
Winsorized Mean ( 27 / 62 )86.80213903743321.9742293390275243.9676066612357
Winsorized Mean ( 28 / 62 )86.65240641711231.9579443995046844.2568269247246
Winsorized Mean ( 29 / 62 )86.34224598930481.9248734003273644.8560648064547
Winsorized Mean ( 30 / 62 )86.50267379679141.9096126151447945.2985454278813
Winsorized Mean ( 31 / 62 )86.50267379679141.9096126151447945.2985454278813
Winsorized Mean ( 32 / 62 )86.50267379679141.8755847317252046.1203763997507
Winsorized Mean ( 33 / 62 )86.14973262032091.8391393796636746.8424163893851
Winsorized Mean ( 34 / 62 )85.78609625668451.7675530218241548.5338177681095
Winsorized Mean ( 35 / 62 )85.78609625668451.7675530218241548.5338177681095
Winsorized Mean ( 36 / 62 )85.78609625668451.7675530218241548.5338177681095
Winsorized Mean ( 37 / 62 )85.78609625668451.7675530218241548.5338177681095
Winsorized Mean ( 38 / 62 )85.78609625668451.7288063263978449.6215770076626
Winsorized Mean ( 39 / 62 )85.99465240641711.7096380454195550.2999173636859
Winsorized Mean ( 40 / 62 )85.78074866310161.6889205799590850.7902797094105
Winsorized Mean ( 41 / 62 )861.6689880906171351.5282286814883
Winsorized Mean ( 42 / 62 )85.77540106951871.6474241384359952.0663738428352
Winsorized Mean ( 43 / 62 )86.2352941176471.6063818073655853.6829374699345
Winsorized Mean ( 44 / 62 )85.52941176470591.5397535197168755.5474695589156
Winsorized Mean ( 45 / 62 )85.77005347593581.5184745073573556.484355226486
Winsorized Mean ( 46 / 62 )86.01604278074871.4970785176742457.4559328487175
Winsorized Mean ( 47 / 62 )85.7647058823531.4290943262698160.0133275360585
Winsorized Mean ( 48 / 62 )85.7647058823531.4290943262698160.0133275360585
Winsorized Mean ( 49 / 62 )85.50267379679141.4053704450146660.839954404975
Winsorized Mean ( 50 / 62 )86.03743315508021.3601051759272563.2579264294204
Winsorized Mean ( 51 / 62 )85.7647058823531.3355199609809664.218213421054
Winsorized Mean ( 52 / 62 )85.7647058823531.3355199609809664.218213421054
Winsorized Mean ( 53 / 62 )85.7647058823531.3355199609809664.218213421054
Winsorized Mean ( 54 / 62 )85.7647058823531.3355199609809664.218213421054
Winsorized Mean ( 55 / 62 )86.05882352941181.3111293721875365.6371715522082
Winsorized Mean ( 56 / 62 )85.759358288771.2843427450144066.7729534204741
Winsorized Mean ( 57 / 62 )85.759358288771.2322475369750069.5958853359102
Winsorized Mean ( 58 / 62 )85.759358288771.2322475369750069.5958853359102
Winsorized Mean ( 59 / 62 )85.44385026737971.204544521190870.9345721675034
Winsorized Mean ( 60 / 62 )84.80213903743321.1492057636446673.7919541653593
Winsorized Mean ( 61 / 62 )85.12834224598931.0677810621036579.724528994995
Winsorized Mean ( 62 / 62 )85.12834224598931.0677810621036579.724528994995
Trimmed Mean ( 1 / 62 )89.4278074866312.7582935625612532.4214248622586
Trimmed Mean ( 2 / 62 )88.95135135135132.6408286649080133.6831209587199
Trimmed Mean ( 3 / 62 )88.28729281767962.5436101815093934.709443081915
Trimmed Mean ( 4 / 62 )88.28729281767962.4520034545901536.0061861464370
Trimmed Mean ( 5 / 62 )87.57627118644072.3666355175492837.0045452867742
Trimmed Mean ( 6 / 62 )87.42285714285712.3268879445411337.5707207336523
Trimmed Mean ( 7 / 62 )87.42285714285712.2861395311115038.2403855727709
Trimmed Mean ( 8 / 62 )87.26589595375722.2479162927451838.8207942775249
Trimmed Mean ( 9 / 62 )86.982248520712.2158855726333439.2539441544092
Trimmed Mean ( 10 / 62 )86.84431137724552.1845450160614539.7539582561766
Trimmed Mean ( 11 / 62 )86.72121212121212.1543298994131340.2543789346452
Trimmed Mean ( 12 / 62 )86.61349693251532.1272536984601140.716110633731
Trimmed Mean ( 13 / 62 )86.51552795031062.1023335450475441.1521417018317
Trimmed Mean ( 14 / 62 )86.51552795031062.0818493948199641.5570541104355
Trimmed Mean ( 15 / 62 )86.36305732484082.0616647664444141.8899613217839
Trimmed Mean ( 16 / 62 )86.36305732484082.0406948118092542.320417940531
Trimmed Mean ( 17 / 62 )86.2026143790852.0202866783124142.6685060612744
Trimmed Mean ( 18 / 62 )86.13907284768212.0004643993967543.0595380121025
Trimmed Mean ( 19 / 62 )86.08053691275171.9821788269722743.4272305512603
Trimmed Mean ( 20 / 62 )86.02040816326531.9623107402300443.8362826028161
Trimmed Mean ( 21 / 62 )85.96551724137931.9419105661304344.2685254103538
Trimmed Mean ( 22 / 62 )85.92307692307691.9221291863426244.7020301931782
Trimmed Mean ( 23 / 62 )85.89361702127661.9051921305931645.0839658856529
Trimmed Mean ( 24 / 62 )85.85611510791371.8877520146354545.4806110348628
Trimmed Mean ( 25 / 62 )85.81751824817521.8686821131672145.9240860944100
Trimmed Mean ( 26 / 62 )85.75555555555561.8510740212768846.3274588535367
Trimmed Mean ( 27 / 62 )85.70676691729321.8343877937015946.7222727994426
Trimmed Mean ( 28 / 62 )85.70676691729321.8171533319564847.1654017358101
Trimmed Mean ( 29 / 62 )85.59689922480621.7995652259375647.5653218850186
Trimmed Mean ( 30 / 62 )85.55905511811021.7829566248573247.9871769875259
Trimmed Mean ( 31 / 62 )85.5121.7658267185655648.4260426580613
Trimmed Mean ( 32 / 62 )85.5121.7468881982083048.9510433968847
Trimmed Mean ( 33 / 62 )85.41322314049591.7287342071245649.4079557103028
Trimmed Mean ( 34 / 62 )85.37815126050421.7116602716178649.8803136791887
Trimmed Mean ( 35 / 62 )85.35897435897441.6984789548776650.2561271741648
Trimmed Mean ( 36 / 62 )85.33913043478261.6837214492353150.6848270380713
Trimmed Mean ( 37 / 62 )85.31858407079651.6672111909707151.1744310096196
Trimmed Mean ( 38 / 62 )85.29729729729731.6487453147638451.7346715308271
Trimmed Mean ( 39 / 62 )85.27522935779821.6313210033723252.2737273544045
Trimmed Mean ( 40 / 62 )85.24299065420561.6133393599085652.8363670858664
Trimmed Mean ( 41 / 62 )85.21904761904761.5949198742250353.4315541465402
Trimmed Mean ( 42 / 62 )85.18446601941751.5758473269307254.0562937561543
Trimmed Mean ( 43 / 62 )85.15841584158421.5562542408080854.7201180941784
Trimmed Mean ( 44 / 62 )85.11111111111111.5376058949033155.3530078111876
Trimmed Mean ( 45 / 62 )85.09278350515461.5224608794134155.8916059228663
Trimmed Mean ( 46 / 62 )85.06315789473681.5069685481860356.446538315036
Trimmed Mean ( 47 / 62 )85.02150537634411.4910500091028357.0212299099893
Trimmed Mean ( 48 / 62 )84.9890109890111.4789111350652257.4672872317395
Trimmed Mean ( 49 / 62 )84.95505617977531.4647640549104157.999140472471
Trimmed Mean ( 50 / 62 )84.93103448275861.4505843289292158.5495326186605
Trimmed Mean ( 51 / 62 )84.93103448275861.4381177167201959.0570809992205
Trimmed Mean ( 52 / 62 )84.84337349397591.4258519400124159.5036350641269
Trimmed Mean ( 53 / 62 )84.80246913580251.4113101076972460.0877643214573
Trimmed Mean ( 54 / 62 )84.7594936708861.3941286431911960.797469505303
Trimmed Mean ( 55 / 62 )84.71428571428571.3738671643413561.6611910620186
Trimmed Mean ( 56 / 62 )84.71428571428571.3525409298675562.6334359601094
Trimmed Mean ( 57 / 62 )84.60273972602741.3305821682268063.5832508102626
Trimmed Mean ( 58 / 62 )84.54929577464791.3106572502080364.5090818070307
Trimmed Mean ( 59 / 62 )84.49275362318841.2867982015165365.6612307381308
Trimmed Mean ( 60 / 62 )84.44776119402991.2619906278102666.916314062141
Trimmed Mean ( 61 / 62 )84.43076923076921.2397598307211968.1025204548325
Trimmed Mean ( 62 / 62 )84.39682539682541.2234983130924868.9799278786961
Median85
Midrange133.5
Midmean - Weighted Average at Xnp84.7765957446808
Midmean - Weighted Average at X(n+1)p85.6185567010309
Midmean - Empirical Distribution Function85.6185567010309
Midmean - Empirical Distribution Function - Averaging85.6185567010309
Midmean - Empirical Distribution Function - Interpolation85.0215053763441
Midmean - Closest Observation84.7765957446808
Midmean - True Basic - Statistics Graphics Toolkit85.6185567010309
Midmean - MS Excel (old versions)85.6185567010309
Number of observations187
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438538089jsi69pemlpqd16/1psv11243853750.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438538089jsi69pemlpqd16/1psv11243853750.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438538089jsi69pemlpqd16/2i57g1243853750.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t12438538089jsi69pemlpqd16/2i57g1243853750.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