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 computationTue, 20 Dec 2016 11:21:31 +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/2016/Dec/20/t1482229419q2fir9wcfnuftv2.htm/, Retrieved Sun, 28 Apr 2024 14:23:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=301578, Retrieved Sun, 28 Apr 2024 14:23:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact98
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2016-12-20 10:21:31] [b7216e4bc5ee29192acbe9c506cee18c] [Current]
Feedback Forum

Post a new message
Dataseries X:
3450.3
2328.96
2610.24
3974.04
2025.3
3991.02
2636.88
2980.98
3813.36
2709.42
2772
3482.64
3752.64
2873.16
2667.84
4810.8
2247.54
4156.92
3121.02
3312.54
4081.14
3135.06
3089.64
3744.24
4227.24
3241.26
2976.36
5675.58
2387.64
4329.06
3478.2
3346.56
4428.48
3473.16
3069.78
4091.58
4602.6
3202.2
2973.42
5486.28
2774.76
4621.44
3778.44
3391.38
4680.78
3540.72
3178.02
4682.1
4906.26
3327.78
3390.9
7373.82
2861.46
4976.7
3853.38
3612.78
5544.6
3737.7
3414.9
5128.14
4904.4
3616.74
3939.84
6555.96
3578.1
5948.4
3637.86
4163.4
5864.52
3814.92
3859.2
5619.3
5358.36
3713.82
4092.3
7733.52
4261.5
6494.94
3971.46
4568.16
5953.98
4105.56
4272.78
5347.8
5971.44
3908.46
3888.3
8376.24
4151.16
6636.06
4339.74
4707.72
6176.34
4619.16
4230.42
6114
6042.78
4059.42
3888.3
8422.8
3813.6
6203.34
4715.58
4585.56
6561
4683.9
4385.7
6218.16
6241.86
3764.82
4327.62
8301.06
3731.04
7252.68
4743
4686.06




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=301578&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=301578&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301578&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
13064.595660.5064588012611965.72
23416.045717.3677513153712563.26
33727.075870.2648965218473287.94
43909.345867.9183724134012711.52
54344.0351282.675309219694512.36
64625.221091.093339495262977.86
74989.5151223.331339673464019.7
85259.921389.571045937954487.94
95298.3451393.541811281924609.2

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 3064.595 & 660.506458801261 & 1965.72 \tabularnewline
2 & 3416.045 & 717.367751315371 & 2563.26 \tabularnewline
3 & 3727.075 & 870.264896521847 & 3287.94 \tabularnewline
4 & 3909.345 & 867.918372413401 & 2711.52 \tabularnewline
5 & 4344.035 & 1282.67530921969 & 4512.36 \tabularnewline
6 & 4625.22 & 1091.09333949526 & 2977.86 \tabularnewline
7 & 4989.515 & 1223.33133967346 & 4019.7 \tabularnewline
8 & 5259.92 & 1389.57104593795 & 4487.94 \tabularnewline
9 & 5298.345 & 1393.54181128192 & 4609.2 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=301578&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]3064.595[/C][C]660.506458801261[/C][C]1965.72[/C][/ROW]
[ROW][C]2[/C][C]3416.045[/C][C]717.367751315371[/C][C]2563.26[/C][/ROW]
[ROW][C]3[/C][C]3727.075[/C][C]870.264896521847[/C][C]3287.94[/C][/ROW]
[ROW][C]4[/C][C]3909.345[/C][C]867.918372413401[/C][C]2711.52[/C][/ROW]
[ROW][C]5[/C][C]4344.035[/C][C]1282.67530921969[/C][C]4512.36[/C][/ROW]
[ROW][C]6[/C][C]4625.22[/C][C]1091.09333949526[/C][C]2977.86[/C][/ROW]
[ROW][C]7[/C][C]4989.515[/C][C]1223.33133967346[/C][C]4019.7[/C][/ROW]
[ROW][C]8[/C][C]5259.92[/C][C]1389.57104593795[/C][C]4487.94[/C][/ROW]
[ROW][C]9[/C][C]5298.345[/C][C]1393.54181128192[/C][C]4609.2[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=301578&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301578&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
13064.595660.5064588012611965.72
23416.045717.3677513153712563.26
33727.075870.2648965218473287.94
43909.345867.9183724134012711.52
54344.0351282.675309219694512.36
64625.221091.093339495262977.86
74989.5151223.331339673464019.7
85259.921389.571045937954487.94
95298.3451393.541811281924609.2







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-374.642877941507
beta0.333075130299641
S.D.0.0402509420026557
T-STAT8.27496485119941
p-value7.341277002013e-05

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -374.642877941507 \tabularnewline
beta & 0.333075130299641 \tabularnewline
S.D. & 0.0402509420026557 \tabularnewline
T-STAT & 8.27496485119941 \tabularnewline
p-value & 7.341277002013e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=301578&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-374.642877941507[/C][/ROW]
[ROW][C]beta[/C][C]0.333075130299641[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0402509420026557[/C][/ROW]
[ROW][C]T-STAT[/C][C]8.27496485119941[/C][/ROW]
[ROW][C]p-value[/C][C]7.341277002013e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=301578&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301578&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-374.642877941507
beta0.333075130299641
S.D.0.0402509420026557
T-STAT8.27496485119941
p-value7.341277002013e-05







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-4.74955393534949
beta1.39868883515154
S.D.0.150656325348985
T-STAT9.28397020112879
p-value3.48379278912426e-05
Lambda-0.398688835151538

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -4.74955393534949 \tabularnewline
beta & 1.39868883515154 \tabularnewline
S.D. & 0.150656325348985 \tabularnewline
T-STAT & 9.28397020112879 \tabularnewline
p-value & 3.48379278912426e-05 \tabularnewline
Lambda & -0.398688835151538 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=301578&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-4.74955393534949[/C][/ROW]
[ROW][C]beta[/C][C]1.39868883515154[/C][/ROW]
[ROW][C]S.D.[/C][C]0.150656325348985[/C][/ROW]
[ROW][C]T-STAT[/C][C]9.28397020112879[/C][/ROW]
[ROW][C]p-value[/C][C]3.48379278912426e-05[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.398688835151538[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=301578&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301578&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-4.74955393534949
beta1.39868883515154
S.D.0.150656325348985
T-STAT9.28397020112879
p-value3.48379278912426e-05
Lambda-0.398688835151538



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