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 computationSat, 13 Aug 2016 13:27:53 +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/Aug/13/t1471091300g1ep2uyhbl9p10w.htm/, Retrieved Wed, 01 May 2024 15:01:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=296512, Retrieved Wed, 01 May 2024 15:01:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact169
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [] [2016-08-13 09:35:09] [74be16979710d4c4e7c6647856088456]
- RMP     [Standard Deviation-Mean Plot] [] [2016-08-13 12:27:53] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
29312
29336
29357
29380
29402
29426
29448
29471
29495
29517
29540
29563
29586
29609
29631
29654
29677
29700
29723
29746
29769
29792
29815
29837
29861
29884
29905
29928
29951
29974
29996
30020
30043
30065
30089
30111
30134
30158
30179
30202
30224
30248
30270
30293
30317
30339
30362
30385
30408
30431
30452
30476
30498
30521
30544
30567
30590
30613
30636
30659
30682
30705
30727
30750
30773
30796
30818
30842
30865
30887
30911
30933
30956
30980
31001
31024
31046
31070
31092
31115
31139
31161
31184
31207
31230
31253
31274
31298
31320
31343
31366
31389
31412
31435
31458
31481
31504
31527
31548
31571
31594
31617
31640
31663
31686
31709
31732
31754




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ yule.wessa.net

\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 & 1 seconds \tabularnewline
R Server & 'George Udny Yule' @ yule.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296512&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ yule.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296512&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296512&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 time1 seconds
R Server'George Udny Yule' @ yule.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
129437.2582.2116171839479251
229711.583333333382.5375488471579251
329985.583333333382.1865487040233250
430259.2582.2116171839479251
530532.916666666782.36223575637251
630807.416666666782.4372580521181251
731081.2582.2116171839479251
831354.916666666782.36223575637251
931628.7582.2867768014013250

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 29437.25 & 82.2116171839479 & 251 \tabularnewline
2 & 29711.5833333333 & 82.5375488471579 & 251 \tabularnewline
3 & 29985.5833333333 & 82.1865487040233 & 250 \tabularnewline
4 & 30259.25 & 82.2116171839479 & 251 \tabularnewline
5 & 30532.9166666667 & 82.36223575637 & 251 \tabularnewline
6 & 30807.4166666667 & 82.4372580521181 & 251 \tabularnewline
7 & 31081.25 & 82.2116171839479 & 251 \tabularnewline
8 & 31354.9166666667 & 82.36223575637 & 251 \tabularnewline
9 & 31628.75 & 82.2867768014013 & 250 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296512&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]29437.25[/C][C]82.2116171839479[/C][C]251[/C][/ROW]
[ROW][C]2[/C][C]29711.5833333333[/C][C]82.5375488471579[/C][C]251[/C][/ROW]
[ROW][C]3[/C][C]29985.5833333333[/C][C]82.1865487040233[/C][C]250[/C][/ROW]
[ROW][C]4[/C][C]30259.25[/C][C]82.2116171839479[/C][C]251[/C][/ROW]
[ROW][C]5[/C][C]30532.9166666667[/C][C]82.36223575637[/C][C]251[/C][/ROW]
[ROW][C]6[/C][C]30807.4166666667[/C][C]82.4372580521181[/C][C]251[/C][/ROW]
[ROW][C]7[/C][C]31081.25[/C][C]82.2116171839479[/C][C]251[/C][/ROW]
[ROW][C]8[/C][C]31354.9166666667[/C][C]82.36223575637[/C][C]251[/C][/ROW]
[ROW][C]9[/C][C]31628.75[/C][C]82.2867768014013[/C][C]250[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296512&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296512&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
129437.2582.2116171839479251
229711.583333333382.5375488471579251
329985.583333333382.1865487040233250
430259.2582.2116171839479251
530532.916666666782.36223575637251
630807.416666666782.4372580521181251
731081.2582.2116171839479251
831354.916666666782.36223575637251
931628.7582.2867768014013250







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha82.2179135019348
beta3.07946611338806e-06
S.D.6.12348543089093e-05
T-STAT0.0502894331691097
p-value0.961296639363956

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 82.2179135019348 \tabularnewline
beta & 3.07946611338806e-06 \tabularnewline
S.D. & 6.12348543089093e-05 \tabularnewline
T-STAT & 0.0502894331691097 \tabularnewline
p-value & 0.961296639363956 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296512&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]82.2179135019348[/C][/ROW]
[ROW][C]beta[/C][C]3.07946611338806e-06[/C][/ROW]
[ROW][C]S.D.[/C][C]6.12348543089093e-05[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.0502894331691097[/C][/ROW]
[ROW][C]p-value[/C][C]0.961296639363956[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296512&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296512&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)
alpha82.2179135019348
beta3.07946611338806e-06
S.D.6.12348543089093e-05
T-STAT0.0502894331691097
p-value0.961296639363956







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha4.39803641018906
beta0.00120844724472869
S.D.0.0226957257216156
T-STAT0.0532455872771565
p-value0.959023934511366
Lambda0.998791552755271

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 4.39803641018906 \tabularnewline
beta & 0.00120844724472869 \tabularnewline
S.D. & 0.0226957257216156 \tabularnewline
T-STAT & 0.0532455872771565 \tabularnewline
p-value & 0.959023934511366 \tabularnewline
Lambda & 0.998791552755271 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296512&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]4.39803641018906[/C][/ROW]
[ROW][C]beta[/C][C]0.00120844724472869[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0226957257216156[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.0532455872771565[/C][/ROW]
[ROW][C]p-value[/C][C]0.959023934511366[/C][/ROW]
[ROW][C]Lambda[/C][C]0.998791552755271[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296512&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296512&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)
alpha4.39803641018906
beta0.00120844724472869
S.D.0.0226957257216156
T-STAT0.0532455872771565
p-value0.959023934511366
Lambda0.998791552755271



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