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 10:53:55 -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/t1262800620u0obzg64i3ln5ck.htm/, Retrieved Sat, 04 May 2024 12:43:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=71692, Retrieved Sat, 04 May 2024 12:43:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact126
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 17:53:55] [58d9ccda37eeb031a0ffa1e9ea016ece] [Current]
Feedback Forum

Post a new message
Dataseries X:
4.26
4.26
4.07
4.26
4.4
4.46
4.34
4.18
4.11
3.98
3.85
3.66
3.59
3.57
3.76
3.6
3.43
3.26
3.3
3.31
3.14
3.3
3.49
3.39
3.37
3.54
3.7
3.96
4.03
4.02
4.04
3.92
3.79
3.83
3.76
3.82
4.06
4.11
4.01
4.22
4.34
4.64
4.62
4.44
4.39
4.42
4.28
4.41
4.25
4.23
4.23
4.37
4.51
4.84
4.85
4.58
4.56
4.46
4.26
3.87
4.13
4.24
4.03
3.93
4.03
4.12
3.92
3.77




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71692&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
14.21250.09499999999999980.190000000000000
24.3450.1204159457879230.28
33.90.1920069443188620.45
43.630.08755950357709130.19
53.3250.07325753658611990.170000000000000
63.330.1485485330343810.35
73.64250.2509149922450500.59
84.00250.05560275772537430.12
93.80.03162277660168390.0700000000000003
104.10.08981462390204990.21
114.510.1446835627614050.3
124.3750.06454972243679010.140000000000000
134.270.06733003292241370.140000000000000
144.6950.1755942292142120.34
154.28750.3050.69
164.08250.1330100246848580.31
173.960.1507757717053150.35

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 4.2125 & 0.0949999999999998 & 0.190000000000000 \tabularnewline
2 & 4.345 & 0.120415945787923 & 0.28 \tabularnewline
3 & 3.9 & 0.192006944318862 & 0.45 \tabularnewline
4 & 3.63 & 0.0875595035770913 & 0.19 \tabularnewline
5 & 3.325 & 0.0732575365861199 & 0.170000000000000 \tabularnewline
6 & 3.33 & 0.148548533034381 & 0.35 \tabularnewline
7 & 3.6425 & 0.250914992245050 & 0.59 \tabularnewline
8 & 4.0025 & 0.0556027577253743 & 0.12 \tabularnewline
9 & 3.8 & 0.0316227766016839 & 0.0700000000000003 \tabularnewline
10 & 4.1 & 0.0898146239020499 & 0.21 \tabularnewline
11 & 4.51 & 0.144683562761405 & 0.3 \tabularnewline
12 & 4.375 & 0.0645497224367901 & 0.140000000000000 \tabularnewline
13 & 4.27 & 0.0673300329224137 & 0.140000000000000 \tabularnewline
14 & 4.695 & 0.175594229214212 & 0.34 \tabularnewline
15 & 4.2875 & 0.305 & 0.69 \tabularnewline
16 & 4.0825 & 0.133010024684858 & 0.31 \tabularnewline
17 & 3.96 & 0.150775771705315 & 0.35 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71692&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]4.2125[/C][C]0.0949999999999998[/C][C]0.190000000000000[/C][/ROW]
[ROW][C]2[/C][C]4.345[/C][C]0.120415945787923[/C][C]0.28[/C][/ROW]
[ROW][C]3[/C][C]3.9[/C][C]0.192006944318862[/C][C]0.45[/C][/ROW]
[ROW][C]4[/C][C]3.63[/C][C]0.0875595035770913[/C][C]0.19[/C][/ROW]
[ROW][C]5[/C][C]3.325[/C][C]0.0732575365861199[/C][C]0.170000000000000[/C][/ROW]
[ROW][C]6[/C][C]3.33[/C][C]0.148548533034381[/C][C]0.35[/C][/ROW]
[ROW][C]7[/C][C]3.6425[/C][C]0.250914992245050[/C][C]0.59[/C][/ROW]
[ROW][C]8[/C][C]4.0025[/C][C]0.0556027577253743[/C][C]0.12[/C][/ROW]
[ROW][C]9[/C][C]3.8[/C][C]0.0316227766016839[/C][C]0.0700000000000003[/C][/ROW]
[ROW][C]10[/C][C]4.1[/C][C]0.0898146239020499[/C][C]0.21[/C][/ROW]
[ROW][C]11[/C][C]4.51[/C][C]0.144683562761405[/C][C]0.3[/C][/ROW]
[ROW][C]12[/C][C]4.375[/C][C]0.0645497224367901[/C][C]0.140000000000000[/C][/ROW]
[ROW][C]13[/C][C]4.27[/C][C]0.0673300329224137[/C][C]0.140000000000000[/C][/ROW]
[ROW][C]14[/C][C]4.695[/C][C]0.175594229214212[/C][C]0.34[/C][/ROW]
[ROW][C]15[/C][C]4.2875[/C][C]0.305[/C][C]0.69[/C][/ROW]
[ROW][C]16[/C][C]4.0825[/C][C]0.133010024684858[/C][C]0.31[/C][/ROW]
[ROW][C]17[/C][C]3.96[/C][C]0.150775771705315[/C][C]0.35[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71692&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71692&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
14.21250.09499999999999980.190000000000000
24.3450.1204159457879230.28
33.90.1920069443188620.45
43.630.08755950357709130.19
53.3250.07325753658611990.170000000000000
63.330.1485485330343810.35
73.64250.2509149922450500.59
84.00250.05560275772537430.12
93.80.03162277660168390.0700000000000003
104.10.08981462390204990.21
114.510.1446835627614050.3
124.3750.06454972243679010.140000000000000
134.270.06733003292241370.140000000000000
144.6950.1755942292142120.34
154.28750.3050.69
164.08250.1330100246848580.31
173.960.1507757717053150.35







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha0.0539567146963983
beta0.0185259109455546
S.D.0.0476432056325459
T-STAT0.388846860734729
p-value0.70285343654315

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 0.0539567146963983 \tabularnewline
beta & 0.0185259109455546 \tabularnewline
S.D. & 0.0476432056325459 \tabularnewline
T-STAT & 0.388846860734729 \tabularnewline
p-value & 0.70285343654315 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71692&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]0.0539567146963983[/C][/ROW]
[ROW][C]beta[/C][C]0.0185259109455546[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0476432056325459[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.388846860734729[/C][/ROW]
[ROW][C]p-value[/C][C]0.70285343654315[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71692&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71692&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)
alpha0.0539567146963983
beta0.0185259109455546
S.D.0.0476432056325459
T-STAT0.388846860734729
p-value0.70285343654315







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-3.16143862946799
beta0.691487850952632
S.D.1.50132088295903
T-STAT0.460586313559925
p-value0.651702212970906
Lambda0.308512149047368

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -3.16143862946799 \tabularnewline
beta & 0.691487850952632 \tabularnewline
S.D. & 1.50132088295903 \tabularnewline
T-STAT & 0.460586313559925 \tabularnewline
p-value & 0.651702212970906 \tabularnewline
Lambda & 0.308512149047368 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71692&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-3.16143862946799[/C][/ROW]
[ROW][C]beta[/C][C]0.691487850952632[/C][/ROW]
[ROW][C]S.D.[/C][C]1.50132088295903[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.460586313559925[/C][/ROW]
[ROW][C]p-value[/C][C]0.651702212970906[/C][/ROW]
[ROW][C]Lambda[/C][C]0.308512149047368[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71692&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71692&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.16143862946799
beta0.691487850952632
S.D.1.50132088295903
T-STAT0.460586313559925
p-value0.651702212970906
Lambda0.308512149047368



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