Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_meanversusmedian.wasp
Title produced by softwareMean versus Median
Date of computationThu, 19 May 2016 13:39:55 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/May/19/t1463661630uj3nmj62ki9wgi9.htm/, Retrieved Sat, 27 Apr 2024 08:06:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=295397, Retrieved Sat, 27 Apr 2024 08:06:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact134
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Mean versus Median] [consumptieprijsin...] [2016-05-19 12:39:55] [567a9be58124adae7ccc8a0c8709ba48] [Current]
Feedback Forum

Post a new message
Dataseries X:
84,97
85,57
85,74
85,88
85,88
85,96
85,96
85,99
86,02
86,14
86,3
86,32
86,32
86,77
87,47
87,39
87,3
87,31
87,31
87,38
87,4
87,32
87,37
87,4
87,4
87,89
87,7
87,89
88,02
88,08
88,08
88,15
88,21
88,41
88,39
88,41
88,41
89,1
90,35
90,61
91,18
91,22
91,22
91,4
91,52
91,68
91,71
91,77
91,77
92,16
93,64
93,78
93,96
93,82
93,82
93,89
94,05
94,46
94,62
94,72
94,72
95,76
96,14
97,11
97,19
97,43
97,43
97,56
97,66
97,75
97,82
97,82
97,82
98,35
98,19
98,19
98,21
98,22
98,26
98,23
98,26
98,5
98,51
98,51
98,51
98,89
99,55
99,9
100,12
100,09
100,09
100,09
100,46
100,71
100,79
100,79
100,93
101,15
101,53
101,91
102,18
102,24
102,2
102,32
102,43
102,45
102,84
102,96
102,96
103,1
103,4
103,74
103,97
104,29
104,33
104,46
104,9
105,31
105,63
105,68




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

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







Median versus Mean
mean94.7458333333333
median94.72

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=295397&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
mean94.7458333333333
median94.72



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