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 computationWed, 18 Nov 2015 10:38:06 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2015/Nov/18/t1447843204qf58uvboke6qjed.htm/, Retrieved Mon, 13 May 2024 20:47:56 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=283473, Retrieved Mon, 13 May 2024 20:47:56 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact122
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2015-11-18 10:38:06] [e9dd6d750d12fbfd669e11323be8eb07] [Current]
Feedback Forum

Post a new message
Dataseries X:
82.75
83.4
84.12
83.88
83.61
83.58
83.58
83.27
83.59
83.64
83.72
83.88
83.61
85.36
87.2
88.28
88.64
88.67
88.34
89.21
89.55
89.65
88.43
91.15
94.11
96.78
97.94
97.57
96.48
96.18
95
93.84
95.54
94.06
93.92
92.55
93.88
92.19
91.42
91.39
89.12
90.27
91.76
95.68
97.54
98.47
100.11
99.9
101.11
98.86
102.71
102.02
100.61
100.62
99.51
98.63
97.44
96.5
94.3
92.92
96.07
95
93.27
91.94
91.62
91.01
90.62
97.72
99.09
99.72
100.22
99.15
101.16
101.8
103.31
101.19
99.09
95.91
94.56
95.76
100.36
102.67
103.58
100.89
103.46
104.86
104.88
104.46
103.83
101
99.36
96.71
95.23
95.62
95.8
94.79
95.39
94.9
94.84
94.68
94.17
94.1
93.84
94.2
97.76
98.26
99.63
98.75




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

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
183.5850.3454772719797141.37
288.17416666666672.006052017513437.54000000000001
395.33083333333331.683289303354565.39
494.31083333333333.8826126591003210.99
598.76916666666673.016172946371659.78999999999999
695.45253.673603940150729.59999999999999
7100.0233333333333.05919874635459.02
81004.1878742709268210.09
995.87666666666672.095377307457075.78999999999999

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 83.585 & 0.345477271979714 & 1.37 \tabularnewline
2 & 88.1741666666667 & 2.00605201751343 & 7.54000000000001 \tabularnewline
3 & 95.3308333333333 & 1.68328930335456 & 5.39 \tabularnewline
4 & 94.3108333333333 & 3.88261265910032 & 10.99 \tabularnewline
5 & 98.7691666666667 & 3.01617294637165 & 9.78999999999999 \tabularnewline
6 & 95.4525 & 3.67360394015072 & 9.59999999999999 \tabularnewline
7 & 100.023333333333 & 3.0591987463545 & 9.02 \tabularnewline
8 & 100 & 4.18787427092682 & 10.09 \tabularnewline
9 & 95.8766666666667 & 2.09537730745707 & 5.78999999999999 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283473&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]83.585[/C][C]0.345477271979714[/C][C]1.37[/C][/ROW]
[ROW][C]2[/C][C]88.1741666666667[/C][C]2.00605201751343[/C][C]7.54000000000001[/C][/ROW]
[ROW][C]3[/C][C]95.3308333333333[/C][C]1.68328930335456[/C][C]5.39[/C][/ROW]
[ROW][C]4[/C][C]94.3108333333333[/C][C]3.88261265910032[/C][C]10.99[/C][/ROW]
[ROW][C]5[/C][C]98.7691666666667[/C][C]3.01617294637165[/C][C]9.78999999999999[/C][/ROW]
[ROW][C]6[/C][C]95.4525[/C][C]3.67360394015072[/C][C]9.59999999999999[/C][/ROW]
[ROW][C]7[/C][C]100.023333333333[/C][C]3.0591987463545[/C][C]9.02[/C][/ROW]
[ROW][C]8[/C][C]100[/C][C]4.18787427092682[/C][C]10.09[/C][/ROW]
[ROW][C]9[/C][C]95.8766666666667[/C][C]2.09537730745707[/C][C]5.78999999999999[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283473&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283473&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
183.5850.3454772719797141.37
288.17416666666672.006052017513437.54000000000001
395.33083333333331.683289303354565.39
494.31083333333333.8826126591003210.99
598.76916666666673.016172946371659.78999999999999
695.45253.673603940150729.59999999999999
7100.0233333333333.05919874635459.02
81004.1878742709268210.09
995.87666666666672.095377307457075.78999999999999







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-13.2703120749589
beta0.168383650623253
S.D.0.0562586025903553
T-STAT2.99302938342304
p-value0.0201397945008672

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -13.2703120749589 \tabularnewline
beta & 0.168383650623253 \tabularnewline
S.D. & 0.0562586025903553 \tabularnewline
T-STAT & 2.99302938342304 \tabularnewline
p-value & 0.0201397945008672 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283473&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-13.2703120749589[/C][/ROW]
[ROW][C]beta[/C][C]0.168383650623253[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0562586025903553[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.99302938342304[/C][/ROW]
[ROW][C]p-value[/C][C]0.0201397945008672[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283473&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283473&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-13.2703120749589
beta0.168383650623253
S.D.0.0562586025903553
T-STAT2.99302938342304
p-value0.0201397945008672







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-47.4399501386868
beta10.6064275036965
S.D.2.73163156986503
T-STAT3.88281773453827
p-value0.00603101313950914
Lambda-9.60642750369655

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -47.4399501386868 \tabularnewline
beta & 10.6064275036965 \tabularnewline
S.D. & 2.73163156986503 \tabularnewline
T-STAT & 3.88281773453827 \tabularnewline
p-value & 0.00603101313950914 \tabularnewline
Lambda & -9.60642750369655 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283473&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-47.4399501386868[/C][/ROW]
[ROW][C]beta[/C][C]10.6064275036965[/C][/ROW]
[ROW][C]S.D.[/C][C]2.73163156986503[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.88281773453827[/C][/ROW]
[ROW][C]p-value[/C][C]0.00603101313950914[/C][/ROW]
[ROW][C]Lambda[/C][C]-9.60642750369655[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283473&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283473&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-47.4399501386868
beta10.6064275036965
S.D.2.73163156986503
T-STAT3.88281773453827
p-value0.00603101313950914
Lambda-9.60642750369655



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