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 computationMon, 28 Nov 2011 07:09:11 -0500
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/Nov/28/t1322482190eq9wrl5cqcvjerq.htm/, Retrieved Fri, 26 Apr 2024 18:29:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=147681, Retrieved Fri, 26 Apr 2024 18:29:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact116
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Gemiddelde consum...] [2011-11-28 12:09:11] [036566f0315b6830c558eb5f1e94847a] [Current]
Feedback Forum

Post a new message
Dataseries X:
14.92
14.95
14.97
15.05
15.06
15.07
15.07
15.08
15.09
15.09
15.09
15.12
15.13
15.15
15.15
15.16
15.17
15.17
15.18
15.18
15.19
15.19
15.2
15.21
15.24
15.31
15.45
15.46
15.65
15.67
15.68
15.73
15.74
15.79
15.8
15.81
15.82
15.84
15.84
15.85
15.86
15.87
15.87
15.88
15.88
15.88
15.88
15.9
15.91
15.92
15.94
15.96
15.96
15.97
15.97
16
16.02
16.05
16.07
16.08
16.08
16.08
16.11
16.12
16.12
16.14
16.14
16.14
16.15
16.15
16.18
16.18
16.19
16.25




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net

\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' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=147681&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' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=147681&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=147681&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' @ jenkins.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
114.97250.05560275772537470.130000000000001
215.070.008164965809277090.0199999999999996
315.09750.01499999999999970.0299999999999994
415.14750.01258305739211760.0299999999999994
515.1750.005773502691896130.00999999999999979
615.19750.009574271077563950.0200000000000014
715.3650.1078579312490890.220000000000001
815.68250.03403429642777030.0800000000000001
915.7850.03109126351029620.0700000000000003
1015.83750.01258305739211760.0299999999999994
1115.870.008164965809277810.0200000000000014
1215.8850.009999999999999790.0199999999999996
1315.93250.02217355782608370.0500000000000007
1415.9750.01732050807568840.0399999999999991
1516.0550.02645751311064560.0599999999999987
1616.09750.02061552812808950.0400000000000027
1716.1350.009999999999999790.0199999999999996
1816.1650.01732050807568940.0300000000000011

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 14.9725 & 0.0556027577253747 & 0.130000000000001 \tabularnewline
2 & 15.07 & 0.00816496580927709 & 0.0199999999999996 \tabularnewline
3 & 15.0975 & 0.0149999999999997 & 0.0299999999999994 \tabularnewline
4 & 15.1475 & 0.0125830573921176 & 0.0299999999999994 \tabularnewline
5 & 15.175 & 0.00577350269189613 & 0.00999999999999979 \tabularnewline
6 & 15.1975 & 0.00957427107756395 & 0.0200000000000014 \tabularnewline
7 & 15.365 & 0.107857931249089 & 0.220000000000001 \tabularnewline
8 & 15.6825 & 0.0340342964277703 & 0.0800000000000001 \tabularnewline
9 & 15.785 & 0.0310912635102962 & 0.0700000000000003 \tabularnewline
10 & 15.8375 & 0.0125830573921176 & 0.0299999999999994 \tabularnewline
11 & 15.87 & 0.00816496580927781 & 0.0200000000000014 \tabularnewline
12 & 15.885 & 0.00999999999999979 & 0.0199999999999996 \tabularnewline
13 & 15.9325 & 0.0221735578260837 & 0.0500000000000007 \tabularnewline
14 & 15.975 & 0.0173205080756884 & 0.0399999999999991 \tabularnewline
15 & 16.055 & 0.0264575131106456 & 0.0599999999999987 \tabularnewline
16 & 16.0975 & 0.0206155281280895 & 0.0400000000000027 \tabularnewline
17 & 16.135 & 0.00999999999999979 & 0.0199999999999996 \tabularnewline
18 & 16.165 & 0.0173205080756894 & 0.0300000000000011 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=147681&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]14.9725[/C][C]0.0556027577253747[/C][C]0.130000000000001[/C][/ROW]
[ROW][C]2[/C][C]15.07[/C][C]0.00816496580927709[/C][C]0.0199999999999996[/C][/ROW]
[ROW][C]3[/C][C]15.0975[/C][C]0.0149999999999997[/C][C]0.0299999999999994[/C][/ROW]
[ROW][C]4[/C][C]15.1475[/C][C]0.0125830573921176[/C][C]0.0299999999999994[/C][/ROW]
[ROW][C]5[/C][C]15.175[/C][C]0.00577350269189613[/C][C]0.00999999999999979[/C][/ROW]
[ROW][C]6[/C][C]15.1975[/C][C]0.00957427107756395[/C][C]0.0200000000000014[/C][/ROW]
[ROW][C]7[/C][C]15.365[/C][C]0.107857931249089[/C][C]0.220000000000001[/C][/ROW]
[ROW][C]8[/C][C]15.6825[/C][C]0.0340342964277703[/C][C]0.0800000000000001[/C][/ROW]
[ROW][C]9[/C][C]15.785[/C][C]0.0310912635102962[/C][C]0.0700000000000003[/C][/ROW]
[ROW][C]10[/C][C]15.8375[/C][C]0.0125830573921176[/C][C]0.0299999999999994[/C][/ROW]
[ROW][C]11[/C][C]15.87[/C][C]0.00816496580927781[/C][C]0.0200000000000014[/C][/ROW]
[ROW][C]12[/C][C]15.885[/C][C]0.00999999999999979[/C][C]0.0199999999999996[/C][/ROW]
[ROW][C]13[/C][C]15.9325[/C][C]0.0221735578260837[/C][C]0.0500000000000007[/C][/ROW]
[ROW][C]14[/C][C]15.975[/C][C]0.0173205080756884[/C][C]0.0399999999999991[/C][/ROW]
[ROW][C]15[/C][C]16.055[/C][C]0.0264575131106456[/C][C]0.0599999999999987[/C][/ROW]
[ROW][C]16[/C][C]16.0975[/C][C]0.0206155281280895[/C][C]0.0400000000000027[/C][/ROW]
[ROW][C]17[/C][C]16.135[/C][C]0.00999999999999979[/C][C]0.0199999999999996[/C][/ROW]
[ROW][C]18[/C][C]16.165[/C][C]0.0173205080756894[/C][C]0.0300000000000011[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=147681&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=147681&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
114.97250.05560275772537470.130000000000001
215.070.008164965809277090.0199999999999996
315.09750.01499999999999970.0299999999999994
415.14750.01258305739211760.0299999999999994
515.1750.005773502691896130.00999999999999979
615.19750.009574271077563950.0200000000000014
715.3650.1078579312490890.220000000000001
815.68250.03403429642777030.0800000000000001
915.7850.03109126351029620.0700000000000003
1015.83750.01258305739211760.0299999999999994
1115.870.008164965809277810.0200000000000014
1215.8850.009999999999999790.0199999999999996
1315.93250.02217355782608370.0500000000000007
1415.9750.01732050807568840.0399999999999991
1516.0550.02645751311064560.0599999999999987
1616.09750.02061552812808950.0400000000000027
1716.1350.009999999999999790.0199999999999996
1816.1650.01732050807568940.0300000000000011







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha0.183564793226983
beta-0.0102323672255138
S.D.0.0140849521229718
T-STAT-0.726475115866765
p-value0.478041904936321

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 0.183564793226983 \tabularnewline
beta & -0.0102323672255138 \tabularnewline
S.D. & 0.0140849521229718 \tabularnewline
T-STAT & -0.726475115866765 \tabularnewline
p-value & 0.478041904936321 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=147681&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]0.183564793226983[/C][/ROW]
[ROW][C]beta[/C][C]-0.0102323672255138[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0140849521229718[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.726475115866765[/C][/ROW]
[ROW][C]p-value[/C][C]0.478041904936321[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=147681&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=147681&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.183564793226983
beta-0.0102323672255138
S.D.0.0140849521229718
T-STAT-0.726475115866765
p-value0.478041904936321







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-3.48502919620557
beta-0.207159624276842
S.D.6.77062731822302
T-STAT-0.0305968139346964
p-value0.975969499175023
Lambda1.20715962427684

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -3.48502919620557 \tabularnewline
beta & -0.207159624276842 \tabularnewline
S.D. & 6.77062731822302 \tabularnewline
T-STAT & -0.0305968139346964 \tabularnewline
p-value & 0.975969499175023 \tabularnewline
Lambda & 1.20715962427684 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=147681&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-3.48502919620557[/C][/ROW]
[ROW][C]beta[/C][C]-0.207159624276842[/C][/ROW]
[ROW][C]S.D.[/C][C]6.77062731822302[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.0305968139346964[/C][/ROW]
[ROW][C]p-value[/C][C]0.975969499175023[/C][/ROW]
[ROW][C]Lambda[/C][C]1.20715962427684[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=147681&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=147681&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.48502919620557
beta-0.207159624276842
S.D.6.77062731822302
T-STAT-0.0305968139346964
p-value0.975969499175023
Lambda1.20715962427684



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