Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_meanversusmedian.wasp
Title produced by softwareMean versus Median
Date of computationFri, 09 Oct 2015 00:25:43 +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/2015/Oct/09/t1444346763ugod97834075uk4.htm/, Retrieved Mon, 13 May 2024 23:29:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=281693, Retrieved Mon, 13 May 2024 23:29:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact102
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Histogram] [Saghar Najafi Zadeh] [2015-09-24 15:02:21] [74be16979710d4c4e7c6647856088456]
- RMPD  [Univariate Data Series] [Saghar Najafi Zadeh] [2015-10-01 20:20:08] [a726dea3093235710caf789b0c5edf8a]
- RMPD    [Harrell-Davis Quantiles] [Saghar Najafi Zadeh] [2015-10-08 21:54:37] [a726dea3093235710caf789b0c5edf8a]
- R         [Harrell-Davis Quantiles] [Saghar Najafi Zadeh] [2015-10-08 22:35:56] [a726dea3093235710caf789b0c5edf8a]
- R           [Harrell-Davis Quantiles] [Saghar Najafi Zadeh] [2015-10-08 22:46:34] [a726dea3093235710caf789b0c5edf8a]
- RM D            [Mean versus Median] [Saghar Najafi Zadeh] [2015-10-08 23:25:43] [c23f68ac64e5ceef3ca8a84a34b0ff7e] [Current]
Feedback Forum

Post a new message
Dataseries X:
88.83
89.01
88.21
87.78
87.93
88.11
88.2
88.12
88.38
87.65
88.24
87.83
87.75
87.88
87.61
88.05
87.77
87.79
88.34
88.48
88.75
87.95
89.09
88.73
89.24
89.77
89.84
90.97
91.53
92.2
92.27
92.42
92.07
91.73
92.1
91.68
92.63
93.02
92.66
93.23
93.79
93.92
94.04
94.23
94.37
94.29
94.38
94
94.11
93.98
93.42
93.3
93.32
93.75
93.82
94.06
94.09
93.64
93.9
93.18
93.54
93.55
93.8
93.39
93.27
93.58
93.47
93.75
93.3
92.65
92.96
92.84
93.29
93.57
93.54
94.38
93.98
94.48
94.63
95.45
95.59
94.76
95.66
95.03
96.45
97.15
97.5
98.54
99.54
100.33
100.28
101.81
101.91
101.92
102.68
101.9
102.14
102.3
102.06
102.4
102.99
102.99
102.83
103.01
102.6
102.18
102.6
101.44




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=281693&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=281693&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=281693&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
mean93.9392592592593
median93.545

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=281693&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
mean93.9392592592593
median93.545



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