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 computationSun, 30 Nov 2008 09:10:30 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/30/t122806147293c6py9pnjm6zva.htm/, Retrieved Sun, 19 May 2024 11:14:53 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=26590, Retrieved Sun, 19 May 2024 11:14:53 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact174
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Univariate Data Series] [Airline data] [2007-10-18 09:58:47] [42daae401fd3def69a25014f2252b4c2]
- RMPD    [Standard Deviation-Mean Plot] [Taak 7 sdm belgie] [2008-11-30 16:10:30] [bda7fba231d49184c6a1b627868bbb81] [Current]
Feedback Forum

Post a new message
Dataseries X:
512927
502831
470984
471067
476049
474605
470439
461251
454724
455626
516847
525192
522975
518585
509239
512238
519164
517009
509933
509127
500857
506971
569323
579714
577992
565464
547344
554788
562325
560854
555332
543599
536662
542722
593530
610763
612613
611324
594167
595454
590865
589379
584428
573100
567456
569028
620735
628884
628232
612117
595404
597141
593408
590072
579799
574205
572775
572942
619567
625809
619916




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

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

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1489452.2521672.936385809241943
24705866662.3460332428414798
3488097.2538169.46639549370468
4515759.256190.4435153441713736
5513808.255028.6022826096210037
6539216.2541059.600415128378857
756139713330.418898144230648
8555527.58503.03751608818726
9570919.2536821.255250873874101
10603389.59934.0476644719218446
115844438047.1538239719717765
12596525.7532834.538465615761428
13608223.515304.256499418732828
145843718914.7725714120219203
15597773.2528881.795285554353034

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 489452.25 & 21672.9363858092 & 41943 \tabularnewline
2 & 470586 & 6662.34603324284 & 14798 \tabularnewline
3 & 488097.25 & 38169.466395493 & 70468 \tabularnewline
4 & 515759.25 & 6190.44351534417 & 13736 \tabularnewline
5 & 513808.25 & 5028.60228260962 & 10037 \tabularnewline
6 & 539216.25 & 41059.6004151283 & 78857 \tabularnewline
7 & 561397 & 13330.4188981442 & 30648 \tabularnewline
8 & 555527.5 & 8503.037516088 & 18726 \tabularnewline
9 & 570919.25 & 36821.2552508738 & 74101 \tabularnewline
10 & 603389.5 & 9934.04766447192 & 18446 \tabularnewline
11 & 584443 & 8047.15382397197 & 17765 \tabularnewline
12 & 596525.75 & 32834.5384656157 & 61428 \tabularnewline
13 & 608223.5 & 15304.2564994187 & 32828 \tabularnewline
14 & 584371 & 8914.77257141202 & 19203 \tabularnewline
15 & 597773.25 & 28881.7952855543 & 53034 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=26590&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]489452.25[/C][C]21672.9363858092[/C][C]41943[/C][/ROW]
[ROW][C]2[/C][C]470586[/C][C]6662.34603324284[/C][C]14798[/C][/ROW]
[ROW][C]3[/C][C]488097.25[/C][C]38169.466395493[/C][C]70468[/C][/ROW]
[ROW][C]4[/C][C]515759.25[/C][C]6190.44351534417[/C][C]13736[/C][/ROW]
[ROW][C]5[/C][C]513808.25[/C][C]5028.60228260962[/C][C]10037[/C][/ROW]
[ROW][C]6[/C][C]539216.25[/C][C]41059.6004151283[/C][C]78857[/C][/ROW]
[ROW][C]7[/C][C]561397[/C][C]13330.4188981442[/C][C]30648[/C][/ROW]
[ROW][C]8[/C][C]555527.5[/C][C]8503.037516088[/C][C]18726[/C][/ROW]
[ROW][C]9[/C][C]570919.25[/C][C]36821.2552508738[/C][C]74101[/C][/ROW]
[ROW][C]10[/C][C]603389.5[/C][C]9934.04766447192[/C][C]18446[/C][/ROW]
[ROW][C]11[/C][C]584443[/C][C]8047.15382397197[/C][C]17765[/C][/ROW]
[ROW][C]12[/C][C]596525.75[/C][C]32834.5384656157[/C][C]61428[/C][/ROW]
[ROW][C]13[/C][C]608223.5[/C][C]15304.2564994187[/C][C]32828[/C][/ROW]
[ROW][C]14[/C][C]584371[/C][C]8914.77257141202[/C][C]19203[/C][/ROW]
[ROW][C]15[/C][C]597773.25[/C][C]28881.7952855543[/C][C]53034[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=26590&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=26590&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
1489452.2521672.936385809241943
24705866662.3460332428414798
3488097.2538169.46639549370468
4515759.256190.4435153441713736
5513808.255028.6022826096210037
6539216.2541059.600415128378857
756139713330.418898144230648
8555527.58503.03751608818726
9570919.2536821.255250873874101
10603389.59934.0476644719218446
115844438047.1538239719717765
12596525.7532834.538465615761428
13608223.515304.256499418732828
145843718914.7725714120219203
15597773.2528881.795285554353034







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha13464.0181250537
beta0.00958928734942118
S.D.0.0790283684068637
T-STAT0.121339811800902
p-value0.90527739084316

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 13464.0181250537 \tabularnewline
beta & 0.00958928734942118 \tabularnewline
S.D. & 0.0790283684068637 \tabularnewline
T-STAT & 0.121339811800902 \tabularnewline
p-value & 0.90527739084316 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=26590&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]13464.0181250537[/C][/ROW]
[ROW][C]beta[/C][C]0.00958928734942118[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0790283684068637[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.121339811800902[/C][/ROW]
[ROW][C]p-value[/C][C]0.90527739084316[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=26590&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=26590&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)
alpha13464.0181250537
beta0.00958928734942118
S.D.0.0790283684068637
T-STAT0.121339811800902
p-value0.90527739084316







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-6.03772392739496
beta1.18243168439341
S.D.2.37151728228363
T-STAT0.498597118910638
p-value0.626392666454881
Lambda-0.182431684393406

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -6.03772392739496 \tabularnewline
beta & 1.18243168439341 \tabularnewline
S.D. & 2.37151728228363 \tabularnewline
T-STAT & 0.498597118910638 \tabularnewline
p-value & 0.626392666454881 \tabularnewline
Lambda & -0.182431684393406 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=26590&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-6.03772392739496[/C][/ROW]
[ROW][C]beta[/C][C]1.18243168439341[/C][/ROW]
[ROW][C]S.D.[/C][C]2.37151728228363[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.498597118910638[/C][/ROW]
[ROW][C]p-value[/C][C]0.626392666454881[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.182431684393406[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=26590&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=26590&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-6.03772392739496
beta1.18243168439341
S.D.2.37151728228363
T-STAT0.498597118910638
p-value0.626392666454881
Lambda-0.182431684393406



Parameters (Session):
par1 = 4 ;
Parameters (R input):
par1 = 4 ;
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')