Home » date » 2007 » Oct » 19 » attachments

mean error component

R Software Module: rwasp_centraltendency.wasp (opens new window with default values)
Title produced by software: Central Tendency
Date of computation: Fri, 19 Oct 2007 02:51:33 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Oct/19/hak98mz9wvu5dt41192787441.htm/, Retrieved Fri, 19 Oct 2007 11:50:43 +0200
 
User-defined keywords:
mean, error compenent, zero, robust result
 
Dataseries X:
» Textbox « » Textfile « » CSV «
2.57421141308358 2.37438865362012 2.17333105724820 1.98457618749651 1.81397104103089 1.66191004679337 1.52661766991268 1.40653860167760 1.30113057719606 1.21102623834896 1.13721456461338 1.08062522747986 1.04128637742589 1.01844844158507 1.01032053581325 1.01437215382075 1.02789157893426 1.04813366384893 1.07250036229251 1.09918338206534 1.12620725670397 1.15252948038855 1.17719921937284 1.19960528665096 1.21959389078944 1.23689811123881 1.25168613913275 1.26422557085352 1.27493538369740 1.28419313922586 1.29239105902577 1.30007239951788 1.30778269183781 1.31581911140617 1.32461110013878 1.33427302049863 1.34513946520297 1.35710263251695 1.36998176015130 1.3837402197024 1.39786055262194 1.41214924809857 1.42606216361429 1.43905152014551 1.45078552817955 1.46067076382584 1.46832983222105 1.47332530003405 1.47527302918506 1.47394821462 1.46919688433279 1.46100108052782 1.44930765571025 1.43432692671794 1.41637987902313 1.39572955399521 1.37289027255654 1.34828610104814 1.32262833233890 1.29658022814158 1.27062376297728 1.24562234036689 1.22226068622882 1.20101369474792 1.18265772483492 1.16777155507847 1.15657605725328 1.14955918248913 1.14686696809245 1.1487028289674 1.15481178659679 1.16533465232674 1.17984501469895 1.19805046035913 1.21962157148744 1.24408655589057 1.27090227729259 1.29954948724120 1.32953732876533 1.36038511655776 1.391697870781 1.42290970051674 1.45357964609664 1.48342562268815 1.51216511449393 1.53942157316611 1.56520734241193 1.58917572428048 1.61139843487111 1.63195481005366 1.65057646107131 1.66755779705487 1.68299504380833 1.69707249696932 1.70963412061507 1.72113577494283 1.73179259602584 1.74160095950941 1.75095822790409 1.75969181019091 1.76811912874389 1.77645812700617 1.78454607285558 1.79259347030708 1.80051058099801 1.80844482573184 1.81626223975829 1.82373708503119 1.83091133628721 1.83775856778032 1.84389496214624 1.84925463423884 1.85350714886811 1.85644670627810 1.85791579931575 1.85738713526759 1.85487224106694 1.84984585824875 1.84203480212952 1.83133817515461 1.81749445139327 1.80027923807550 1.77944358664246 1.75505023379921 1.72706152944447 1.69545484105505 1.66030329149397 1.6219199425272 1.58042337265847 1.53613311336789 1.48951425425951 1.44092540997448 1.39088865268471 1.33998320566317 1.28872566072988 1.23770855742888 1.18766567973502 1.13927045442951 1.09325612440417 1.05043480531320 1.01176342940769 0.977971838296494 0.95013992568343 0.929349046585566 0.916721786917897 0.913325147278157 0.920308195956507 0.938663107959344 0.969202901137482 1.01226015315935 1.06814266940975 1.13674792359946 1.21733333878304 1.30897791986825 1.4103897458368 1.51975869556741 1.63510096079528 1.75388348295212 1.87332950179234 1.99048808596635 2.10219325152500 2.20516817761169 2.29617433229331 2.37239062748756 2.43110281103951 2.4701738204676 2.48828621794700 2.48470382166261 2.45968250902683 2.41450734562590 2.3513268396712 2.27344979633146 2.18493963953756 2.09084988790547 1.99675465366941 1.90850637290152 1.83197136576008 1.77219437836728 1.73261948284206 1.71437060052883 1.71567013900682 1.73184932634623 1.755961943303 1.77981520103902 1.79529913867175 1.79564874890001 1.77687215007853 1.73924988429807 1.68889173806828 1.6393756439734 1.61293967388695 1.63847502162992 1.74402993949359 1.94444642046778 2.2332400331236 2.58339268606338 2.95252091255679
 
Text written by user:
 
Output produced by software:


Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean1.550750536301210.02807960576588755.2269340684679
Geometric Mean1.50362637107984
Harmonic Mean1.45899231467572
Quadratic Mean1.59980193173785
Winsorized Mean ( 1 / 65 )1.548894030784190.027659754170277755.9981126820201
Winsorized Mean ( 2 / 65 )1.548837230135040.027637803812808156.0405320417415
Winsorized Mean ( 3 / 65 )1.547666402553710.027383339742967156.5185407288092
Winsorized Mean ( 4 / 65 )1.547782781540290.027348970153368356.5938231992134
Winsorized Mean ( 5 / 65 )1.547705289574030.027252051508019956.7922488007392
Winsorized Mean ( 6 / 65 )1.547966355483060.027132997202827457.0510638360938
Winsorized Mean ( 7 / 65 )1.547262419819110.026927146930222457.4610605359938
Winsorized Mean ( 8 / 65 )1.547902144980660.026676467146691758.025005202858
Winsorized Mean ( 9 / 65 )1.546135230332420.026370901198617258.6303523981767
Winsorized Mean ( 10 / 65 )1.546059022089740.026352055510457158.6693900017107
Winsorized Mean ( 11 / 65 )1.545000800471950.026153263396802559.0748763177617
Winsorized Mean ( 12 / 65 )1.541889558668080.025610703781123360.204888231324
Winsorized Mean ( 13 / 65 )1.541013121196180.025322671855773260.8550760351477
Winsorized Mean ( 14 / 65 )1.539107489185890.024809865960712062.0361065885305
Winsorized Mean ( 15 / 65 )1.537491405245110.024455111830717662.8699396628354
Winsorized Mean ( 16 / 65 )1.536035373033140.024209231236388263.4483333251974
Winsorized Mean ( 17 / 65 )1.536561706996200.023918150101258064.2424978725835
Winsorized Mean ( 18 / 65 )1.530459970797580.023024307291066066.4714882167784
Winsorized Mean ( 19 / 65 )1.530149557243210.022807226149957567.0905592456738
Winsorized Mean ( 20 / 65 )1.521879066145570.021539534014647170.6551527582107
Winsorized Mean ( 21 / 65 )1.521842896039580.021400737151103071.1117044844945
Winsorized Mean ( 22 / 65 )1.524200578657410.021029176699688172.4802782545462
Winsorized Mean ( 23 / 65 )1.520746013667240.020400571275691074.5442857023978
Winsorized Mean ( 24 / 65 )1.516424380381670.019943370209093976.0365156181178
Winsorized Mean ( 25 / 65 )1.512221210166820.019482870342411277.6179887044132
Winsorized Mean ( 26 / 65 )1.511189499968060.019195422757847278.726554712127
Winsorized Mean ( 27 / 65 )1.511368658924020.019164417308231778.8632722099428
Winsorized Mean ( 28 / 65 )1.511356709111340.019140368086354478.9617369056147
Winsorized Mean ( 29 / 65 )1.511562187019770.019076990308849779.2348353984623
Winsorized Mean ( 30 / 65 )1.511701864280080.019024599648035579.4603772088408
Winsorized Mean ( 31 / 65 )1.511403348448360.018945386849918879.7768533533451
Winsorized Mean ( 32 / 65 )1.512730028011980.018801587679142480.4575684685465
Winsorized Mean ( 33 / 65 )1.512240427056410.018681488940574380.9486027514636
Winsorized Mean ( 34 / 65 )1.513546493784530.018500402241161981.8115451791102
Winsorized Mean ( 35 / 65 )1.513256821876870.018388242961648982.2948024470293
Winsorized Mean ( 36 / 65 )1.512713259908170.01824593198490582.906878155616
Winsorized Mean ( 37 / 65 )1.513534916146250.018148823363772383.3957599238906
Winsorized Mean ( 38 / 65 )1.515455737398820.017959381718171284.3824003064361
Winsorized Mean ( 39 / 65 )1.514343262405900.017805020889707585.0514735021345
Winsorized Mean ( 40 / 65 )1.513361693768150.017667374636951785.658550003401
Winsorized Mean ( 41 / 65 )1.51518907250220.017458226028781786.7894063236581
Winsorized Mean ( 42 / 65 )1.516045254591950.017296264794113387.6515983443966
Winsorized Mean ( 43 / 65 )1.515332444837720.017147212320374188.3719415451116
Winsorized Mean ( 44 / 65 )1.513566511753570.016993050459477589.0697356170921
Winsorized Mean ( 45 / 65 )1.51411651039240.016935391307375989.4054635592007
Winsorized Mean ( 46 / 65 )1.516453155308070.016544616775514291.6584032065584
Winsorized Mean ( 47 / 65 )1.516563100943630.016520775921351991.7973289004898
Winsorized Mean ( 48 / 65 )1.517457881880970.016330787915341592.920065446165
Winsorized Mean ( 49 / 65 )1.515838242105420.016127034344977493.9936140569773
Winsorized Mean ( 50 / 65 )1.516176548437730.015894066849649695.3926117701687
Winsorized Mean ( 51 / 65 )1.519326592516590.015612768831185397.3130780929676
Winsorized Mean ( 52 / 65 )1.520336700583140.015414913598832098.6276498298591
Winsorized Mean ( 53 / 65 )1.520300243912460.015399265847399198.7255015257262
Winsorized Mean ( 54 / 65 )1.520237022183320.015209115624819599.9556489466403
Winsorized Mean ( 55 / 65 )1.521683914694890.0149015937072650102.115514929992
Winsorized Mean ( 56 / 65 )1.520576764264730.0145958090451560104.178998201499
Winsorized Mean ( 57 / 65 )1.520558110915770.0144199773242674105.448023718929
Winsorized Mean ( 58 / 65 )1.521523048263470.0142983314717810106.412629422274
Winsorized Mean ( 59 / 65 )1.522062885760420.0141979752010944107.202813373212
Winsorized Mean ( 60 / 65 )1.521331207759000.0141111425088763107.810633107988
Winsorized Mean ( 61 / 65 )1.519513559258120.013907500785462109.258563612416
Winsorized Mean ( 62 / 65 )1.520842667627510.0136774802965659111.193190167443
Winsorized Mean ( 63 / 65 )1.520473031219410.0135852654906783111.920744740889
Winsorized Mean ( 64 / 65 )1.520541511246020.0132327131088465114.907766739799
Winsorized Mean ( 65 / 65 )1.52253409595870.0130353448424113116.800446352984
Trimmed Mean ( 1 / 65 )1.550750536301210.027239703472636956.9297877217712
Trimmed Mean ( 2 / 65 )1.546830818417970.026791167295413457.7365965940119
Trimmed Mean ( 3 / 65 )1.542604060259070.026323842712720958.6010210247006
Trimmed Mean ( 4 / 65 )1.542604060259070.02592213650004659.5091403926652
Trimmed Mean ( 5 / 65 )1.53901803911940.025502745053245160.3471522734596
Trimmed Mean ( 6 / 65 )1.537167889563120.025077672158656961.2962750225795
Trimmed Mean ( 7 / 65 )1.535230459885310.024647334805438762.2878892182106
Trimmed Mean ( 8 / 65 )1.535230459885310.024224840183290963.3742244848426
Trimmed Mean ( 9 / 65 )1.531359059375630.023813659397411264.305910898436
Trimmed Mean ( 10 / 65 )1.529531748842990.023420414008964865.3076306959186
Trimmed Mean ( 11 / 65 )1.527671250083220.02300051917425166.4189898719085
Trimmed Mean ( 12 / 65 )1.525877281913700.022576315255888167.587525449519
Trimmed Mean ( 13 / 65 )1.524340040919250.022190880253374568.6921845151886
Trimmed Mean ( 14 / 65 )1.522845003680040.021811364731961169.8188775619597
Trimmed Mean ( 15 / 65 )1.521474725816630.021462820100493470.888854246216
Trimmed Mean ( 16 / 65 )1.521474725816630.021127193731842372.0149938097792
Trimmed Mean ( 17 / 65 )1.519003698926780.020792144788945773.0566141370067
Trimmed Mean ( 18 / 65 )1.517739932909370.020460524319738774.17893643347
Trimmed Mean ( 19 / 65 )1.516864374745850.020193358818341075.1169920958436
Trimmed Mean ( 20 / 65 )1.515987009357990.019925712151973876.0819486799532
Trimmed Mean ( 21 / 65 )1.515612578652460.019753716311815576.725440151528
Trimmed Mean ( 22 / 65 )1.515230576621570.019579508371142277.3885915774491
Trimmed Mean ( 23 / 65 )1.514698640919860.019421758653202177.989777752188
Trimmed Mean ( 24 / 65 )1.514351009629740.019302336866448678.4542835464652
Trimmed Mean ( 25 / 65 )1.514235234675630.019208242888607278.8325742993257
Trimmed Mean ( 26 / 65 )1.514344686490310.019139783023845679.1202640387115
Trimmed Mean ( 27 / 65 )1.514511865550260.019084627586138279.3576850643028
Trimmed Mean ( 28 / 65 )1.514674516379090.019024498964384279.6170516350898
Trimmed Mean ( 29 / 65 )1.514842452666800.018958393626057379.9035236078613
Trimmed Mean ( 30 / 65 )1.515005103644010.018888604038942180.2073620962442
Trimmed Mean ( 31 / 65 )1.515165779731590.018813898655094180.534386174199
Trimmed Mean ( 32 / 65 )1.515165779731590.018735646279268880.870750714809
Trimmed Mean ( 33 / 65 )1.515468466119820.018658126191450781.222972262575
Trimmed Mean ( 34 / 65 )1.515617849181950.018579359540871581.5753549441704
Trimmed Mean ( 35 / 65 )1.515712350574560.018503477948632481.9149975362652
Trimmed Mean ( 36 / 65 )1.515822919523920.018425476288341382.2677740212913
Trimmed Mean ( 37 / 65 )1.515961267072320.018347117472883982.6266725175131
Trimmed Mean ( 38 / 65 )1.516068033016580.018265015196912383.0039294614365
Trimmed Mean ( 39 / 65 )1.516094707549240.018185310651517283.369194873927
Trimmed Mean ( 40 / 65 )1.516170323304930.018105360394170883.7415157884998
Trimmed Mean ( 41 / 65 )1.516290605917710.018023705280954584.1275743406633
Trimmed Mean ( 42 / 65 )1.516337444269280.017945313375615284.4976854140505
Trimmed Mean ( 43 / 65 )1.516349791194730.017866729585325984.8700252585745
Trimmed Mean ( 44 / 65 )1.516392551432050.017786757285908685.2540194402606
Trimmed Mean ( 45 / 65 )1.516510803304750.017705378917117685.6525471950554
Trimmed Mean ( 46 / 65 )1.516610628850510.017615101531981186.0971834932106
Trimmed Mean ( 47 / 65 )1.516617176399660.017540264273009986.4648988632033
Trimmed Mean ( 48 / 65 )1.516619420525390.017453847072138586.8931310247563
Trimmed Mean ( 49 / 65 )1.516584661079460.017367442700405787.3234296632536
Trimmed Mean ( 50 / 65 )1.516615598284990.017281936376221487.7572724067968
Trimmed Mean ( 51 / 65 )1.516633807299710.017199539776333388.178743560721
Trimmed Mean ( 52 / 65 )1.516521962752440.017124143708566088.5604552590752
Trimmed Mean ( 53 / 65 )1.516521962752440.017049376413982188.9488228735889
Trimmed Mean ( 54 / 65 )1.516198721557550.016959877547250689.399154995865
Trimmed Mean ( 55 / 65 )1.516029384558130.016868725228069989.8721962721537
Trimmed Mean ( 56 / 65 )1.515791108101030.016785556772534590.3032963780659
Trimmed Mean ( 57 / 65 )1.515791108101030.016711236200094290.704905965753
Trimmed Mean ( 58 / 65 )1.515376218707880.016634600062833391.0978450328774
Trimmed Mean ( 59 / 65 )1.515111939916420.016549863871891591.5483022485585
Trimmed Mean ( 60 / 65 )1.514810523158490.016453674813188592.0651793813434
Trimmed Mean ( 61 / 65 )1.514525062077090.016343106720805892.6705728568125
Trimmed Mean ( 62 / 65 )1.514304371768390.016228110544433093.3136588897505
Trimmed Mean ( 63 / 65 )1.514011767433030.016109876993931293.9803431151819
Trimmed Mean ( 64 / 65 )1.514011767433030.015972841905067394.7866244736772
Trimmed Mean ( 65 / 65 )1.513405508795980.015843460998153795.522405677165
Median1.47394821462
Midrange1.93292302991747
Midmean - Weighted Average at Xnp1.51385036095930
Midmean - Weighted Average at X(n+1)p1.51658466107946
Midmean - Empirical Distribution Function1.51658466107946
Midmean - Empirical Distribution Function - Averaging1.51658466107946
Midmean - Empirical Distribution Function - Interpolation1.51658466107946
Midmean - Closest Observation1.51385968002757
Midmean - True Basic - Statistics Graphics Toolkit1.51658466107946
Midmean - MS Excel (old versions)1.51658466107946
Number of observations197
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Oct/19/hak98mz9wvu5dt41192787441/1zupd1192787490.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Oct/19/hak98mz9wvu5dt41192787441/1zupd1192787490.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Oct/19/hak98mz9wvu5dt41192787441/2e14b1192787490.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Oct/19/hak98mz9wvu5dt41192787441/2e14b1192787490.ps (open in new window)


 
Parameters:
 
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:

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