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 computationFri, 26 Jul 2013 06:21:52 -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/Jul/26/t1374834131z14hm6h5nscj736.htm/, Retrieved Mon, 29 Apr 2024 01:59:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=210829, Retrieved Mon, 29 Apr 2024 01:59:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsAlexandra De Schutter
Estimated Impact148
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [omzet Oregon Scie...] [2013-07-26 10:21:52] [a5e81fc5b84eaf53b9dc73271fe36a59] [Current]
Feedback Forum

Post a new message
Dataseries X:
323898
323268
322574
321304
334352
333712
323898
317374
318014
318014
318646
319980
319980
314086
311490
314086
323268
321934
309526
299020
297054
293126
295784
299020
297748
295090
289900
295090
299712
298380
283312
276788
270264
265010
264380
268300
263046
261082
259118
270264
271536
265010
247340
239490
227082
221820
224416
228344
228344
225118
224416
234930
243420
239490
226380
219864
206122
197634
204158
210682
210682
202194
201562
212638
219864
217260
204158
195670
177304
170150
172744
183892
184522
168184
174078
188452
194976
191046
173384
160968
146594
135448
140008
149820
147226
132852
137412
151786
159642
155082
137412
129564
117786
105368
107332
117146
118416
106638
108604
125004
128924
122346
98150
85742
69342
53004
58258
65412
64150
51670
58888
76560
84408
80488
64782
52372
39262
24186
26854
31414




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=210829&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
1322919.55702.7074351494716978
2308197.83333333310914.830360013830142
3283664.513997.768682576135332
4248212.33333333319064.324241574349716
5221713.16666666714468.502654407845786
6197343.16666666717407.899365900949714
716729020651.569836873759528
8133217.33333333318360.246588427954274
994986.666666666727651.655618140575920
1054586.166666666720748.390771480660222

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 322919.5 & 5702.70743514947 & 16978 \tabularnewline
2 & 308197.833333333 & 10914.8303600138 & 30142 \tabularnewline
3 & 283664.5 & 13997.7686825761 & 35332 \tabularnewline
4 & 248212.333333333 & 19064.3242415743 & 49716 \tabularnewline
5 & 221713.166666667 & 14468.5026544078 & 45786 \tabularnewline
6 & 197343.166666667 & 17407.8993659009 & 49714 \tabularnewline
7 & 167290 & 20651.5698368737 & 59528 \tabularnewline
8 & 133217.333333333 & 18360.2465884279 & 54274 \tabularnewline
9 & 94986.6666666667 & 27651.6556181405 & 75920 \tabularnewline
10 & 54586.1666666667 & 20748.3907714806 & 60222 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=210829&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]322919.5[/C][C]5702.70743514947[/C][C]16978[/C][/ROW]
[ROW][C]2[/C][C]308197.833333333[/C][C]10914.8303600138[/C][C]30142[/C][/ROW]
[ROW][C]3[/C][C]283664.5[/C][C]13997.7686825761[/C][C]35332[/C][/ROW]
[ROW][C]4[/C][C]248212.333333333[/C][C]19064.3242415743[/C][C]49716[/C][/ROW]
[ROW][C]5[/C][C]221713.166666667[/C][C]14468.5026544078[/C][C]45786[/C][/ROW]
[ROW][C]6[/C][C]197343.166666667[/C][C]17407.8993659009[/C][C]49714[/C][/ROW]
[ROW][C]7[/C][C]167290[/C][C]20651.5698368737[/C][C]59528[/C][/ROW]
[ROW][C]8[/C][C]133217.333333333[/C][C]18360.2465884279[/C][C]54274[/C][/ROW]
[ROW][C]9[/C][C]94986.6666666667[/C][C]27651.6556181405[/C][C]75920[/C][/ROW]
[ROW][C]10[/C][C]54586.1666666667[/C][C]20748.3907714806[/C][C]60222[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=210829&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=210829&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
1322919.55702.7074351494716978
2308197.83333333310914.830360013830142
3283664.513997.768682576135332
4248212.33333333319064.324241574349716
5221713.16666666714468.502654407845786
6197343.16666666717407.899365900949714
716729020651.569836873759528
8133217.33333333318360.246588427954274
994986.666666666727651.655618140575920
1054586.166666666720748.390771480660222







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha28192.2300647172
beta-0.0555842234682221
S.D.0.012833447230388
T-STAT-4.33119975251899
p-value0.00250792527404546

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 28192.2300647172 \tabularnewline
beta & -0.0555842234682221 \tabularnewline
S.D. & 0.012833447230388 \tabularnewline
T-STAT & -4.33119975251899 \tabularnewline
p-value & 0.00250792527404546 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=210829&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]28192.2300647172[/C][/ROW]
[ROW][C]beta[/C][C]-0.0555842234682221[/C][/ROW]
[ROW][C]S.D.[/C][C]0.012833447230388[/C][/ROW]
[ROW][C]T-STAT[/C][C]-4.33119975251899[/C][/ROW]
[ROW][C]p-value[/C][C]0.00250792527404546[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=210829&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=210829&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)
alpha28192.2300647172
beta-0.0555842234682221
S.D.0.012833447230388
T-STAT-4.33119975251899
p-value0.00250792527404546







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha16.0671101163934
beta-0.529397444633802
S.D.0.196801970471614
T-STAT-2.69000073203109
p-value0.0274966041238496
Lambda1.5293974446338

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 16.0671101163934 \tabularnewline
beta & -0.529397444633802 \tabularnewline
S.D. & 0.196801970471614 \tabularnewline
T-STAT & -2.69000073203109 \tabularnewline
p-value & 0.0274966041238496 \tabularnewline
Lambda & 1.5293974446338 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=210829&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]16.0671101163934[/C][/ROW]
[ROW][C]beta[/C][C]-0.529397444633802[/C][/ROW]
[ROW][C]S.D.[/C][C]0.196801970471614[/C][/ROW]
[ROW][C]T-STAT[/C][C]-2.69000073203109[/C][/ROW]
[ROW][C]p-value[/C][C]0.0274966041238496[/C][/ROW]
[ROW][C]Lambda[/C][C]1.5293974446338[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=210829&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=210829&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)
alpha16.0671101163934
beta-0.529397444633802
S.D.0.196801970471614
T-STAT-2.69000073203109
p-value0.0274966041238496
Lambda1.5293974446338



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