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, 02 Apr 2015 18:59:30 +0100
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/Apr/02/t1427997612p4wnad9lq2zth1e.htm/, Retrieved Thu, 09 May 2024 02:54:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=278613, Retrieved Thu, 09 May 2024 02:54:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact70
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2015-04-02 17:59:30] [464dfecbd4863ecbf0b1962220ac611d] [Current]
Feedback Forum

Post a new message
Dataseries X:
8,41
8,39
8,43
8,44
8,49
8,47
8,53
8,52
8,51
8,53
8,54
8,53
8,47
8,63
8,67
8,73
8,57
8,55
8,63
8,65
8,44
8,62
8,37
8,59
8,84
8,72
8,8
8,69
8,68
8,57
8,85
8,85
8,85
8,93
8,75
8,78
8,77
9,03
9,01
9,07
8,99
9,02
8,99
8,98
8,94
8,94
8,75
8,86
8,87
8,84
8,84
9,91
10,18
10,34
10,36
10,26
10,16
10,31
10,46
10,54
10,47
10,48
10,46
11,3
11,58
11,69
11,63
11,51
11,37
11,42
11,7
11,75
11,43
11,36
11,3
11,85
11,99
12,07
12,21
12,13
12,3
12,27
12,32
12,38
12,4
12,33
12,25
12,41
12,38
12,58
12,45
12,43
12,38
12,34
11,98
12,24




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278613&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
18.48250.05293649711940420.149999999999999
28.576666666666670.1039522034690010.360000000000001
38.775833333333330.09894519450257040.359999999999999
48.945833333333330.1017535644524940.32
59.92250.6656661052181971.7
611.280.5069875379497641.29
711.96750.3942801265367281.08
812.34750.1466675275456830.6

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 8.4825 & 0.0529364971194042 & 0.149999999999999 \tabularnewline
2 & 8.57666666666667 & 0.103952203469001 & 0.360000000000001 \tabularnewline
3 & 8.77583333333333 & 0.0989451945025704 & 0.359999999999999 \tabularnewline
4 & 8.94583333333333 & 0.101753564452494 & 0.32 \tabularnewline
5 & 9.9225 & 0.665666105218197 & 1.7 \tabularnewline
6 & 11.28 & 0.506987537949764 & 1.29 \tabularnewline
7 & 11.9675 & 0.394280126536728 & 1.08 \tabularnewline
8 & 12.3475 & 0.146667527545683 & 0.6 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=278613&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]8.4825[/C][C]0.0529364971194042[/C][C]0.149999999999999[/C][/ROW]
[ROW][C]2[/C][C]8.57666666666667[/C][C]0.103952203469001[/C][C]0.360000000000001[/C][/ROW]
[ROW][C]3[/C][C]8.77583333333333[/C][C]0.0989451945025704[/C][C]0.359999999999999[/C][/ROW]
[ROW][C]4[/C][C]8.94583333333333[/C][C]0.101753564452494[/C][C]0.32[/C][/ROW]
[ROW][C]5[/C][C]9.9225[/C][C]0.665666105218197[/C][C]1.7[/C][/ROW]
[ROW][C]6[/C][C]11.28[/C][C]0.506987537949764[/C][C]1.29[/C][/ROW]
[ROW][C]7[/C][C]11.9675[/C][C]0.394280126536728[/C][C]1.08[/C][/ROW]
[ROW][C]8[/C][C]12.3475[/C][C]0.146667527545683[/C][C]0.6[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=278613&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278613&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
18.48250.05293649711940420.149999999999999
28.576666666666670.1039522034690010.360000000000001
38.775833333333330.09894519450257040.359999999999999
48.945833333333330.1017535644524940.32
59.92250.6656661052181971.7
611.280.5069875379497641.29
711.96750.3942801265367281.08
812.34750.1466675275456830.6







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.402749277519247
beta0.0659189644070796
S.D.0.0524750715388803
T-STAT1.25619579876586
p-value0.255741626354804

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -0.402749277519247 \tabularnewline
beta & 0.0659189644070796 \tabularnewline
S.D. & 0.0524750715388803 \tabularnewline
T-STAT & 1.25619579876586 \tabularnewline
p-value & 0.255741626354804 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=278613&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.402749277519247[/C][/ROW]
[ROW][C]beta[/C][C]0.0659189644070796[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0524750715388803[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.25619579876586[/C][/ROW]
[ROW][C]p-value[/C][C]0.255741626354804[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=278613&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278613&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.402749277519247
beta0.0659189644070796
S.D.0.0524750715388803
T-STAT1.25619579876586
p-value0.255741626354804







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-10.3007329141977
beta3.73935415958253
S.D.1.85507275260324
T-STAT2.01574528779805
p-value0.0904318517454426
Lambda-2.73935415958253

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -10.3007329141977 \tabularnewline
beta & 3.73935415958253 \tabularnewline
S.D. & 1.85507275260324 \tabularnewline
T-STAT & 2.01574528779805 \tabularnewline
p-value & 0.0904318517454426 \tabularnewline
Lambda & -2.73935415958253 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=278613&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-10.3007329141977[/C][/ROW]
[ROW][C]beta[/C][C]3.73935415958253[/C][/ROW]
[ROW][C]S.D.[/C][C]1.85507275260324[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.01574528779805[/C][/ROW]
[ROW][C]p-value[/C][C]0.0904318517454426[/C][/ROW]
[ROW][C]Lambda[/C][C]-2.73935415958253[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=278613&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278613&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-10.3007329141977
beta3.73935415958253
S.D.1.85507275260324
T-STAT2.01574528779805
p-value0.0904318517454426
Lambda-2.73935415958253



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