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, 06 Jan 2010 14:15:19 -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/2010/Jan/06/t12628125733udnikaxavqqfs6.htm/, Retrieved Sat, 04 May 2024 11:05:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=71719, Retrieved Sat, 04 May 2024 11:05:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact118
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2010-01-06 21:15:19] [b936b026fcf15454c33001212e5b81d1] [Current]
Feedback Forum

Post a new message
Dataseries X:
104.0
99.0
105.4
107.1
110.7
117.1
118.7
126.5
127.5
134.6
131.8
135.9
142.7
141.7
153.4
145.0
137.7
148.3
152.2
169.4
168.6
161.1
174.1
179.0
190.6
190.0
181.6
174.8
180.5
196.8
193.8
197.0
216.3
221.4
217.9
229.7
227.4
204.2
196.6
198.8
207.5
190.7
201.6
210.5
223.5
223.8
231.2
244.0
234.7
250.2
265.7
287.6
283.3
295.4
312.3
333.8
347.7
383.2
407.1
413.6
362.7
321.9
239.4
191.0
159.7
163.4
157.6
166.2
176.7
198.3
226.2
216.2
235.9




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71719&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
1103.8753.488433268197448.1
2118.256.4958961403848415.8
3132.453.717077705223118.4
4145.75.3160135440008111.7000000000000
5151.913.177506086762731.7
6170.77.6815796986470617.9
7184.257.521303078589515.8000000000000
8192.0257.8214981514626316.5
9221.3255.9757147410721113.4000000000000
10206.7514.132114727338830.8
11202.5758.7374195275264319.8
12230.6259.601518977050820.5
13259.5522.580005904929952.9
14306.221.909054444833250.5
15387.929.817556349685565.9
16278.7577.7989074473414171.7
17161.7253.827422979847768.6
18204.3521.748333269471549.5

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 103.875 & 3.48843326819744 & 8.1 \tabularnewline
2 & 118.25 & 6.49589614038484 & 15.8 \tabularnewline
3 & 132.45 & 3.71707770522311 & 8.4 \tabularnewline
4 & 145.7 & 5.31601354400081 & 11.7000000000000 \tabularnewline
5 & 151.9 & 13.1775060867627 & 31.7 \tabularnewline
6 & 170.7 & 7.68157969864706 & 17.9 \tabularnewline
7 & 184.25 & 7.5213030785895 & 15.8000000000000 \tabularnewline
8 & 192.025 & 7.82149815146263 & 16.5 \tabularnewline
9 & 221.325 & 5.97571474107211 & 13.4000000000000 \tabularnewline
10 & 206.75 & 14.1321147273388 & 30.8 \tabularnewline
11 & 202.575 & 8.73741952752643 & 19.8 \tabularnewline
12 & 230.625 & 9.6015189770508 & 20.5 \tabularnewline
13 & 259.55 & 22.5800059049299 & 52.9 \tabularnewline
14 & 306.2 & 21.9090544448332 & 50.5 \tabularnewline
15 & 387.9 & 29.8175563496855 & 65.9 \tabularnewline
16 & 278.75 & 77.7989074473414 & 171.7 \tabularnewline
17 & 161.725 & 3.82742297984776 & 8.6 \tabularnewline
18 & 204.35 & 21.7483332694715 & 49.5 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71719&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]103.875[/C][C]3.48843326819744[/C][C]8.1[/C][/ROW]
[ROW][C]2[/C][C]118.25[/C][C]6.49589614038484[/C][C]15.8[/C][/ROW]
[ROW][C]3[/C][C]132.45[/C][C]3.71707770522311[/C][C]8.4[/C][/ROW]
[ROW][C]4[/C][C]145.7[/C][C]5.31601354400081[/C][C]11.7000000000000[/C][/ROW]
[ROW][C]5[/C][C]151.9[/C][C]13.1775060867627[/C][C]31.7[/C][/ROW]
[ROW][C]6[/C][C]170.7[/C][C]7.68157969864706[/C][C]17.9[/C][/ROW]
[ROW][C]7[/C][C]184.25[/C][C]7.5213030785895[/C][C]15.8000000000000[/C][/ROW]
[ROW][C]8[/C][C]192.025[/C][C]7.82149815146263[/C][C]16.5[/C][/ROW]
[ROW][C]9[/C][C]221.325[/C][C]5.97571474107211[/C][C]13.4000000000000[/C][/ROW]
[ROW][C]10[/C][C]206.75[/C][C]14.1321147273388[/C][C]30.8[/C][/ROW]
[ROW][C]11[/C][C]202.575[/C][C]8.73741952752643[/C][C]19.8[/C][/ROW]
[ROW][C]12[/C][C]230.625[/C][C]9.6015189770508[/C][C]20.5[/C][/ROW]
[ROW][C]13[/C][C]259.55[/C][C]22.5800059049299[/C][C]52.9[/C][/ROW]
[ROW][C]14[/C][C]306.2[/C][C]21.9090544448332[/C][C]50.5[/C][/ROW]
[ROW][C]15[/C][C]387.9[/C][C]29.8175563496855[/C][C]65.9[/C][/ROW]
[ROW][C]16[/C][C]278.75[/C][C]77.7989074473414[/C][C]171.7[/C][/ROW]
[ROW][C]17[/C][C]161.725[/C][C]3.82742297984776[/C][C]8.6[/C][/ROW]
[ROW][C]18[/C][C]204.35[/C][C]21.7483332694715[/C][C]49.5[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71719&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71719&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
1103.8753.488433268197448.1
2118.256.4958961403848415.8
3132.453.717077705223118.4
4145.75.3160135440008111.7000000000000
5151.913.177506086762731.7
6170.77.6815796986470617.9
7184.257.521303078589515.8000000000000
8192.0257.8214981514626316.5
9221.3255.9757147410721113.4000000000000
10206.7514.132114727338830.8
11202.5758.7374195275264319.8
12230.6259.601518977050820.5
13259.5522.580005904929952.9
14306.221.909054444833250.5
15387.929.817556349685565.9
16278.7577.7989074473414171.7
17161.7253.827422979847768.6
18204.3521.748333269471549.5







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-14.6037923643730
beta0.146004432643986
S.D.0.0493197580700329
T-STAT2.96036392629224
p-value0.00920968446411734

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -14.6037923643730 \tabularnewline
beta & 0.146004432643986 \tabularnewline
S.D. & 0.0493197580700329 \tabularnewline
T-STAT & 2.96036392629224 \tabularnewline
p-value & 0.00920968446411734 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71719&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-14.6037923643730[/C][/ROW]
[ROW][C]beta[/C][C]0.146004432643986[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0493197580700329[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.96036392629224[/C][/ROW]
[ROW][C]p-value[/C][C]0.00920968446411734[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71719&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71719&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-14.6037923643730
beta0.146004432643986
S.D.0.0493197580700329
T-STAT2.96036392629224
p-value0.00920968446411734







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-7.64488390314304
beta1.89731204974128
S.D.0.385105108281159
T-STAT4.92673820456332
p-value0.000151752392187571
Lambda-0.897312049741281

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -7.64488390314304 \tabularnewline
beta & 1.89731204974128 \tabularnewline
S.D. & 0.385105108281159 \tabularnewline
T-STAT & 4.92673820456332 \tabularnewline
p-value & 0.000151752392187571 \tabularnewline
Lambda & -0.897312049741281 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71719&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-7.64488390314304[/C][/ROW]
[ROW][C]beta[/C][C]1.89731204974128[/C][/ROW]
[ROW][C]S.D.[/C][C]0.385105108281159[/C][/ROW]
[ROW][C]T-STAT[/C][C]4.92673820456332[/C][/ROW]
[ROW][C]p-value[/C][C]0.000151752392187571[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.897312049741281[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71719&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71719&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.64488390314304
beta1.89731204974128
S.D.0.385105108281159
T-STAT4.92673820456332
p-value0.000151752392187571
Lambda-0.897312049741281



Parameters (Session):
par1 = 4 ;
Parameters (R input):
par1 = 4 ;
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')