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, 02 Apr 2015 17:50:02 +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/Apr/02/t1427993472j4p2ycjm9nzp6x8.htm/, Retrieved Thu, 09 May 2024 12:10:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=278590, Retrieved Thu, 09 May 2024 12:10:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact78
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [standard deviatio...] [2015-04-02 16:50:02] [09743efd8c85782f9ae22fefb9801b71] [Current]
Feedback Forum

Post a new message
Dataseries X:
551,91
551,46
550,12
549,95
548,01
548,92
548,92
549,06
547,07
546,5
544,95
544,23
544,23
541,6
541,37
540,43
540,47
540,52
540,52
539,7
540,89
540,51
537,43
538,14
538,14
537,74
540,33
540,02
539,21
539,84
539,84
537,3
536,27
536,75
536,21
536,99
536,99
536,57
536,91
536,97
540,45
542,42
542,42
542,98
540,19
537,16
537,35
537,03
537,03
536,27
534,71
537,12
537,07
537,33
537,33
538,79
539,24
537,17
536,46
532,3
532,3
532,89
533,47
532,54
533,8
534,15
534,15
534,15
534,28
535,63
534,21
533,78
533,78
534,55
536,93
536,09
533,91
533,99
533,99
533,76
532,5
529,5
528,62
528,7
521,27
521,19
519,43
516,81
516,78
515,45
516,22
517,01
518,19
516,79
516,87
514,1




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278590&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'Gertrude Mary Cox' @ cox.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1548.4252.390053251593887.67999999999995
2540.4841666666671.696790865847736.80000000000007
3538.221.552727804981824.12
4538.9533333333332.543238212606246.40999999999997
5536.7351.804149258086646.94000000000005
6533.7791666666670.8987208923933273.33000000000004
7533.0266666666672.722560069738278.30999999999995
8517.5091666666672.165126317261187.16999999999996

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 548.425 & 2.39005325159388 & 7.67999999999995 \tabularnewline
2 & 540.484166666667 & 1.69679086584773 & 6.80000000000007 \tabularnewline
3 & 538.22 & 1.55272780498182 & 4.12 \tabularnewline
4 & 538.953333333333 & 2.54323821260624 & 6.40999999999997 \tabularnewline
5 & 536.735 & 1.80414925808664 & 6.94000000000005 \tabularnewline
6 & 533.779166666667 & 0.898720892393327 & 3.33000000000004 \tabularnewline
7 & 533.026666666667 & 2.72256006973827 & 8.30999999999995 \tabularnewline
8 & 517.509166666667 & 2.16512631726118 & 7.16999999999996 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=278590&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]548.425[/C][C]2.39005325159388[/C][C]7.67999999999995[/C][/ROW]
[ROW][C]2[/C][C]540.484166666667[/C][C]1.69679086584773[/C][C]6.80000000000007[/C][/ROW]
[ROW][C]3[/C][C]538.22[/C][C]1.55272780498182[/C][C]4.12[/C][/ROW]
[ROW][C]4[/C][C]538.953333333333[/C][C]2.54323821260624[/C][C]6.40999999999997[/C][/ROW]
[ROW][C]5[/C][C]536.735[/C][C]1.80414925808664[/C][C]6.94000000000005[/C][/ROW]
[ROW][C]6[/C][C]533.779166666667[/C][C]0.898720892393327[/C][C]3.33000000000004[/C][/ROW]
[ROW][C]7[/C][C]533.026666666667[/C][C]2.72256006973827[/C][C]8.30999999999995[/C][/ROW]
[ROW][C]8[/C][C]517.509166666667[/C][C]2.16512631726118[/C][C]7.16999999999996[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=278590&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278590&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
1548.4252.390053251593887.67999999999995
2540.4841666666671.696790865847736.80000000000007
3538.221.552727804981824.12
4538.9533333333332.543238212606246.40999999999997
5536.7351.804149258086646.94000000000005
6533.7791666666670.8987208923933273.33000000000004
7533.0266666666672.722560069738278.30999999999995
8517.5091666666672.165126317261187.16999999999996







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha0.816049026226509
beta0.00215644710367525
S.D.0.0278386513553108
T-STAT0.0774623409788083
p-value0.940774335683372

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 0.816049026226509 \tabularnewline
beta & 0.00215644710367525 \tabularnewline
S.D. & 0.0278386513553108 \tabularnewline
T-STAT & 0.0774623409788083 \tabularnewline
p-value & 0.940774335683372 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=278590&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]0.816049026226509[/C][/ROW]
[ROW][C]beta[/C][C]0.00215644710367525[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0278386513553108[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.0774623409788083[/C][/ROW]
[ROW][C]p-value[/C][C]0.940774335683372[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=278590&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278590&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)
alpha0.816049026226509
beta0.00215644710367525
S.D.0.0278386513553108
T-STAT0.0774623409788083
p-value0.940774335683372







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-4.27468080435549
beta0.780344572091545
S.D.8.82219616521599
T-STAT0.0884524167767063
p-value0.932395544705811
Lambda0.219655427908455

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -4.27468080435549 \tabularnewline
beta & 0.780344572091545 \tabularnewline
S.D. & 8.82219616521599 \tabularnewline
T-STAT & 0.0884524167767063 \tabularnewline
p-value & 0.932395544705811 \tabularnewline
Lambda & 0.219655427908455 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=278590&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-4.27468080435549[/C][/ROW]
[ROW][C]beta[/C][C]0.780344572091545[/C][/ROW]
[ROW][C]S.D.[/C][C]8.82219616521599[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.0884524167767063[/C][/ROW]
[ROW][C]p-value[/C][C]0.932395544705811[/C][/ROW]
[ROW][C]Lambda[/C][C]0.219655427908455[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=278590&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=278590&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-4.27468080435549
beta0.780344572091545
S.D.8.82219616521599
T-STAT0.0884524167767063
p-value0.932395544705811
Lambda0.219655427908455



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