Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationMon, 01 Dec 2008 14:49:31 -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/2008/Dec/01/t1228168259zfyd90xe5cqnt2i.htm/, Retrieved Sun, 05 May 2024 20:31:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=27438, Retrieved Sun, 05 May 2024 20:31:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact221
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Univariate Data Series] [Airline data] [2007-10-18 09:58:47] [42daae401fd3def69a25014f2252b4c2]
F RMPD  [Standard Deviation-Mean Plot] [] [2008-12-01 21:10:18] [cb714085b233acee8e8acd879ea442b6]
-   PD      [Standard Deviation-Mean Plot] [] [2008-12-01 21:49:31] [787873b6436f665b5b192a0bdb2e43c9] [Current]
Feedback Forum

Post a new message
Dataseries X:
0,95
0,98
1,23
1,17
0,84
0,74
0,65
0,91
1,19
1,30
1,53
1,94
1,79
1,95
2,26
2,04
2,16
2,75
2,79
2,88
3,36
2,97
3,10
2,49
2,20
2,25
2,09
2,79
3,14
2,93
2,65
2,67
2,26
2,35
2,13
2,18
2,90
2,63
2,67
1,81
1,33
0,88
1,28
1,26
1,26
1,29
1,10
1,37
1.21
1.74
1.76
1.48
1.04
1.62
1.49
1.79
1.8
1.58
1.86
1.74
1.59
1.26
1.13
1.92
2.61
2.26
2.41
2.26
2.03
2.86
2.55
2.27
2.26
2.57
3.07
2.76
2.51
2.87
3.14
3.11
3.16
2.47
2.57
2.89
2.63
2.38
1.69
1.96
2.19
1.87
1.6
1.63
1.22
1.21
1.49
1.64
1.66
1.77
1.82
1.78
1.28
1.29
1.37
1.12
1.51
2.24
2.94
3.09
3,46
3,64
4,39
4,15
5,21
5,80
5,91




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 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 & 1 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27438&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]1 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=27438&T=0

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
11.119166666666670.3603901505397461.29
22.5450.5026023188457161.57
32.470.3515161964456781.05
41.648333333333330.689912159538292.02
51.59250.2524111004618530.82
62.095833333333330.5359860638170181.73
72.781666666666670.3037892012364480.9
81.79250.4363510888347511.42
91.82250.6349248344918831.97

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 1.11916666666667 & 0.360390150539746 & 1.29 \tabularnewline
2 & 2.545 & 0.502602318845716 & 1.57 \tabularnewline
3 & 2.47 & 0.351516196445678 & 1.05 \tabularnewline
4 & 1.64833333333333 & 0.68991215953829 & 2.02 \tabularnewline
5 & 1.5925 & 0.252411100461853 & 0.82 \tabularnewline
6 & 2.09583333333333 & 0.535986063817018 & 1.73 \tabularnewline
7 & 2.78166666666667 & 0.303789201236448 & 0.9 \tabularnewline
8 & 1.7925 & 0.436351088834751 & 1.42 \tabularnewline
9 & 1.8225 & 0.634924834491883 & 1.97 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27438&T=1

[TABLE]
[ROW][C]Standard Deviation-Mean Plot[/C][/ROW]
[ROW][C]Section[/C][C]Mean[/C][C]Standard Deviation[/C][C]Range[/C][/ROW]
[ROW][C]1[/C][C]1.11916666666667[/C][C]0.360390150539746[/C][C]1.29[/C][/ROW]
[ROW][C]2[/C][C]2.545[/C][C]0.502602318845716[/C][C]1.57[/C][/ROW]
[ROW][C]3[/C][C]2.47[/C][C]0.351516196445678[/C][C]1.05[/C][/ROW]
[ROW][C]4[/C][C]1.64833333333333[/C][C]0.68991215953829[/C][C]2.02[/C][/ROW]
[ROW][C]5[/C][C]1.5925[/C][C]0.252411100461853[/C][C]0.82[/C][/ROW]
[ROW][C]6[/C][C]2.09583333333333[/C][C]0.535986063817018[/C][C]1.73[/C][/ROW]
[ROW][C]7[/C][C]2.78166666666667[/C][C]0.303789201236448[/C][C]0.9[/C][/ROW]
[ROW][C]8[/C][C]1.7925[/C][C]0.436351088834751[/C][C]1.42[/C][/ROW]
[ROW][C]9[/C][C]1.8225[/C][C]0.634924834491883[/C][C]1.97[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27438&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27438&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
11.119166666666670.3603901505397461.29
22.5450.5026023188457161.57
32.470.3515161964456781.05
41.648333333333330.689912159538292.02
51.59250.2524111004618530.82
62.095833333333330.5359860638170181.73
72.781666666666670.3037892012364480.9
81.79250.4363510888347511.42
91.82250.6349248344918831.97







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha0.520289836965601
beta-0.034404668726964
S.D.0.105549989897081
T-STAT-0.325956153671934
p-value0.753985397869475

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 0.520289836965601 \tabularnewline
beta & -0.034404668726964 \tabularnewline
S.D. & 0.105549989897081 \tabularnewline
T-STAT & -0.325956153671934 \tabularnewline
p-value & 0.753985397869475 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27438&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]0.520289836965601[/C][/ROW]
[ROW][C]beta[/C][C]-0.034404668726964[/C][/ROW]
[ROW][C]S.D.[/C][C]0.105549989897081[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.325956153671934[/C][/ROW]
[ROW][C]p-value[/C][C]0.753985397869475[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27438&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27438&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Regression: S.E.(k) = alpha + beta * Mean(k)
alpha0.520289836965601
beta-0.034404668726964
S.D.0.105549989897081
T-STAT-0.325956153671934
p-value0.753985397869475







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-0.829552724289062
beta-0.0229516286764466
S.D.0.45250743936707
T-STAT-0.0507209974460296
p-value0.960964826163634
Lambda1.02295162867645

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -0.829552724289062 \tabularnewline
beta & -0.0229516286764466 \tabularnewline
S.D. & 0.45250743936707 \tabularnewline
T-STAT & -0.0507209974460296 \tabularnewline
p-value & 0.960964826163634 \tabularnewline
Lambda & 1.02295162867645 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27438&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.829552724289062[/C][/ROW]
[ROW][C]beta[/C][C]-0.0229516286764466[/C][/ROW]
[ROW][C]S.D.[/C][C]0.45250743936707[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.0507209974460296[/C][/ROW]
[ROW][C]p-value[/C][C]0.960964826163634[/C][/ROW]
[ROW][C]Lambda[/C][C]1.02295162867645[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27438&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27438&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-0.829552724289062
beta-0.0229516286764466
S.D.0.45250743936707
T-STAT-0.0507209974460296
p-value0.960964826163634
Lambda1.02295162867645



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))
j <- 0
k <- 1
for (i in 1:(np*par1))
{
j = j + 1
arr[j,k] <- x[i]
if (j == par1) {
j = 0
k=k+1
}
}
arr
arr.mean <- array(NA,dim=np)
arr.sd <- array(NA,dim=np)
arr.range <- array(NA,dim=np)
for (j in 1:np)
{
arr.mean[j] <- mean(arr[,j],na.rm=TRUE)
arr.sd[j] <- sd(arr[,j],na.rm=TRUE)
arr.range[j] <- max(arr[,j],na.rm=TRUE) - min(arr[,j],na.rm=TRUE)
}
arr.mean
arr.sd
arr.range
(lm1 <- lm(arr.sd~arr.mean))
(lnlm1 <- lm(log(arr.sd)~log(arr.mean)))
(lm2 <- lm(arr.range~arr.mean))
bitmap(file='test1.png')
plot(arr.mean,arr.sd,main='Standard Deviation-Mean Plot',xlab='mean',ylab='standard deviation')
dev.off()
bitmap(file='test2.png')
plot(arr.mean,arr.range,main='Range-Mean Plot',xlab='mean',ylab='range')
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Standard Deviation-Mean Plot',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Section',header=TRUE)
a<-table.element(a,'Mean',header=TRUE)
a<-table.element(a,'Standard Deviation',header=TRUE)
a<-table.element(a,'Range',header=TRUE)
a<-table.row.end(a)
for (j in 1:np) {
a<-table.row.start(a)
a<-table.element(a,j,header=TRUE)
a<-table.element(a,arr.mean[j])
a<-table.element(a,arr.sd[j] )
a<-table.element(a,arr.range[j] )
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Regression: S.E.(k) = alpha + beta * Mean(k)',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'alpha',header=TRUE)
a<-table.element(a,lm1$coefficients[[1]])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'beta',header=TRUE)
a<-table.element(a,lm1$coefficients[[2]])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,summary(lm1)$coefficients[2,2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,summary(lm1)$coefficients[2,3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-value',header=TRUE)
a<-table.element(a,summary(lm1)$coefficients[2,4])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Regression: ln S.E.(k) = alpha + beta * ln Mean(k)',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'alpha',header=TRUE)
a<-table.element(a,lnlm1$coefficients[[1]])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'beta',header=TRUE)
a<-table.element(a,lnlm1$coefficients[[2]])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,summary(lnlm1)$coefficients[2,2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,summary(lnlm1)$coefficients[2,3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-value',header=TRUE)
a<-table.element(a,summary(lnlm1)$coefficients[2,4])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Lambda',header=TRUE)
a<-table.element(a,1-lnlm1$coefficients[[2]])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable2.tab')