Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_meanplot.wasp
Title produced by softwareMean Plot
Date of computationSun, 29 Nov 2009 04:02:34 -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/Nov/29/t1259492696w8zcasmr600doma.htm/, Retrieved Wed, 24 Apr 2024 15:47:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=61554, Retrieved Wed, 24 Apr 2024 15:47:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W12
Estimated Impact150
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Harrell-Davis Quantiles] [opgave 4 oefening 2] [2009-10-17 19:53:40] [6871f93be6d0be6de9fd7f767f34808c]
-   PD  [Harrell-Davis Quantiles] [oef 4 1 VErb] [2009-10-24 18:31:29] [6871f93be6d0be6de9fd7f767f34808c]
- RMPD    [Univariate Data Series] [Inschrijvingen va...] [2009-11-29 10:19:17] [6871f93be6d0be6de9fd7f767f34808c]
- RMPD        [Mean Plot] [gemiddelde prijs ...] [2009-11-29 11:02:34] [bad7dbea6bcbbbbea3fc380bb800ab43] [Current]
Feedback Forum

Post a new message
Dataseries X:
104,65
109,2
103,93
101,93
101,58
102,63
106,83
105,57
105
104,16
106,93
106,5
106,47
112,33
106,81
103,49
104,13
103,2
105,55
102,8
106,68
105,43
109,01
112,24
112,87
110,98
112,85
112,08
110,72
109,69
112,53
112,99
111,74
111,15
114,82
117,38
117,81
122,85
116,96
119,16
117,74
118,84
123,81
120,33
119,2
117,32
128,58
129,2
126,19
132,1
128,12
122,28
122,36
123,13
125,97
126,14
122,7
122,67
129,19
133,01
123,96
128,96
127,32
131,38
125,25
127,91
130,42
128,44
125,86
125,71
130,63
131,78
125,61
131,84
122,14
127,13
124,49
125,48
129,86
126,32
125,56
125,64
128,26
125,47
134,4
134,5
131,22
121,62
124,16
127,5
132,86
127,87
124,07
124,25
131,16
129,24
129,24
135,51
128,97
126,89
127,52
130,31
132,39
132,69
128,73
129,66
127,72
132,63
129,74
138,46
134,31
128,8
129,95
134,15
136,01
135,1
132,27
132,49
130,06
136,11
131,47
140,61
141,65
126,75
133,9
138,75
141,86
141,13
138,76
138,65
138,59
147,09
140,17
152,38
144,02
139,55
141,1
145,85
147,88
145,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' @ 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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61554&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' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61554&T=0

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