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 computationWed, 17 Dec 2008 12:41:10 -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/Dec/17/t12295429552q294g4x4dclv7b.htm/, Retrieved Sun, 19 May 2024 06:00:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34520, Retrieved Sun, 19 May 2024 06:00:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact144
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Standard Deviation-Mean Plot] [SDM Plot: Bel 20] [2008-12-17 19:32:55] [6816386b1f3c2f6c0c9f2aa1e5bc9362]
-    D    [Standard Deviation-Mean Plot] [SDM Plot: Dow Jones] [2008-12-17 19:41:10] [14a75ec03b2c0d8ddd8b141a7b1594fd] [Current]
-    D      [Standard Deviation-Mean Plot] [SDM Plot: Goudprijs] [2008-12-17 19:46:13] [6816386b1f3c2f6c0c9f2aa1e5bc9362]
-    D        [Standard Deviation-Mean Plot] [SDM Plot: Prijs r...] [2008-12-17 19:49:33] [6816386b1f3c2f6c0c9f2aa1e5bc9362]
Feedback Forum

Post a new message
Dataseries X:
10967,87
10433,56
10665,78
10666,71
10682,74
10777,22
10052,6
10213,97
10546,82
10767,2
10444,5
10314,68
9042,56
9220,75
9721,84
9978,53
9923,81
9892,56
10500,98
10179,35
10080,48
9492,44
8616,49
8685,4
8160,67
8048,1
8641,21
8526,63
8474,21
7916,13
7977,64
8334,59
8623,36
9098,03
9154,34
9284,73
9492,49
9682,35
9762,12
10124,63
10540,05
10601,61
10323,73
10418,4
10092,96
10364,91
10152,09
10032,8
10204,59
10001,6
10411,75
10673,38
10539,51
10723,78
10682,06
10283,19
10377,18
10486,64
10545,38
10554,27
10532,54
10324,31
10695,25
10827,81
10872,48
10971,19
11145,65
11234,68
11333,88
10997,97
11036,89
11257,35
11533,59
11963,12
12185,15
12377,62
12512,89
12631,48
12268,53
12754,8
13407,75
13480,21
13673,28
13239,71
13557,69
13901,28
13200,58
13406,97
12538,12
12419,57
12193,88
12656,63
12812,48
12056,67
11322,38
11530,75
11114,08
9181,73
8614,55




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34520&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
110544.4708333333262.522110669086915.27
29611.26583333333602.6643684726311884.49
38519.97466.49871741031368.6
410132.345346.3919759332031109.12
510456.9441666667213.909799404002722.18
610935.8333333333304.6069470745221009.57
712669.0108333333663.1915231728562139.69
812633.0833333333793.711122470472578.9

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 10544.4708333333 & 262.522110669086 & 915.27 \tabularnewline
2 & 9611.26583333333 & 602.664368472631 & 1884.49 \tabularnewline
3 & 8519.97 & 466.4987174103 & 1368.6 \tabularnewline
4 & 10132.345 & 346.391975933203 & 1109.12 \tabularnewline
5 & 10456.9441666667 & 213.909799404002 & 722.18 \tabularnewline
6 & 10935.8333333333 & 304.606947074522 & 1009.57 \tabularnewline
7 & 12669.0108333333 & 663.191523172856 & 2139.69 \tabularnewline
8 & 12633.0833333333 & 793.71112247047 & 2578.9 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34520&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]10544.4708333333[/C][C]262.522110669086[/C][C]915.27[/C][/ROW]
[ROW][C]2[/C][C]9611.26583333333[/C][C]602.664368472631[/C][C]1884.49[/C][/ROW]
[ROW][C]3[/C][C]8519.97[/C][C]466.4987174103[/C][C]1368.6[/C][/ROW]
[ROW][C]4[/C][C]10132.345[/C][C]346.391975933203[/C][C]1109.12[/C][/ROW]
[ROW][C]5[/C][C]10456.9441666667[/C][C]213.909799404002[/C][C]722.18[/C][/ROW]
[ROW][C]6[/C][C]10935.8333333333[/C][C]304.606947074522[/C][C]1009.57[/C][/ROW]
[ROW][C]7[/C][C]12669.0108333333[/C][C]663.191523172856[/C][C]2139.69[/C][/ROW]
[ROW][C]8[/C][C]12633.0833333333[/C][C]793.71112247047[/C][C]2578.9[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34520&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34520&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
110544.4708333333262.522110669086915.27
29611.26583333333602.6643684726311884.49
38519.97466.49871741031368.6
410132.345346.3919759332031109.12
510456.9441666667213.909799404002722.18
610935.8333333333304.6069470745221009.57
712669.0108333333663.1915231728562139.69
812633.0833333333793.711122470472578.9







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-301.320177103465
beta0.0709222298493122
S.D.0.0533288132828845
T-STAT1.32990452034068
p-value0.231869877466742

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -301.320177103465 \tabularnewline
beta & 0.0709222298493122 \tabularnewline
S.D. & 0.0533288132828845 \tabularnewline
T-STAT & 1.32990452034068 \tabularnewline
p-value & 0.231869877466742 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34520&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-301.320177103465[/C][/ROW]
[ROW][C]beta[/C][C]0.0709222298493122[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0533288132828845[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.32990452034068[/C][/ROW]
[ROW][C]p-value[/C][C]0.231869877466742[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34520&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34520&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)
alpha-301.320177103465
beta0.0709222298493122
S.D.0.0533288132828845
T-STAT1.32990452034068
p-value0.231869877466742







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-4.90521417310713
beta1.17950708192847
S.D.1.37627792540319
T-STAT0.857026811341843
p-value0.424332583035766
Lambda-0.179507081928466

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -4.90521417310713 \tabularnewline
beta & 1.17950708192847 \tabularnewline
S.D. & 1.37627792540319 \tabularnewline
T-STAT & 0.857026811341843 \tabularnewline
p-value & 0.424332583035766 \tabularnewline
Lambda & -0.179507081928466 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34520&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-4.90521417310713[/C][/ROW]
[ROW][C]beta[/C][C]1.17950708192847[/C][/ROW]
[ROW][C]S.D.[/C][C]1.37627792540319[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.857026811341843[/C][/ROW]
[ROW][C]p-value[/C][C]0.424332583035766[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.179507081928466[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34520&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34520&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.90521417310713
beta1.17950708192847
S.D.1.37627792540319
T-STAT0.857026811341843
p-value0.424332583035766
Lambda-0.179507081928466



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