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 computationSat, 10 Dec 2016 14:08: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/10/t1481375345k7xiowvkhjwoufj.htm/, Retrieved Fri, 01 Nov 2024 03:37:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=298676, Retrieved Fri, 01 Nov 2024 03:37:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact65
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Univariate Data Series] [HPC Retail Sales] [2008-03-02 15:42:48] [74be16979710d4c4e7c6647856088456]
- RMPD    [Standard Deviation-Mean Plot] [N2440 Standard de...] [2016-12-10 13:08:31] [1eb03b74c4069f30e782d39ada1a3213] [Current]
Feedback Forum

Post a new message
Dataseries X:
3744.5
4098.5
4094
4083
4081.5
4227.5
4246.5
4468
4418.5
4508.5
4836.5
4797
4798.5
4933
4793.5
5020
4987
4738
4784.5
4721.5
4756.5
4666
4535.5
4347
4272
4152
4096.5
4193.5
4244.5
4415.5
4365
4280
4288.5
4289
4166
4179.5
4389.5
4577.5
4322.5
4075.5
3785
3740.5
3755
3795.5
3698
3678.5
3760.5
3892
3844
3831
3957.5
3995
4150
4388
4416
4533.5
4789.5
5160.5
5041
5151.5
5334
5631.5
5620.5
5690
5713
5715.5
5881
6028.5
6018.5
6343
6347
6450.5
6337
6354
6246.5
6520.5
6618.5
6593.5
6481.5
6357
6274
5939
5825.5
5755.5
5764
5668
5760
5801
5814
5726
5668
5489.5
5498
5619.5
5630
5496.5
5318.5
5142.5
5097.5
5021
4989
5008.5
5011.5
5026.5
5080
4979
5133
5143.5
5062.5
5190.5
5116.5
5129
5057.5
5085
5140
5251.5




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298676&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
14300.33333333333318.3975026550451092
24756.75186.820222284809673
34245.1666666666792.016385233909319
43955.83333333333309.033047168785899
54438.125501.0636017059571329.5
65897.75345.5747189301271116.5
76275.20833333333289.952226341868863
85661.20833333333118.116363721492324.5
95079.2083333333396.5581450670417339.5

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 4300.33333333333 & 318.397502655045 & 1092 \tabularnewline
2 & 4756.75 & 186.820222284809 & 673 \tabularnewline
3 & 4245.16666666667 & 92.016385233909 & 319 \tabularnewline
4 & 3955.83333333333 & 309.033047168785 & 899 \tabularnewline
5 & 4438.125 & 501.063601705957 & 1329.5 \tabularnewline
6 & 5897.75 & 345.574718930127 & 1116.5 \tabularnewline
7 & 6275.20833333333 & 289.952226341868 & 863 \tabularnewline
8 & 5661.20833333333 & 118.116363721492 & 324.5 \tabularnewline
9 & 5079.20833333333 & 96.5581450670417 & 339.5 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=298676&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]4300.33333333333[/C][C]318.397502655045[/C][C]1092[/C][/ROW]
[ROW][C]2[/C][C]4756.75[/C][C]186.820222284809[/C][C]673[/C][/ROW]
[ROW][C]3[/C][C]4245.16666666667[/C][C]92.016385233909[/C][C]319[/C][/ROW]
[ROW][C]4[/C][C]3955.83333333333[/C][C]309.033047168785[/C][C]899[/C][/ROW]
[ROW][C]5[/C][C]4438.125[/C][C]501.063601705957[/C][C]1329.5[/C][/ROW]
[ROW][C]6[/C][C]5897.75[/C][C]345.574718930127[/C][C]1116.5[/C][/ROW]
[ROW][C]7[/C][C]6275.20833333333[/C][C]289.952226341868[/C][C]863[/C][/ROW]
[ROW][C]8[/C][C]5661.20833333333[/C][C]118.116363721492[/C][C]324.5[/C][/ROW]
[ROW][C]9[/C][C]5079.20833333333[/C][C]96.5581450670417[/C][C]339.5[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=298676&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298676&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
14300.33333333333318.3975026550451092
24756.75186.820222284809673
34245.1666666666792.016385233909319
43955.83333333333309.033047168785899
54438.125501.0636017059571329.5
65897.75345.5747189301271116.5
76275.20833333333289.952226341868863
85661.20833333333118.116363721492324.5
95079.2083333333396.5581450670417339.5







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha322.861993570073
beta-0.0145310868334708
S.D.0.0632339931428397
T-STAT-0.229798659095377
p-value0.824818808337396

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 322.861993570073 \tabularnewline
beta & -0.0145310868334708 \tabularnewline
S.D. & 0.0632339931428397 \tabularnewline
T-STAT & -0.229798659095377 \tabularnewline
p-value & 0.824818808337396 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=298676&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]322.861993570073[/C][/ROW]
[ROW][C]beta[/C][C]-0.0145310868334708[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0632339931428397[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.229798659095377[/C][/ROW]
[ROW][C]p-value[/C][C]0.824818808337396[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=298676&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298676&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)
alpha322.861993570073
beta-0.0145310868334708
S.D.0.0632339931428397
T-STAT-0.229798659095377
p-value0.824818808337396







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha6.97708267000369
beta-0.18924485223166
S.D.1.43388963675812
T-STAT-0.131980068326265
p-value0.898713518345257
Lambda1.18924485223166

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 6.97708267000369 \tabularnewline
beta & -0.18924485223166 \tabularnewline
S.D. & 1.43388963675812 \tabularnewline
T-STAT & -0.131980068326265 \tabularnewline
p-value & 0.898713518345257 \tabularnewline
Lambda & 1.18924485223166 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=298676&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]6.97708267000369[/C][/ROW]
[ROW][C]beta[/C][C]-0.18924485223166[/C][/ROW]
[ROW][C]S.D.[/C][C]1.43388963675812[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.131980068326265[/C][/ROW]
[ROW][C]p-value[/C][C]0.898713518345257[/C][/ROW]
[ROW][C]Lambda[/C][C]1.18924485223166[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=298676&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298676&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)
alpha6.97708267000369
beta-0.18924485223166
S.D.1.43388963675812
T-STAT-0.131980068326265
p-value0.898713518345257
Lambda1.18924485223166



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