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 computationSun, 20 Dec 2009 04:13:48 -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/2009/Dec/20/t1261307680ny6ljli28qt3ugu.htm/, Retrieved Sat, 27 Apr 2024 05:31:00 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69839, Retrieved Sat, 27 Apr 2024 05:31:00 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact117
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [opgave 8 oefening...] [2009-12-20 11:13:48] [035dd36315b547f59b9bd3c100d10d7a] [Current]
Feedback Forum

Post a new message
Dataseries X:
102.5
77.7
82.8
77.3
103.1
99.7
99.5
107.2
96.7
97.1
105.2
151.2
102.7
75.4
87.2
83.7
105.8
111.5
99.7
111.2
101.5
110.9
116.3
164.9
118.1
83.7
84
107.2
113.7
120.7
111.2
112.4
112.5
130.4
130.7
174.3
132.2
91.8
104.2
104.8
131.4
141.2
132.7
135.7
136.9
151.2
144
201.5
149.6
108.7
122.8
126.7
139.9
162.5
142.7
151.6
148.1
159
157.8
226.7
153.7
122.3
117.6
166
154.5
183.9
164.4
173.3
160.2
166.4
170.3
238.4
166.8
122.5
141.8
140.5
173.8
188.8
168
187.4
177.7
183.8
196.1
264.6
193.7
141.3
170.1
163.7
190.1
230.7
195.9
210.3
204.7
210.3
221.2
288.2
203.2
162.4
149.2
195.3
213.7
227.9
212.1
226.8
212.6
220.9
228.1
311.6




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69839&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
110019.174414771204473.9
2105.922.390014007872589.5
3116.57523.438783904227990.6
4133.96666666666727.877046058894109.7
5149.67529.1231905407482118
6164.2530.4053673491435120.8
7175.98333333333335.7480026990278142.1
8201.68333333333337.1524337471091146.9
9213.6539.8421316516255162.4

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 100 & 19.1744147712044 & 73.9 \tabularnewline
2 & 105.9 & 22.3900140078725 & 89.5 \tabularnewline
3 & 116.575 & 23.4387839042279 & 90.6 \tabularnewline
4 & 133.966666666667 & 27.877046058894 & 109.7 \tabularnewline
5 & 149.675 & 29.1231905407482 & 118 \tabularnewline
6 & 164.25 & 30.4053673491435 & 120.8 \tabularnewline
7 & 175.983333333333 & 35.7480026990278 & 142.1 \tabularnewline
8 & 201.683333333333 & 37.1524337471091 & 146.9 \tabularnewline
9 & 213.65 & 39.8421316516255 & 162.4 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69839&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]100[/C][C]19.1744147712044[/C][C]73.9[/C][/ROW]
[ROW][C]2[/C][C]105.9[/C][C]22.3900140078725[/C][C]89.5[/C][/ROW]
[ROW][C]3[/C][C]116.575[/C][C]23.4387839042279[/C][C]90.6[/C][/ROW]
[ROW][C]4[/C][C]133.966666666667[/C][C]27.877046058894[/C][C]109.7[/C][/ROW]
[ROW][C]5[/C][C]149.675[/C][C]29.1231905407482[/C][C]118[/C][/ROW]
[ROW][C]6[/C][C]164.25[/C][C]30.4053673491435[/C][C]120.8[/C][/ROW]
[ROW][C]7[/C][C]175.983333333333[/C][C]35.7480026990278[/C][C]142.1[/C][/ROW]
[ROW][C]8[/C][C]201.683333333333[/C][C]37.1524337471091[/C][C]146.9[/C][/ROW]
[ROW][C]9[/C][C]213.65[/C][C]39.8421316516255[/C][C]162.4[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69839&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69839&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
110019.174414771204473.9
2105.922.390014007872589.5
3116.57523.438783904227990.6
4133.96666666666727.877046058894109.7
5149.67529.1231905407482118
6164.2530.4053673491435120.8
7175.98333333333335.7480026990278142.1
8201.68333333333337.1524337471091146.9
9213.6539.8421316516255162.4







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha3.63625517478964
beta0.170689529986227
S.D.0.0110712209341910
T-STAT15.4174079806402
p-value1.16538291600601e-06

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 3.63625517478964 \tabularnewline
beta & 0.170689529986227 \tabularnewline
S.D. & 0.0110712209341910 \tabularnewline
T-STAT & 15.4174079806402 \tabularnewline
p-value & 1.16538291600601e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69839&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]3.63625517478964[/C][/ROW]
[ROW][C]beta[/C][C]0.170689529986227[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0110712209341910[/C][/ROW]
[ROW][C]T-STAT[/C][C]15.4174079806402[/C][/ROW]
[ROW][C]p-value[/C][C]1.16538291600601e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69839&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69839&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.63625517478964
beta0.170689529986227
S.D.0.0110712209341910
T-STAT15.4174079806402
p-value1.16538291600601e-06







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-1.08302452045345
beta0.890343052934795
S.D.0.0578395989836813
T-STAT15.3933130343105
p-value1.17788348067193e-06
Lambda0.109656947065205

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -1.08302452045345 \tabularnewline
beta & 0.890343052934795 \tabularnewline
S.D. & 0.0578395989836813 \tabularnewline
T-STAT & 15.3933130343105 \tabularnewline
p-value & 1.17788348067193e-06 \tabularnewline
Lambda & 0.109656947065205 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69839&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-1.08302452045345[/C][/ROW]
[ROW][C]beta[/C][C]0.890343052934795[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0578395989836813[/C][/ROW]
[ROW][C]T-STAT[/C][C]15.3933130343105[/C][/ROW]
[ROW][C]p-value[/C][C]1.17788348067193e-06[/C][/ROW]
[ROW][C]Lambda[/C][C]0.109656947065205[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69839&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69839&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-1.08302452045345
beta0.890343052934795
S.D.0.0578395989836813
T-STAT15.3933130343105
p-value1.17788348067193e-06
Lambda0.109656947065205



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