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 computationTue, 31 Jul 2012 12:03:31 -0400
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/Jul/31/t1343750781ugkl3j6824ztv5c.htm/, Retrieved Mon, 29 Apr 2024 14:31:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=168956, Retrieved Mon, 29 Apr 2024 14:31:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsyasmien naciri
Estimated Impact173
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2012-07-31 16:03:31] [d06e8713ea83045a022ab0926c74dd0b] [Current]
Feedback Forum

Post a new message
Dataseries X:
588264
577918
567562
546859
756344
745987
588264
483527
493873
493873
504229
526055
462824
399492
347630
347630
546859
567562
409838
231412
325803
325803
399492
442021
431664
325803
378790
357986
536412
493873
325803
200263
315447
347630
378790
420195
336150
263595
294755
305101
577918
577918
420195
399492
462824
431664
515709
620447
641250
493873
452367
409838
694135
714939
661953
714939
704481
620447
714939
819676
862205
735641
651596
714939
987746
1071790
1051088
1092483
1082137
977399
1155825
1198354
1260562
1071790
998102
1082137
1282389
1460814
1418286
1418286
1439089
1366423
1555307
1555307
1523124
1344597
1376780
1397583
1534503
1712929
1586355
1649698
1596712
1565653
1807421
1754435
1680746
1576009
1680746
1733732
1796963
1880998
1796963
1848826
1785585
1775239
2037699
2059525
1975491
1828123
1953664
2006549
2069882
2164273
2069882
2143570
2111388
1996193
2237951
2237951




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168956&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]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168956&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168956&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'Herman Ole Andreas Wold' @ wold.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1572729.58333333391553.5622150507272817
2400530.595521.8544784386336150
3376054.66666666788117.825471801336149
4433814120490.467181584356852
5636903.083333333123031.384979945409838
6965100.25181972.135429938546758
71325707.66666667188917.196500253557205
81570815.83333333147550.57566311462824
91804419.25140262.783335829483516
102066243.08333333121618.869388578409828

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 572729.583333333 & 91553.5622150507 & 272817 \tabularnewline
2 & 400530.5 & 95521.8544784386 & 336150 \tabularnewline
3 & 376054.666666667 & 88117.825471801 & 336149 \tabularnewline
4 & 433814 & 120490.467181584 & 356852 \tabularnewline
5 & 636903.083333333 & 123031.384979945 & 409838 \tabularnewline
6 & 965100.25 & 181972.135429938 & 546758 \tabularnewline
7 & 1325707.66666667 & 188917.196500253 & 557205 \tabularnewline
8 & 1570815.83333333 & 147550.57566311 & 462824 \tabularnewline
9 & 1804419.25 & 140262.783335829 & 483516 \tabularnewline
10 & 2066243.08333333 & 121618.869388578 & 409828 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168956&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]572729.583333333[/C][C]91553.5622150507[/C][C]272817[/C][/ROW]
[ROW][C]2[/C][C]400530.5[/C][C]95521.8544784386[/C][C]336150[/C][/ROW]
[ROW][C]3[/C][C]376054.666666667[/C][C]88117.825471801[/C][C]336149[/C][/ROW]
[ROW][C]4[/C][C]433814[/C][C]120490.467181584[/C][C]356852[/C][/ROW]
[ROW][C]5[/C][C]636903.083333333[/C][C]123031.384979945[/C][C]409838[/C][/ROW]
[ROW][C]6[/C][C]965100.25[/C][C]181972.135429938[/C][C]546758[/C][/ROW]
[ROW][C]7[/C][C]1325707.66666667[/C][C]188917.196500253[/C][C]557205[/C][/ROW]
[ROW][C]8[/C][C]1570815.83333333[/C][C]147550.57566311[/C][C]462824[/C][/ROW]
[ROW][C]9[/C][C]1804419.25[/C][C]140262.783335829[/C][C]483516[/C][/ROW]
[ROW][C]10[/C][C]2066243.08333333[/C][C]121618.869388578[/C][C]409828[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168956&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168956&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
1572729.58333333391553.5622150507272817
2400530.595521.8544784386336150
3376054.66666666788117.825471801336149
4433814120490.467181584356852
5636903.083333333123031.384979945409838
6965100.25181972.135429938546758
71325707.66666667188917.196500253557205
81570815.83333333147550.57566311462824
91804419.25140262.783335829483516
102066243.08333333121618.869388578409828







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha102291.227850293
beta0.0271981608937098
S.D.0.0172378077251961
T-STAT1.57782018034433
p-value0.153258933819275

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 102291.227850293 \tabularnewline
beta & 0.0271981608937098 \tabularnewline
S.D. & 0.0172378077251961 \tabularnewline
T-STAT & 1.57782018034433 \tabularnewline
p-value & 0.153258933819275 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168956&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]102291.227850293[/C][/ROW]
[ROW][C]beta[/C][C]0.0271981608937098[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0172378077251961[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.57782018034433[/C][/ROW]
[ROW][C]p-value[/C][C]0.153258933819275[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168956&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168956&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)
alpha102291.227850293
beta0.0271981608937098
S.D.0.0172378077251961
T-STAT1.57782018034433
p-value0.153258933819275







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha8.08884311229268
beta0.267764878863797
S.D.0.109132909529842
T-STAT2.4535667565115
p-value0.0397151972375915
Lambda0.732235121136203

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 8.08884311229268 \tabularnewline
beta & 0.267764878863797 \tabularnewline
S.D. & 0.109132909529842 \tabularnewline
T-STAT & 2.4535667565115 \tabularnewline
p-value & 0.0397151972375915 \tabularnewline
Lambda & 0.732235121136203 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168956&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]8.08884311229268[/C][/ROW]
[ROW][C]beta[/C][C]0.267764878863797[/C][/ROW]
[ROW][C]S.D.[/C][C]0.109132909529842[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.4535667565115[/C][/ROW]
[ROW][C]p-value[/C][C]0.0397151972375915[/C][/ROW]
[ROW][C]Lambda[/C][C]0.732235121136203[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168956&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168956&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)
alpha8.08884311229268
beta0.267764878863797
S.D.0.109132909529842
T-STAT2.4535667565115
p-value0.0397151972375915
Lambda0.732235121136203



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