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 computationMon, 05 Dec 2011 12:15:59 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/05/t1323105633e9ka0h4z73xfrcu.htm/, Retrieved Fri, 03 May 2024 09:20:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=151085, Retrieved Fri, 03 May 2024 09:20:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact70
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Gemiddelde consum...] [2011-12-05 17:15:59] [53570eb7f05113140c3a155d32e971f0] [Current]
Feedback Forum

Post a new message
Dataseries X:
9,26
9,27
9,29
9,27
9,29
9,31
9,33
9,35
9,34
9,35
9,38
9,43
9,47
9,5
9,55
9,58
9,61
9,57
9,61
9,65
9,62
9,63
9,62
9,63
9,65
9,72
9,75
9,77
9,78
9,82
9,84
9,9
9,94
9,96
10,03
10,03
10,12
10,12
10,05
10,14
10,17
10,2
10,2
10,35
10,43
10,52
10,57
10,57
10,57
10,65
10,57
10,61
10,63
10,71
10,72
10,77
10,79
10,82
10,9
10,83
10,92
10,91
10,88
10,87
11
10,99
11,03
11,04
10,99
10,9
11
10,99
10,92
10,98
11,15
11,19
11,33
11,38
11,4
11,45
11,56
11,61
11,82
11,77
11,85
11,82
11,92
11,86
11,87
11,94
11,86
11,92
11,83
11,91
11,93
11,99
11,96
12,12
11,85
12,01
12,1
12,21
12,31
12,31
12,39
12,35
12,41
12,51
12,27
12,51
12,44
12,47
12,51
12,58
12,5
12,52
12,59
12,51
12,67
12,64
12,54
12,6
12,67
12,62
12,72
12,85
12,85
12,82
12,79
12,94
12,71
12,56




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

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
19.32250.05083395429327650.17
29.586666666666670.05548682617331670.18
39.849166666666670.1231007224949870.379999999999999
410.28666666666670.1909942090189850.52
510.71416666666670.1094164964572060.33
610.960.05984829305684630.17
711.380.2859434146184110.9
811.89166666666670.05096047190685840.17
912.21083333333330.2032221504271680.66
1012.51750.1033198915988590.4
1112.72250.128637969794020.4

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 9.3225 & 0.0508339542932765 & 0.17 \tabularnewline
2 & 9.58666666666667 & 0.0554868261733167 & 0.18 \tabularnewline
3 & 9.84916666666667 & 0.123100722494987 & 0.379999999999999 \tabularnewline
4 & 10.2866666666667 & 0.190994209018985 & 0.52 \tabularnewline
5 & 10.7141666666667 & 0.109416496457206 & 0.33 \tabularnewline
6 & 10.96 & 0.0598482930568463 & 0.17 \tabularnewline
7 & 11.38 & 0.285943414618411 & 0.9 \tabularnewline
8 & 11.8916666666667 & 0.0509604719068584 & 0.17 \tabularnewline
9 & 12.2108333333333 & 0.203222150427168 & 0.66 \tabularnewline
10 & 12.5175 & 0.103319891598859 & 0.4 \tabularnewline
11 & 12.7225 & 0.12863796979402 & 0.4 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=151085&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]9.3225[/C][C]0.0508339542932765[/C][C]0.17[/C][/ROW]
[ROW][C]2[/C][C]9.58666666666667[/C][C]0.0554868261733167[/C][C]0.18[/C][/ROW]
[ROW][C]3[/C][C]9.84916666666667[/C][C]0.123100722494987[/C][C]0.379999999999999[/C][/ROW]
[ROW][C]4[/C][C]10.2866666666667[/C][C]0.190994209018985[/C][C]0.52[/C][/ROW]
[ROW][C]5[/C][C]10.7141666666667[/C][C]0.109416496457206[/C][C]0.33[/C][/ROW]
[ROW][C]6[/C][C]10.96[/C][C]0.0598482930568463[/C][C]0.17[/C][/ROW]
[ROW][C]7[/C][C]11.38[/C][C]0.285943414618411[/C][C]0.9[/C][/ROW]
[ROW][C]8[/C][C]11.8916666666667[/C][C]0.0509604719068584[/C][C]0.17[/C][/ROW]
[ROW][C]9[/C][C]12.2108333333333[/C][C]0.203222150427168[/C][C]0.66[/C][/ROW]
[ROW][C]10[/C][C]12.5175[/C][C]0.103319891598859[/C][C]0.4[/C][/ROW]
[ROW][C]11[/C][C]12.7225[/C][C]0.12863796979402[/C][C]0.4[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=151085&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=151085&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
19.32250.05083395429327650.17
29.586666666666670.05548682617331670.18
39.849166666666670.1231007224949870.379999999999999
410.28666666666670.1909942090189850.52
510.71416666666670.1094164964572060.33
610.960.05984829305684630.17
711.380.2859434146184110.9
811.89166666666670.05096047190685840.17
912.21083333333330.2032221504271680.66
1012.51750.1033198915988590.4
1112.72250.128637969794020.4







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.0669736416658609
beta0.0172796908652802
S.D.0.0202047309936597
T-STAT0.855229939497963
p-value0.414610489180909

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -0.0669736416658609 \tabularnewline
beta & 0.0172796908652802 \tabularnewline
S.D. & 0.0202047309936597 \tabularnewline
T-STAT & 0.855229939497963 \tabularnewline
p-value & 0.414610489180909 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=151085&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.0669736416658609[/C][/ROW]
[ROW][C]beta[/C][C]0.0172796908652802[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0202047309936597[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.855229939497963[/C][/ROW]
[ROW][C]p-value[/C][C]0.414610489180909[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=151085&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=151085&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.0669736416658609
beta0.0172796908652802
S.D.0.0202047309936597
T-STAT0.855229939497963
p-value0.414610489180909







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-6.76113354893813
beta1.88106984995339
S.D.1.72756079519013
T-STAT1.08885884374701
p-value0.304512082023912
Lambda-0.881069849953392

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -6.76113354893813 \tabularnewline
beta & 1.88106984995339 \tabularnewline
S.D. & 1.72756079519013 \tabularnewline
T-STAT & 1.08885884374701 \tabularnewline
p-value & 0.304512082023912 \tabularnewline
Lambda & -0.881069849953392 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=151085&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-6.76113354893813[/C][/ROW]
[ROW][C]beta[/C][C]1.88106984995339[/C][/ROW]
[ROW][C]S.D.[/C][C]1.72756079519013[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.08885884374701[/C][/ROW]
[ROW][C]p-value[/C][C]0.304512082023912[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.881069849953392[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=151085&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=151085&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-6.76113354893813
beta1.88106984995339
S.D.1.72756079519013
T-STAT1.08885884374701
p-value0.304512082023912
Lambda-0.881069849953392



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