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 computationMon, 19 Oct 2009 13:14:12 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Oct/19/t1255979744lxbc51hpbbdyw38.htm/, Retrieved Thu, 31 Oct 2024 23:57:10 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=48129, Retrieved Thu, 31 Oct 2024 23:57:10 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsShwWs3V2
Estimated Impact163
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Bivariate Data Series] [Bivariate dataset] [2008-01-05 23:51:08] [74be16979710d4c4e7c6647856088456]
F RMPD  [Univariate Explorative Data Analysis] [Colombia Coffee] [2008-01-07 14:21:11] [74be16979710d4c4e7c6647856088456]
F RMPD    [Univariate Data Series] [] [2009-10-14 08:30:28] [74be16979710d4c4e7c6647856088456]
- RMP       [Mean versus Median] [Ws3 part 1 mean v...] [2009-10-18 14:09:14] [e0fc65a5811681d807296d590d5b45de]
-    D        [Mean versus Median] [WS3 Part 2 Yt mea...] [2009-10-18 16:50:27] [e0fc65a5811681d807296d590d5b45de]
- R  D          [Mean versus Median] [WS3Part2Yt/Xt] [2009-10-18 19:21:00] [e0fc65a5811681d807296d590d5b45de]
- R  D              [Mean versus Median] [WS3Part2Yt*Xt] [2009-10-19 19:14:12] [51108381f3361ca8af49c4f74052c840] [Current]
Feedback Forum

Post a new message
Dataseries X:
6165561,60
4930198,00
5425516,80
4882416,00
5013277,20
4824106,60
4386552,80
3612685,50
3354824,00
4573662,50
3607962,50
2313181,20
6068078,55
5733506,24
5801696,32
5679979,04
4473715,68
4134416,13
3817990,84
2860636,20
3467462,88
4132339,80
3002307,36
2004734,61
5512120,68
4808915,54
5330777,00
4821427,17
4115383,80
4432005,74
3902015,55
3196453,24
3798522,75
4694299,60
3333356,94
2913313,14
5227244,40
5552024,24
6820771,05
5963048,74
4331811,21
4820109,95
3463539,62
3293941,28
3729726,82
4312980,00
3719352,72
2773137,94
5691542,88
5058654,30
5838951,24
5399831,16
4662499,05
5538644,50
3662097,01
3730770,83
3982615,85
4148178,34
3991276,66
2349702,88




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' @ 193.190.124.24

\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' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=48129&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' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=48129&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=48129&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' @ 193.190.124.24







Median versus Mean
mean4386464.20283333
median4359182.005

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=48129&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
mean4386464.20283333
median4359182.005



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