Free Statistics

of Irreproducible Research!

Author's title

Shari Van Elsen - Mean versus median - Niet werkzoekende werklozen-verbeter...

Author*Unverified author*
R Software Modulerwasp_meanversusmedian.wasp
Title produced by softwareMean versus Median
Date of computationSat, 31 May 2008 11:00:34 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/May/31/t1212253276qx6ksxpc5cjj42l.htm/, Retrieved Wed, 15 May 2024 04:02:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=13619, Retrieved Wed, 15 May 2024 04:02:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact197
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Harrell-Davis Quantiles] [niet werkende wer...] [2008-03-02 20:02:18] [88b1f635a304a21eaec9f0fa0b832dcd]
- RMPD    [Mean versus Median] [Shari Van Elsen -...] [2008-05-31 17:00:34] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
492.865
480.961
461.935
456.608
441.977
439.148
488.180
520.564
501.492
485.025
464.196
460.170
467.037
460.070
447.988
442.867
436.087
431.328
484.015
509.673
512.927
502.831
470.984
471.067
476.049
474.605
470.439
461.251
454.724
455.626
516.847
525.192
522.975
518.585
509.239
512.238
519.164
517.009
509.933
509.127
500.857
506.971
569.323
579.714
577.992
565.464
547.344
554.788
562.325
560.854
555.332
543.599
536.662
542.722
593.530
610.763
612.613
611.324
594.167
595.454
590.865
589.379
584.428
573.100
567.456
569.028
620.735
628.884
628.232
612.117
595.404
597.141
593.408
590.072
579.799
574.205
572.775
572.942
619.567
625.809
619.916
587.625
565.742
557.274
560.576
548.854
531.673
525.919
511.038
498.662
555.362
564.591
541.657
527.070
509.846
514.258
516.922




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=13619&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=13619&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=13619&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Median versus Mean
mean533.269350515464
median527.07

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=13619&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
mean533.269350515464
median527.07



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