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 computationThu, 26 Nov 2015 16:27:29 +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/2015/Nov/26/t14485552683jt8ua44xgc5gyi.htm/, Retrieved Tue, 14 May 2024 14:17:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=284252, Retrieved Tue, 14 May 2024 14:17:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact103
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2015-11-26 16:27:29] [51347023fbb3308e181ecc8c43b3ca65] [Current]
Feedback Forum

Post a new message
Dataseries X:
250,71
251,57
260,85
265,47
262,37
272,39
277,49
274,41
274,42
267,1
258,84
253,97
253,88
253,3
249,86
246
248,42
250,29
246,9
255,2
253,33
251,02
254,5
253,18
256,03
262,15
259,94
253,75
247,69
242,42
231,82
235,88
240,68
260,15
265,32
265,02
279,86
298,3
304,14
295,26
281,93
280,46
272,06
270,05
271,84
268,49
270,92
273,22
269,43
271,21
265,4
265,53
276,78
281,49
283,75
281,45
282,1
274,01
275,51
277,62
275,33
271,15
270,89
265,29
266,96
266,87
267,68
272,37
285,05
296,79
309,15
304,19
307,33
290,68
292,26
294,81
293,67
293,57
286,28
278,93
284,22
282,09
282,26
285,79
294,01
292,73
303,01
298,67
292,38
295,7
294,9
299,46
299,75
294,76
297,68
300,24
302,48
310,2
311,49
307,37
304,58
305,87
309,81
313,91
313,2
307,85
306,89
310,83




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284252&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'George Udny Yule' @ yule.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1264.13259.3020614772894726.78
2251.3233333333333.055124854860749.19999999999999
3251.737511.691059618357933.5
4280.54416666666712.211866403650435.65
5275.3566666666676.379451862080818.35
6279.3115.633639138961643.86
7289.3241666666677.7445540494106228.4
8296.9408333333333.3449567420312910.63
9308.7066666666673.47243517730811.43

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 264.1325 & 9.30206147728947 & 26.78 \tabularnewline
2 & 251.323333333333 & 3.05512485486074 & 9.19999999999999 \tabularnewline
3 & 251.7375 & 11.6910596183579 & 33.5 \tabularnewline
4 & 280.544166666667 & 12.2118664036504 & 35.65 \tabularnewline
5 & 275.356666666667 & 6.3794518620808 & 18.35 \tabularnewline
6 & 279.31 & 15.6336391389616 & 43.86 \tabularnewline
7 & 289.324166666667 & 7.74455404941062 & 28.4 \tabularnewline
8 & 296.940833333333 & 3.34495674203129 & 10.63 \tabularnewline
9 & 308.706666666667 & 3.472435177308 & 11.43 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284252&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]264.1325[/C][C]9.30206147728947[/C][C]26.78[/C][/ROW]
[ROW][C]2[/C][C]251.323333333333[/C][C]3.05512485486074[/C][C]9.19999999999999[/C][/ROW]
[ROW][C]3[/C][C]251.7375[/C][C]11.6910596183579[/C][C]33.5[/C][/ROW]
[ROW][C]4[/C][C]280.544166666667[/C][C]12.2118664036504[/C][C]35.65[/C][/ROW]
[ROW][C]5[/C][C]275.356666666667[/C][C]6.3794518620808[/C][C]18.35[/C][/ROW]
[ROW][C]6[/C][C]279.31[/C][C]15.6336391389616[/C][C]43.86[/C][/ROW]
[ROW][C]7[/C][C]289.324166666667[/C][C]7.74455404941062[/C][C]28.4[/C][/ROW]
[ROW][C]8[/C][C]296.940833333333[/C][C]3.34495674203129[/C][C]10.63[/C][/ROW]
[ROW][C]9[/C][C]308.706666666667[/C][C]3.472435177308[/C][C]11.43[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284252&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284252&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
1264.13259.3020614772894726.78
2251.3233333333333.055124854860749.19999999999999
3251.737511.691059618357933.5
4280.54416666666712.211866403650435.65
5275.3566666666676.379451862080818.35
6279.3115.633639138961643.86
7289.3241666666677.7445540494106228.4
8296.9408333333333.3449567420312910.63
9308.7066666666673.47243517730811.43







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha25.2500169509412
beta-0.0618309031317953
S.D.0.0837153565149035
T-STAT-0.738584958672282
p-value0.484181010213246

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 25.2500169509412 \tabularnewline
beta & -0.0618309031317953 \tabularnewline
S.D. & 0.0837153565149035 \tabularnewline
T-STAT & -0.738584958672282 \tabularnewline
p-value & 0.484181010213246 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284252&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]25.2500169509412[/C][/ROW]
[ROW][C]beta[/C][C]-0.0618309031317953[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0837153565149035[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.738584958672282[/C][/ROW]
[ROW][C]p-value[/C][C]0.484181010213246[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284252&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284252&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)
alpha25.2500169509412
beta-0.0618309031317953
S.D.0.0837153565149035
T-STAT-0.738584958672282
p-value0.484181010213246







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha14.7951501835311
beta-2.28692533164564
S.D.3.19712573823288
T-STAT-0.715306659446452
p-value0.497577747845162
Lambda3.28692533164564

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 14.7951501835311 \tabularnewline
beta & -2.28692533164564 \tabularnewline
S.D. & 3.19712573823288 \tabularnewline
T-STAT & -0.715306659446452 \tabularnewline
p-value & 0.497577747845162 \tabularnewline
Lambda & 3.28692533164564 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284252&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]14.7951501835311[/C][/ROW]
[ROW][C]beta[/C][C]-2.28692533164564[/C][/ROW]
[ROW][C]S.D.[/C][C]3.19712573823288[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.715306659446452[/C][/ROW]
[ROW][C]p-value[/C][C]0.497577747845162[/C][/ROW]
[ROW][C]Lambda[/C][C]3.28692533164564[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284252&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284252&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)
alpha14.7951501835311
beta-2.28692533164564
S.D.3.19712573823288
T-STAT-0.715306659446452
p-value0.497577747845162
Lambda3.28692533164564



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