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, 19 May 2011 18:24:47 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/May/19/t1305829291pxlgk8k6176b6bl.htm/, Retrieved Sat, 11 May 2024 09:06:53 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=122183, Retrieved Sat, 11 May 2024 09:06:53 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact82
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [inflation in cons...] [2011-05-19 18:24:47] [5e78ed906b09bab42b8ec3dd93b6358a] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.440
0.548
0.163
0.381
0.164
0.109
0.328
0.435
0.325
0.108
0.054
0.270
0.431
0.215
0.214
0.160
0.427
0.372
0.106
0.053
0.317
0.527
0.472
0.000
0.052
0.418
0.364
0.311
0.052
0.052
0.620
0.616
1.377
0.151
0.502
0.000
0.606
0.050
0.150
0.501
0.299
0.248
0.545
0.444
0.491
0.444
0.050
0.545
0.138
0.423
0.495
0.370
0.388
0.169
0.241
0.014
0.376
0.331
0.789
0.289
0.359
0.236
0.367
0.309
0.551
0.901
0.870
0.160
0.032
0.877
1.812
0.784
0.270
0.462
0.146
0.108
0.132
0.680
0.117
0.345
0.204
0.227
0.236
0.092
0.138
0.046
0.023
0.009
0.142
0.207
0.346
0.207
0.165
0.247
0.123
0.433




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' @ www.yougetit.org

\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' @ www.yougetit.org \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=122183&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' @ www.yougetit.org[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=122183&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=122183&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' @ www.yougetit.org







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
10.2770833333333330.1575444862618660.494
20.27450.1744964183013510.527
30.376250.3870722565854881.377
40.3644166666666670.1982768763546820.556
50.335250.1966880894854960.775
60.6048333333333330.4853229165548781.78
70.2515833333333330.1731097698694170.588
80.1738333333333330.1263414085529820.424

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 0.277083333333333 & 0.157544486261866 & 0.494 \tabularnewline
2 & 0.2745 & 0.174496418301351 & 0.527 \tabularnewline
3 & 0.37625 & 0.387072256585488 & 1.377 \tabularnewline
4 & 0.364416666666667 & 0.198276876354682 & 0.556 \tabularnewline
5 & 0.33525 & 0.196688089485496 & 0.775 \tabularnewline
6 & 0.604833333333333 & 0.485322916554878 & 1.78 \tabularnewline
7 & 0.251583333333333 & 0.173109769869417 & 0.588 \tabularnewline
8 & 0.173833333333333 & 0.126341408552982 & 0.424 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=122183&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]0.277083333333333[/C][C]0.157544486261866[/C][C]0.494[/C][/ROW]
[ROW][C]2[/C][C]0.2745[/C][C]0.174496418301351[/C][C]0.527[/C][/ROW]
[ROW][C]3[/C][C]0.37625[/C][C]0.387072256585488[/C][C]1.377[/C][/ROW]
[ROW][C]4[/C][C]0.364416666666667[/C][C]0.198276876354682[/C][C]0.556[/C][/ROW]
[ROW][C]5[/C][C]0.33525[/C][C]0.196688089485496[/C][C]0.775[/C][/ROW]
[ROW][C]6[/C][C]0.604833333333333[/C][C]0.485322916554878[/C][C]1.78[/C][/ROW]
[ROW][C]7[/C][C]0.251583333333333[/C][C]0.173109769869417[/C][C]0.588[/C][/ROW]
[ROW][C]8[/C][C]0.173833333333333[/C][C]0.126341408552982[/C][C]0.424[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=122183&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=122183&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
10.2770833333333330.1575444862618660.494
20.27450.1744964183013510.527
30.376250.3870722565854881.377
40.3644166666666670.1982768763546820.556
50.335250.1966880894854960.775
60.6048333333333330.4853229165548781.78
70.2515833333333330.1731097698694170.588
80.1738333333333330.1263414085529820.424







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.0612536045621759
beta0.898835879395566
S.D.0.173154515058649
T-STAT5.19094682048066
p-value0.002032609486455

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -0.0612536045621759 \tabularnewline
beta & 0.898835879395566 \tabularnewline
S.D. & 0.173154515058649 \tabularnewline
T-STAT & 5.19094682048066 \tabularnewline
p-value & 0.002032609486455 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=122183&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.0612536045621759[/C][/ROW]
[ROW][C]beta[/C][C]0.898835879395566[/C][/ROW]
[ROW][C]S.D.[/C][C]0.173154515058649[/C][/ROW]
[ROW][C]T-STAT[/C][C]5.19094682048066[/C][/ROW]
[ROW][C]p-value[/C][C]0.002032609486455[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=122183&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=122183&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-0.0612536045621759
beta0.898835879395566
S.D.0.173154515058649
T-STAT5.19094682048066
p-value0.002032609486455







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-0.216577267770943
beta1.14121394566926
S.D.0.230168293007478
T-STAT4.95817182617844
p-value0.0025569271381409
Lambda-0.141213945669263

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -0.216577267770943 \tabularnewline
beta & 1.14121394566926 \tabularnewline
S.D. & 0.230168293007478 \tabularnewline
T-STAT & 4.95817182617844 \tabularnewline
p-value & 0.0025569271381409 \tabularnewline
Lambda & -0.141213945669263 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=122183&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.216577267770943[/C][/ROW]
[ROW][C]beta[/C][C]1.14121394566926[/C][/ROW]
[ROW][C]S.D.[/C][C]0.230168293007478[/C][/ROW]
[ROW][C]T-STAT[/C][C]4.95817182617844[/C][/ROW]
[ROW][C]p-value[/C][C]0.0025569271381409[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.141213945669263[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=122183&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=122183&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-0.216577267770943
beta1.14121394566926
S.D.0.230168293007478
T-STAT4.95817182617844
p-value0.0025569271381409
Lambda-0.141213945669263



Parameters (Session):
par1 = Studio 100 PRIJS 2005 ; par2 = Studio 100 PRIJS 2005 ; par3 = Studio 100 PRIJS 2005 ; par4 = 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')