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 computationSun, 18 Nov 2012 10:34:57 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Nov/18/t1353253093d14o91gxyhgf870.htm/, Retrieved Mon, 29 Apr 2024 17:36:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=190214, Retrieved Mon, 29 Apr 2024 17:36:29 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact97
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Testing Mean with known Variance - Sample Size] [] [2010-10-25 22:03:32] [b98453cac15ba1066b407e146608df68]
- RMPD    [Mean versus Median] [mean] [2012-11-18 15:34:57] [4c917d823355d00d361b7013e9f37760] [Current]
Feedback Forum

Post a new message
Dataseries X:
79
58
60
108
49
0
121
1
20
43
69
78
86
44
104
63
158
102
77
82
115
101
80
50
83
123
73
81
105
47
105
94
44
114
38
107
30
71
84
0
59
33
42
96
106
56
57
59
39
34
76
20
91
115
85
76
8
79
21
30
76
101
94
27
92
123
75
128
105
55
56
41
72
67
75
114
118
77
22
66
69
105
116
88
73
99
62
53
118
30
100
49
24
67
46
57
75
135
68
124
33
98
58
68
81
131
110
37
130
93
118
39
13
74
81
109
151
51
28
40
56
27
37
83
54
27
28
59
133
12
0
106
23
44
71
116
4
62
12
18
14
60
7
98
64
29
32
25
16
48
100
46
45
129
130
136
59
25
32
63
95
14
36
113
47
92
70
19
50
41
91
111
41
120
135
27
87
25
131
45
29
58
4
47
109
7
12
0
37
37
46
15
42
7
54
54
14
16
33
32
21
15
38
22
28
10
31
32
32
43
27
37
20
32
0
5
26
10
27
11
29
25
55
23
5
43
23
34
36
35
0
37
28
16
26
38
23
22
30
16
18
28
32
21
23
29
50
12
21
18
27
41
13
12
21
8
26
27
13
16
2
42
5
37
17
38
37
29
32
35
17
20
7
46
24
40
3
10
37
17
28
19
29
8
10
15
15
28
17




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

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







Median versus Mean
mean52.3114186851211
median41

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190214&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
mean52.3114186851211
median41



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