Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_meanplot.wasp
Title produced by softwareMean Plot
Date of computationSun, 13 Dec 2009 07:55:04 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/13/t1260716248xlnaukuqxplba9q.htm/, Retrieved Sun, 28 Apr 2024 15:00:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=67315, Retrieved Sun, 28 Apr 2024 15:00:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact112
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Kendall tau Rank Correlation] [3/11/2009] [2009-11-02 21:55:52] [b98453cac15ba1066b407e146608df68]
- R  D  [Kendall tau Rank Correlation] [] [2009-11-12 17:30:38] [74be16979710d4c4e7c6647856088456]
- RMPD      [Mean Plot] [] [2009-12-13 14:55:04] [4057bfb3a128b4e91b455d276991f7f0] [Current]
-   PD        [Mean Plot] [] [2009-12-20 21:31:08] [875a981b2b01315c1c471abd4dd66675]
Feedback Forum

Post a new message
Dataseries X:
-0.486292969646479
-0.362917336110185
-0.536348990777285
-0.555623800824641
-0.495834828403081
-0.241674178268230
0.0662024989408287
0.0624686744880833
0.131634556956347
-0.081239572203563
-0.542159033439704
-0.917158420735452
-0.640742361222955
-0.247524779302203
0.249546137870057
0.469687002407094
0.683505850858074
0.599266846562666
0.325917110911554
0.128360909067523
0.0428308525653205
0.192221522252290
0.317269218228926
0.0135272792073247
0.00925906096951977
-0.160948944588365
-0.000173407413776173
0.120811485508215
0.140348479268687
0.30644371235379
0.225399015556098
0.152876286808116
0.131795430931023
0.369191902291354
0.588814505036284
0.777802395266439
0.783221145955551
0.586451320545133
0.216295832728025
0.0217444288285005
0.144111863643870
0.0582537457860351
0.111620653582971
0.194803324471820
0.0839897045834115
0.178865938694431
0.221819257268543
0.714491599311593
0.823884191371536
0.309683273192494
-0.197099071242002
-0.573850728645969
-0.513098671100029
-0.409419085955675
-0.386611433873316
-0.186734091800279
-0.390250545036102
-0.659039791034511
-0.585743947094049
-0.588662853049904
-0.489329067427174
-0.124743533736874
0.26777949883498
0.517231612726801
0.0409673057324789
-0.312871040478587
-0.342527845118136
-0.351775103035264




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67315&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67315&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67315&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'Gwilym Jenkins' @ 72.249.127.135



Parameters (Session):
par1 = 12 ;
Parameters (R input):
par1 = 12 ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
(n <- length(x))
(np <- floor(n / par1))
arr <- array(NA,dim=c(par1,np+1))
darr <- array(NA,dim=c(par1,np+1))
ari <- array(0,dim=par1)
dx <- diff(x)
j <- 0
for (i in 1:n)
{
j = j + 1
ari[j] = ari[j] + 1
arr[j,ari[j]] <- x[i]
darr[j,ari[j]] <- dx[i]
if (j == par1) j = 0
}
ari
arr
darr
arr.mean <- array(NA,dim=par1)
arr.median <- array(NA,dim=par1)
arr.midrange <- array(NA,dim=par1)
for (j in 1:par1)
{
arr.mean[j] <- mean(arr[j,],na.rm=TRUE)
arr.median[j] <- median(arr[j,],na.rm=TRUE)
arr.midrange[j] <- (quantile(arr[j,],0.75,na.rm=TRUE) + quantile(arr[j,],0.25,na.rm=TRUE)) / 2
}
overall.mean <- mean(x)
overall.median <- median(x)
overall.midrange <- (quantile(x,0.75) + quantile(x,0.25)) / 2
bitmap(file='plot1.png')
plot(arr.mean,type='b',ylab='mean',main='Mean Plot',xlab='Periodic Index')
mtext(paste('#blocks = ',np))
abline(overall.mean,0)
dev.off()
bitmap(file='plot2.png')
plot(arr.median,type='b',ylab='median',main='Median Plot',xlab='Periodic Index')
mtext(paste('#blocks = ',np))
abline(overall.median,0)
dev.off()
bitmap(file='plot3.png')
plot(arr.midrange,type='b',ylab='midrange',main='Midrange Plot',xlab='Periodic Index')
mtext(paste('#blocks = ',np))
abline(overall.midrange,0)
dev.off()
bitmap(file='plot4.png')
z <- data.frame(t(arr))
names(z) <- c(1:par1)
(boxplot(z,notch=TRUE,col='grey',xlab='Periodic Index',ylab='Value',main='Notched Box Plots - Periodic Subseries'))
dev.off()
bitmap(file='plot4b.png')
z <- data.frame(t(darr))
names(z) <- c(1:par1)
(boxplot(z,notch=TRUE,col='grey',xlab='Periodic Index',ylab='Value',main='Notched Box Plots - Differenced Periodic Subseries'))
dev.off()
bitmap(file='plot5.png')
z <- data.frame(arr)
names(z) <- c(1:np)
(boxplot(z,notch=TRUE,col='grey',xlab='Block Index',ylab='Value',main='Notched Box Plots - Sequential Blocks'))
dev.off()
bitmap(file='plot6.png')
z <- data.frame(cbind(arr.mean,arr.median,arr.midrange))
names(z) <- list('mean','median','midrange')
(boxplot(z,notch=TRUE,col='grey',ylab='Overall Central Tendency',main='Notched Box Plots'))
dev.off()