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 computationThu, 06 Aug 2015 11:58:01 +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/2015/Aug/06/t14388587383e4c7xr1t5x8hkx.htm/, Retrieved Thu, 16 May 2024 08:22:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=279868, Retrieved Thu, 16 May 2024 08:22:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact119
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2015-08-06 10:58:01] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
5947968.00
5925816.00
5903352.00
5856864.00
6316752.00
6292416.00
5947968.00
5718960.00
5741112.00
5741112.00
5765760.00
5810064.00
5879016.00
5879016.00
5834712.00
5718960.00
6316752.00
6407856.00
6270264.00
5947968.00
6085872.00
5879016.00
5972304.00
6016920.00
6063408.00
5947968.00
5972304.00
5810064.00
6316752.00
6476808.00
6339216.00
6085872.00
6361368.00
6063408.00
6339216.00
6316752.00
6385704.00
6132360.00
6407856.00
6385704.00
6799104.00
6705816.00
6339216.00
6154512.00
6407856.00
6063408.00
6316752.00
6361368.00
6454656.00
6248112.00
6361368.00
6430320.00
6683664.00
6476808.00
6201312.00
5903352.00
6179160.00
5421000.00
5787912.00
5994456.00
6201312.00
5903352.00
5903352.00
5903352.00
6063408.00
5834712.00
5534568.00
5283408.00
5465616.00
4754256.00
5190120.00
5443464.00
5489952.00
5236608.00
5258760.00
5190120.00
5421000.00
5258760.00
4938960.00
4707768.00
5098704.00
4249752.00
4801056.00
5052216.00
5052216.00
4754256.00
4478760.00
4456608.00
4707768.00
4478760.00
4043208.00
3743064.00
4065360.00
3307512.00
3996408.00
4363008.00
4478760.00
4225416.00
3905304.00
4134312.00
4225416.00
4156464.00
3467256.00
3147456.00
3376152.00
2687256.00
3398616.00
3651960.00
3858504.00
3514056.00
3191760.00
3376152.00
3467256.00
3285048.00
2596152.00
2296008.00
2571504.00
1813656.00
2640456.00
3147456.00




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=279868&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'Gwilym Jenkins' @ jenkins.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
15914012200415.913793836597792
26017388212654.764806503688896
36174428208587.250819324666744
46371638213412.497427357735696
56178510351439.2470182111262664
65623410419009.9518280071447056
75058638344584.1508749091240200
84287244480272.8608992641744704
93737864536289.072150121791504
102979834593524.1012503962044848

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 5914012 & 200415.913793836 & 597792 \tabularnewline
2 & 6017388 & 212654.764806503 & 688896 \tabularnewline
3 & 6174428 & 208587.250819324 & 666744 \tabularnewline
4 & 6371638 & 213412.497427357 & 735696 \tabularnewline
5 & 6178510 & 351439.247018211 & 1262664 \tabularnewline
6 & 5623410 & 419009.951828007 & 1447056 \tabularnewline
7 & 5058638 & 344584.150874909 & 1240200 \tabularnewline
8 & 4287244 & 480272.860899264 & 1744704 \tabularnewline
9 & 3737864 & 536289.07215012 & 1791504 \tabularnewline
10 & 2979834 & 593524.101250396 & 2044848 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=279868&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]5914012[/C][C]200415.913793836[/C][C]597792[/C][/ROW]
[ROW][C]2[/C][C]6017388[/C][C]212654.764806503[/C][C]688896[/C][/ROW]
[ROW][C]3[/C][C]6174428[/C][C]208587.250819324[/C][C]666744[/C][/ROW]
[ROW][C]4[/C][C]6371638[/C][C]213412.497427357[/C][C]735696[/C][/ROW]
[ROW][C]5[/C][C]6178510[/C][C]351439.247018211[/C][C]1262664[/C][/ROW]
[ROW][C]6[/C][C]5623410[/C][C]419009.951828007[/C][C]1447056[/C][/ROW]
[ROW][C]7[/C][C]5058638[/C][C]344584.150874909[/C][C]1240200[/C][/ROW]
[ROW][C]8[/C][C]4287244[/C][C]480272.860899264[/C][C]1744704[/C][/ROW]
[ROW][C]9[/C][C]3737864[/C][C]536289.07215012[/C][C]1791504[/C][/ROW]
[ROW][C]10[/C][C]2979834[/C][C]593524.101250396[/C][C]2044848[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=279868&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=279868&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
15914012200415.913793836597792
26017388212654.764806503688896
36174428208587.250819324666744
46371638213412.497427357735696
56178510351439.2470182111262664
65623410419009.9518280071447056
75058638344584.1508749091240200
84287244480272.8608992641744704
93737864536289.072150121791504
102979834593524.1012503962044848







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha948289.022383594
beta-0.113151792219188
S.D.0.0185894327362386
T-STAT-6.08688784777212
p-value0.000293686871073619

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 948289.022383594 \tabularnewline
beta & -0.113151792219188 \tabularnewline
S.D. & 0.0185894327362386 \tabularnewline
T-STAT & -6.08688784777212 \tabularnewline
p-value & 0.000293686871073619 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=279868&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]948289.022383594[/C][/ROW]
[ROW][C]beta[/C][C]-0.113151792219188[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0185894327362386[/C][/ROW]
[ROW][C]T-STAT[/C][C]-6.08688784777212[/C][/ROW]
[ROW][C]p-value[/C][C]0.000293686871073619[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=279868&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=279868&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)
alpha948289.022383594
beta-0.113151792219188
S.D.0.0185894327362386
T-STAT-6.08688784777212
p-value0.000293686871073619







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha34.1057901261422
beta-1.38589065989076
S.D.0.316605261909546
T-STAT-4.37734563074543
p-value0.00235715681397508
Lambda2.38589065989076

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 34.1057901261422 \tabularnewline
beta & -1.38589065989076 \tabularnewline
S.D. & 0.316605261909546 \tabularnewline
T-STAT & -4.37734563074543 \tabularnewline
p-value & 0.00235715681397508 \tabularnewline
Lambda & 2.38589065989076 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=279868&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]34.1057901261422[/C][/ROW]
[ROW][C]beta[/C][C]-1.38589065989076[/C][/ROW]
[ROW][C]S.D.[/C][C]0.316605261909546[/C][/ROW]
[ROW][C]T-STAT[/C][C]-4.37734563074543[/C][/ROW]
[ROW][C]p-value[/C][C]0.00235715681397508[/C][/ROW]
[ROW][C]Lambda[/C][C]2.38589065989076[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=279868&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=279868&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)
alpha34.1057901261422
beta-1.38589065989076
S.D.0.316605261909546
T-STAT-4.37734563074543
p-value0.00235715681397508
Lambda2.38589065989076



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