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, 29 Nov 2016 21:52:36 +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/Nov/29/t1480452807bmwjwuag5loehar.htm/, Retrieved Tue, 07 May 2024 19:54:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=297290, Retrieved Tue, 07 May 2024 19:54:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact56
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] [Standard deviatio...] [2016-11-29 20:52:36] [fd005a509166a1985dac46f39e8d81c5] [Current]
Feedback Forum

Post a new message
Dataseries X:
6908
6694
6564
6800
6820
6752
6632
6756
6898
6844
6750
6892
7104
7022
6858
7018
7218
7134
7006
7160
7374
7276
7128
7272
7462
7366
7218
7366
7546
7464
7332
7502
7736
7628
7494
7668
7888
7774
7644
7826
8056
7990
7814
7978
8238
8138
8000
8176
8412
8332
8194
8354
8576
8500
8376
8538




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=297290&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
16775.83333333333107.431020857219344
27130.83333333333142.674348419643516
37481.83333333333149.209939550306518
47960.16666666667177.500746904105594

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 6775.83333333333 & 107.431020857219 & 344 \tabularnewline
2 & 7130.83333333333 & 142.674348419643 & 516 \tabularnewline
3 & 7481.83333333333 & 149.209939550306 & 518 \tabularnewline
4 & 7960.16666666667 & 177.500746904105 & 594 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=297290&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]6775.83333333333[/C][C]107.431020857219[/C][C]344[/C][/ROW]
[ROW][C]2[/C][C]7130.83333333333[/C][C]142.674348419643[/C][C]516[/C][/ROW]
[ROW][C]3[/C][C]7481.83333333333[/C][C]149.209939550306[/C][C]518[/C][/ROW]
[ROW][C]4[/C][C]7960.16666666667[/C][C]177.500746904105[/C][C]594[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=297290&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=297290&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
16775.83333333333107.431020857219344
27130.83333333333142.674348419643516
37481.83333333333149.209939550306518
47960.16666666667177.500746904105594







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-261.786617972639
beta0.0553334346008392
S.D.0.00958124865108731
T-STAT5.77517989730491
p-value0.028698172940254

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -261.786617972639 \tabularnewline
beta & 0.0553334346008392 \tabularnewline
S.D. & 0.00958124865108731 \tabularnewline
T-STAT & 5.77517989730491 \tabularnewline
p-value & 0.028698172940254 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=297290&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-261.786617972639[/C][/ROW]
[ROW][C]beta[/C][C]0.0553334346008392[/C][/ROW]
[ROW][C]S.D.[/C][C]0.00958124865108731[/C][/ROW]
[ROW][C]T-STAT[/C][C]5.77517989730491[/C][/ROW]
[ROW][C]p-value[/C][C]0.028698172940254[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=297290&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=297290&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-261.786617972639
beta0.0553334346008392
S.D.0.00958124865108731
T-STAT5.77517989730491
p-value0.028698172940254







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-20.9512073248427
beta2.91120718249604
S.D.0.597261258963944
T-STAT4.87426086792578
p-value0.0396065998242373
Lambda-1.91120718249604

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -20.9512073248427 \tabularnewline
beta & 2.91120718249604 \tabularnewline
S.D. & 0.597261258963944 \tabularnewline
T-STAT & 4.87426086792578 \tabularnewline
p-value & 0.0396065998242373 \tabularnewline
Lambda & -1.91120718249604 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=297290&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-20.9512073248427[/C][/ROW]
[ROW][C]beta[/C][C]2.91120718249604[/C][/ROW]
[ROW][C]S.D.[/C][C]0.597261258963944[/C][/ROW]
[ROW][C]T-STAT[/C][C]4.87426086792578[/C][/ROW]
[ROW][C]p-value[/C][C]0.0396065998242373[/C][/ROW]
[ROW][C]Lambda[/C][C]-1.91120718249604[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=297290&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=297290&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-20.9512073248427
beta2.91120718249604
S.D.0.597261258963944
T-STAT4.87426086792578
p-value0.0396065998242373
Lambda-1.91120718249604



Parameters (Session):
par1 = additive ; par2 = 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')