Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationTue, 20 Dec 2011 11:36:34 -0500
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/Dec/20/t1324399068fmv7g6gtghm4sv9.htm/, Retrieved Mon, 06 May 2024 03:44:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=158043, Retrieved Mon, 06 May 2024 03:44:11 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact122
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Paper Standard de...] [2011-12-20 16:36:34] [c98b04636162cea751932dfe577607eb] [Current]
- R  D    [Standard Deviation-Mean Plot] [StandardDeviation...] [2011-12-23 10:07:06] [7156a20ff7d97880b6dc50f7239ba03b]
Feedback Forum

Post a new message
Dataseries X:
276687
277915
277128
277103
275037
270150
267140
264993
287259
291186
292300
288186
281477
282656
280190
280408
276836
275216
274352
271311
289802
290726
292300
278506
269826
265861
269034
264176
255198
253353
246057
235372
258556
260993
254663
250643
243422
247105
248541
245039
237080
237085
225554
226839
247934
248333
246969
245098
246263
255765
264319
268347
273046
273963
267430
271993
292710
295881
293299
288576
286445
297584
300431
298522
292213
285383
277537
277891
302686
300653
296369
287224
279998
283495
285775
282329
277799
271980
266730
262433
285378
286692
282917
277686
274371




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=158043&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=158043&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=158043&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
12787579154.1713790142527307
2281148.3333333336732.2756430001720989
3256977.66666666710034.646311956434454
4241583.258181.5613993795922987
5274299.33333333315633.057139125149618
6291911.58834.843153415625149
72786017798.192716031324259

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 278757 & 9154.17137901425 & 27307 \tabularnewline
2 & 281148.333333333 & 6732.27564300017 & 20989 \tabularnewline
3 & 256977.666666667 & 10034.6463119564 & 34454 \tabularnewline
4 & 241583.25 & 8181.56139937959 & 22987 \tabularnewline
5 & 274299.333333333 & 15633.0571391251 & 49618 \tabularnewline
6 & 291911.5 & 8834.8431534156 & 25149 \tabularnewline
7 & 278601 & 7798.1927160313 & 24259 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=158043&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]278757[/C][C]9154.17137901425[/C][C]27307[/C][/ROW]
[ROW][C]2[/C][C]281148.333333333[/C][C]6732.27564300017[/C][C]20989[/C][/ROW]
[ROW][C]3[/C][C]256977.666666667[/C][C]10034.6463119564[/C][C]34454[/C][/ROW]
[ROW][C]4[/C][C]241583.25[/C][C]8181.56139937959[/C][C]22987[/C][/ROW]
[ROW][C]5[/C][C]274299.333333333[/C][C]15633.0571391251[/C][C]49618[/C][/ROW]
[ROW][C]6[/C][C]291911.5[/C][C]8834.8431534156[/C][C]25149[/C][/ROW]
[ROW][C]7[/C][C]278601[/C][C]7798.1927160313[/C][C]24259[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=158043&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=158043&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
12787579154.1713790142527307
2281148.3333333336732.2756430001720989
3256977.66666666710034.646311956434454
4241583.258181.5613993795922987
5274299.33333333315633.057139125149618
6291911.58834.843153415625149
72786017798.192716031324259







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha10422.8444951427
beta-0.0034630586995113
S.D.0.0766853592865994
T-STAT-0.0451593202630591
p-value0.965728417148268

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 10422.8444951427 \tabularnewline
beta & -0.0034630586995113 \tabularnewline
S.D. & 0.0766853592865994 \tabularnewline
T-STAT & -0.0451593202630591 \tabularnewline
p-value & 0.965728417148268 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=158043&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]10422.8444951427[/C][/ROW]
[ROW][C]beta[/C][C]-0.0034630586995113[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0766853592865994[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.0451593202630591[/C][/ROW]
[ROW][C]p-value[/C][C]0.965728417148268[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=158043&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=158043&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)
alpha10422.8444951427
beta-0.0034630586995113
S.D.0.0766853592865994
T-STAT-0.0451593202630591
p-value0.965728417148268







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha11.1002967403231
beta-0.157989627155607
S.D.1.86613811804242
T-STAT-0.0846612721899376
p-value0.935816011188209
Lambda1.15798962715561

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 11.1002967403231 \tabularnewline
beta & -0.157989627155607 \tabularnewline
S.D. & 1.86613811804242 \tabularnewline
T-STAT & -0.0846612721899376 \tabularnewline
p-value & 0.935816011188209 \tabularnewline
Lambda & 1.15798962715561 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=158043&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]11.1002967403231[/C][/ROW]
[ROW][C]beta[/C][C]-0.157989627155607[/C][/ROW]
[ROW][C]S.D.[/C][C]1.86613811804242[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.0846612721899376[/C][/ROW]
[ROW][C]p-value[/C][C]0.935816011188209[/C][/ROW]
[ROW][C]Lambda[/C][C]1.15798962715561[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=158043&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=158043&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)
alpha11.1002967403231
beta-0.157989627155607
S.D.1.86613811804242
T-STAT-0.0846612721899376
p-value0.935816011188209
Lambda1.15798962715561



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