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 computationThu, 12 Mar 2015 21:43:46 +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/Mar/12/t1426196690qgf2wrekdj8wgaz.htm/, Retrieved Sun, 19 May 2024 13:07:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=278379, Retrieved Sun, 19 May 2024 13:07:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact91
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2015-03-12 21:43:46] [70e23d918d09c907c02097a361cd6415] [Current]
Feedback Forum

Post a new message
Dataseries X:
-23.5
5.9
8.4
7.8
4.8
3.5
8.7
6.8
6
3.6
8.7
8.9
8.1
7
7.9
8
7.5
6.3
7.6
8.4
6.8
8.8
8.7
8.7
7.4
2.8
4.8
-21.1
8.5
9.4
1.8
4.8
5.8
3.3
-9
-6
-0.9
-17.3
-9.2
-8.1
-20.9
-14.6
-13.9
-20.8
-16.1
-5
-7.2
-9.7
-1.4
0.2
2.6
-4.8
-6.2
-2
-0.8
-3.1
0.6
0.2
0.3
-0.1
4.3
-3.2
-1.3
1.5
2.5
-2.2
1.7
5.7
2.7
-4.8
-3.1
-0.5
-3.4
-4.7
-5.6
-1.7
-1.8
-5.4
-4.8
-2.8
-4.9
-6.8
-7.6
-6.6
-5.6
-1.4
0.1
-3.7
-5.6
-3.1
-3.8
-5.1
-4.1
-0.3
-0.3
-2.4




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278379&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
14.133333333333338.9164131937917932.4
27.816666666666670.8054736983836772.5
31.041666666666678.8741154061925730.5
4-11.9756.2921487874681120
5-1.208333333333332.47660263386378.8
60.2753.2811098454915910.5
7-4.6751.918391845459965.9
8-2.941666666666672.074721595050695.7

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 4.13333333333333 & 8.91641319379179 & 32.4 \tabularnewline
2 & 7.81666666666667 & 0.805473698383677 & 2.5 \tabularnewline
3 & 1.04166666666667 & 8.87411540619257 & 30.5 \tabularnewline
4 & -11.975 & 6.29214878746811 & 20 \tabularnewline
5 & -1.20833333333333 & 2.4766026338637 & 8.8 \tabularnewline
6 & 0.275 & 3.28110984549159 & 10.5 \tabularnewline
7 & -4.675 & 1.91839184545996 & 5.9 \tabularnewline
8 & -2.94166666666667 & 2.07472159505069 & 5.7 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=278379&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]4.13333333333333[/C][C]8.91641319379179[/C][C]32.4[/C][/ROW]
[ROW][C]2[/C][C]7.81666666666667[/C][C]0.805473698383677[/C][C]2.5[/C][/ROW]
[ROW][C]3[/C][C]1.04166666666667[/C][C]8.87411540619257[/C][C]30.5[/C][/ROW]
[ROW][C]4[/C][C]-11.975[/C][C]6.29214878746811[/C][C]20[/C][/ROW]
[ROW][C]5[/C][C]-1.20833333333333[/C][C]2.4766026338637[/C][C]8.8[/C][/ROW]
[ROW][C]6[/C][C]0.275[/C][C]3.28110984549159[/C][C]10.5[/C][/ROW]
[ROW][C]7[/C][C]-4.675[/C][C]1.91839184545996[/C][C]5.9[/C][/ROW]
[ROW][C]8[/C][C]-2.94166666666667[/C][C]2.07472159505069[/C][C]5.7[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=278379&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278379&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
14.133333333333338.9164131937917932.4
27.816666666666670.8054736983836772.5
31.041666666666678.8741154061925730.5
4-11.9756.2921487874681120
5-1.208333333333332.47660263386378.8
60.2753.2811098454915910.5
7-4.6751.918391845459965.9
8-2.941666666666672.074721595050695.7







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha4.30136028319966
beta-0.0302780628457641
S.D.0.221915497573468
T-STAT-0.136439605060661
p-value0.895936650528777

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 4.30136028319966 \tabularnewline
beta & -0.0302780628457641 \tabularnewline
S.D. & 0.221915497573468 \tabularnewline
T-STAT & -0.136439605060661 \tabularnewline
p-value & 0.895936650528777 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=278379&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]4.30136028319966[/C][/ROW]
[ROW][C]beta[/C][C]-0.0302780628457641[/C][/ROW]
[ROW][C]S.D.[/C][C]0.221915497573468[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.136439605060661[/C][/ROW]
[ROW][C]p-value[/C][C]0.895936650528777[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=278379&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278379&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)
alpha4.30136028319966
beta-0.0302780628457641
S.D.0.221915497573468
T-STAT-0.136439605060661
p-value0.895936650528777







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha1.4822102912118
beta-0.263327772484962
S.D.0.505665026243644
T-STAT-0.520755359414719
p-value0.654452796011548
Lambda1.26332777248496

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 1.4822102912118 \tabularnewline
beta & -0.263327772484962 \tabularnewline
S.D. & 0.505665026243644 \tabularnewline
T-STAT & -0.520755359414719 \tabularnewline
p-value & 0.654452796011548 \tabularnewline
Lambda & 1.26332777248496 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=278379&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]1.4822102912118[/C][/ROW]
[ROW][C]beta[/C][C]-0.263327772484962[/C][/ROW]
[ROW][C]S.D.[/C][C]0.505665026243644[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.520755359414719[/C][/ROW]
[ROW][C]p-value[/C][C]0.654452796011548[/C][/ROW]
[ROW][C]Lambda[/C][C]1.26332777248496[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=278379&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278379&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)
alpha1.4822102912118
beta-0.263327772484962
S.D.0.505665026243644
T-STAT-0.520755359414719
p-value0.654452796011548
Lambda1.26332777248496



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