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, 08 May 2011 22:36:42 +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/2011/May/09/t1304893965yu5cjf8ivf42xuj.htm/, Retrieved Tue, 14 May 2024 04:01:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=121217, Retrieved Tue, 14 May 2024 04:01:45 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact123
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [gemiddelde temper...] [2011-05-08 22:36:42] [8408ae72b9c03ee1c59e868ccc07a80d] [Current]
Feedback Forum

Post a new message
Dataseries X:
17
16.7
15.4
15.1
16.1
17
16.1
14.3
16.1
14.8
15.9
17.6
15.9
14.8
16.5
15.6
14.6
17.1
15.2
14.8
15.4
16.6
15.1
15.4
15.2
16.6
16.1
15.7
15.8
15.7
16.9
15.9
17.1
17
16.6
17.1
16.6
16.6
16.5
17
15.9
17
16.1
16.1
16.8
16.7
15.7
18.7
16.1
16.3
17.2
16.1
16.5
16.5
15.1
16.7
14.4
16.2
15.9
17.3
15.6
15.6
14.7
15.8
15.8
14.8
16.1
16.3
16.1
17.4
16.7
16.1
15.4
16.9
15.5
17.6
18.4
15.9
15.2
15.5
15.9
15.8
17.6
18.2
15.9
15.7
16.4
15.6
15.8
17
16.8
16.6
17.7
15.7
18
18.2
16.4
18
16.3




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 216.218.223.82

\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 & 2 seconds \tabularnewline
R Server & 'George Udny Yule' @ 216.218.223.82 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=121217&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 216.218.223.82[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=121217&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121217&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 time2 seconds
R Server'George Udny Yule' @ 216.218.223.82







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
116.050.9398581453247791.9
215.8751.132475165290612.7
316.11.151810169544732.8
415.70.7071067811865471.7
515.4251.144188212955662.5
615.6250.6652067347825041.5
715.90.5944184833375681.4
816.0750.5560275772537421.2
916.950.2380476142847620.5
1016.6750.2217355782608340.5
1116.2750.4924428900898051.1
1216.9751.252663828274243
1316.4250.5251983752196231.1
1416.20.7393691004272951.6
1515.951.195826074310142.9
1615.4250.4924428900898061.1
1715.750.665832811847941.5
1816.5750.6184658438426481.3
1916.351.07857931249092.2
2016.251.461734129952053.2
2116.8751.209338662244782.4
2215.90.3559026084010430.799999999999999
2316.550.5259911279353161.2
2417.41.151810169544732.5

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 16.05 & 0.939858145324779 & 1.9 \tabularnewline
2 & 15.875 & 1.13247516529061 & 2.7 \tabularnewline
3 & 16.1 & 1.15181016954473 & 2.8 \tabularnewline
4 & 15.7 & 0.707106781186547 & 1.7 \tabularnewline
5 & 15.425 & 1.14418821295566 & 2.5 \tabularnewline
6 & 15.625 & 0.665206734782504 & 1.5 \tabularnewline
7 & 15.9 & 0.594418483337568 & 1.4 \tabularnewline
8 & 16.075 & 0.556027577253742 & 1.2 \tabularnewline
9 & 16.95 & 0.238047614284762 & 0.5 \tabularnewline
10 & 16.675 & 0.221735578260834 & 0.5 \tabularnewline
11 & 16.275 & 0.492442890089805 & 1.1 \tabularnewline
12 & 16.975 & 1.25266382827424 & 3 \tabularnewline
13 & 16.425 & 0.525198375219623 & 1.1 \tabularnewline
14 & 16.2 & 0.739369100427295 & 1.6 \tabularnewline
15 & 15.95 & 1.19582607431014 & 2.9 \tabularnewline
16 & 15.425 & 0.492442890089806 & 1.1 \tabularnewline
17 & 15.75 & 0.66583281184794 & 1.5 \tabularnewline
18 & 16.575 & 0.618465843842648 & 1.3 \tabularnewline
19 & 16.35 & 1.0785793124909 & 2.2 \tabularnewline
20 & 16.25 & 1.46173412995205 & 3.2 \tabularnewline
21 & 16.875 & 1.20933866224478 & 2.4 \tabularnewline
22 & 15.9 & 0.355902608401043 & 0.799999999999999 \tabularnewline
23 & 16.55 & 0.525991127935316 & 1.2 \tabularnewline
24 & 17.4 & 1.15181016954473 & 2.5 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=121217&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]16.05[/C][C]0.939858145324779[/C][C]1.9[/C][/ROW]
[ROW][C]2[/C][C]15.875[/C][C]1.13247516529061[/C][C]2.7[/C][/ROW]
[ROW][C]3[/C][C]16.1[/C][C]1.15181016954473[/C][C]2.8[/C][/ROW]
[ROW][C]4[/C][C]15.7[/C][C]0.707106781186547[/C][C]1.7[/C][/ROW]
[ROW][C]5[/C][C]15.425[/C][C]1.14418821295566[/C][C]2.5[/C][/ROW]
[ROW][C]6[/C][C]15.625[/C][C]0.665206734782504[/C][C]1.5[/C][/ROW]
[ROW][C]7[/C][C]15.9[/C][C]0.594418483337568[/C][C]1.4[/C][/ROW]
[ROW][C]8[/C][C]16.075[/C][C]0.556027577253742[/C][C]1.2[/C][/ROW]
[ROW][C]9[/C][C]16.95[/C][C]0.238047614284762[/C][C]0.5[/C][/ROW]
[ROW][C]10[/C][C]16.675[/C][C]0.221735578260834[/C][C]0.5[/C][/ROW]
[ROW][C]11[/C][C]16.275[/C][C]0.492442890089805[/C][C]1.1[/C][/ROW]
[ROW][C]12[/C][C]16.975[/C][C]1.25266382827424[/C][C]3[/C][/ROW]
[ROW][C]13[/C][C]16.425[/C][C]0.525198375219623[/C][C]1.1[/C][/ROW]
[ROW][C]14[/C][C]16.2[/C][C]0.739369100427295[/C][C]1.6[/C][/ROW]
[ROW][C]15[/C][C]15.95[/C][C]1.19582607431014[/C][C]2.9[/C][/ROW]
[ROW][C]16[/C][C]15.425[/C][C]0.492442890089806[/C][C]1.1[/C][/ROW]
[ROW][C]17[/C][C]15.75[/C][C]0.66583281184794[/C][C]1.5[/C][/ROW]
[ROW][C]18[/C][C]16.575[/C][C]0.618465843842648[/C][C]1.3[/C][/ROW]
[ROW][C]19[/C][C]16.35[/C][C]1.0785793124909[/C][C]2.2[/C][/ROW]
[ROW][C]20[/C][C]16.25[/C][C]1.46173412995205[/C][C]3.2[/C][/ROW]
[ROW][C]21[/C][C]16.875[/C][C]1.20933866224478[/C][C]2.4[/C][/ROW]
[ROW][C]22[/C][C]15.9[/C][C]0.355902608401043[/C][C]0.799999999999999[/C][/ROW]
[ROW][C]23[/C][C]16.55[/C][C]0.525991127935316[/C][C]1.2[/C][/ROW]
[ROW][C]24[/C][C]17.4[/C][C]1.15181016954473[/C][C]2.5[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=121217&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121217&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
116.050.9398581453247791.9
215.8751.132475165290612.7
316.11.151810169544732.8
415.70.7071067811865471.7
515.4251.144188212955662.5
615.6250.6652067347825041.5
715.90.5944184833375681.4
816.0750.5560275772537421.2
916.950.2380476142847620.5
1016.6750.2217355782608340.5
1116.2750.4924428900898051.1
1216.9751.252663828274243
1316.4250.5251983752196231.1
1416.20.7393691004272951.6
1515.951.195826074310142.9
1615.4250.4924428900898061.1
1715.750.665832811847941.5
1816.5750.6184658438426481.3
1916.351.07857931249092.2
2016.251.461734129952053.2
2116.8751.209338662244782.4
2215.90.3559026084010430.799999999999999
2316.550.5259911279353161.2
2417.41.151810169544732.5







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.011688953307895
beta0.0498285457999654
S.D.0.148118732262125
T-STAT0.336409480684617
p-value0.73974981767654

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -0.011688953307895 \tabularnewline
beta & 0.0498285457999654 \tabularnewline
S.D. & 0.148118732262125 \tabularnewline
T-STAT & 0.336409480684617 \tabularnewline
p-value & 0.73974981767654 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=121217&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.011688953307895[/C][/ROW]
[ROW][C]beta[/C][C]0.0498285457999654[/C][/ROW]
[ROW][C]S.D.[/C][C]0.148118732262125[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.336409480684617[/C][/ROW]
[ROW][C]p-value[/C][C]0.73974981767654[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=121217&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121217&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.011688953307895
beta0.0498285457999654
S.D.0.148118732262125
T-STAT0.336409480684617
p-value0.73974981767654







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha1.61290171242504
beta-0.701616066255443
S.D.3.52183906280206
T-STAT-0.199218662109228
p-value0.843921449788057
Lambda1.70161606625544

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 1.61290171242504 \tabularnewline
beta & -0.701616066255443 \tabularnewline
S.D. & 3.52183906280206 \tabularnewline
T-STAT & -0.199218662109228 \tabularnewline
p-value & 0.843921449788057 \tabularnewline
Lambda & 1.70161606625544 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=121217&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]1.61290171242504[/C][/ROW]
[ROW][C]beta[/C][C]-0.701616066255443[/C][/ROW]
[ROW][C]S.D.[/C][C]3.52183906280206[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.199218662109228[/C][/ROW]
[ROW][C]p-value[/C][C]0.843921449788057[/C][/ROW]
[ROW][C]Lambda[/C][C]1.70161606625544[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=121217&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121217&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)
alpha1.61290171242504
beta-0.701616066255443
S.D.3.52183906280206
T-STAT-0.199218662109228
p-value0.843921449788057
Lambda1.70161606625544



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