Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationSat, 28 Apr 2012 17:08:17 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Apr/28/t13356474811x9i9l0bl9uhsw7.htm/, Retrieved Sun, 05 May 2024 01:34:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=165077, Retrieved Sun, 05 May 2024 01:34:54 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact89
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Standard deviatio...] [2012-04-28 21:08:17] [ef02148344264346fe23a57cc665e979] [Current]
Feedback Forum

Post a new message
Dataseries X:
78.7
75.7
77.1
86.1
86.8
86.3
91.5
90.7
78.2
73
73.7
77.3
67.5
72.7
76.6
82.4
82.3
86.3
93
88.8
96.9
103.9
115.7
112.8
114.7
118
129.3
137
156
166.2
167.8
144.3
126
90.4
67.5
52.4
54.6
52.9
59.1
63.3
73.8
87.6
81.8
90.7
86.3
93.6
98
94.3
97.6
94.2
100.2
106.7
95.7
94.6
94.7
96.2
96.3
103.3
106.8
113.7
117.4
123.6
137.6
147.4
137.2
133.8
136.7
127.3
128.7
127
133.7
132




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165077&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'Herman Ole Andreas Wold' @ wold.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
181.25833333333336.5967565492215218.5
289.908333333333315.217600953760148.2
3122.46666666666736.777595287777115.4
47816.553878974153145.1
51006.2741895528788919.5
6131.8666666666677.7768109067141330

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 81.2583333333333 & 6.59675654922152 & 18.5 \tabularnewline
2 & 89.9083333333333 & 15.2176009537601 & 48.2 \tabularnewline
3 & 122.466666666667 & 36.777595287777 & 115.4 \tabularnewline
4 & 78 & 16.5538789741531 & 45.1 \tabularnewline
5 & 100 & 6.27418955287889 & 19.5 \tabularnewline
6 & 131.866666666667 & 7.77681090671413 & 30 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=165077&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]81.2583333333333[/C][C]6.59675654922152[/C][C]18.5[/C][/ROW]
[ROW][C]2[/C][C]89.9083333333333[/C][C]15.2176009537601[/C][C]48.2[/C][/ROW]
[ROW][C]3[/C][C]122.466666666667[/C][C]36.777595287777[/C][C]115.4[/C][/ROW]
[ROW][C]4[/C][C]78[/C][C]16.5538789741531[/C][C]45.1[/C][/ROW]
[ROW][C]5[/C][C]100[/C][C]6.27418955287889[/C][C]19.5[/C][/ROW]
[ROW][C]6[/C][C]131.866666666667[/C][C]7.77681090671413[/C][C]30[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165077&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165077&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
181.25833333333336.5967565492215218.5
289.908333333333315.217600953760148.2
3122.46666666666736.777595287777115.4
47816.553878974153145.1
51006.2741895528788919.5
6131.8666666666677.7768109067141330







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.728363951235223
beta0.155040622919496
S.D.0.250550485901916
T-STAT0.618799929129615
p-value0.569547854551826

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -0.728363951235223 \tabularnewline
beta & 0.155040622919496 \tabularnewline
S.D. & 0.250550485901916 \tabularnewline
T-STAT & 0.618799929129615 \tabularnewline
p-value & 0.569547854551826 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=165077&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.728363951235223[/C][/ROW]
[ROW][C]beta[/C][C]0.155040622919496[/C][/ROW]
[ROW][C]S.D.[/C][C]0.250550485901916[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.618799929129615[/C][/ROW]
[ROW][C]p-value[/C][C]0.569547854551826[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165077&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165077&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)
alpha-0.728363951235223
beta0.155040622919496
S.D.0.250550485901916
T-STAT0.618799929129615
p-value0.569547854551826







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-0.00186794386344435
beta0.541577413872029
S.D.1.57674050497031
T-STAT0.343479102721616
p-value0.74853230166279
Lambda0.458422586127971

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -0.00186794386344435 \tabularnewline
beta & 0.541577413872029 \tabularnewline
S.D. & 1.57674050497031 \tabularnewline
T-STAT & 0.343479102721616 \tabularnewline
p-value & 0.74853230166279 \tabularnewline
Lambda & 0.458422586127971 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=165077&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.00186794386344435[/C][/ROW]
[ROW][C]beta[/C][C]0.541577413872029[/C][/ROW]
[ROW][C]S.D.[/C][C]1.57674050497031[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.343479102721616[/C][/ROW]
[ROW][C]p-value[/C][C]0.74853230166279[/C][/ROW]
[ROW][C]Lambda[/C][C]0.458422586127971[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=165077&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=165077&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.00186794386344435
beta0.541577413872029
S.D.1.57674050497031
T-STAT0.343479102721616
p-value0.74853230166279
Lambda0.458422586127971



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')