Home » date » 2008 » Oct » 24 »

herberekening vraag 6

*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: Fri, 24 Oct 2008 11:29:02 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Oct/24/t1224869389g3a7bd0hbhbrtzn.htm/, Retrieved Fri, 24 Oct 2008 17:29:51 +0000
 
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/2008/Oct/24/t1224869389g3a7bd0hbhbrtzn.htm/},
    year = {2008},
}
@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 = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
-0.172 -0.167 -0.161 -0.156 -0.151 -0.146 -0.142 -0.138 -0.135 -0.132 -0.129 -0.127 -0.124 -0.122 -0.120 -0.119 -0.117 -0.115 -0.114 -0.112 -0.111 -0.109 -0.108 -0.106 -0.104 -0.103 -0.101 -0.100 -0.098 -0.097 -0.095 -0.094 -0.092 -0.091 -0.089 -0.088 -0.086 -0.085 -0.083 -0.082 -0.080 -0.079 -0.077 -0.076 -0.074 -0.073 -0.071 -0.070 -0.069 -0.067 -0.066 -0.064 -0.063 -0.062 -0.060 -0.059 -0.058 -0.056 -0.055 -0.054 -0.053 -0.051 -0.050 -0.049 -0.048 -0.047 -0.046 -0.045 -0.044 -0.043 -0.042 -0.041 -0.040 -0.039 -0.037 -0.036 -0.035 -0.034 -0.033 -0.032 -0.031 -0.029 -0.028 -0.027 -0.026 -0.024 -0.023 -0.022 -0.020 -0.019 -0.018 -0.016 -0.015 -0.013 -0.012 -0.011 -0.009 -0.008 -0.006 -0.005 -0.003 -0.002 0.000 0.001 0.003 0.004 0.006 0.008 0.009 0.011 0.012 0.014 0.015 0.017 0.019 0.020 0.022 0.023 0.025 0.026 0.028 0.030 0.031 0.033 0.034 0.036 0.037 0.038 0.040 0.041 0.043 0.044 0.045 0.046 0.047 0.049 0.050 0.051 0.052 0.053 0.054 0.055 0.056 0.056 0.057 0.058 0.059 0.060 0.061 0.062 0.063 0.065 0.066 0.067 0.069 0.070 0.072 0.074 0.076 0.078 0.080 0.083 0.085 0.088 0.090 0.093 0.096 0.099 0.102 0.104 0.107 0.110 0.113 0.115 0.118 0.120 0.123 0.125 0.128 0.131 0.133 0.136 0.139 0.142 0.145 0.148 0.151 0.155 0.158 0.162 0.166 0.170 0.175 0.180 0.186 0.192 0.197
 
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 Mean0.0001015228426395940.006206935901687760.0163563542861766
Geometric MeanNaN
Harmonic Mean0
Quadratic Mean0.0868971619287364
Winsorized Mean ( 1 / 65 )0.0001015228426395940.006199337228820350.0163764026527900
Winsorized Mean ( 2 / 65 )0.0001015228426395940.006181615357077120.0164233516282057
Winsorized Mean ( 3 / 65 )8.62944162436549e-050.006157809207743060.0140138177933712
Winsorized Mean ( 4 / 65 )8.62944162436549e-050.006129903397135480.0140776143852415
Winsorized Mean ( 5 / 65 )8.62944162436555e-050.006095903688088120.0141561318319844
Winsorized Mean ( 6 / 65 )8.62944162436555e-050.006064007179882640.0142305926895894
Winsorized Mean ( 7 / 65 )8.62944162436543e-050.006027543768015930.0143166801544536
Winsorized Mean ( 8 / 65 )4.56852791878167e-050.00599136215835760.00762519072963875
Winsorized Mean ( 9 / 65 )4.56852791878167e-050.005957419501405620.00766863558576622
Winsorized Mean ( 10 / 65 )-5.07614213198026e-060.00591363433415689-0.00085837944065305
Winsorized Mean ( 11 / 65 )-6.09137055837575e-050.00587959594954237-0.0103601856499168
Winsorized Mean ( 12 / 65 )-6.09137055837575e-050.00583630436968691-0.0104370337332193
Winsorized Mean ( 13 / 65 )-0.0001269035532994920.00579714183902648-0.0218907104265027
Winsorized Mean ( 14 / 65 )-0.0001979695431472070.00575548346804984-0.0343966834838787
Winsorized Mean ( 15 / 65 )-0.0003502538071065990.00571942488375488-0.0612393403577061
Winsorized Mean ( 16 / 65 )-0.0004314720812182740.00567287461466305-0.0760588080164896
Winsorized Mean ( 17 / 65 )-0.0004314720812182740.00563424804040995-0.0765802424961894
Winsorized Mean ( 18 / 65 )-0.0006142131979695410.00559238792085133-0.109830220410754
Winsorized Mean ( 19 / 65 )-0.0007106598984771580.00553879480502891-0.128305872214641
Winsorized Mean ( 20 / 65 )-0.0008121827411167520.00550500100080745-0.147535439321014
Winsorized Mean ( 21 / 65 )-0.0009187817258883250.00544686219700034-0.168680919887107
Winsorized Mean ( 22 / 65 )-0.001030456852791880.00541039239166965-0.190458801912125
Winsorized Mean ( 23 / 65 )-0.001147208121827410.00534787143317351-0.214516772918499
Winsorized Mean ( 24 / 65 )-0.001147208121827410.00529671926064101-0.216588432457071
Winsorized Mean ( 25 / 65 )-0.001401015228426400.00524259038617744-0.267237210086124
Winsorized Mean ( 26 / 65 )-0.001532994923857870.00517394278286506-0.296291433475996
Winsorized Mean ( 27 / 65 )-0.001807106598984770.00511681796799026-0.35316999945858
Winsorized Mean ( 28 / 65 )-0.001807106598984770.0050592385082031-0.357189445813774
Winsorized Mean ( 29 / 65 )-0.002101522842639590.0049990674815252-0.420382971505403
Winsorized Mean ( 30 / 65 )-0.002253807106598980.00492284643386454-0.45782600308125
Winsorized Mean ( 31 / 65 )-0.002568527918781730.0048600115362864-0.528502432474548
Winsorized Mean ( 32 / 65 )-0.002730964467005080.0047803801220814-0.571286047816633
Winsorized Mean ( 33 / 65 )-0.002898477157360410.00473144406854487-0.612598841996206
Winsorized Mean ( 34 / 65 )-0.003071065989847710.00464836512988323-0.660676582849433
Winsorized Mean ( 35 / 65 )-0.0032487309644670.00459745134812115-0.706637377640694
Winsorized Mean ( 36 / 65 )-0.003431472081218270.00451109204480248-0.760674366015629
Winsorized Mean ( 37 / 65 )-0.003619289340101520.00445830984140736-0.811807494061251
Winsorized Mean ( 38 / 65 )-0.003619289340101530.00438665408240198-0.825068325907231
Winsorized Mean ( 39 / 65 )-0.003817258883248730.00433192222024317-0.88119284907993
Winsorized Mean ( 40 / 65 )-0.003817258883248730.00425762921588183-0.896569120911134
Winsorized Mean ( 41 / 65 )-0.00402538071065990.00420103333243145-0.958188234210012
Winsorized Mean ( 42 / 65 )-0.003812182741116750.00414326362300802-0.920091765328969
Winsorized Mean ( 43 / 65 )-0.004030456852791880.00408467882326992-0.986725524129548
Winsorized Mean ( 44 / 65 )-0.003807106598984770.00402493609746749-0.945880010711281
Winsorized Mean ( 45 / 65 )-0.003807106598984770.00398448466523814-0.955482808655063
Winsorized Mean ( 46 / 65 )-0.003807106598984770.00390231077317308-0.975603128576328
Winsorized Mean ( 47 / 65 )-0.003807106598984770.0038606015099617-0.986143374072954
Winsorized Mean ( 48 / 65 )-0.003807106598984770.00381818571632821-0.997098329372493
Winsorized Mean ( 49 / 65 )-0.003558375634517770.0037535527515379-0.948002031691133
Winsorized Mean ( 50 / 65 )-0.003558375634517770.0037098294887781-0.959174982376288
Winsorized Mean ( 51 / 65 )-0.00329949238578680.00364334172561231-0.90562253949217
Winsorized Mean ( 52 / 65 )-0.00329949238578680.00359833710007374-0.916949216825513
Winsorized Mean ( 53 / 65 )-0.00329949238578680.00355265307642276-0.92874038494891
Winsorized Mean ( 54 / 65 )-0.002751269035532990.00350671172846499-0.784572342573855
Winsorized Mean ( 55 / 65 )-0.002751269035532990.00345968333660271-0.795237242213804
Winsorized Mean ( 56 / 65 )-0.002751269035533000.00341198403285727-0.806354604546325
Winsorized Mean ( 57 / 65 )-0.002461928934010150.00333987956610462-0.737131050770659
Winsorized Mean ( 58 / 65 )-0.002461928934010150.00329094770523417-0.748091174494968
Winsorized Mean ( 59 / 65 )-0.002461928934010150.00324135713163111-0.759536463904323
Winsorized Mean ( 60 / 65 )-0.002461928934010150.00319110959920328-0.771496201391771
Winsorized Mean ( 61 / 65 )-0.002152284263959390.00311535960002737-0.690862224682018
Winsorized Mean ( 62 / 65 )-0.002467005076142130.0030376919955146-0.812131407589995
Winsorized Mean ( 63 / 65 )-0.002467005076142130.00298568286556931-0.826278338061778
Winsorized Mean ( 64 / 65 )-0.002467005076142130.00293303412930928-0.841110252175316
Winsorized Mean ( 65 / 65 )-0.002467005076142130.00287974667964126-0.856674336525133
Trimmed Mean ( 1 / 65 )0.0001015228426395940.00612491536308810.0165753870251698
Trimmed Mean ( 2 / 65 )-2.56410256410258e-050.006045709898918-0.0042411935189968
Trimmed Mean ( 3 / 65 )-0.0002879581151832460.00597111436266155-0.0482251884143938
Trimmed Mean ( 4 / 65 )-0.0002879581151832460.0059006416851397-0.0488011525777689
Trimmed Mean ( 5 / 65 )-0.0005508021390374330.00583366379222762-0.0944178750532873
Trimmed Mean ( 6 / 65 )-0.0006864864864864870.00577038565891833-0.118967176037099
Trimmed Mean ( 7 / 65 )-0.0008251366120218580.00570940118452837-0.144522443834890
Trimmed Mean ( 8 / 65 )-0.0008251366120218580.00565086031115067-0.146019644193582
Trimmed Mean ( 9 / 65 )-0.001106145251396650.0055941701162409-0.197731786558529
Trimmed Mean ( 10 / 65 )-0.001248587570621470.00553855800257703-0.225435496033537
Trimmed Mean ( 11 / 65 )-0.001388571428571430.0054850253740931-0.253156792150850
Trimmed Mean ( 12 / 65 )-0.001526011560693640.00543201865069089-0.280928998743322
Trimmed Mean ( 13 / 65 )-0.001666666666666670.00538037816628593-0.309767569333731
Trimmed Mean ( 14 / 65 )-0.001804733727810650.00532941537355663-0.338636342133386
Trimmed Mean ( 15 / 65 )-0.001940119760479040.00527919512849571-0.367502945668135
Trimmed Mean ( 16 / 65 )-0.001940119760479040.00522896400331062-0.37103329823091
Trimmed Mean ( 17 / 65 )-0.002190184049079750.00517957869499455-0.422849845142098
Trimmed Mean ( 18 / 65 )-0.002316770186335400.00513011161811368-0.451602296167441
Trimmed Mean ( 19 / 65 )-0.002433962264150940.00508073132235836-0.479057464314242
Trimmed Mean ( 20 / 65 )-0.002547770700636940.00503235039873762-0.506278478000271
Trimmed Mean ( 21 / 65 )-0.002658064516129030.00498310037793705-0.533415808338471
Trimmed Mean ( 22 / 65 )-0.002764705882352940.00493493758175667-0.560231175481008
Trimmed Mean ( 23 / 65 )-0.002867549668874170.00488592767313237-0.586899737514081
Trimmed Mean ( 24 / 65 )-0.002966442953020130.00483810469487587-0.613141537875762
Trimmed Mean ( 25 / 65 )-0.003068027210884350.0047904525215757-0.640446220282171
Trimmed Mean ( 26 / 65 )-0.003158620689655170.00474315069662029-0.665933024625558
Trimmed Mean ( 27 / 65 )-0.003244755244755240.00469726913401457-0.690774820897282
Trimmed Mean ( 28 / 65 )-0.003319148936170210.00465188699332609-0.713505925860213
Trimmed Mean ( 29 / 65 )-0.003395683453237410.00460694260947199-0.737079608123574
Trimmed Mean ( 30 / 65 )-0.003459854014598540.00456261026968201-0.75830584031883
Trimmed Mean ( 31 / 65 )-0.003518518518518520.00452007195836228-0.778420908102834
Trimmed Mean ( 32 / 65 )-0.003518518518518520.00447833896282618-0.785674900387188
Trimmed Mean ( 33 / 65 )-0.00360305343511450.00443865579030595-0.811744276946095
Trimmed Mean ( 34 / 65 )-0.003635658914728680.00439874423236513-0.826522007798996
Trimmed Mean ( 35 / 65 )-0.003661417322834650.0043611093943699-0.839560990504264
Trimmed Mean ( 36 / 65 )-0.003680.00432340367706263-0.851181216207928
Trimmed Mean ( 37 / 65 )-0.003691056910569110.00428823138828402-0.860741078630581
Trimmed Mean ( 38 / 65 )-0.003694214876033060.00425317646608759-0.868577851280948
Trimmed Mean ( 39 / 65 )-0.003697478991596640.0042196081009431-0.87626123164619
Trimmed Mean ( 40 / 65 )-0.003692307692307690.00418630142131528-0.881997572727962
Trimmed Mean ( 41 / 65 )-0.003686956521739130.00415470041065198-0.887418142662313
Trimmed Mean ( 42 / 65 )-0.003672566371681420.00412353568381489-0.890635283234349
Trimmed Mean ( 43 / 65 )-0.003666666666666670.0040928881675088-0.895862900866514
Trimmed Mean ( 44 / 65 )-0.003651376146788990.00406280075907608-0.898733746328074
Trimmed Mean ( 45 / 65 )-0.003644859813084110.00403337015728572-0.903676000701344
Trimmed Mean ( 46 / 65 )-0.003638095238095240.00400309229851901-0.90882122289341
Trimmed Mean ( 47 / 65 )-0.003631067961165050.00397512708117501-0.913447013646602
Trimmed Mean ( 48 / 65 )-0.003623762376237620.0039464196453065-0.918240507075162
Trimmed Mean ( 49 / 65 )-0.003616161616161620.00391690401972181-0.923219358440764
Trimmed Mean ( 50 / 65 )-0.003618556701030930.00388827106967745-0.930633856587346
Trimmed Mean ( 51 / 65 )-0.003621052631578950.00385882386236459-0.938382460753224
Trimmed Mean ( 52 / 65 )-0.003634408602150540.00383034270436398-0.948846848092675
Trimmed Mean ( 53 / 65 )-0.003634408602150540.00380104649899405-0.956159995178272
Trimmed Mean ( 54 / 65 )-0.003662921348314610.00377085429843107-0.971377056344666
Trimmed Mean ( 55 / 65 )-0.003701149425287360.00373958912838191-0.989720875268672
Trimmed Mean ( 56 / 65 )-0.003741176470588240.00370721731324351-1.00916028235610
Trimmed Mean ( 57 / 65 )-0.003741176470588240.00367361665899757-1.0183905447579
Trimmed Mean ( 58 / 65 )-0.003839506172839510.00364087972640362-1.05455452016046
Trimmed Mean ( 59 / 65 )-0.003898734177215190.00360683809686959-1.08092852312915
Trimmed Mean ( 60 / 65 )-0.003961038961038960.00357133349777139-1.10912043456898
Trimmed Mean ( 61 / 65 )-0.004026666666666670.00353418177812642-1.13934905430963
Trimmed Mean ( 62 / 65 )-0.004109589041095890.00349774670039878-1.17492471385288
Trimmed Mean ( 63 / 65 )-0.00418309859154930.00346249290052399-1.20811759380539
Trimmed Mean ( 64 / 65 )-0.00418309859154930.00342553548212011-1.22115173332267
Trimmed Mean ( 65 / 65 )-0.004343283582089550.00338663082021653-1.28247919913865
Median-0.006
Midrange0.0125
Midmean - Weighted Average at Xnp-0.00426530612244898
Midmean - Weighted Average at X(n+1)p-0.00361616161616162
Midmean - Empirical Distribution Function-0.00361616161616162
Midmean - Empirical Distribution Function - Averaging-0.00361616161616162
Midmean - Empirical Distribution Function - Interpolation-0.00361616161616162
Midmean - Closest Observation-0.00427
Midmean - True Basic - Statistics Graphics Toolkit-0.00361616161616162
Midmean - MS Excel (old versions)-0.00361616161616162
Number of observations197
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Oct/24/t1224869389g3a7bd0hbhbrtzn/1uuax1224869336.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Oct/24/t1224869389g3a7bd0hbhbrtzn/1uuax1224869336.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Oct/24/t1224869389g3a7bd0hbhbrtzn/2o5u61224869336.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Oct/24/t1224869389g3a7bd0hbhbrtzn/2o5u61224869336.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