Home » date » 2009 » Jun » 04 »

TRIMMED MEAN PLOT - LAURA VERBEEK

*Unverified author*
R Software Module: rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Thu, 04 Jun 2009 03:59:26 -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/04/t12441096137c8seh0lupeo273.htm/, Retrieved Thu, 04 Jun 2009 12:00:13 +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/04/t12441096137c8seh0lupeo273.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 «
12.182 12.242 12.368 12.552 12.377 12.350 12.333 12.427 12.281 12.381 12.569 12.684 12.689 12.580 12.264 12.259 12.205 12.255 12.039 11.893 11.741 12.149 12.096 12.146 11.946 11.976 12.392 12.102 12.362 12.547 12.532 12.422 12.304 12.216 12.267 12.652 12.605 12.626 12.613 12.603 12.575 12.527 12.580 12.325 12.304 12.372 12.617 12.627 12.851 12.825 12.721 12.765 12.848 12.891 12.870 12.831 12.818 13.013 13.057 12.969 13.011 12.815 12.861 12.746 12.872 12.825 12.891 12.993 12.985 13.026 12.825 12.598 12.621 12.480 12.543 12.594 12.647 12.638 12.503 12.392 12.389 12.603 12.210 12.278 12.286 12.090 12.145 12.307 12.270 12.159 12.023 12.062 11.844 11.842 11.805 11.809 11.453 11.346 11.345 11.382 11.216 11.289 11.225 11.382 11.148 11.226 11.104 11.051 10.962 11.238 11.437 11.495 11.458 11.603 11.630 11.341 11.369 11.133 11.398 11.578 11.380 11.326 11.286 11.604 11.655 11.432 11.730 11.782 etc...
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean10.842380.107210487626109101.13171052642
Geometric Mean10.7019594408487
Harmonic Mean10.5546833508341
Quadratic Mean10.9735697081670
Winsorized Mean ( 1 / 83 )10.8437960.107021358420498101.323662491683
Winsorized Mean ( 2 / 83 )10.8437880.107002415598901101.341525229187
Winsorized Mean ( 3 / 83 )10.8438360.106992647442913101.351226081081
Winsorized Mean ( 4 / 83 )10.8442040.106898644529972101.443793302351
Winsorized Mean ( 5 / 83 )10.8441440.106875058444551101.465619367368
Winsorized Mean ( 6 / 83 )10.8448880.106724649416131101.615587957705
Winsorized Mean ( 7 / 83 )10.8429280.106529493678312101.783343049978
Winsorized Mean ( 8 / 83 )10.8433760.106482528812313101.832442570111
Winsorized Mean ( 9 / 83 )10.842980.106399833838986101.907865912729
Winsorized Mean ( 10 / 83 )10.844140.106264912894378102.048170977927
Winsorized Mean ( 11 / 83 )10.8440960.106198307619760102.111759057658
Winsorized Mean ( 12 / 83 )10.8451520.106004111174651102.308786704807
Winsorized Mean ( 13 / 83 )10.8452560.105965724519525102.346830063920
Winsorized Mean ( 14 / 83 )10.8455360.105768438606405102.540381071137
Winsorized Mean ( 15 / 83 )10.8453560.105723094202008102.582657855979
Winsorized Mean ( 16 / 83 )10.8464440.105613166828222102.69973267293
Winsorized Mean ( 17 / 83 )10.8478040.105476491101269102.845704163451
Winsorized Mean ( 18 / 83 )10.8478760.105380940882596102.939638886746
Winsorized Mean ( 19 / 83 )10.8513720.104993984635801103.352320970014
Winsorized Mean ( 20 / 83 )10.8479320.104641398569986103.667689349017
Winsorized Mean ( 21 / 83 )10.8541480.103764161506933104.604015898830
Winsorized Mean ( 22 / 83 )10.8522120.103578562834883104.772760916752
Winsorized Mean ( 23 / 83 )10.8492680.103366685928025104.959038810187
Winsorized Mean ( 24 / 83 )10.8519560.103029340735860105.328791997433
Winsorized Mean ( 25 / 83 )10.8495560.102726201513370105.616248242061
Winsorized Mean ( 26 / 83 )10.8494520.102650052214612105.693584814909
Winsorized Mean ( 27 / 83 )10.8510720.102336284669239106.03347615239
Winsorized Mean ( 28 / 83 )10.8499520.102239511960925106.122885290638
Winsorized Mean ( 29 / 83 )10.8516920.102056515824483106.330222155171
Winsorized Mean ( 30 / 83 )10.8513320.101992099500629106.393848671907
Winsorized Mean ( 31 / 83 )10.8514560.101899311829183106.491945874872
Winsorized Mean ( 32 / 83 )10.8517120.101791644607362106.60709964809
Winsorized Mean ( 33 / 83 )10.8523720.101557683247356106.859192263846
Winsorized Mean ( 34 / 83 )10.8530520.101449897525902106.979427921344
Winsorized Mean ( 35 / 83 )10.8559920.101176137636560107.297948445080
Winsorized Mean ( 36 / 83 )10.8557040.101086138948354107.390628556367
Winsorized Mean ( 37 / 83 )10.855260.101031452425057107.444362517229
Winsorized Mean ( 38 / 83 )10.8596680.100280651430419108.292754834517
Winsorized Mean ( 39 / 83 )10.8601360.100237620443748108.343912713835
Winsorized Mean ( 40 / 83 )10.8598160.100138433140044108.448031984009
Winsorized Mean ( 41 / 83 )10.8594880.100010564298524108.583408924533
Winsorized Mean ( 42 / 83 )10.8573040.0997534073576127108.841434970506
Winsorized Mean ( 43 / 83 )10.8581640.0995370098291027109.086700702006
Winsorized Mean ( 44 / 83 )10.8595720.0992957402681788109.365940277704
Winsorized Mean ( 45 / 83 )10.8590320.099029579593381109.654428955344
Winsorized Mean ( 46 / 83 )10.862160.098598221478457110.165881667280
Winsorized Mean ( 47 / 83 )10.859340.0981396379233534110.651926477262
Winsorized Mean ( 48 / 83 )10.86030.0973559334355149111.552522961464
Winsorized Mean ( 49 / 83 )10.8532440.0963667272576245112.624391310760
Winsorized Mean ( 50 / 83 )10.8526440.096265023179799112.737146281365
Winsorized Mean ( 51 / 83 )10.8481560.0957188848363438113.333497549075
Winsorized Mean ( 52 / 83 )10.848780.0956624749987766113.406850493244
Winsorized Mean ( 53 / 83 )10.8542920.0950669227552497114.175274484738
Winsorized Mean ( 54 / 83 )10.8555880.0946832555659249114.651613266948
Winsorized Mean ( 55 / 83 )10.8571280.0944092509509767115.000679389329
Winsorized Mean ( 56 / 83 )10.8604880.093935872551609115.615980402302
Winsorized Mean ( 57 / 83 )10.8600320.0938362223365454115.733900295456
Winsorized Mean ( 58 / 83 )10.870240.0927133931136737117.245628004060
Winsorized Mean ( 59 / 83 )10.867880.0924888799046896117.504720688578
Winsorized Mean ( 60 / 83 )10.864520.0921631384380273117.883572371025
Winsorized Mean ( 61 / 83 )10.8686680.091497518955456118.786477754563
Winsorized Mean ( 62 / 83 )10.867180.0909496022586356119.485734188224
Winsorized Mean ( 63 / 83 )10.881040.0896133963020437121.422024485326
Winsorized Mean ( 64 / 83 )10.8841120.0893438986317189121.822666871355
Winsorized Mean ( 65 / 83 )10.8828120.0887497792215366122.623538846608
Winsorized Mean ( 66 / 83 )10.8836040.0884810665923353123.004891545270
Winsorized Mean ( 67 / 83 )10.888160.0879613618717293123.783440459662
Winsorized Mean ( 68 / 83 )10.8919680.087301176679944124.763129366872
Winsorized Mean ( 69 / 83 )10.8933480.0870562854187314125.129942629693
Winsorized Mean ( 70 / 83 )10.8986680.0864669764428285126.044282434302
Winsorized Mean ( 71 / 83 )10.8975320.0863523046477389126.198507896863
Winsorized Mean ( 72 / 83 )10.9061720.0854291448442467127.663363830739
Winsorized Mean ( 73 / 83 )10.92340.0833707253620212131.022009854985
Winsorized Mean ( 74 / 83 )10.9290240.0817362086526875133.710924205446
Winsorized Mean ( 75 / 83 )10.9521240.079488341814594137.782771032584
Winsorized Mean ( 76 / 83 )10.9509080.0793658503321155137.980100435826
Winsorized Mean ( 77 / 83 )10.9558360.0778920179624656140.654155413965
Winsorized Mean ( 78 / 83 )10.9555240.0768542834801875142.549295939039
Winsorized Mean ( 79 / 83 )10.9529960.07660195190777142.985860375824
Winsorized Mean ( 80 / 83 )10.9721960.0748252157094107146.637679503810
Winsorized Mean ( 81 / 83 )10.9874240.0734851018484066149.51906881297
Winsorized Mean ( 82 / 83 )11.032360.0676068972503789163.183942004352
Winsorized Mean ( 83 / 83 )11.1425840.0581502193617814191.617230722320
Trimmed Mean ( 1 / 83 )10.84671774193550.106881789971857101.483309222194
Trimmed Mean ( 2 / 83 )10.84968699186990.106730006981246101.655450971500
Trimmed Mean ( 3 / 83 )10.85270901639340.106575392948111101.831283152551
Trimmed Mean ( 4 / 83 )10.85576446280990.106411195231843102.017127419328
Trimmed Mean ( 5 / 83 )10.8587750.106259118556127102.191465048379
Trimmed Mean ( 6 / 83 )10.86184873949580.106098966463315102.374689420292
Trimmed Mean ( 7 / 83 )10.86484322033900.105953492678984102.543511739222
Trimmed Mean ( 8 / 83 )10.86818803418800.105826407683848102.698260973351
Trimmed Mean ( 9 / 83 )10.87153017241380.105693295051477102.859222688809
Trimmed Mean ( 10 / 83 )10.87497826086960.105557701311990103.024015545082
Trimmed Mean ( 11 / 83 )10.87835964912280.105424988369686103.185779930811
Trimmed Mean ( 12 / 83 )10.88180530973450.105286021583483103.354701280133
Trimmed Mean ( 13 / 83 )10.88521428571430.105153400622337103.517472771128
Trimmed Mean ( 14 / 83 )10.88867567567570.105010468898591103.691334681982
Trimmed Mean ( 15 / 83 )10.89217727272730.104871235569842103.862390993509
Trimmed Mean ( 16 / 83 )10.89575688073390.104721190182946104.045388155914
Trimmed Mean ( 17 / 83 )10.89932407407410.104565169862536104.234747463258
Trimmed Mean ( 18 / 83 )10.90286448598130.104404557552388104.429009054614
Trimmed Mean ( 19 / 83 )10.90646698113210.104235097829099104.633345276982
Trimmed Mean ( 20 / 83 )10.90991904761900.104078488971407104.823956952491
Trimmed Mean ( 21 / 83 )10.91364423076920.103930374099972105.009188365581
Trimmed Mean ( 22 / 83 )10.91708252427180.103828617463277105.145217099063
Trimmed Mean ( 23 / 83 )10.92069607843140.103724427740039105.285672009698
Trimmed Mean ( 24 / 83 )10.92453960396040.103618617512760105.430277552344
Trimmed Mean ( 25 / 83 )10.928320.103519689764045105.567549757048
Trimmed Mean ( 26 / 83 )10.93229797979800.103424029871486105.703655073027
Trimmed Mean ( 27 / 83 )10.93636224489800.103317395837248105.852089633827
Trimmed Mean ( 28 / 83 )10.94043298969070.103213822980919105.997749852878
Trimmed Mean ( 29 / 83 )10.9446406250.103099200750198106.156406115292
Trimmed Mean ( 30 / 83 )10.94885789473680.102978364783901106.321924199447
Trimmed Mean ( 31 / 83 )10.95318085106380.102843167974766106.503728606954
Trimmed Mean ( 32 / 83 )10.95759139784950.102694305584505106.701061324502
Trimmed Mean ( 33 / 83 )10.96208695652170.102531605180270106.914223543544
Trimmed Mean ( 34 / 83 )10.96665384615380.102361257935955107.136763139579
Trimmed Mean ( 35 / 83 )10.97129444444440.102175285937032107.377183668522
Trimmed Mean ( 36 / 83 )10.97592134831460.101982391329439107.625651891791
Trimmed Mean ( 37 / 83 )10.98066477272730.101770638677395107.896195950338
Trimmed Mean ( 38 / 83 )10.98553448275860.101536571802305108.192883487812
Trimmed Mean ( 39 / 83 )10.99034883720930.101318465369945108.473305404698
Trimmed Mean ( 40 / 83 )10.99525882352940.101076405263893108.781656755824
Trimmed Mean ( 41 / 83 )11.00029761904760.100811459082084109.117532066378
Trimmed Mean ( 42 / 83 )11.00546987951810.100523400494987109.481671186272
Trimmed Mean ( 43 / 83 )11.01084756097560.100216869280635109.870200895442
Trimmed Mean ( 44 / 83 )11.01632716049380.0998889540752632110.285739424135
Trimmed Mean ( 45 / 83 )11.021893750.099539407668519110.728946536477
Trimmed Mean ( 46 / 83 )11.02762025316460.0991670114240043111.202506708750
Trimmed Mean ( 47 / 83 )11.03338461538460.0987803804495024111.696113794834
Trimmed Mean ( 48 / 83 )11.03939610389610.098377182205429112.215006126562
Trimmed Mean ( 49 / 83 )11.04553289473680.097975456767345112.737753506634
Trimmed Mean ( 50 / 83 )11.05207333333330.0975824511567061113.258820641685
Trimmed Mean ( 51 / 83 )11.05881081081080.0971504578899399113.831792983818
Trimmed Mean ( 52 / 83 )11.06588356164380.0966994210733743114.435882229814
Trimmed Mean ( 53 / 83 )11.07313194444440.0962015255215712115.103496378148
Trimmed Mean ( 54 / 83 )11.08040140845070.0956868080992217115.798631269641
Trimmed Mean ( 55 / 83 )11.08783571428570.0951385858905485116.544045830591
Trimmed Mean ( 56 / 83 )11.09543478260870.0945471682935036117.353433031067
Trimmed Mean ( 57 / 83 )11.10314705882350.0939216220134388118.217156186196
Trimmed Mean ( 58 / 83 )11.11110447761190.093233041274328119.175609051717
Trimmed Mean ( 59 / 83 )11.11896969696970.0925463691065894120.144850676568
Trimmed Mean ( 60 / 83 )11.12715384615380.0917958440133336121.216313938326
Trimmed Mean ( 61 / 83 )11.1357031250.0909803786599298122.396755091815
Trimmed Mean ( 62 / 83 )11.14438888888890.0901211382086812123.660099177657
Trimmed Mean ( 63 / 83 )11.15340322580650.0892007609638925125.037086066129
Trimmed Mean ( 64 / 83 )11.16226229508200.088279454761267126.442356551340
Trimmed Mean ( 65 / 83 )11.17131666666670.0872733478936593128.003759868118
Trimmed Mean ( 66 / 83 )11.18072033898310.0861917594394988129.719133379928
Trimmed Mean ( 67 / 83 )11.19042241379310.085003605312782131.646444555104
Trimmed Mean ( 68 / 83 )11.20031578947370.0837186851602456133.785137308776
Trimmed Mean ( 69 / 83 )11.21043750.0823350587644504136.156306538525
Trimmed Mean ( 70 / 83 )11.22088181818180.0808034195799671138.866422689909
Trimmed Mean ( 71 / 83 )11.23153703703700.0791371043081826141.925044329373
Trimmed Mean ( 72 / 83 )11.24263207547170.0772664382792522145.504727872135
Trimmed Mean ( 73 / 83 )11.25386538461540.0752479546461827149.557093445679
Trimmed Mean ( 74 / 83 )11.26496078431370.0731805620736688153.933783304009
Trimmed Mean ( 75 / 83 )11.276310.0709977147092735158.826379781026
Trimmed Mean ( 76 / 83 )11.28733673469390.0687735957922699164.123114469501
Trimmed Mean ( 77 / 83 )11.29886458333330.066233858708579170.590462395479
Trimmed Mean ( 78 / 83 )11.31071276595740.0634803846586348178.176500139070
Trimmed Mean ( 79 / 83 )11.32308695652170.0604049969222003187.452819029285
Trimmed Mean ( 80 / 83 )11.33610.0568214674532924199.503823256912
Trimmed Mean ( 81 / 83 )11.34902272727270.0528694493772014214.661262051401
Trimmed Mean ( 82 / 83 )11.3620.0483602447211947234.945047642003
Trimmed Mean ( 83 / 83 )11.37396428571430.0439894906294359258.560945420525
Median11.405
Midrange10.3045
Midmean - Weighted Average at Xnp11.135088
Midmean - Weighted Average at X(n+1)p11.1443888888889
Midmean - Empirical Distribution Function11.1443888888889
Midmean - Empirical Distribution Function - Averaging11.1443888888889
Midmean - Empirical Distribution Function - Interpolation11.1534032258065
Midmean - Closest Observation11.1443888888889
Midmean - True Basic - Statistics Graphics Toolkit11.1443888888889
Midmean - MS Excel (old versions)11.1443888888889
Number of observations250
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t12441096137c8seh0lupeo273/177xu1244109560.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t12441096137c8seh0lupeo273/177xu1244109560.ps (open in new window)


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