Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationThu, 29 Nov 2012 08:22:34 -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/2012/Nov/29/t1354195381ymgu74r54kj00sr.htm/, Retrieved Sun, 28 Apr 2024 14:19:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=194500, Retrieved Sun, 28 Apr 2024 14:19:26 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact96
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Variance Reduction Matrix] [Workshop 9 - vari...] [2012-11-29 11:54:34] [9f87ad58f325f963ff5b3a15384d509e]
- RM D    [Standard Deviation-Mean Plot] [Workshop 9 - stan...] [2012-11-29 13:22:34] [3353489d44052879174bf0d9e8b7362f] [Current]
Feedback Forum

Post a new message
Dataseries X:
8.64
8.89
8.87
8.81
8.87
9.06
9.12
8.66
8.17
8.04
7.71
7.55
7.52
7.38
7.52
7.31
6.92
7.09
7.05
7.37
7.05
6.79
6.35
6.44
6.89
7.16
7.46
7.91
7.86
8.02
8.38
8.50
8.40
8.24
8.33
8.28
8.15
8.06
7.79
7.28
7.52
7.23
7.13
7.21
6.99
6.77
6.69
6.39
6.85
6.74
6.56
6.62
6.71
6.67
6.54
6.14
6.13
5.86
5.88
5.75
5.53
5.86
5.90
5.95
5.69
5.53
5.71
5.60
5.73
5.60
5.41
5.13
5.00
5.04
5.10
4.96
4.90
4.80
4.48
4.29
4.27
4.18
4.02
3.82
4.13
4.16
3.98
4.26
4.70
4.96
5.13
5.35
5.41
5.42
5.51
5.75
5.67
5.46
5.56
5.56
5.54
5.53
5.65
5.58
5.57
5.36
5.23
5.11
5.07
5.04
5.34
5.43
5.31
5.12
4.97
5.00
4.64
4.80
5.10
5.11
5.12
5.36
5.26
5.27
5.10
4.94
4.68
4.41
4.60
4.53
4.18
4.00
3.87
4.09
4.13
3.74
3.81
4.11
4.14
3.99
4.28
4.37
4.24
4.19
4.01
3.95
4.30
4.37
4.40
4.29
4.12
4.07
3.93
3.79
3.67
3.53
3.69
3.69
3.48
3.31
3.16
3.25
3.14
3.19
3.43
3.45
3.31
3.51
3.53
3.83
4.02
3.99
4.11
3.96
3.83
3.71
3.81
3.73
3.99
4.17
4.00
4.10
4.24
4.45
4.62
4.49
4.45
4.49
4.36
4.32
4.45
4.13
4.14
4.30
4.42
4.67
4.96
4.73
4.52




4.36
4.15
3.92
3.88
4.20
3.95
3.78
3.69




3.77
3.66
3.53
3.50
3.14
3.42
3.30
2.81
3.15
3.37
4.05
4.00
4.20
4.21
4.24
4.24
4.17
4.12
4.35
3.98
3.62
4.39
5.01
4.07
3.70
3.59
3.44
3.33
2.98
3.14
2.55
2.49
2.53
2.43




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=194500&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=194500&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=194500&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 time3 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
18.53250.5308333927976751.57
27.065833333333330.3891589610553721.17
37.95250.5248051586498121.61
47.26750.5389741940187691.76
56.370833333333330.3926010775082081.1
65.636666666666670.227209688227070.82
74.571666666666670.4466203051471091.28
84.896666666666670.6267134089595471.77
95.4850.1694643969044290.56
105.07750.2211591364523830.79
114.78750.4532734474705291.36
124.080.1929672605297690.63
134.035833333333330.2790066253150580.870000000000001
143.384166666666670.189518928454190.55
153.890.1833526160658250.64
164.341666666666670.1877538685394130.62
174.354166666666670.3257846007112771.08
183.4750.3280105319816871.14
194.045833333333330.2834995056379630.98
203.4350.779889269529512.52

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 8.5325 & 0.530833392797675 & 1.57 \tabularnewline
2 & 7.06583333333333 & 0.389158961055372 & 1.17 \tabularnewline
3 & 7.9525 & 0.524805158649812 & 1.61 \tabularnewline
4 & 7.2675 & 0.538974194018769 & 1.76 \tabularnewline
5 & 6.37083333333333 & 0.392601077508208 & 1.1 \tabularnewline
6 & 5.63666666666667 & 0.22720968822707 & 0.82 \tabularnewline
7 & 4.57166666666667 & 0.446620305147109 & 1.28 \tabularnewline
8 & 4.89666666666667 & 0.626713408959547 & 1.77 \tabularnewline
9 & 5.485 & 0.169464396904429 & 0.56 \tabularnewline
10 & 5.0775 & 0.221159136452383 & 0.79 \tabularnewline
11 & 4.7875 & 0.453273447470529 & 1.36 \tabularnewline
12 & 4.08 & 0.192967260529769 & 0.63 \tabularnewline
13 & 4.03583333333333 & 0.279006625315058 & 0.870000000000001 \tabularnewline
14 & 3.38416666666667 & 0.18951892845419 & 0.55 \tabularnewline
15 & 3.89 & 0.183352616065825 & 0.64 \tabularnewline
16 & 4.34166666666667 & 0.187753868539413 & 0.62 \tabularnewline
17 & 4.35416666666667 & 0.325784600711277 & 1.08 \tabularnewline
18 & 3.475 & 0.328010531981687 & 1.14 \tabularnewline
19 & 4.04583333333333 & 0.283499505637963 & 0.98 \tabularnewline
20 & 3.435 & 0.77988926952951 & 2.52 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=194500&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.5325[/C][C]0.530833392797675[/C][C]1.57[/C][/ROW]
[ROW][C]2[/C][C]7.06583333333333[/C][C]0.389158961055372[/C][C]1.17[/C][/ROW]
[ROW][C]3[/C][C]7.9525[/C][C]0.524805158649812[/C][C]1.61[/C][/ROW]
[ROW][C]4[/C][C]7.2675[/C][C]0.538974194018769[/C][C]1.76[/C][/ROW]
[ROW][C]5[/C][C]6.37083333333333[/C][C]0.392601077508208[/C][C]1.1[/C][/ROW]
[ROW][C]6[/C][C]5.63666666666667[/C][C]0.22720968822707[/C][C]0.82[/C][/ROW]
[ROW][C]7[/C][C]4.57166666666667[/C][C]0.446620305147109[/C][C]1.28[/C][/ROW]
[ROW][C]8[/C][C]4.89666666666667[/C][C]0.626713408959547[/C][C]1.77[/C][/ROW]
[ROW][C]9[/C][C]5.485[/C][C]0.169464396904429[/C][C]0.56[/C][/ROW]
[ROW][C]10[/C][C]5.0775[/C][C]0.221159136452383[/C][C]0.79[/C][/ROW]
[ROW][C]11[/C][C]4.7875[/C][C]0.453273447470529[/C][C]1.36[/C][/ROW]
[ROW][C]12[/C][C]4.08[/C][C]0.192967260529769[/C][C]0.63[/C][/ROW]
[ROW][C]13[/C][C]4.03583333333333[/C][C]0.279006625315058[/C][C]0.870000000000001[/C][/ROW]
[ROW][C]14[/C][C]3.38416666666667[/C][C]0.18951892845419[/C][C]0.55[/C][/ROW]
[ROW][C]15[/C][C]3.89[/C][C]0.183352616065825[/C][C]0.64[/C][/ROW]
[ROW][C]16[/C][C]4.34166666666667[/C][C]0.187753868539413[/C][C]0.62[/C][/ROW]
[ROW][C]17[/C][C]4.35416666666667[/C][C]0.325784600711277[/C][C]1.08[/C][/ROW]
[ROW][C]18[/C][C]3.475[/C][C]0.328010531981687[/C][C]1.14[/C][/ROW]
[ROW][C]19[/C][C]4.04583333333333[/C][C]0.283499505637963[/C][C]0.98[/C][/ROW]
[ROW][C]20[/C][C]3.435[/C][C]0.77988926952951[/C][C]2.52[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=194500&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=194500&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.53250.5308333927976751.57
27.065833333333330.3891589610553721.17
37.95250.5248051586498121.61
47.26750.5389741940187691.76
56.370833333333330.3926010775082081.1
65.636666666666670.227209688227070.82
74.571666666666670.4466203051471091.28
84.896666666666670.6267134089595471.77
95.4850.1694643969044290.56
105.07750.2211591364523830.79
114.78750.4532734474705291.36
124.080.1929672605297690.63
134.035833333333330.2790066253150580.870000000000001
143.384166666666670.189518928454190.55
153.890.1833526160658250.64
164.341666666666670.1877538685394130.62
174.354166666666670.3257846007112771.08
183.4750.3280105319816871.14
194.045833333333330.2834995056379630.98
203.4350.779889269529512.52







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha0.17907364802687
beta0.0359263132378033
S.D.0.0248260087849804
T-STAT1.44712400406216
p-value0.165054032714069

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 0.17907364802687 \tabularnewline
beta & 0.0359263132378033 \tabularnewline
S.D. & 0.0248260087849804 \tabularnewline
T-STAT & 1.44712400406216 \tabularnewline
p-value & 0.165054032714069 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=194500&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]0.17907364802687[/C][/ROW]
[ROW][C]beta[/C][C]0.0359263132378033[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0248260087849804[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.44712400406216[/C][/ROW]
[ROW][C]p-value[/C][C]0.165054032714069[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=194500&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=194500&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.17907364802687
beta0.0359263132378033
S.D.0.0248260087849804
T-STAT1.44712400406216
p-value0.165054032714069







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-2.05185072317158
beta0.586598464428491
S.D.0.36485894293054
T-STAT1.60774040432432
p-value0.125290971693747
Lambda0.413401535571509

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -2.05185072317158 \tabularnewline
beta & 0.586598464428491 \tabularnewline
S.D. & 0.36485894293054 \tabularnewline
T-STAT & 1.60774040432432 \tabularnewline
p-value & 0.125290971693747 \tabularnewline
Lambda & 0.413401535571509 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=194500&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-2.05185072317158[/C][/ROW]
[ROW][C]beta[/C][C]0.586598464428491[/C][/ROW]
[ROW][C]S.D.[/C][C]0.36485894293054[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.60774040432432[/C][/ROW]
[ROW][C]p-value[/C][C]0.125290971693747[/C][/ROW]
[ROW][C]Lambda[/C][C]0.413401535571509[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=194500&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=194500&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-2.05185072317158
beta0.586598464428491
S.D.0.36485894293054
T-STAT1.60774040432432
p-value0.125290971693747
Lambda0.413401535571509



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