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, 13 Aug 2013 07:07:21 -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/2013/Aug/13/t1376392071eg065s9nybvkbdy.htm/, Retrieved Thu, 02 May 2024 23:35:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=211065, Retrieved Thu, 02 May 2024 23:35:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsStefanie Gubbi
Estimated Impact173
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Tijdreeks 1 - Sta...] [2013-08-13 11:07:21] [3958f9c0a64aeec6b83979b094ee8a96] [Current]
Feedback Forum

Post a new message
Dataseries X:
196.09
192.64
189.19
182.29
252.11
248.66
196.09
161.18
164.62
164.62
168.08
175.35
154.27
133.16
115.88
115.88
182.29
189.19
136.61
77.14
108.60
108.60
133.16
147.34
143.89
108.60
126.26
119.33
178.80
164.62
108.60
66.75
105.15
115.88
126.26
140.07
112.05
87.87
98.25
101.70
192.64
192.64
140.07
133.16
154.27
143.89
171.90
206.82
213.75
164.62
150.79
136.61
231.38
238.31
220.65
238.31
234.83
206.82
238.31
273.23
287.40
245.21
217.20
238.31
329.25
357.26
350.36
364.16
360.71
325.80
385.28
399.45
420.19
357.26
332.70
360.71
427.46
486.94
472.76
472.76
479.70
455.47
518.44
518.44
507.71
448.20
458.93
465.86
511.50
570.98
528.79
549.90
532.24
521.88
602.47
584.81
560.25
525.34
560.25
577.91
598.99
627.00
598.99
616.28
595.20
591.75
679.23
686.51
658.50
609.37
651.22
668.85
689.96
721.42
689.96
714.52
703.80
665.40
745.98
745.98




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211065&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 time2 seconds
R Server'Sir Maurice George Kendall' @ kendall.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1190.9130.51668187610390.93
2133.5131.840624708353112.05
3125.35083333333329.3724482708582112.05
4144.60540.163570897926118.95
5212.30083333333341.0114911742225136.62
6321.69916666666760.6578965043574182.25
7441.902562.9741882368555185.74
8523.60583333333349.1827923452785154.27
9601.47546.7533715847901161.17
10688.74666666666740.538846091425136.61

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 190.91 & 30.516681876103 & 90.93 \tabularnewline
2 & 133.51 & 31.840624708353 & 112.05 \tabularnewline
3 & 125.350833333333 & 29.3724482708582 & 112.05 \tabularnewline
4 & 144.605 & 40.163570897926 & 118.95 \tabularnewline
5 & 212.300833333333 & 41.0114911742225 & 136.62 \tabularnewline
6 & 321.699166666667 & 60.6578965043574 & 182.25 \tabularnewline
7 & 441.9025 & 62.9741882368555 & 185.74 \tabularnewline
8 & 523.605833333333 & 49.1827923452785 & 154.27 \tabularnewline
9 & 601.475 & 46.7533715847901 & 161.17 \tabularnewline
10 & 688.746666666667 & 40.538846091425 & 136.61 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211065&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]190.91[/C][C]30.516681876103[/C][C]90.93[/C][/ROW]
[ROW][C]2[/C][C]133.51[/C][C]31.840624708353[/C][C]112.05[/C][/ROW]
[ROW][C]3[/C][C]125.350833333333[/C][C]29.3724482708582[/C][C]112.05[/C][/ROW]
[ROW][C]4[/C][C]144.605[/C][C]40.163570897926[/C][C]118.95[/C][/ROW]
[ROW][C]5[/C][C]212.300833333333[/C][C]41.0114911742225[/C][C]136.62[/C][/ROW]
[ROW][C]6[/C][C]321.699166666667[/C][C]60.6578965043574[/C][C]182.25[/C][/ROW]
[ROW][C]7[/C][C]441.9025[/C][C]62.9741882368555[/C][C]185.74[/C][/ROW]
[ROW][C]8[/C][C]523.605833333333[/C][C]49.1827923452785[/C][C]154.27[/C][/ROW]
[ROW][C]9[/C][C]601.475[/C][C]46.7533715847901[/C][C]161.17[/C][/ROW]
[ROW][C]10[/C][C]688.746666666667[/C][C]40.538846091425[/C][C]136.61[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211065&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211065&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
1190.9130.51668187610390.93
2133.5131.840624708353112.05
3125.35083333333329.3724482708582112.05
4144.60540.163570897926118.95
5212.30083333333341.0114911742225136.62
6321.69916666666760.6578965043574182.25
7441.902562.9741882368555185.74
8523.60583333333349.1827923452785154.27
9601.47546.7533715847901161.17
10688.74666666666740.538846091425136.61







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha34.097402003825
beta0.02719710794661
S.D.0.0172389636637764
T-STAT1.57765330196492
p-value0.153297071784556

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 34.097402003825 \tabularnewline
beta & 0.02719710794661 \tabularnewline
S.D. & 0.0172389636637764 \tabularnewline
T-STAT & 1.57765330196492 \tabularnewline
p-value & 0.153297071784556 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211065&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]34.097402003825[/C][/ROW]
[ROW][C]beta[/C][C]0.02719710794661[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0172389636637764[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.57765330196492[/C][/ROW]
[ROW][C]p-value[/C][C]0.153297071784556[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211065&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211065&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)
alpha34.097402003825
beta0.02719710794661
S.D.0.0172389636637764
T-STAT1.57765330196492
p-value0.153297071784556







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha2.22632205045318
beta0.267760338623908
S.D.0.109141245679486
T-STAT2.45333775473147
p-value0.0397293832569664
Lambda0.732239661376092

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 2.22632205045318 \tabularnewline
beta & 0.267760338623908 \tabularnewline
S.D. & 0.109141245679486 \tabularnewline
T-STAT & 2.45333775473147 \tabularnewline
p-value & 0.0397293832569664 \tabularnewline
Lambda & 0.732239661376092 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211065&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]2.22632205045318[/C][/ROW]
[ROW][C]beta[/C][C]0.267760338623908[/C][/ROW]
[ROW][C]S.D.[/C][C]0.109141245679486[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.45333775473147[/C][/ROW]
[ROW][C]p-value[/C][C]0.0397293832569664[/C][/ROW]
[ROW][C]Lambda[/C][C]0.732239661376092[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211065&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211065&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)
alpha2.22632205045318
beta0.267760338623908
S.D.0.109141245679486
T-STAT2.45333775473147
p-value0.0397293832569664
Lambda0.732239661376092



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