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 computationThu, 11 Dec 2008 07:52:18 -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/11/t12290072859meyyb4uf7ls98a.htm/, Retrieved Sun, 19 May 2024 05:40:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=32284, Retrieved Sun, 19 May 2024 05:40:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact152
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Standard Deviatio...] [2008-12-11 14:52:18] [6aa66640011d9b98524a5838bcf7301d] [Current]
Feedback Forum

Post a new message
Dataseries X:
99,5
98,2
108,9
100,0
105,0
108,4
96,7
100,5
115,6
114,9
110,7
107,7
113,5
106,9
119,6
109,4
106,9
118,7
108,9
113,1
125,1
126,5
122,7
127,5
107,1
112,0
122,1
111,5
113,2
128,2
115,1
117,4
132,0
130,8
128,0
132,7
117,0
110,9
123,5
117,4
122,7
123,5
111,5
113,8
131,2
127,0
126,2
121,2
118,8
117,9
135,2
120,7
126,4
129,6
113,4
120,5
135,5
137,6
130,6
133,1
121,5
120,5
136,9
123,7
128,5
135,0
120,9
121,1
132,2
134,5
133,6
136,1
124,5
124,6
133,5
132,3
125,3
135,5
121,2
117,5
135,9




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' @ 72.249.76.132

\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' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32284&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' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32284&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32284&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' @ 72.249.76.132







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1105.5083333333336.4978959298492618.9
2116.5666666666677.7509334726192620.6
3120.8416666666679.1886746826864225.6
4120.4916666666676.4135450887992220.3
5126.6083333333338.1142364602797524.2
6128.7083333333336.7035212366111716.4

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 105.508333333333 & 6.49789592984926 & 18.9 \tabularnewline
2 & 116.566666666667 & 7.75093347261926 & 20.6 \tabularnewline
3 & 120.841666666667 & 9.18867468268642 & 25.6 \tabularnewline
4 & 120.491666666667 & 6.41354508879922 & 20.3 \tabularnewline
5 & 126.608333333333 & 8.11423646027975 & 24.2 \tabularnewline
6 & 128.708333333333 & 6.70352123661117 & 16.4 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32284&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]105.508333333333[/C][C]6.49789592984926[/C][C]18.9[/C][/ROW]
[ROW][C]2[/C][C]116.566666666667[/C][C]7.75093347261926[/C][C]20.6[/C][/ROW]
[ROW][C]3[/C][C]120.841666666667[/C][C]9.18867468268642[/C][C]25.6[/C][/ROW]
[ROW][C]4[/C][C]120.491666666667[/C][C]6.41354508879922[/C][C]20.3[/C][/ROW]
[ROW][C]5[/C][C]126.608333333333[/C][C]8.11423646027975[/C][C]24.2[/C][/ROW]
[ROW][C]6[/C][C]128.708333333333[/C][C]6.70352123661117[/C][C]16.4[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32284&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32284&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
1105.5083333333336.4978959298492618.9
2116.5666666666677.7509334726192620.6
3120.8416666666679.1886746826864225.6
4120.4916666666676.4135450887992220.3
5126.6083333333338.1142364602797524.2
6128.7083333333336.7035212366111716.4







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha3.38144580298184
beta0.0339213635993656
S.D.0.0645462779186538
T-STAT0.525535548960948
p-value0.626996515290665

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 3.38144580298184 \tabularnewline
beta & 0.0339213635993656 \tabularnewline
S.D. & 0.0645462779186538 \tabularnewline
T-STAT & 0.525535548960948 \tabularnewline
p-value & 0.626996515290665 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32284&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]3.38144580298184[/C][/ROW]
[ROW][C]beta[/C][C]0.0339213635993656[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0645462779186538[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.525535548960948[/C][/ROW]
[ROW][C]p-value[/C][C]0.626996515290665[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32284&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32284&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)
alpha3.38144580298184
beta0.0339213635993656
S.D.0.0645462779186538
T-STAT0.525535548960948
p-value0.626996515290665







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-0.712721113413517
beta0.566799412339717
S.D.0.979160717404676
T-STAT0.578862491381448
p-value0.593714154188116
Lambda0.433200587660283

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -0.712721113413517 \tabularnewline
beta & 0.566799412339717 \tabularnewline
S.D. & 0.979160717404676 \tabularnewline
T-STAT & 0.578862491381448 \tabularnewline
p-value & 0.593714154188116 \tabularnewline
Lambda & 0.433200587660283 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32284&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.712721113413517[/C][/ROW]
[ROW][C]beta[/C][C]0.566799412339717[/C][/ROW]
[ROW][C]S.D.[/C][C]0.979160717404676[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.578862491381448[/C][/ROW]
[ROW][C]p-value[/C][C]0.593714154188116[/C][/ROW]
[ROW][C]Lambda[/C][C]0.433200587660283[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32284&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32284&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.712721113413517
beta0.566799412339717
S.D.0.979160717404676
T-STAT0.578862491381448
p-value0.593714154188116
Lambda0.433200587660283



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