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 09:11:11 -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/t1354371091wzq15v2skbi1dnk.htm/, Retrieved Sun, 28 Apr 2024 21:01:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=195311, Retrieved Sun, 28 Apr 2024 21:01:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact104
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] [meanversusmedian] [2012-12-01 14:11:11] [e357aba3893873b930815b56a53f1005] [Current]
Feedback Forum

Post a new message
Dataseries X:
223.778356481482000
491.188078703703000
-17.429976851852200
-30.066087962963100
51.842245370369700
-333.066087962963000
112.958912037036000
183.592245370370000
-191.899421296295000
25.142245370370800
84.092245370369700
106.158912037037000
-180.096643518518000
9.896412037038320
-378.513310185184000
110.517245370373000
-9.491087962962410
-13.232754629629200
201.417245370370000
-61.532754629628500
-28.191087962961300
130.725578703705000
-60.407754629628500
-342.632754629631000
326.653356481480000
-185.103587962964000
4.195023148147810
254.850578703705000
-309.866087962964000
152.642245370371000
-151.624421296296000
-111.199421296296000
154.183912037039000
95.933912037038700
224.133912037036000
-73.757754629628800
-166.888310185184000
-504.478587962962000
227.445023148146000
112.183912037039000
99.300578703703600
115.933912037039000
-202.457754629630000
103.883912037038000
192.892245370371000
-209.316087962961000
-31.657754629628500
172.658912037037000
51.903356481479900
-74.853587962961700
112.111689814816000
-420.399421296295000
195.300578703704000
104.808912037037000
66.792245370370400
-87.657754629630300
-99.899421296297100
-15.399421296295300
-189.074421296296000
164.658912037037000
-222.846643518518000
295.854745370370000
84.695023148149600




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ jenkins.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 & 1 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=195311&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=195311&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=195311&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 time1 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net







Median versus Mean
mean5.41724537037072
median25.1422453703708

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=195311&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
mean5.41724537037072
median25.1422453703708



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')