Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_meanversusmedian.wasp
Title produced by softwareMean versus Median
Date of computationTue, 05 Aug 2014 14:16:50 +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/2014/Aug/05/t1407244651fmgkdqtwxi2x1j1.htm/, Retrieved Thu, 16 May 2024 21:01:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=235407, Retrieved Thu, 16 May 2024 21:01:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsInes Van Dessel
Estimated Impact135
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Histogram] [Tijdreeks 1 - Stap 3] [2014-08-03 19:11:32] [ae3d1feb555b13e324db089723206180]
- R P   [Histogram] [Tijdreeks 1 - Stap 5] [2014-08-04 09:44:37] [74be16979710d4c4e7c6647856088456]
-   P     [Histogram] [Tijdreeks 1 - Stap 5] [2014-08-04 09:47:49] [74be16979710d4c4e7c6647856088456]
- RMP       [(Partial) Autocorrelation Function] [Tijdreeks 1 - Sta...] [2014-08-04 16:49:46] [ae3d1feb555b13e324db089723206180]
- R P         [(Partial) Autocorrelation Function] [Tijdreeks 1 - Sta...] [2014-08-05 08:15:03] [74be16979710d4c4e7c6647856088456]
- RMPD          [Harrell-Davis Quantiles] [Tijdreeks 2 - Stap 6] [2014-08-05 08:50:48] [ae3d1feb555b13e324db089723206180]
- RMP               [Mean versus Median] [Tijdreeks 2 - Sta...] [2014-08-05 13:16:50] [188bf81caccb86647293be436f272d1b] [Current]
Feedback Forum

Post a new message
Dataseries X:
340
307
380
347
313
333
347
333
387
307
353
407
307
253
380
320
353
353
387
280
387
307
347
427
253
240
407
293
347
360
387
240
333
353
313
440
273
240
407
240
360
373
387
320
373
373
260
420
253
293
413
207
333
440
280
367
380
373
193
373
213
293
407
167
340
447
233
393
333
353
200
413
187
300
413
213
373
453
247
447
340
320
187
380
160
307
400
213
380
453
260
467
380
300
180
427
153
327
393
207
380
440
247
400
360
340
220
393




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=235407&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
mean329.546296296296
median343.5

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=235407&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
mean329.546296296296
median343.5



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