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 computationSat, 16 Jan 2010 02:38:36 -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/16/t1263634781k7z3lezltukxa0o.htm/, Retrieved Fri, 03 May 2024 05:52:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=72223, Retrieved Fri, 03 May 2024 05:52:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact145
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 3c] [2010-01-16 09:38:36] [712c3abbba27b8add982e356cd7e4c7f] [Current]
Feedback Forum

Post a new message
Dataseries X:
5,2100
5,2300
5,2300
5,2300
5,2200
5,2100
5,2300
5,2500
5,2300
5,2300
5,2500
5,2400
5,2600
5,2700
5,2600
5,2900
5,2900
5,2900
5,2900
5,3100
5,3300
5,3400
5,3400
5,3700
5,4100
5,4100
5,3800
5,4400
5,4400
5,4600
5,4600
5,4500
5,4600
5,4600
5,4800
5,4700
5,4800
5,5100
5,5500
5,5800
5,5900
5,6000
5,6000
5,6700
5,7100
5,7000
5,7300
5,7300
5,7200
5,7500
5,7500
5,7700
5,8300
5,8500
5,8700
5,8600
5,8700
5,9300
5,9700
5,9800
5,9900
5,9900
6,0300
6,0600
6,0700
6,0800
6,0800
6,1000
6,1300
6,1400
6,1400
6,1600
6,2000
6,1900
6,3200
6,3200
6,3300
6,3200
6,3300
6,3800
6,4200
6,4600
6,4700
6,4200
6,4800
6,4700
6,4900
6,4800
6,5100
6,5100
6,5200
6,5700
6,5900
6,6200
6,6300
6,6100
6,6400
6,6900
6,6900
6,7500
6,7700
6,8100
6,8100
6,8100
6,8700
6,8600
6,8800
6,8800
6,9200
6,9200
6,9900
7,0200
7,0500
7,0600
7,0600
7,0900
7,1200
7,2300
7,3100
7,4500
7,4900
7,5400
7,5500
7,5800
7,6000
7,6300
7,6400
7,6300
7,6600
7,6400
7,6900
7,7000
7,6800




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=72223&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
15.230.01279204298133670.04
25.303333333333330.03498917581542080.110000000000000
35.443333333333330.02933608802492350.100000000000001
45.620833333333330.08586017526752270.25
55.845833333333330.08638795510879280.260000000000001
66.080833333333330.0569622416140460.17
76.346666666666670.08978087803427870.279999999999999
86.540.060.16
96.788333333333330.08155682161238960.24
107.101666666666670.1575282562436070.53
117.61250.06283094200095420.21

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 5.23 & 0.0127920429813367 & 0.04 \tabularnewline
2 & 5.30333333333333 & 0.0349891758154208 & 0.110000000000000 \tabularnewline
3 & 5.44333333333333 & 0.0293360880249235 & 0.100000000000001 \tabularnewline
4 & 5.62083333333333 & 0.0858601752675227 & 0.25 \tabularnewline
5 & 5.84583333333333 & 0.0863879551087928 & 0.260000000000001 \tabularnewline
6 & 6.08083333333333 & 0.056962241614046 & 0.17 \tabularnewline
7 & 6.34666666666667 & 0.0897808780342787 & 0.279999999999999 \tabularnewline
8 & 6.54 & 0.06 & 0.16 \tabularnewline
9 & 6.78833333333333 & 0.0815568216123896 & 0.24 \tabularnewline
10 & 7.10166666666667 & 0.157528256243607 & 0.53 \tabularnewline
11 & 7.6125 & 0.0628309420009542 & 0.21 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=72223&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]5.23[/C][C]0.0127920429813367[/C][C]0.04[/C][/ROW]
[ROW][C]2[/C][C]5.30333333333333[/C][C]0.0349891758154208[/C][C]0.110000000000000[/C][/ROW]
[ROW][C]3[/C][C]5.44333333333333[/C][C]0.0293360880249235[/C][C]0.100000000000001[/C][/ROW]
[ROW][C]4[/C][C]5.62083333333333[/C][C]0.0858601752675227[/C][C]0.25[/C][/ROW]
[ROW][C]5[/C][C]5.84583333333333[/C][C]0.0863879551087928[/C][C]0.260000000000001[/C][/ROW]
[ROW][C]6[/C][C]6.08083333333333[/C][C]0.056962241614046[/C][C]0.17[/C][/ROW]
[ROW][C]7[/C][C]6.34666666666667[/C][C]0.0897808780342787[/C][C]0.279999999999999[/C][/ROW]
[ROW][C]8[/C][C]6.54[/C][C]0.06[/C][C]0.16[/C][/ROW]
[ROW][C]9[/C][C]6.78833333333333[/C][C]0.0815568216123896[/C][C]0.24[/C][/ROW]
[ROW][C]10[/C][C]7.10166666666667[/C][C]0.157528256243607[/C][C]0.53[/C][/ROW]
[ROW][C]11[/C][C]7.6125[/C][C]0.0628309420009542[/C][C]0.21[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=72223&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=72223&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
15.230.01279204298133670.04
25.303333333333330.03498917581542080.110000000000000
35.443333333333330.02933608802492350.100000000000001
45.620833333333330.08586017526752270.25
55.845833333333330.08638795510879280.260000000000001
66.080833333333330.0569622416140460.17
76.346666666666670.08978087803427870.279999999999999
86.540.060.16
96.788333333333330.08155682161238960.24
107.101666666666670.1575282562436070.53
117.61250.06283094200095420.21







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.112961325691222
beta0.0294581205355853
S.D.0.0134502009598066
T-STAT2.19016211160082
p-value0.0562353882583062

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -0.112961325691222 \tabularnewline
beta & 0.0294581205355853 \tabularnewline
S.D. & 0.0134502009598066 \tabularnewline
T-STAT & 2.19016211160082 \tabularnewline
p-value & 0.0562353882583062 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=72223&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.112961325691222[/C][/ROW]
[ROW][C]beta[/C][C]0.0294581205355853[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0134502009598066[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.19016211160082[/C][/ROW]
[ROW][C]p-value[/C][C]0.0562353882583062[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=72223&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=72223&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-0.112961325691222
beta0.0294581205355853
S.D.0.0134502009598066
T-STAT2.19016211160082
p-value0.0562353882583062







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-9.39768090418334
beta3.6107507191927
S.D.1.37163982019584
T-STAT2.63243357769912
p-value0.0272497114386404
Lambda-2.61075071919270

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -9.39768090418334 \tabularnewline
beta & 3.6107507191927 \tabularnewline
S.D. & 1.37163982019584 \tabularnewline
T-STAT & 2.63243357769912 \tabularnewline
p-value & 0.0272497114386404 \tabularnewline
Lambda & -2.61075071919270 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=72223&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-9.39768090418334[/C][/ROW]
[ROW][C]beta[/C][C]3.6107507191927[/C][/ROW]
[ROW][C]S.D.[/C][C]1.37163982019584[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.63243357769912[/C][/ROW]
[ROW][C]p-value[/C][C]0.0272497114386404[/C][/ROW]
[ROW][C]Lambda[/C][C]-2.61075071919270[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=72223&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=72223&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-9.39768090418334
beta3.6107507191927
S.D.1.37163982019584
T-STAT2.63243357769912
p-value0.0272497114386404
Lambda-2.61075071919270



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