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 computationSun, 04 Aug 2013 09:28:14 -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/04/t137562295163n3e14ysxbww22.htm/, Retrieved Sat, 04 May 2024 11:27:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=210921, Retrieved Sat, 04 May 2024 11:27:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsOngenae Olivier
Estimated Impact163
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [TIJDREEKS A - STA...] [2013-08-04 13:28:14] [084e0343a0486ff05530df6c705c8bb4] [Current]
Feedback Forum

Post a new message
Dataseries X:
545688
544740
543702
541794
561369
560421
545688
535914
536862
536862
537807
539808
544740
538848
544740
539808
555474
562407
532968
525075
531915
530967
525075
526035
537807
535914
537807
537807
550635
552528
517194
517194
530967
524127
512355
517194
528981
523089
522141
509409
528021
531915
493635
492687
512355
501528
482901
490794
499527
501528
495636
483861
508368
508368
465234
462303
474075
452514
430848
437796
452514
440730
432849
416130
438741
439689
396570
395517
403410
378903
352395
363129
377850
362184
361236
345462
371010
375957
327798
317064
323904
297396
269943
278784
295410
275838
278784
267012
291516
294450
235572
231663
242397
213999
188451
197292
218850
193386
191397
171732
193386
200226
139344
139344
148173
124626
98118
111891
136398
109893
120732
105999
129558
137439
74559
69720
79506
55947
37332
45120
562407




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=210921&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
1544221.258555.4719770448725455
253817112002.34224868437332
3530960.7513412.391882983740173
450978817140.96110066649014
5476671.527135.336467083377520
6409214.7532928.7240625318100119
733404937706.5456941075107907
825103238137.193299026106959
9160872.7539095.8855917671120732
1091850.2535968.0527592954100107

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 544221.25 & 8555.47197704487 & 25455 \tabularnewline
2 & 538171 & 12002.342248684 & 37332 \tabularnewline
3 & 530960.75 & 13412.3918829837 & 40173 \tabularnewline
4 & 509788 & 17140.961100666 & 49014 \tabularnewline
5 & 476671.5 & 27135.3364670833 & 77520 \tabularnewline
6 & 409214.75 & 32928.7240625318 & 100119 \tabularnewline
7 & 334049 & 37706.5456941075 & 107907 \tabularnewline
8 & 251032 & 38137.193299026 & 106959 \tabularnewline
9 & 160872.75 & 39095.8855917671 & 120732 \tabularnewline
10 & 91850.25 & 35968.0527592954 & 100107 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=210921&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]544221.25[/C][C]8555.47197704487[/C][C]25455[/C][/ROW]
[ROW][C]2[/C][C]538171[/C][C]12002.342248684[/C][C]37332[/C][/ROW]
[ROW][C]3[/C][C]530960.75[/C][C]13412.3918829837[/C][C]40173[/C][/ROW]
[ROW][C]4[/C][C]509788[/C][C]17140.961100666[/C][C]49014[/C][/ROW]
[ROW][C]5[/C][C]476671.5[/C][C]27135.3364670833[/C][C]77520[/C][/ROW]
[ROW][C]6[/C][C]409214.75[/C][C]32928.7240625318[/C][C]100119[/C][/ROW]
[ROW][C]7[/C][C]334049[/C][C]37706.5456941075[/C][C]107907[/C][/ROW]
[ROW][C]8[/C][C]251032[/C][C]38137.193299026[/C][C]106959[/C][/ROW]
[ROW][C]9[/C][C]160872.75[/C][C]39095.8855917671[/C][C]120732[/C][/ROW]
[ROW][C]10[/C][C]91850.25[/C][C]35968.0527592954[/C][C]100107[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=210921&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=210921&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
1544221.258555.4719770448725455
253817112002.34224868437332
3530960.7513412.391882983740173
450978817140.96110066649014
5476671.527135.336467083377520
6409214.7532928.7240625318100119
733404937706.5456941075107907
825103238137.193299026106959
9160872.7539095.8855917671120732
1091850.2535968.0527592954100107







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha50189.1899737326
beta-0.0623393590904556
S.D.0.0134589047107074
T-STAT-4.63183003598061
p-value0.00168403022727226

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 50189.1899737326 \tabularnewline
beta & -0.0623393590904556 \tabularnewline
S.D. & 0.0134589047107074 \tabularnewline
T-STAT & -4.63183003598061 \tabularnewline
p-value & 0.00168403022727226 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=210921&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]50189.1899737326[/C][/ROW]
[ROW][C]beta[/C][C]-0.0623393590904556[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0134589047107074[/C][/ROW]
[ROW][C]T-STAT[/C][C]-4.63183003598061[/C][/ROW]
[ROW][C]p-value[/C][C]0.00168403022727226[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=210921&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=210921&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)
alpha50189.1899737326
beta-0.0623393590904556
S.D.0.0134589047107074
T-STAT-4.63183003598061
p-value0.00168403022727226







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha18.3003929100299
beta-0.648445226888153
S.D.0.240031778968445
T-STAT-2.70149740036464
p-value0.027011330997544
Lambda1.64844522688815

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 18.3003929100299 \tabularnewline
beta & -0.648445226888153 \tabularnewline
S.D. & 0.240031778968445 \tabularnewline
T-STAT & -2.70149740036464 \tabularnewline
p-value & 0.027011330997544 \tabularnewline
Lambda & 1.64844522688815 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=210921&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]18.3003929100299[/C][/ROW]
[ROW][C]beta[/C][C]-0.648445226888153[/C][/ROW]
[ROW][C]S.D.[/C][C]0.240031778968445[/C][/ROW]
[ROW][C]T-STAT[/C][C]-2.70149740036464[/C][/ROW]
[ROW][C]p-value[/C][C]0.027011330997544[/C][/ROW]
[ROW][C]Lambda[/C][C]1.64844522688815[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=210921&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=210921&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)
alpha18.3003929100299
beta-0.648445226888153
S.D.0.240031778968445
T-STAT-2.70149740036464
p-value0.027011330997544
Lambda1.64844522688815



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