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 computationMon, 28 Apr 2014 08:28:20 -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/2014/Apr/28/t1398688107355y7lsbizbmdrx.htm/, Retrieved Fri, 17 May 2024 04:17:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=234672, Retrieved Fri, 17 May 2024 04:17:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact98
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2014-04-28 12:28:20] [a17c9baa293c9bc97942594e3a0541eb] [Current]
Feedback Forum

Post a new message
Dataseries X:
329.6
327.2
326.3
315.4
308.6
302.6
295.6
291.5
288.1
281.1
282.4
284.9
274.2
265.7
259.7
253.7
249.5
244.6
243
239.2
235.7
231.1
226.7
221.7
219.4
214.2
211.7
207.7
204.7
201.2
199.9
197.8
195.2
194.3
192.8
188.5
183.2
181.4
180.5
180.2
179.2
177.1
174.2
172.1
171.1
169.8
169.5
165.5
167.2
167.6
171.8
175.9
180
184.9
184.6
187.6
191.5
195.5
201.6
203.5
209.1
217.1
227.6
237.2
245.6
253.2
260.5
266.1
273
280.8
284.4
288.5
284.8
288.9
299.6
307.8
311.4
322
317.8
319.1
322.3
323.1
322.8
325
323.2
318.8
328.2
329.2
326.5
330.1
323.8
321.8
319.6
315.5
310.7
306.5
295.1
288
293.9
289.3
287.4
282.6
276.9
272.7
267.9
262.8
256.6
250.7
243.2
235.1
229.6
222.9
217.6
214.1
210.8
208
202.6
199
195.5
192.1
189.4
182.4
179.2
176.5
174
171.7
169.8
168.3
166.4
165.9
166.4
170.6
177.6
183.4
191.9
201.7
210.6
221.6
232.2
240.4
248.4
258.5
265
271.7
273.9
277.8
273.4
270.9
268.3
264.7
264.1
264.5
262.2
258.6
259.4
262.7
264.9
260.5
256.4
254.7
254.8
255.3
256.8
258.7
259.8
261.7
264.7
269.1
279
283.4
285.5
288.2
292.1
295.6
302.4
308.5
314.1
319.8
329.7
339.7




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 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 & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=234672&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]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=234672&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=234672&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'Gwilym Jenkins' @ jenkins.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1302.77518.24420829643348.5
2245.415.916029655664852.5
3202.2833333333339.4369518704961430.9
4175.3166666666675.7059511729315317.7
5184.30833333333312.333064083875136.3
6253.59166666666726.642974797507279.4
7312.0513.961538076248840.2
8321.1583333333337.3765547924529523.6
9276.99166666666714.880827099039744.4
10214.20833333333316.113035848108351.1
11173.3833333333337.2898227105681523.5
12225.2532.436917799995194.1
13266.7083333333336.1117559347588919.2
14259.7833333333334.6086545726162814.4
15303.16666666666719.434099990075260.7

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 302.775 & 18.244208296433 & 48.5 \tabularnewline
2 & 245.4 & 15.9160296556648 & 52.5 \tabularnewline
3 & 202.283333333333 & 9.43695187049614 & 30.9 \tabularnewline
4 & 175.316666666667 & 5.70595117293153 & 17.7 \tabularnewline
5 & 184.308333333333 & 12.3330640838751 & 36.3 \tabularnewline
6 & 253.591666666667 & 26.6429747975072 & 79.4 \tabularnewline
7 & 312.05 & 13.9615380762488 & 40.2 \tabularnewline
8 & 321.158333333333 & 7.37655479245295 & 23.6 \tabularnewline
9 & 276.991666666667 & 14.8808270990397 & 44.4 \tabularnewline
10 & 214.208333333333 & 16.1130358481083 & 51.1 \tabularnewline
11 & 173.383333333333 & 7.28982271056815 & 23.5 \tabularnewline
12 & 225.25 & 32.4369177999951 & 94.1 \tabularnewline
13 & 266.708333333333 & 6.11175593475889 & 19.2 \tabularnewline
14 & 259.783333333333 & 4.60865457261628 & 14.4 \tabularnewline
15 & 303.166666666667 & 19.4340999900752 & 60.7 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=234672&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]302.775[/C][C]18.244208296433[/C][C]48.5[/C][/ROW]
[ROW][C]2[/C][C]245.4[/C][C]15.9160296556648[/C][C]52.5[/C][/ROW]
[ROW][C]3[/C][C]202.283333333333[/C][C]9.43695187049614[/C][C]30.9[/C][/ROW]
[ROW][C]4[/C][C]175.316666666667[/C][C]5.70595117293153[/C][C]17.7[/C][/ROW]
[ROW][C]5[/C][C]184.308333333333[/C][C]12.3330640838751[/C][C]36.3[/C][/ROW]
[ROW][C]6[/C][C]253.591666666667[/C][C]26.6429747975072[/C][C]79.4[/C][/ROW]
[ROW][C]7[/C][C]312.05[/C][C]13.9615380762488[/C][C]40.2[/C][/ROW]
[ROW][C]8[/C][C]321.158333333333[/C][C]7.37655479245295[/C][C]23.6[/C][/ROW]
[ROW][C]9[/C][C]276.991666666667[/C][C]14.8808270990397[/C][C]44.4[/C][/ROW]
[ROW][C]10[/C][C]214.208333333333[/C][C]16.1130358481083[/C][C]51.1[/C][/ROW]
[ROW][C]11[/C][C]173.383333333333[/C][C]7.28982271056815[/C][C]23.5[/C][/ROW]
[ROW][C]12[/C][C]225.25[/C][C]32.4369177999951[/C][C]94.1[/C][/ROW]
[ROW][C]13[/C][C]266.708333333333[/C][C]6.11175593475889[/C][C]19.2[/C][/ROW]
[ROW][C]14[/C][C]259.783333333333[/C][C]4.60865457261628[/C][C]14.4[/C][/ROW]
[ROW][C]15[/C][C]303.166666666667[/C][C]19.4340999900752[/C][C]60.7[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=234672&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=234672&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
1302.77518.24420829643348.5
2245.415.916029655664852.5
3202.2833333333339.4369518704961430.9
4175.3166666666675.7059511729315317.7
5184.30833333333312.333064083875136.3
6253.59166666666726.642974797507279.4
7312.0513.961538076248840.2
8321.1583333333337.3765547924529523.6
9276.99166666666714.880827099039744.4
10214.20833333333316.113035848108351.1
11173.3833333333337.2898227105681523.5
12225.2532.436917799995194.1
13266.7083333333336.1117559347588919.2
14259.7833333333334.6086545726162814.4
15303.16666666666719.434099990075260.7







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha8.41222227035664
beta0.0226858303172908
S.D.0.0433962201757694
T-STAT0.522760512906551
p-value0.609935171008513

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 8.41222227035664 \tabularnewline
beta & 0.0226858303172908 \tabularnewline
S.D. & 0.0433962201757694 \tabularnewline
T-STAT & 0.522760512906551 \tabularnewline
p-value & 0.609935171008513 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=234672&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]8.41222227035664[/C][/ROW]
[ROW][C]beta[/C][C]0.0226858303172908[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0433962201757694[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.522760512906551[/C][/ROW]
[ROW][C]p-value[/C][C]0.609935171008513[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=234672&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=234672&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)
alpha8.41222227035664
beta0.0226858303172908
S.D.0.0433962201757694
T-STAT0.522760512906551
p-value0.609935171008513







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-0.81397859856102
beta0.601419795289097
S.D.0.74687432500142
T-STAT0.80524898922982
p-value0.435157428804319
Lambda0.398580204710903

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -0.81397859856102 \tabularnewline
beta & 0.601419795289097 \tabularnewline
S.D. & 0.74687432500142 \tabularnewline
T-STAT & 0.80524898922982 \tabularnewline
p-value & 0.435157428804319 \tabularnewline
Lambda & 0.398580204710903 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=234672&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.81397859856102[/C][/ROW]
[ROW][C]beta[/C][C]0.601419795289097[/C][/ROW]
[ROW][C]S.D.[/C][C]0.74687432500142[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.80524898922982[/C][/ROW]
[ROW][C]p-value[/C][C]0.435157428804319[/C][/ROW]
[ROW][C]Lambda[/C][C]0.398580204710903[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=234672&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=234672&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-0.81397859856102
beta0.601419795289097
S.D.0.74687432500142
T-STAT0.80524898922982
p-value0.435157428804319
Lambda0.398580204710903



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