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 computationSat, 09 Dec 2017 15:09:55 +0100
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/Dec/09/t15128336850qhm4hgr4e9r7dh.htm/, Retrieved Mon, 13 May 2024 22:17:10 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=308869, Retrieved Mon, 13 May 2024 22:17:10 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact81
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Mean Plot] [] [2017-12-09 14:09:55] [20141777ecd6b11d9726230b5f8289b4] [Current]
Feedback Forum

Post a new message
Dataseries X:
62
67.1
75.9
67
74.2
72.2
60.2
65.8
76.2
76.6
76.8
70.6
74.5
73.5
80.2
71.5
76.6
79.6
65.5
69.2
74.8
79.4
75
67.7
72.5
71.2
78.3
76.6
74.9
76.5
69.4
67.4
77.2
82.2
75.1
70.6
75.6
73.5
79.4
77.5
72.9
78
71.5
66.6
81.8
83.5
74.6
79.8
73.9
76.6
88.9
81.7
76.5
88.8
75.5
75.2
89
87.9
85.7
89.2
82.7
81
90.3
86.3
81.5
91.1
73.1
76.4
91
86.9
89.6
90.5
86.3
86.5
98.8
84.3
91.2
95.5
78.1
81.5
94.4
98.5
95.3
91.6
92.8
90.5
102.2
91.5
94.9
102.1
88.8
89.4
97.8
108.8
100.8
95
101
101
102.5
105.6
98.3
105.5
96.4
88
108.1
107.2
92.5
95.7
84.8
85.4
94.6
86
88.6
93.3
83.1
82.6
96.7
96.2
92.6
92.7
89.9
95.4
108.4
96.2
95
109
91.9
92.2
107.1
105.6
105.4
103.9
99.2
102.4
121.8
102.3
110.1
106
91.9
100.1
112
105
103.3
101.8
100.9
104.2
116.8
97.8
100.7
107.2
96.3
95.9
104.6
107.5
102.5
94.9
98.7
96.8
108.3
103.9
102.4
107.3
101.9
92.5
105.4
113.2
105.7
101.7
101.8
102.9
109.2
105.6
103.4
108.8
98.1
90
112.8
112.2
102.2
102.5
101.8
98.8
114.3
105.2
98.3
110.1
96.4
92.1
112.2
111.6
107.6
103.4
103.6
107.7
117.9
110.4
104.4
116.2
98.9
102.1
113.7
109.5
110.3
114.5
107
109.4
124.6
104.8
112
119.2
103
106.5




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 time3 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=308869&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]3 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=308869&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308869&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 time3 seconds
R ServerBig Analytics Cloud Computing Center



Parameters (Session):
par1 = 12 ;
Parameters (R input):
par1 = 12 ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
x <- na.omit(x)
(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()