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, 28 May 2009 13:25:06 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/May/28/t12435387387b60ob7w3fq2tzu.htm/, Retrieved Mon, 06 May 2024 01:53:56 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=40704, Retrieved Mon, 06 May 2024 01:53:56 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact142
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Opgave 8 - Sofie ...] [2009-05-28 19:25:06] [906421aeac4a9ff967f975996dbb0335] [Current]
-   P     [Standard Deviation-Mean Plot] [Opgave 8 verbeter...] [2009-05-30 09:19:14] [74be16979710d4c4e7c6647856088456]
Feedback Forum

Post a new message
Dataseries X:
30.06
30.46
30.46
30.49
30.49
30.5
30.5
30.5
30.51
30.51
30.61
30.88
30.95
31.09
31.28
31.31
31.32
31.34
31.34
31.34
31.34
31.36
31.36
31.36
31.72
32.07
32.13
32.19
32.26
32.27
32.28
32.28
32.28
32.29
32.61
32.68
32.69
32.74
32.86
32.86
32.9
32.95
32.95
32.96
32.99
33
33.06
33.42
33.48
33.5
33.51
33.52
33.55
33.56
33.56
33.56
33.6
33.61
33.62
33.72
33.83
33.96
34.06
34.11
34.11
34.21
34.19
34.17
34.12
34.15
34.15
34.15




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=40704&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=40704&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40704&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 time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
130.36750.2054872258803460.43
230.49750.005000000000000780.0100000000000016
330.62750.1748094200360290.369999999999997
431.15750.1691892431568860.359999999999999
531.3350.009999999999999790.0199999999999996
631.3550.009999999999999790.0199999999999996
732.02750.2107723890835800.469999999999999
832.27250.009574271077564570.0200000000000031
932.4650.2098412098071620.399999999999999
1032.78750.08616843969807060.170000000000002
1132.940.02708012801545480.0600000000000023
1233.11750.2040220576310320.43
1333.50250.01707825127660150.0400000000000063
1433.55750.005000000000002560.0100000000000051
1533.63750.05560275772537370.119999999999997
1633.990.1235583532856720.280000000000001
1734.170.04320493798938590.100000000000001
1834.14250.01500000000000060.0300000000000011

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 30.3675 & 0.205487225880346 & 0.43 \tabularnewline
2 & 30.4975 & 0.00500000000000078 & 0.0100000000000016 \tabularnewline
3 & 30.6275 & 0.174809420036029 & 0.369999999999997 \tabularnewline
4 & 31.1575 & 0.169189243156886 & 0.359999999999999 \tabularnewline
5 & 31.335 & 0.00999999999999979 & 0.0199999999999996 \tabularnewline
6 & 31.355 & 0.00999999999999979 & 0.0199999999999996 \tabularnewline
7 & 32.0275 & 0.210772389083580 & 0.469999999999999 \tabularnewline
8 & 32.2725 & 0.00957427107756457 & 0.0200000000000031 \tabularnewline
9 & 32.465 & 0.209841209807162 & 0.399999999999999 \tabularnewline
10 & 32.7875 & 0.0861684396980706 & 0.170000000000002 \tabularnewline
11 & 32.94 & 0.0270801280154548 & 0.0600000000000023 \tabularnewline
12 & 33.1175 & 0.204022057631032 & 0.43 \tabularnewline
13 & 33.5025 & 0.0170782512766015 & 0.0400000000000063 \tabularnewline
14 & 33.5575 & 0.00500000000000256 & 0.0100000000000051 \tabularnewline
15 & 33.6375 & 0.0556027577253737 & 0.119999999999997 \tabularnewline
16 & 33.99 & 0.123558353285672 & 0.280000000000001 \tabularnewline
17 & 34.17 & 0.0432049379893859 & 0.100000000000001 \tabularnewline
18 & 34.1425 & 0.0150000000000006 & 0.0300000000000011 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=40704&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]30.3675[/C][C]0.205487225880346[/C][C]0.43[/C][/ROW]
[ROW][C]2[/C][C]30.4975[/C][C]0.00500000000000078[/C][C]0.0100000000000016[/C][/ROW]
[ROW][C]3[/C][C]30.6275[/C][C]0.174809420036029[/C][C]0.369999999999997[/C][/ROW]
[ROW][C]4[/C][C]31.1575[/C][C]0.169189243156886[/C][C]0.359999999999999[/C][/ROW]
[ROW][C]5[/C][C]31.335[/C][C]0.00999999999999979[/C][C]0.0199999999999996[/C][/ROW]
[ROW][C]6[/C][C]31.355[/C][C]0.00999999999999979[/C][C]0.0199999999999996[/C][/ROW]
[ROW][C]7[/C][C]32.0275[/C][C]0.210772389083580[/C][C]0.469999999999999[/C][/ROW]
[ROW][C]8[/C][C]32.2725[/C][C]0.00957427107756457[/C][C]0.0200000000000031[/C][/ROW]
[ROW][C]9[/C][C]32.465[/C][C]0.209841209807162[/C][C]0.399999999999999[/C][/ROW]
[ROW][C]10[/C][C]32.7875[/C][C]0.0861684396980706[/C][C]0.170000000000002[/C][/ROW]
[ROW][C]11[/C][C]32.94[/C][C]0.0270801280154548[/C][C]0.0600000000000023[/C][/ROW]
[ROW][C]12[/C][C]33.1175[/C][C]0.204022057631032[/C][C]0.43[/C][/ROW]
[ROW][C]13[/C][C]33.5025[/C][C]0.0170782512766015[/C][C]0.0400000000000063[/C][/ROW]
[ROW][C]14[/C][C]33.5575[/C][C]0.00500000000000256[/C][C]0.0100000000000051[/C][/ROW]
[ROW][C]15[/C][C]33.6375[/C][C]0.0556027577253737[/C][C]0.119999999999997[/C][/ROW]
[ROW][C]16[/C][C]33.99[/C][C]0.123558353285672[/C][C]0.280000000000001[/C][/ROW]
[ROW][C]17[/C][C]34.17[/C][C]0.0432049379893859[/C][C]0.100000000000001[/C][/ROW]
[ROW][C]18[/C][C]34.1425[/C][C]0.0150000000000006[/C][C]0.0300000000000011[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=40704&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40704&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
130.36750.2054872258803460.43
230.49750.005000000000000780.0100000000000016
330.62750.1748094200360290.369999999999997
431.15750.1691892431568860.359999999999999
531.3350.009999999999999790.0199999999999996
631.3550.009999999999999790.0199999999999996
732.02750.2107723890835800.469999999999999
832.27250.009574271077564570.0200000000000031
932.4650.2098412098071620.399999999999999
1032.78750.08616843969807060.170000000000002
1132.940.02708012801545480.0600000000000023
1233.11750.2040220576310320.43
1333.50250.01707825127660150.0400000000000063
1433.55750.005000000000002560.0100000000000051
1533.63750.05560275772537370.119999999999997
1633.990.1235583532856720.280000000000001
1734.170.04320493798938590.100000000000001
1834.14250.01500000000000060.0300000000000011







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha0.671655284909298
beta-0.0179953873511503
S.D.0.0157027731333368
T-STAT-1.14600059482145
p-value0.268646271989932

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 0.671655284909298 \tabularnewline
beta & -0.0179953873511503 \tabularnewline
S.D. & 0.0157027731333368 \tabularnewline
T-STAT & -1.14600059482145 \tabularnewline
p-value & 0.268646271989932 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=40704&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]0.671655284909298[/C][/ROW]
[ROW][C]beta[/C][C]-0.0179953873511503[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0157027731333368[/C][/ROW]
[ROW][C]T-STAT[/C][C]-1.14600059482145[/C][/ROW]
[ROW][C]p-value[/C][C]0.268646271989932[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=40704&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40704&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)
alpha0.671655284909298
beta-0.0179953873511503
S.D.0.0157027731333368
T-STAT-1.14600059482145
p-value0.268646271989932







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha7.34093505277429
beta-3.01608197620566
S.D.8.68903090245346
T-STAT-0.347113735704868
p-value0.733029521645836
Lambda4.01608197620566

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 7.34093505277429 \tabularnewline
beta & -3.01608197620566 \tabularnewline
S.D. & 8.68903090245346 \tabularnewline
T-STAT & -0.347113735704868 \tabularnewline
p-value & 0.733029521645836 \tabularnewline
Lambda & 4.01608197620566 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=40704&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]7.34093505277429[/C][/ROW]
[ROW][C]beta[/C][C]-3.01608197620566[/C][/ROW]
[ROW][C]S.D.[/C][C]8.68903090245346[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.347113735704868[/C][/ROW]
[ROW][C]p-value[/C][C]0.733029521645836[/C][/ROW]
[ROW][C]Lambda[/C][C]4.01608197620566[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=40704&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40704&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)
alpha7.34093505277429
beta-3.01608197620566
S.D.8.68903090245346
T-STAT-0.347113735704868
p-value0.733029521645836
Lambda4.01608197620566



Parameters (Session):
par1 = 4 ;
Parameters (R input):
par1 = 4 ;
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')