Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationSun, 13 Dec 2009 02:50:52 -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/13/t1260697902nmnnu1i2xlajxsk.htm/, Retrieved Sun, 28 Apr 2024 10:12:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=67182, Retrieved Sun, 28 Apr 2024 10:12:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact139
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMP   [Standard Deviation-Mean Plot] [] [2009-11-27 14:40:44] [b98453cac15ba1066b407e146608df68]
-    D    [Standard Deviation-Mean Plot] [workshop 9 bereke...] [2009-12-03 12:59:04] [eaf42bcf5162b5692bb3c7f9d4636222]
-    D        [Standard Deviation-Mean Plot] [paper SDM inflatie] [2009-12-13 09:50:52] [78d370e6d5f4594e9982a5085e7604c6] [Current]
Feedback Forum

Post a new message
Dataseries X:
2.04
2.16
2.75
2.79
2.88
3.36
2.97
3.10
2.49
2.20
2.25
2.09
2.79
3.14
2.93
2.65
2.67
2.26
2.35
2.13
2.18
2.90
2.63
2.67
1.81
1.33
0.88
1.28
1.26
1.26
1.29
1.10
1.37
1.21
1.74
1.76
1.48
1.04
1.62
1.49
1.79
1.80
1.58
1.86
1.74
1.59
1.26
1.13
1.92
2.61
2.26
2.41
2.26
2.03
2.86
2.55
2.27
2.26
2.57
3.07
2.76
2.51
2.87
3.14
3.11
3.16
2.47
2.57
2.89
2.63
2.38
1.69
1.96
2.19
1.87
1.60
1.63
1.22
1.21
1.49
1.64
1.66
1.77
1.82
1.78
1.28
1.29
1.37
1.12
1.51
2.24
2.94
3.09
3.46
3.64
4.39
4.15
5.21
5.80
5.91
5.39
5.46
4.72
3.14
2.63
2.32
1.93
0.62




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 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 & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67182&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67182&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67182&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'Gwilym Jenkins' @ 72.249.127.135







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
12.590.4433549778266131.32
22.608333333333330.3182861300874741.01
31.35750.2795491500125290.93
41.531666666666670.2671000266612200.82
52.42250.3293278278278621.15
62.681666666666670.4124391598842921.47
71.671666666666670.2829980190529230.98
82.34251.117514490449073.27
93.941.759695221544715.29

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 2.59 & 0.443354977826613 & 1.32 \tabularnewline
2 & 2.60833333333333 & 0.318286130087474 & 1.01 \tabularnewline
3 & 1.3575 & 0.279549150012529 & 0.93 \tabularnewline
4 & 1.53166666666667 & 0.267100026661220 & 0.82 \tabularnewline
5 & 2.4225 & 0.329327827827862 & 1.15 \tabularnewline
6 & 2.68166666666667 & 0.412439159884292 & 1.47 \tabularnewline
7 & 1.67166666666667 & 0.282998019052923 & 0.98 \tabularnewline
8 & 2.3425 & 1.11751449044907 & 3.27 \tabularnewline
9 & 3.94 & 1.75969522154471 & 5.29 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67182&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]2.59[/C][C]0.443354977826613[/C][C]1.32[/C][/ROW]
[ROW][C]2[/C][C]2.60833333333333[/C][C]0.318286130087474[/C][C]1.01[/C][/ROW]
[ROW][C]3[/C][C]1.3575[/C][C]0.279549150012529[/C][C]0.93[/C][/ROW]
[ROW][C]4[/C][C]1.53166666666667[/C][C]0.267100026661220[/C][C]0.82[/C][/ROW]
[ROW][C]5[/C][C]2.4225[/C][C]0.329327827827862[/C][C]1.15[/C][/ROW]
[ROW][C]6[/C][C]2.68166666666667[/C][C]0.412439159884292[/C][C]1.47[/C][/ROW]
[ROW][C]7[/C][C]1.67166666666667[/C][C]0.282998019052923[/C][C]0.98[/C][/ROW]
[ROW][C]8[/C][C]2.3425[/C][C]1.11751449044907[/C][C]3.27[/C][/ROW]
[ROW][C]9[/C][C]3.94[/C][C]1.75969522154471[/C][C]5.29[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67182&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67182&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
12.590.4433549778266131.32
22.608333333333330.3182861300874741.01
31.35750.2795491500125290.93
41.531666666666670.2671000266612200.82
52.42250.3293278278278621.15
62.681666666666670.4124391598842921.47
71.671666666666670.2829980190529230.98
82.34251.117514490449073.27
93.941.759695221544715.29







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.601596684577229
beta0.502445800884733
S.D.0.162492301392334
T-STAT3.09212065174453
p-value0.0175147946294345

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -0.601596684577229 \tabularnewline
beta & 0.502445800884733 \tabularnewline
S.D. & 0.162492301392334 \tabularnewline
T-STAT & 3.09212065174453 \tabularnewline
p-value & 0.0175147946294345 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67182&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.601596684577229[/C][/ROW]
[ROW][C]beta[/C][C]0.502445800884733[/C][/ROW]
[ROW][C]S.D.[/C][C]0.162492301392334[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.09212065174453[/C][/ROW]
[ROW][C]p-value[/C][C]0.0175147946294345[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67182&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67182&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.601596684577229
beta0.502445800884733
S.D.0.162492301392334
T-STAT3.09212065174453
p-value0.0175147946294345







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-1.96587132079418
beta1.45624216646125
S.D.0.531562444759476
T-STAT2.73955050966811
p-value0.0289369432061734
Lambda-0.456242166461251

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -1.96587132079418 \tabularnewline
beta & 1.45624216646125 \tabularnewline
S.D. & 0.531562444759476 \tabularnewline
T-STAT & 2.73955050966811 \tabularnewline
p-value & 0.0289369432061734 \tabularnewline
Lambda & -0.456242166461251 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67182&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-1.96587132079418[/C][/ROW]
[ROW][C]beta[/C][C]1.45624216646125[/C][/ROW]
[ROW][C]S.D.[/C][C]0.531562444759476[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.73955050966811[/C][/ROW]
[ROW][C]p-value[/C][C]0.0289369432061734[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.456242166461251[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67182&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67182&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.96587132079418
beta1.45624216646125
S.D.0.531562444759476
T-STAT2.73955050966811
p-value0.0289369432061734
Lambda-0.456242166461251



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