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 computationFri, 22 May 2009 15:04:20 -0600
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/May/22/t124302641624pl4p36k8vb4o3.htm/, Retrieved Sun, 05 May 2024 14:22:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=40311, Retrieved Sun, 05 May 2024 14:22:13 +0000
QR Codes:

Original text written by user:Duncan Huysmans Opgave 8 opdracht 3
IsPrivate?No (this computation is public)
User-defined keywordsDuncan Huysmans Opgave 8 opdracht 3
Estimated Impact195
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Duncan Huysmans O...] [2009-05-22 21:04:20] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
49.1
52.7
55.1
60.4
57.5
55.9
62.6
61.3
67.1
68.6
74.8
76.9
85.7
86.5
90.8
89.7
96.3
107.5
109.2
100.2
116.8
120.1
123.3
130.2
131.4
125.6
124.5
134.3
135.2
151.8
146.4
140.0
127.8
148.0
165.9
165.5
179.9
190.0
189.8
190.9
203.6
183.5
169.3
144.2
141.5
154.3
169.5
194.0
203.2
192.9
209.4
227.2
263.7
297.8
337.1
361.3
355.2
312.6
309.9
323.7
324.1
355.3
383.4
395.1
412.8
407.0
438.0
446.1
452.5
447.3
475.9
487.7




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40311&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
154.3254.7415714694603111.3
259.3253.145764348029486.7
371.854.737439533475169.80000000000001
488.1752.459505370326865.09999999999999
5103.36.084406298070512.9
6122.65.7195570924096313.4
7128.954.677962519445139.80000000000001
8143.357.2652139220626916.6000000000000
9151.818.045682770864238.1
10187.655.1887699248794311
11175.1524.974987487484459.4
12164.82522.567435979008952.5
13208.17514.393603903586234.3
14314.97543.048915975511797.6
15325.3520.776669608000245.3
16364.47531.677370997816971
17425.97519.002170928607139.1
18465.8519.155068954892040.4

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 54.325 & 4.74157146946031 & 11.3 \tabularnewline
2 & 59.325 & 3.14576434802948 & 6.7 \tabularnewline
3 & 71.85 & 4.73743953347516 & 9.80000000000001 \tabularnewline
4 & 88.175 & 2.45950537032686 & 5.09999999999999 \tabularnewline
5 & 103.3 & 6.0844062980705 & 12.9 \tabularnewline
6 & 122.6 & 5.71955709240963 & 13.4 \tabularnewline
7 & 128.95 & 4.67796251944513 & 9.80000000000001 \tabularnewline
8 & 143.35 & 7.26521392206269 & 16.6000000000000 \tabularnewline
9 & 151.8 & 18.0456827708642 & 38.1 \tabularnewline
10 & 187.65 & 5.18876992487943 & 11 \tabularnewline
11 & 175.15 & 24.9749874874844 & 59.4 \tabularnewline
12 & 164.825 & 22.5674359790089 & 52.5 \tabularnewline
13 & 208.175 & 14.3936039035862 & 34.3 \tabularnewline
14 & 314.975 & 43.0489159755117 & 97.6 \tabularnewline
15 & 325.35 & 20.7766696080002 & 45.3 \tabularnewline
16 & 364.475 & 31.6773709978169 & 71 \tabularnewline
17 & 425.975 & 19.0021709286071 & 39.1 \tabularnewline
18 & 465.85 & 19.1550689548920 & 40.4 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=40311&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]54.325[/C][C]4.74157146946031[/C][C]11.3[/C][/ROW]
[ROW][C]2[/C][C]59.325[/C][C]3.14576434802948[/C][C]6.7[/C][/ROW]
[ROW][C]3[/C][C]71.85[/C][C]4.73743953347516[/C][C]9.80000000000001[/C][/ROW]
[ROW][C]4[/C][C]88.175[/C][C]2.45950537032686[/C][C]5.09999999999999[/C][/ROW]
[ROW][C]5[/C][C]103.3[/C][C]6.0844062980705[/C][C]12.9[/C][/ROW]
[ROW][C]6[/C][C]122.6[/C][C]5.71955709240963[/C][C]13.4[/C][/ROW]
[ROW][C]7[/C][C]128.95[/C][C]4.67796251944513[/C][C]9.80000000000001[/C][/ROW]
[ROW][C]8[/C][C]143.35[/C][C]7.26521392206269[/C][C]16.6000000000000[/C][/ROW]
[ROW][C]9[/C][C]151.8[/C][C]18.0456827708642[/C][C]38.1[/C][/ROW]
[ROW][C]10[/C][C]187.65[/C][C]5.18876992487943[/C][C]11[/C][/ROW]
[ROW][C]11[/C][C]175.15[/C][C]24.9749874874844[/C][C]59.4[/C][/ROW]
[ROW][C]12[/C][C]164.825[/C][C]22.5674359790089[/C][C]52.5[/C][/ROW]
[ROW][C]13[/C][C]208.175[/C][C]14.3936039035862[/C][C]34.3[/C][/ROW]
[ROW][C]14[/C][C]314.975[/C][C]43.0489159755117[/C][C]97.6[/C][/ROW]
[ROW][C]15[/C][C]325.35[/C][C]20.7766696080002[/C][C]45.3[/C][/ROW]
[ROW][C]16[/C][C]364.475[/C][C]31.6773709978169[/C][C]71[/C][/ROW]
[ROW][C]17[/C][C]425.975[/C][C]19.0021709286071[/C][C]39.1[/C][/ROW]
[ROW][C]18[/C][C]465.85[/C][C]19.1550689548920[/C][C]40.4[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=40311&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40311&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
154.3254.7415714694603111.3
259.3253.145764348029486.7
371.854.737439533475169.80000000000001
488.1752.459505370326865.09999999999999
5103.36.084406298070512.9
6122.65.7195570924096313.4
7128.954.677962519445139.80000000000001
8143.357.2652139220626916.6000000000000
9151.818.045682770864238.1
10187.655.1887699248794311
11175.1524.974987487484459.4
12164.82522.567435979008952.5
13208.17514.393603903586234.3
14314.97543.048915975511797.6
15325.3520.776669608000245.3
16364.47531.677370997816971
17425.97519.002170928607139.1
18465.8519.155068954892040.4







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha2.29981458886056
beta0.0608153410996431
S.D.0.0165455393079671
T-STAT3.67563365374006
p-value0.00204494057437327

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 2.29981458886056 \tabularnewline
beta & 0.0608153410996431 \tabularnewline
S.D. & 0.0165455393079671 \tabularnewline
T-STAT & 3.67563365374006 \tabularnewline
p-value & 0.00204494057437327 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=40311&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]2.29981458886056[/C][/ROW]
[ROW][C]beta[/C][C]0.0608153410996431[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0165455393079671[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.67563365374006[/C][/ROW]
[ROW][C]p-value[/C][C]0.00204494057437327[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=40311&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40311&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)
alpha2.29981458886056
beta0.0608153410996431
S.D.0.0165455393079671
T-STAT3.67563365374006
p-value0.00204494057437327







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-3.09475727940267
beta1.06577502254939
S.D.0.197876535164320
T-STAT5.38606066487041
p-value6.06025734682578e-05
Lambda-0.0657750225493925

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -3.09475727940267 \tabularnewline
beta & 1.06577502254939 \tabularnewline
S.D. & 0.197876535164320 \tabularnewline
T-STAT & 5.38606066487041 \tabularnewline
p-value & 6.06025734682578e-05 \tabularnewline
Lambda & -0.0657750225493925 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=40311&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-3.09475727940267[/C][/ROW]
[ROW][C]beta[/C][C]1.06577502254939[/C][/ROW]
[ROW][C]S.D.[/C][C]0.197876535164320[/C][/ROW]
[ROW][C]T-STAT[/C][C]5.38606066487041[/C][/ROW]
[ROW][C]p-value[/C][C]6.06025734682578e-05[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.0657750225493925[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=40311&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40311&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-3.09475727940267
beta1.06577502254939
S.D.0.197876535164320
T-STAT5.38606066487041
p-value6.06025734682578e-05
Lambda-0.0657750225493925



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