Home » date » 2010 » Jun » 03 »

Opgave 5: Goudkoers 2009 centrummaten

*Unverified author*
R Software Module: /rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Thu, 03 Jun 2010 16:55:30 +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/Jun/03/t12755841793lrqxows5vaai67.htm/, Retrieved Thu, 03 Jun 2010 18:56:21 +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/Jun/03/t12755841793lrqxows5vaai67.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP1W52
 
Dataseries X:
» Textbox « » Textfile « » CSV «
23100 22650 22440 22910 22980 22535 22300 22780 22780 23300 23800 24510 24660 24730 25070 24690 24880 23920 23880 23990 24590 23610 23580 23360 23910 23940 23060 22800 23020 22890 22780 22530 22290 22820 22480 22110 22000 22230 22260 22590 22820 22420 22230 21600 21000 21360 21640 21450 21710 21620 21800 21490 21670 22130 22050 22050 22140 22390 22220 21790 21510 21670 21745 21850 22105 22050 21670 21680 21800 21920 21980 22270 21740 21950 22010 21890 21920 22110 22340 22210 22240 21960 22220 22060 22090 21960 21940 21790 21710 21690 21710 21670 21640 21500 21290 21250 21580 21670 21620 21510 21360 21420 21470 21370 21370 21340 21130 21130 20990 21240 21320 21430 21390 21530 21510 21630 21560 21610 21560 21310 21340 21410 21550 21380 21600 21530 21560 21670 21540 21540 21550 21590 21420 21420 21370 21380 21210 21505 21365 21385 21350 21360 21530 21380 21630 22145 22 etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 72.249.76.132


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean22633.471615720582.3446519937536274.862678604039
Geometric Mean22600.3718788395
Harmonic Mean22568.3217148684
Quadratic Mean22667.5985426325
Winsorized Mean ( 1 / 76 )22633.165938864682.2796593610049275.07607730315
Winsorized Mean ( 2 / 76 )22633.078602620181.9771381515666276.090128454765
Winsorized Mean ( 3 / 76 )22630.196506550281.5134832160454277.625192958208
Winsorized Mean ( 4 / 76 )22626.61572052480.6630240345563280.507902987008
Winsorized Mean ( 5 / 76 )22627.270742358180.6130768125288280.689828958884
Winsorized Mean ( 6 / 76 )22627.139737991380.5377360453084280.950779709798
Winsorized Mean ( 7 / 76 )22628.362445414880.4472769142922281.281894345820
Winsorized Mean ( 8 / 76 )22627.838427947680.2247648184482282.05552835406
Winsorized Mean ( 9 / 76 )22624.497816593979.6821422860684283.93435677682
Winsorized Mean ( 10 / 76 )22624.497816593979.5016652120417284.578917388099
Winsorized Mean ( 11 / 76 )22624.257641921479.469287229675284.691840465799
Winsorized Mean ( 12 / 76 )22624.257641921479.3617734092586285.077521204711
Winsorized Mean ( 13 / 76 )22621.986899563378.9433251745177286.559843400991
Winsorized Mean ( 14 / 76 )22620.152838427978.7015669235781287.416804043976
Winsorized Mean ( 15 / 76 )22619.497816593978.6157299115242287.72228970017
Winsorized Mean ( 16 / 76 )22614.956331877777.9574585800447290.093555431355
Winsorized Mean ( 17 / 76 )22614.213973799177.788838259473290.712838497048
Winsorized Mean ( 18 / 76 )22611.069868995677.3894147899405292.172643123989
Winsorized Mean ( 19 / 76 )22610.655021834177.3370465222238292.365121744552
Winsorized Mean ( 20 / 76 )22603.231441048076.2422415098051296.465987796819
Winsorized Mean ( 21 / 76 )22602.314410480476.1296754451508296.892299596951
Winsorized Mean ( 22 / 76 )22599.432314410575.7778272107091298.232783206757
Winsorized Mean ( 23 / 76 )22599.432314410575.6814120636298.612720061548
Winsorized Mean ( 24 / 76 )22599.956331877775.6445907228875298.765002439755
Winsorized Mean ( 25 / 76 )22601.593886462975.4260598259668299.652320943350
Winsorized Mean ( 26 / 76 )22601.593886462975.2098615538231300.513701521552
Winsorized Mean ( 27 / 76 )22600.414847161675.0671238211838301.069412236942
Winsorized Mean ( 28 / 76 )22599.19213973874.919442109378301.646562006488
Winsorized Mean ( 29 / 76 )22599.19213973874.6795967149975302.615347883896
Winsorized Mean ( 30 / 76 )22599.847161572174.2642374506088304.316693167456
Winsorized Mean ( 31 / 76 )22602.554585152874.0815375675694305.103745511993
Winsorized Mean ( 32 / 76 )22604.650655021873.8112035706667306.249587616874
Winsorized Mean ( 33 / 76 )22603.930131004473.4561358458093307.720109024683
Winsorized Mean ( 34 / 76 )22600.960698690072.962457727339309.761504788529
Winsorized Mean ( 35 / 76 )22589.497816593971.4602665919232316.112700021008
Winsorized Mean ( 36 / 76 )22586.353711790471.0903295030329317.713448083354
Winsorized Mean ( 37 / 76 )22581.506550218370.5225398191403320.20268425003
Winsorized Mean ( 38 / 76 )22582.336244541570.0119386440077322.549791962864
Winsorized Mean ( 39 / 76 )22561.899563318867.6511474413645333.503575573111
Winsorized Mean ( 40 / 76 )22514.737991266462.3969593081458360.830691766211
Winsorized Mean ( 41 / 76 )22507.576419214061.3088992026503367.117607915573
Winsorized Mean ( 42 / 76 )22504.825327510961.0146910113627368.842732044974
Winsorized Mean ( 43 / 76 )22497.314410480459.8872320863664375.661282492332
Winsorized Mean ( 44 / 76 )22493.471615720559.4821132205285378.1552200798
Winsorized Mean ( 45 / 76 )22493.471615720559.1391705200643380.348107995345
Winsorized Mean ( 46 / 76 )22487.445414847258.5080801673799384.347689251042
Winsorized Mean ( 47 / 76 )22480.262008733657.760918656459389.195022025845
Winsorized Mean ( 48 / 76 )22482.358078602657.252338986455392.688901040735
Winsorized Mean ( 49 / 76 )22477.008733624556.330731451656399.018584605361
Winsorized Mean ( 50 / 76 )22444.257641921452.6369452770961426.397419602683
Winsorized Mean ( 51 / 76 )22444.257641921452.6369452770961426.397419602683
Winsorized Mean ( 52 / 76 )22443.122270742452.1384965809199430.452041053969
Winsorized Mean ( 53 / 76 )22441.965065502251.6317875637142434.65404016486
Winsorized Mean ( 54 / 76 )22434.890829694350.9320209220545440.486955426888
Winsorized Mean ( 55 / 76 )22384.454148471645.6736557649024490.095521665529
Winsorized Mean ( 56 / 76 )22369.781659388644.310733974822504.838887843732
Winsorized Mean ( 57 / 76 )22366.048034934543.5573523264657513.48502239758
Winsorized Mean ( 58 / 76 )22336.921397379940.9387199364128545.618461741703
Winsorized Mean ( 59 / 76 )22329.19213973839.0120480130903572.366570764128
Winsorized Mean ( 60 / 76 )22318.71179039338.1108148706917585.626727376977
Winsorized Mean ( 61 / 76 )22313.38427947637.6581300890768592.525019874745
Winsorized Mean ( 62 / 76 )22307.969432314437.2017187351436599.648892330358
Winsorized Mean ( 63 / 76 )22307.969432314437.2017187351436599.648892330358
Winsorized Mean ( 64 / 76 )22302.379912663836.7343119567106607.126654201279
Winsorized Mean ( 65 / 76 )22299.541484716236.0487464537915618.594089347891
Winsorized Mean ( 66 / 76 )22302.423580786035.8320963815082622.414701705692
Winsorized Mean ( 67 / 76 )22289.257641921433.8326080140661658.809915944242
Winsorized Mean ( 68 / 76 )22287.772925764233.7122929611849661.117087212832
Winsorized Mean ( 69 / 76 )22286.266375545933.5904574244438663.47016636124
Winsorized Mean ( 70 / 76 )22290.851528384332.5344959959268685.145131222411
Winsorized Mean ( 71 / 76 )22289.301310043732.1693524585231692.873794670935
Winsorized Mean ( 72 / 76 )22284.585152838429.6179888922526752.400348109644
Winsorized Mean ( 73 / 76 )22284.585152838429.6179888922526752.400348109644
Winsorized Mean ( 74 / 76 )22281.353711790428.8706582446605771.764658878576
Winsorized Mean ( 75 / 76 )22274.803493449828.3566729246675785.522460714103
Winsorized Mean ( 76 / 76 )22276.462882096128.2349774816963788.966908032318
Trimmed Mean ( 1 / 76 )22626.057268722581.4390947402365277.827956473387
Trimmed Mean ( 2 / 76 )22618.822222222280.5496510698709280.805961562789
Trimmed Mean ( 3 / 76 )22611.502242152579.7722946304339283.450568231818
Trimmed Mean ( 4 / 76 )22605.045248868879.1218124165026285.699285171506
Trimmed Mean ( 5 / 76 )22599.406392694178.6740428559016287.253655364919
Trimmed Mean ( 6 / 76 )22593.525345622178.2093775425334288.885119093741
Trimmed Mean ( 7 / 76 )22587.558139534977.730131431703290.589475709060
Trimmed Mean ( 8 / 76 )22581.291079812277.2354023607354292.369695626678
Trimmed Mean ( 9 / 76 )22574.976303317576.743339573183294.16202668363
Trimmed Mean ( 10 / 76 )22568.947368421176.2965495368176295.805609892361
Trimmed Mean ( 11 / 76 )22562.801932367275.8430912904245297.493173715294
Trimmed Mean ( 12 / 76 )22556.560975609875.3629826930772299.305576419042
Trimmed Mean ( 13 / 76 )22550.19704433574.8625025406345301.221523179712
Trimmed Mean ( 14 / 76 )22543.905472636874.3735377303438303.117293604807
Trimmed Mean ( 15 / 76 )22537.638190954873.8761181107196305.073395399270
Trimmed Mean ( 16 / 76 )22531.294416243773.3527440711984307.163620141792
Trimmed Mean ( 17 / 76 )22525.153846153872.856086871679309.173259412453
Trimmed Mean ( 18 / 76 )22518.937823834272.3396284112209311.294629491644
Trimmed Mean ( 19 / 76 )22512.801047120471.8223744411986313.451082928924
Trimmed Mean ( 20 / 76 )22506.560846560871.272490787038315.78187598088
Trimmed Mean ( 21 / 76 )22500.641711229970.7757789415754317.914434114586
Trimmed Mean ( 22 / 76 )22494.648648648770.251740585502320.200588073272
Trimmed Mean ( 23 / 76 )22488.688524590269.71761402153322.56824677972
Trimmed Mean ( 24 / 76 )22482.596685082969.1509233581843325.123593341317
Trimmed Mean ( 25 / 76 )22476.340782122968.5441334488375327.910495781519
Trimmed Mean ( 26 / 76 )22469.858757062167.906826166174330.892489395343
Trimmed Mean ( 27 / 76 )22463.228571428667.2367458709036334.091548906287
Trimmed Mean ( 28 / 76 )22456.502890173466.5260939318726337.559317899687
Trimmed Mean ( 29 / 76 )22456.502890173465.7716121455319341.431541019312
Trimmed Mean ( 30 / 76 )22442.692307692364.975191420579345.404019857712
Trimmed Mean ( 31 / 76 )22435.508982035964.1449905977942349.762448679935
Trimmed Mean ( 32 / 76 )22428.030303030363.2587527717328354.54430130738
Trimmed Mean ( 33 / 76 )22420.276073619662.3174642876964359.775166237728
Trimmed Mean ( 34 / 76 )22412.360248447261.3237143904834365.476234947786
Trimmed Mean ( 35 / 76 )22404.371069182460.2840175333341371.646947000403
Trimmed Mean ( 36 / 76 )22396.656050955459.2754304471375377.840462431209
Trimmed Mean ( 37 / 76 )22388.870967741958.2084423927303384.632710435456
Trimmed Mean ( 38 / 76 )22381.078431372557.093034571764392.010664685204
Trimmed Mean ( 39 / 76 )22373.046357615955.9137417804378400.135023076624
Trimmed Mean ( 40 / 76 )22365.604026845654.8246572758935407.947904066148
Trimmed Mean ( 41 / 76 )22359.795918367354.0613147402724413.600668533329
Trimmed Mean ( 42 / 76 )22354.103448275953.3108489998613419.316215510543
Trimmed Mean ( 43 / 76 )22348.356643356652.5140105552706425.569412944288
Trimmed Mean ( 44 / 76 )22342.730496453951.7295220626486431.914496897826
Trimmed Mean ( 45 / 76 )22337.086330935350.9028562035708438.817936691111
Trimmed Mean ( 46 / 76 )22331.277372262850.0214377935692446.434136188178
Trimmed Mean ( 47 / 76 )22325.518518518549.1059164296636454.640095160351
Trimmed Mean ( 48 / 76 )22319.849624060148.1622550699668463.430327164611
Trimmed Mean ( 49 / 76 )22313.931297709947.1596658168576473.157112358791
Trimmed Mean ( 50 / 76 )22308.023255814046.1307656229215483.582332844039
Trimmed Mean ( 51 / 76 )22303.110236220545.3153461144139492.175656783218
Trimmed Mean ( 52 / 76 )22298.0444.4137037846538502.053152516063
Trimmed Mean ( 53 / 76 )22292.845528455343.45578107731513.000686578276
Trimmed Mean ( 54 / 76 )22287.520661157042.4348116150027525.217853289052
Trimmed Mean ( 55 / 76 )22282.268907563041.36520451925538.671793516543
Trimmed Mean ( 56 / 76 )22278.632478632540.6606955188692547.915676166773
Trimmed Mean ( 57 / 76 )22275.391304347839.997480270851556.91986478912
Trimmed Mean ( 58 / 76 )22275.391304347839.3222888357448566.482571688426
Trimmed Mean ( 59 / 76 )22269.864864864938.799314579942573.975728849026
Trimmed Mean ( 60 / 76 )22267.752293578038.3699071103298580.344180389823
Trimmed Mean ( 61 / 76 )22265.934579439337.9630426391717586.516070144084
Trimmed Mean ( 62 / 76 )22264.238095238137.542880303775593.034895433939
Trimmed Mean ( 63 / 76 )22264.238095238137.1080516634604599.98402225901
Trimmed Mean ( 64 / 76 )22261.039603960436.6165112375053607.950862919977
Trimmed Mean ( 65 / 76 )22259.545454545536.1034419189304616.549123059481
Trimmed Mean ( 66 / 76 )22258.092783505235.5839572840813625.50920365067
Trimmed Mean ( 67 / 76 )22256.473684210535.0122258029773635.677200571405
Trimmed Mean ( 68 / 76 )22255.268817204334.5519445519351644.110457625688
Trimmed Mean ( 69 / 76 )22254.065934065934.0371584716595653.816797092373
Trimmed Mean ( 70 / 76 )22252.865168539333.4600183371495665.058367401812
Trimmed Mean ( 71 / 76 )22251.436781609232.901531060076676.303991476249
Trimmed Mean ( 72 / 76 )2225032.2967681431594688.923421110562
Trimmed Mean ( 73 / 76 )22248.674698795231.8656686268477698.202035530177
Trimmed Mean ( 74 / 76 )22247.283950617331.3630731330353709.346429677003
Trimmed Mean ( 75 / 76 )22245.949367088630.8599662973694720.867584647523
Trimmed Mean ( 76 / 76 )22244.805194805230.3322963517257733.370297351048
Median22210
Midrange23475
Midmean - Weighted Average at Xnp22266.6228070175
Midmean - Weighted Average at X(n+1)p22275.3913043478
Midmean - Empirical Distribution Function22275.3913043478
Midmean - Empirical Distribution Function - Averaging22275.3913043478
Midmean - Empirical Distribution Function - Interpolation22275.3913043478
Midmean - Closest Observation22264.3589743590
Midmean - True Basic - Statistics Graphics Toolkit22275.3913043478
Midmean - MS Excel (old versions)22275.3913043478
Number of observations229
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jun/03/t12755841793lrqxows5vaai67/19dvw1275584126.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/03/t12755841793lrqxows5vaai67/19dvw1275584126.ps (open in new window)


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