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 computationWed, 12 May 2010 09:28:43 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/May/12/t1273656829j91icqnclcoay5y.htm/, Retrieved Fri, 03 May 2024 12:11:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75820, Retrieved Fri, 03 May 2024 12:11:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact158
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [The total generat...] [2010-05-12 09:28:43] [0e6aef37627b8cf9d1bd74110cef2cca] [Current]
Feedback Forum

Post a new message
Dataseries X:
227.86
198.24
194.97
184.88
196.79
205.36
226.72
226.05
202.50
194.79
192.43
219.25
217.47
192.34
196.83
186.07
197.31
215.02
242.67
225.17
206.69
197.75
196.43
213.55
222.75
194.03
201.85
189.50
206.07
225.59
247.91
247.64
213.01
203.01
200.26
220.50
237.90
216.94
214.01
196.00
208.37
232.75
257.46
267.69
220.18
210.61
209.59
232.75
232.75
219.82
226.74
208.04
220.12
235.69
257.05
258.69
227.15
219.91
219.30
259.04
237.29
212.88
226.03
211.07
222.91
249.18
266.38
268.53
238.02
224.69
213.75
237.43
248.46
210.82
221.40
209.00
234.37
248.43
271.98
268.11
233.88
223.43
221.38
233.76
243.97
217.76
224.66
210.84
220.35
236.84
266.15
255.20
234.76
221.29
221.26
244.13
245.78
224.62
234.80
211.37
222.39
249.63
282.29
279.13
236.60
223.62
225.86
246.41
261.70
225.01
231.54
214.82
227.70
263.86
278.15
274.64
237.66
227.97
224.75
242.91
253.08
228.13
233.68
217.38
236.38
256.08
292.83
304.71
245.57
234.41
234.12
258.17
268.66
245.31
247.47
226.25
251.67
268.79
288.94
290.16
250.69
240.80




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75820&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
1205.8215.134487407603542.98
2207.27516.141767110652656.6
3214.34333333333319.196045678654058.41
4225.35416666666721.175008192907471.69
5232.02517.339937873433951
6234.01333333333319.458701878282657.46
7235.41833333333320.430413084122462.98
8233.10083333333316.73742266372755.31
9240.20833333333322.073206643239570.92
10242.55916666666721.510612373825463.33
11249.54526.019862867362887.33

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 205.82 & 15.1344874076035 & 42.98 \tabularnewline
2 & 207.275 & 16.1417671106526 & 56.6 \tabularnewline
3 & 214.343333333333 & 19.1960456786540 & 58.41 \tabularnewline
4 & 225.354166666667 & 21.1750081929074 & 71.69 \tabularnewline
5 & 232.025 & 17.3399378734339 & 51 \tabularnewline
6 & 234.013333333333 & 19.4587018782826 & 57.46 \tabularnewline
7 & 235.418333333333 & 20.4304130841224 & 62.98 \tabularnewline
8 & 233.100833333333 & 16.737422663727 & 55.31 \tabularnewline
9 & 240.208333333333 & 22.0732066432395 & 70.92 \tabularnewline
10 & 242.559166666667 & 21.5106123738254 & 63.33 \tabularnewline
11 & 249.545 & 26.0198628673628 & 87.33 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75820&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]205.82[/C][C]15.1344874076035[/C][C]42.98[/C][/ROW]
[ROW][C]2[/C][C]207.275[/C][C]16.1417671106526[/C][C]56.6[/C][/ROW]
[ROW][C]3[/C][C]214.343333333333[/C][C]19.1960456786540[/C][C]58.41[/C][/ROW]
[ROW][C]4[/C][C]225.354166666667[/C][C]21.1750081929074[/C][C]71.69[/C][/ROW]
[ROW][C]5[/C][C]232.025[/C][C]17.3399378734339[/C][C]51[/C][/ROW]
[ROW][C]6[/C][C]234.013333333333[/C][C]19.4587018782826[/C][C]57.46[/C][/ROW]
[ROW][C]7[/C][C]235.418333333333[/C][C]20.4304130841224[/C][C]62.98[/C][/ROW]
[ROW][C]8[/C][C]233.100833333333[/C][C]16.737422663727[/C][C]55.31[/C][/ROW]
[ROW][C]9[/C][C]240.208333333333[/C][C]22.0732066432395[/C][C]70.92[/C][/ROW]
[ROW][C]10[/C][C]242.559166666667[/C][C]21.5106123738254[/C][C]63.33[/C][/ROW]
[ROW][C]11[/C][C]249.545[/C][C]26.0198628673628[/C][C]87.33[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75820&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75820&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
1205.8215.134487407603542.98
2207.27516.141767110652656.6
3214.34333333333319.196045678654058.41
4225.35416666666721.175008192907471.69
5232.02517.339937873433951
6234.01333333333319.458701878282657.46
7235.41833333333320.430413084122462.98
8233.10083333333316.73742266372755.31
9240.20833333333322.073206643239570.92
10242.55916666666721.510612373825463.33
11249.54526.019862867362887.33







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-19.3752374045114
beta0.170000973234882
S.D.0.046408381640857
T-STAT3.66315237084709
p-value0.00520994475589797

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -19.3752374045114 \tabularnewline
beta & 0.170000973234882 \tabularnewline
S.D. & 0.046408381640857 \tabularnewline
T-STAT & 3.66315237084709 \tabularnewline
p-value & 0.00520994475589797 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75820&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-19.3752374045114[/C][/ROW]
[ROW][C]beta[/C][C]0.170000973234882[/C][/ROW]
[ROW][C]S.D.[/C][C]0.046408381640857[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.66315237084709[/C][/ROW]
[ROW][C]p-value[/C][C]0.00520994475589797[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75820&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75820&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-19.3752374045114
beta0.170000973234882
S.D.0.046408381640857
T-STAT3.66315237084709
p-value0.00520994475589797







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-7.57488176397665
beta1.93975038914685
S.D.0.52527165472745
T-STAT3.69285182569643
p-value0.0049753482323564
Lambda-0.93975038914685

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -7.57488176397665 \tabularnewline
beta & 1.93975038914685 \tabularnewline
S.D. & 0.52527165472745 \tabularnewline
T-STAT & 3.69285182569643 \tabularnewline
p-value & 0.0049753482323564 \tabularnewline
Lambda & -0.93975038914685 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75820&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-7.57488176397665[/C][/ROW]
[ROW][C]beta[/C][C]1.93975038914685[/C][/ROW]
[ROW][C]S.D.[/C][C]0.52527165472745[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.69285182569643[/C][/ROW]
[ROW][C]p-value[/C][C]0.0049753482323564[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.93975038914685[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75820&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75820&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-7.57488176397665
beta1.93975038914685
S.D.0.52527165472745
T-STAT3.69285182569643
p-value0.0049753482323564
Lambda-0.93975038914685



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