Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_meanversusmedian.wasp
Title produced by softwareMean versus Median
Date of computationWed, 16 Aug 2017 23:39:35 +0200
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2017/Aug/16/t1502919593dwhmsgrbxniqt5j.htm/, Retrieved Sat, 11 May 2024 18:16:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=307517, Retrieved Sat, 11 May 2024 18:16:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact93
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Mean versus Median] [] [2017-08-16 21:39:35] [a0ce0558b0177aac41d3fe22da4ea7eb] [Current]
Feedback Forum

Post a new message
Dataseries X:
59400
57200
60500
48400
62700
61600
66000
68200
75900
66000
62700
78100
66000
49500
58300
44000
61600
50600
67100
60500
63800
71500
70400
83600
60500
50600
56100
40700
58300
45100
63800
60500
53900
77000
69300
79200
59400
55000
49500
40700
53900
48400
66000
63800
55000
73700
68200
88000
70400
42900
42900
42900
50600
50600
68200
62700
56100
70400
64900
93500
73700
42900
45100
37400
51700
59400
74800
73700
59400
69300
61600
88000
67100
53900
48400
36300
53900
64900
75900
71500
52800
75900
59400
91300
75900
55000
50600
34100
53900
51700
78100
78100
59400
77000
57200
89100
75900
56100
42900
29700
58300
56100
73700
84700
62700
70400
52800
91300




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time4 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=307517&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]4 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=307517&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=307517&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R ServerBig Analytics Cloud Computing Center







Median versus Mean
mean61752.7777777778
median60500

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=307517&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
mean61752.7777777778
median60500



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