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 computationSun, 21 Dec 2008 10:16:08 -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/21/t1229879802769wwqqg9oi0ver.htm/, Retrieved Sun, 26 May 2024 06:42:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=35693, Retrieved Sun, 26 May 2024 06:42:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact144
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2008-12-21 17:16:08] [a2d5a6282476ec2b5afae6fb53d308f8] [Current]
Feedback Forum

Post a new message
Dataseries X:
106,7
101,1
97,8
113,8
107,1
117,5
113,7
106,6
109,8
108,8
102,0
114,5
116,5
108,6
113,9
109,3
112,5
123,4
115,2
110,8
120,4
117,6
111,2
131,1
118,9
115,7
119,6
113,1
106,4
115,5
111,8
109,6
121,5
109,5
109,0
113,4
112,7
114,4
109,2
116,2
113,8
123,6
112,6
117,7
113,3
110,7
114,7
116,9
120,6
111,6
111,9
116,1
111,9
125,1
115,1
116,7
115,8
116,8
113,0
106,5




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=35693&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=35693&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35693&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
1104.857.0069013598499216
2111.2255.288588343468110.9
3108.7755.1551753930718312.5
4112.0753.772156765918767.9
5115.4755.5853230285573812.6
6120.0758.297539796027919.9
7116.8253.008183283423186.5
8110.8253.824809363441099.1
9113.355.7784080852774712.5
10113.1252.981470554385317
11116.9254.9540387564087511
12113.92.597434631837096.2
13115.054.232020793899769
14117.25.6320511361314913.2
15113.0254.6377976094981410.3

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 104.85 & 7.00690135984992 & 16 \tabularnewline
2 & 111.225 & 5.2885883434681 & 10.9 \tabularnewline
3 & 108.775 & 5.15517539307183 & 12.5 \tabularnewline
4 & 112.075 & 3.77215676591876 & 7.9 \tabularnewline
5 & 115.475 & 5.58532302855738 & 12.6 \tabularnewline
6 & 120.075 & 8.2975397960279 & 19.9 \tabularnewline
7 & 116.825 & 3.00818328342318 & 6.5 \tabularnewline
8 & 110.825 & 3.82480936344109 & 9.1 \tabularnewline
9 & 113.35 & 5.77840808527747 & 12.5 \tabularnewline
10 & 113.125 & 2.98147055438531 & 7 \tabularnewline
11 & 116.925 & 4.95403875640875 & 11 \tabularnewline
12 & 113.9 & 2.59743463183709 & 6.2 \tabularnewline
13 & 115.05 & 4.23202079389976 & 9 \tabularnewline
14 & 117.2 & 5.63205113613149 & 13.2 \tabularnewline
15 & 113.025 & 4.63779760949814 & 10.3 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35693&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]104.85[/C][C]7.00690135984992[/C][C]16[/C][/ROW]
[ROW][C]2[/C][C]111.225[/C][C]5.2885883434681[/C][C]10.9[/C][/ROW]
[ROW][C]3[/C][C]108.775[/C][C]5.15517539307183[/C][C]12.5[/C][/ROW]
[ROW][C]4[/C][C]112.075[/C][C]3.77215676591876[/C][C]7.9[/C][/ROW]
[ROW][C]5[/C][C]115.475[/C][C]5.58532302855738[/C][C]12.6[/C][/ROW]
[ROW][C]6[/C][C]120.075[/C][C]8.2975397960279[/C][C]19.9[/C][/ROW]
[ROW][C]7[/C][C]116.825[/C][C]3.00818328342318[/C][C]6.5[/C][/ROW]
[ROW][C]8[/C][C]110.825[/C][C]3.82480936344109[/C][C]9.1[/C][/ROW]
[ROW][C]9[/C][C]113.35[/C][C]5.77840808527747[/C][C]12.5[/C][/ROW]
[ROW][C]10[/C][C]113.125[/C][C]2.98147055438531[/C][C]7[/C][/ROW]
[ROW][C]11[/C][C]116.925[/C][C]4.95403875640875[/C][C]11[/C][/ROW]
[ROW][C]12[/C][C]113.9[/C][C]2.59743463183709[/C][C]6.2[/C][/ROW]
[ROW][C]13[/C][C]115.05[/C][C]4.23202079389976[/C][C]9[/C][/ROW]
[ROW][C]14[/C][C]117.2[/C][C]5.63205113613149[/C][C]13.2[/C][/ROW]
[ROW][C]15[/C][C]113.025[/C][C]4.63779760949814[/C][C]10.3[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35693&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35693&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
1104.857.0069013598499216
2111.2255.288588343468110.9
3108.7755.1551753930718312.5
4112.0753.772156765918767.9
5115.4755.5853230285573812.6
6120.0758.297539796027919.9
7116.8253.008183283423186.5
8110.8253.824809363441099.1
9113.355.7784080852774712.5
10113.1252.981470554385317
11116.9254.9540387564087511
12113.92.597434631837096.2
13115.054.232020793899769
14117.25.6320511361314913.2
15113.0254.6377976094981410.3







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha2.99875421648991
beta0.0163097349232674
S.D.0.113881027278027
T-STAT0.143217314710810
p-value0.888314651932945

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 2.99875421648991 \tabularnewline
beta & 0.0163097349232674 \tabularnewline
S.D. & 0.113881027278027 \tabularnewline
T-STAT & 0.143217314710810 \tabularnewline
p-value & 0.888314651932945 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35693&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]2.99875421648991[/C][/ROW]
[ROW][C]beta[/C][C]0.0163097349232674[/C][/ROW]
[ROW][C]S.D.[/C][C]0.113881027278027[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.143217314710810[/C][/ROW]
[ROW][C]p-value[/C][C]0.888314651932945[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35693&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35693&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)
alpha2.99875421648991
beta0.0163097349232674
S.D.0.113881027278027
T-STAT0.143217314710810
p-value0.888314651932945







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha2.47678231478644
beta-0.199884798542402
S.D.2.68462882686732
T-STAT-0.0744552828092987
p-value0.941781629727014
Lambda1.19988479854240

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 2.47678231478644 \tabularnewline
beta & -0.199884798542402 \tabularnewline
S.D. & 2.68462882686732 \tabularnewline
T-STAT & -0.0744552828092987 \tabularnewline
p-value & 0.941781629727014 \tabularnewline
Lambda & 1.19988479854240 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35693&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]2.47678231478644[/C][/ROW]
[ROW][C]beta[/C][C]-0.199884798542402[/C][/ROW]
[ROW][C]S.D.[/C][C]2.68462882686732[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.0744552828092987[/C][/ROW]
[ROW][C]p-value[/C][C]0.941781629727014[/C][/ROW]
[ROW][C]Lambda[/C][C]1.19988479854240[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35693&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35693&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)
alpha2.47678231478644
beta-0.199884798542402
S.D.2.68462882686732
T-STAT-0.0744552828092987
p-value0.941781629727014
Lambda1.19988479854240



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