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 18:20:07 +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/t1447870821c071awse5gmlyep.htm/, Retrieved Tue, 14 May 2024 15:32:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=283526, Retrieved Tue, 14 May 2024 15:32:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact88
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 18:20:07] [6e9c8a19a65400226bf8d1f1815bc708] [Current]
Feedback Forum

Post a new message
Dataseries X:
71.59
71.65
71.47
71.82
71.76
71.88
73.31
73.22
72.74
72.95
73.71
74.45
76.54
77.41
76.87
76.51
75.66
75.09
75.16
75
75.05
74.78
75.43
75.61
77.12
83.09
86.09
87.64
88.29
89.3
89.99
90.43
91.03
91.4
92.19
92.45
92.42
90.2
88.23
84.91
82.92
81.8
81.7
83.22
82.7
82.83
83.66
84.28
84.37
86.49
87.62
88.59
89.74
89.73
89.14
88.37
88.65
89.16
89.56
89.37
89.67
93.04
94.4
95.5
101.66
102.86
102.48
102.02
101.83
101.3
101.29
100.53
100.45
101.88
101.95
102.18
100.95
100.52
100.39
99.61
99.43
99.34
100.73
102.14
102.22
101.14
100.91
101.62
100
99.92
100.07
98.48
98.3
98.86
98.96
99.52
99.06
100.47
100.24
86.43
85.14
85.41
86.13
86.19
86.29
87.55
87.87
88.37




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

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
172.54583333333330.9854344527192362.98
275.75916666666670.8590635317106372.63
388.25166666666674.4234783379214815.33
484.90583333333333.4820147206971310.72
588.39916666666671.583238673406415.36999999999999
698.88166666666674.4711435050134813.19
7100.79751.044893426492522.84
81001.26144938283493.92
989.92916666666676.1080266986576915.33

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 72.5458333333333 & 0.985434452719236 & 2.98 \tabularnewline
2 & 75.7591666666667 & 0.859063531710637 & 2.63 \tabularnewline
3 & 88.2516666666667 & 4.42347833792148 & 15.33 \tabularnewline
4 & 84.9058333333333 & 3.48201472069713 & 10.72 \tabularnewline
5 & 88.3991666666667 & 1.58323867340641 & 5.36999999999999 \tabularnewline
6 & 98.8816666666667 & 4.47114350501348 & 13.19 \tabularnewline
7 & 100.7975 & 1.04489342649252 & 2.84 \tabularnewline
8 & 100 & 1.2614493828349 & 3.92 \tabularnewline
9 & 89.9291666666667 & 6.10802669865769 & 15.33 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283526&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]72.5458333333333[/C][C]0.985434452719236[/C][C]2.98[/C][/ROW]
[ROW][C]2[/C][C]75.7591666666667[/C][C]0.859063531710637[/C][C]2.63[/C][/ROW]
[ROW][C]3[/C][C]88.2516666666667[/C][C]4.42347833792148[/C][C]15.33[/C][/ROW]
[ROW][C]4[/C][C]84.9058333333333[/C][C]3.48201472069713[/C][C]10.72[/C][/ROW]
[ROW][C]5[/C][C]88.3991666666667[/C][C]1.58323867340641[/C][C]5.36999999999999[/C][/ROW]
[ROW][C]6[/C][C]98.8816666666667[/C][C]4.47114350501348[/C][C]13.19[/C][/ROW]
[ROW][C]7[/C][C]100.7975[/C][C]1.04489342649252[/C][C]2.84[/C][/ROW]
[ROW][C]8[/C][C]100[/C][C]1.2614493828349[/C][C]3.92[/C][/ROW]
[ROW][C]9[/C][C]89.9291666666667[/C][C]6.10802669865769[/C][C]15.33[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283526&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283526&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
172.54583333333330.9854344527192362.98
275.75916666666670.8590635317106372.63
388.25166666666674.4234783379214815.33
484.90583333333333.4820147206971310.72
588.39916666666671.583238673406415.36999999999999
698.88166666666674.4711435050134813.19
7100.79751.044893426492522.84
81001.26144938283493.92
989.92916666666676.1080266986576915.33







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.990189565548912
beta0.0414405153656719
S.D.0.0713582809856683
T-STAT0.580738700445921
p-value0.579624509663669

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -0.990189565548912 \tabularnewline
beta & 0.0414405153656719 \tabularnewline
S.D. & 0.0713582809856683 \tabularnewline
T-STAT & 0.580738700445921 \tabularnewline
p-value & 0.579624509663669 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283526&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.990189565548912[/C][/ROW]
[ROW][C]beta[/C][C]0.0414405153656719[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0713582809856683[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.580738700445921[/C][/ROW]
[ROW][C]p-value[/C][C]0.579624509663669[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283526&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283526&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.990189565548912
beta0.0414405153656719
S.D.0.0713582809856683
T-STAT0.580738700445921
p-value0.579624509663669







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-8.0127098673842
beta1.9521910233395
S.D.2.36587491256238
T-STAT0.825145493945479
p-value0.436502056898509
Lambda-0.952191023339501

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -8.0127098673842 \tabularnewline
beta & 1.9521910233395 \tabularnewline
S.D. & 2.36587491256238 \tabularnewline
T-STAT & 0.825145493945479 \tabularnewline
p-value & 0.436502056898509 \tabularnewline
Lambda & -0.952191023339501 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283526&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-8.0127098673842[/C][/ROW]
[ROW][C]beta[/C][C]1.9521910233395[/C][/ROW]
[ROW][C]S.D.[/C][C]2.36587491256238[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.825145493945479[/C][/ROW]
[ROW][C]p-value[/C][C]0.436502056898509[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.952191023339501[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283526&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283526&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-8.0127098673842
beta1.9521910233395
S.D.2.36587491256238
T-STAT0.825145493945479
p-value0.436502056898509
Lambda-0.952191023339501



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