Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_meanversusmedian.wasp
Title produced by softwareMean versus Median
Date of computationSat, 01 Dec 2012 10:40:37 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Dec/01/t1354376448g3wv6idwz483eku.htm/, Retrieved Mon, 29 Apr 2024 06:09:58 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=195343, Retrieved Mon, 29 Apr 2024 06:09:58 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact133
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Skewness and Kurtosis Test] [skewness] [2012-12-01 13:21:10] [2f324ead08cc3849e52bae5d3f3d905a]
- RM D    [Mean versus Median] [meanversusmedian2] [2012-12-01 15:40:37] [e357aba3893873b930815b56a53f1005] [Current]
Feedback Forum

Post a new message
Dataseries X:
-619.000000000000000
-517.699041774918000
223.514709240721000
-967.980783644196000
329.740441841572000
109.375657675839000
527.006139168516000
-117.685635420767000
502.003558006032000
302.282345107174000
-411.721926586784000
138.662015102645000
-585.358354774593000
-394.399894064740000
22.233203690404500
-768.297564043327000
280.712753803935000
-443.866135832459000
-37.377498552983500
-485.441724847306000
709.649368391671000
277.952740093246000
-76.187842608616800
222.911249368004000
-777.488410425251000
-80.018530370811300
285.688898080261000
-779.680233479605000
-17.862278616599700
269.974359677577000
-119.899207773971000
54.141514382101400
937.543513180943000
52.655911042984400
265.293832671838000
-2.836438673632070
-692.385994990975000
230.569104797780000
328.953331068020000
-391.286455127971000
323.852209620938000
-193.577487518074000
-299.836207204939000
466.779602938550000
916.652167964750000
564.082238287798000
232.502554052839000
-11.420263157457200
-370.606656030543000
339.247931065411000
40.373299886725400
-618.038225259597000
621.109997297344000
38.473958690710800
91.364060458063200
204.854892945363000
273.322692180216000
668.917389198028000
202.689246497566000
209.500963536935000
-669.769061446519000
-9.405668022114700
269.088009165802000
-755.644800443048000
660.356181723919000
-177.512389250745000
580.677655919160000
233.462518606158000
411.387253196423000
559.056459673333000
486.274899596096000
492.051493148436000
-528.089271427612000
-626.225488859407000




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 2 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ fisher.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=195343&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ fisher.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=195343&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=195343&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net







Median versus Mean
mean32.5722007001658
median100.369859066951

\begin{tabular}{lllllllll}
\hline
Median versus Mean \tabularnewline
mean & 32.5722007001658 \tabularnewline
median & 100.369859066951 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=195343&T=1

[TABLE]
[ROW][C]Median versus Mean[/C][/ROW]
[ROW][C]mean[/C][C]32.5722007001658[/C][/ROW]
[ROW][C]median[/C][C]100.369859066951[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=195343&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=195343&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Median versus Mean
mean32.5722007001658
median100.369859066951



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
library(Hmisc)
m <- mean(x)
e <- median(x)
bitmap(file='test1.png')
op <- par(mfrow=c(2,1))
mydensity1 <- density(x,kernel='gaussian',na.rm=TRUE)
plot(mydensity1,main='Density Plot - Gaussian Kernel',xlab='Median (0 -> full line) | Mean (0 -> dashed line)',ylab='density')
abline(v=e,lty=1)
abline(v=m,lty=5)
grid()
myseq <- seq(0.01, 0.99, 0.01)
hd <- hdquantile(x, probs = myseq, se = TRUE, na.rm = FALSE, names = TRUE, weights=FALSE)
plot(myseq,hd,col=2,main='Harrell-Davis Quantiles',xlab='quantiles',ylab='Median (0 -> full) | Mean (0 -> dashed)')
abline(h=m,lty=5)
abline(h=e,lty=1)
grid()
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Median versus Mean',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'mean',header=TRUE)
a<-table.element(a,mean(x))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'median',header=TRUE)
a<-table.element(a,median(x))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')