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 computationTue, 15 Nov 2011 09:50:27 -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/2011/Nov/15/t13213686435dakg514rd7f1zd.htm/, Retrieved Thu, 28 Mar 2024 12:26:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=142972, Retrieved Thu, 28 Mar 2024 12:26:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact79
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Bivariate Data Series] [Bivariate dataset] [2008-01-05 23:51:08] [74be16979710d4c4e7c6647856088456]
F RMPD  [Mean Plot] [Colombia Coffee] [2008-01-07 13:38:24] [74be16979710d4c4e7c6647856088456]
- RMPD      [Mean Plot] [] [2011-11-15 14:50:27] [885a9dbaf162325773a0a0afdf9f947e] [Current]
Feedback Forum

Post a new message
Dataseries X:
31.82
32.23
30.51
30.68
31.32
30.77
30.88
31.92
29.68
28.56
32.85
36.35
35.13
30.05
30.80
32.00
31.78
29.92
31.77
29.93
31.05
32.25
33.34
35.35
33.45
32.48
31.55
32.02
29.49
27.18
28.66
30.05
31.14
29.66
30.05
26.32
25.32
23.06
24.45
24.91
26.65
28.20
30.50
26.90
28.00
26.12
29.80
32.23
31.64
29.66
31.30
33.42
35.65
35.87
34.73
34.40
33.56
34.36
33.45
32.98
32.72
32.75
34.21
36.69
37.50
37.52
37.23
35.72
35.61
39.34
39.31
40.62
40.62
41.80
42.60
43.67
45.47
46.40
45.84
46.59
46.70
48.81
48.92
46.95
44.90
43.63
45.28
46.05
46.51
46.95
46.45
49.82
51.82
52.50
53.25
53.95
54.54
53.23
52.00
51.13
50.16
50.19
51.28
53.34
53.08
51.75
52.20
51.11
51.30
52.61
51.41
51.61
52.35
52.21
52.64
52.50
53.55
52.41
53.80
54.22
53.21
53.50
52.30
52.47
51.32
51.37
52.32
52.24
53.40
52.83
53.08
53.62
54.14
54.62
54.13
52.94
54.43
53.98
54.05
53.45
53.39
53.43
53.03
52.16
51.72
51.42
50.54
50.13
50.63
52.10
52.64
53.47
53.39
54.11
54.70
54.34
53.39
52.47
52.74
53.44
51.61
53.30
53.10
53.26
53.09
53.39
52.56
52.57
53.18
52.00
51.75
50.34
51.96
53.07
53.14
52.60
52.70
53.20
52.23
53.21
54.17
54.33
55.12
56.58
55.91
54.65
55.03
55.56
57.15
58.24
58.77
58.97
57.29
56.04
56.72
56.46
57.10
56.81
56.32
55.81
56.03
56.90
56.59
54.60
55.08
55.48
54.42
54.55
55.17
55.10
53.89
53.02
53.24
52.32
52.57
51.69
50.26
47.94
47.32
48.72
49.84
50.15
50.00
49.34




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'AstonUniversity' @ aston.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 & 4 seconds \tabularnewline
R Server & 'AstonUniversity' @ aston.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=142972&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'AstonUniversity' @ aston.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=142972&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=142972&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 time4 seconds
R Server'AstonUniversity' @ aston.wessa.net



Parameters (Session):
par1 = 200 ;
Parameters (R input):
par1 = 50 ;
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()