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 computationSat, 24 Nov 2007 05:59: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/2007/Nov/24/t11959089921ubhpu2ubt0npz7.htm/, Retrieved Fri, 03 May 2024 11:30:37 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=6278, Retrieved Fri, 03 May 2024 11:30:37 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsstandard deviation mean plot
Estimated Impact235
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Standard deviatio...] [2007-11-24 12:59:55] [bd7b8d7754bcf95ad80b21f541dc6b78] [Current]
Feedback Forum

Post a new message
Dataseries X:
88,74
88,92
88,77
89,17
89,61
89,52
89,74
89,40
89,36
89,38
89,36
89,29
89,59
89,79
89,86
90,21
90,37
90,19
90,33
90,22
90,42
90,54
90,73
91,02
91,19
91,53
91,88
92,06
92,32
92,67
92,85
92,82
93,46
93,23
93,54
93,29
93,20
93,60
93,81
94,62
95,22
95,38
95,31
95,30
95,57
95,42
95,53
95,33
95,90
96,06
96,31
96,34
96,49
96,22
96,53
96,50
96,77
96,66
96,58
96,63
97,06
97,73
98,01
97,76
97,49
97,77
97,96
98,23
98,51
98,19
98,37
98,31
98,60
98,97
99,11
99,64
100,03
99,98
100,32
100,44
100,51
101,00
100,88
100,55
100,83
101,51
102,16
102,39
102,54
102,85
103,47
103,57
103,69
103,50
103,47
103,45
103,48
103,93
103,89
104,40
104,79
104,77
105,13
105,26
104,96
104,75
105,01
105,15
105,20
105,77
105,78
106,26
106,13
106,12
106,57
106,44
106,54




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of compuational 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' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6278&T=0

[TABLE]
[ROW][C]Summary of compuational 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' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6278&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6278&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 compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
189.27166666666670.317370827935151
290.27250.3995935434913822.09999999999999
392.570.7759217392588944.77000000000001
494.85750.8413638819311066.39999999999999
596.41583333333330.2578744702839767.16
697.94916666666670.4133996158975528.9900
7100.00250.77323552803669211.26
8102.7858333333330.92371245361838414.29
9104.6266666666670.57548925167015715.9

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 89.2716666666667 & 0.31737082793515 & 1 \tabularnewline
2 & 90.2725 & 0.399593543491382 & 2.09999999999999 \tabularnewline
3 & 92.57 & 0.775921739258894 & 4.77000000000001 \tabularnewline
4 & 94.8575 & 0.841363881931106 & 6.39999999999999 \tabularnewline
5 & 96.4158333333333 & 0.257874470283976 & 7.16 \tabularnewline
6 & 97.9491666666667 & 0.413399615897552 & 8.9900 \tabularnewline
7 & 100.0025 & 0.773235528036692 & 11.26 \tabularnewline
8 & 102.785833333333 & 0.923712453618384 & 14.29 \tabularnewline
9 & 104.626666666667 & 0.575489251670157 & 15.9 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6278&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]89.2716666666667[/C][C]0.31737082793515[/C][C]1[/C][/ROW]
[ROW][C]2[/C][C]90.2725[/C][C]0.399593543491382[/C][C]2.09999999999999[/C][/ROW]
[ROW][C]3[/C][C]92.57[/C][C]0.775921739258894[/C][C]4.77000000000001[/C][/ROW]
[ROW][C]4[/C][C]94.8575[/C][C]0.841363881931106[/C][C]6.39999999999999[/C][/ROW]
[ROW][C]5[/C][C]96.4158333333333[/C][C]0.257874470283976[/C][C]7.16[/C][/ROW]
[ROW][C]6[/C][C]97.9491666666667[/C][C]0.413399615897552[/C][C]8.9900[/C][/ROW]
[ROW][C]7[/C][C]100.0025[/C][C]0.773235528036692[/C][C]11.26[/C][/ROW]
[ROW][C]8[/C][C]102.785833333333[/C][C]0.923712453618384[/C][C]14.29[/C][/ROW]
[ROW][C]9[/C][C]104.626666666667[/C][C]0.575489251670157[/C][C]15.9[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6278&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6278&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
189.27166666666670.317370827935151
290.27250.3995935434913822.09999999999999
392.570.7759217392588944.77000000000001
494.85750.8413638819311066.39999999999999
596.41583333333330.2578744702839767.16
697.94916666666670.4133996158975528.9900
7100.00250.77323552803669211.26
8102.7858333333330.92371245361838414.29
9104.6266666666670.57548925167015715.9







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-1.27055771420851
beta0.0192379265344333
S.D.0.0159909621465710
T-STAT1.20304997023326
p-value0.268062645710765

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -1.27055771420851 \tabularnewline
beta & 0.0192379265344333 \tabularnewline
S.D. & 0.0159909621465710 \tabularnewline
T-STAT & 1.20304997023326 \tabularnewline
p-value & 0.268062645710765 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6278&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-1.27055771420851[/C][/ROW]
[ROW][C]beta[/C][C]0.0192379265344333[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0159909621465710[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.20304997023326[/C][/ROW]
[ROW][C]p-value[/C][C]0.268062645710765[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6278&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6278&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-1.27055771420851
beta0.0192379265344333
S.D.0.0159909621465710
T-STAT1.20304997023326
p-value0.268062645710765







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-16.8570022750376
beta3.55319426013820
S.D.2.8848543946525
T-STAT1.23167195776832
p-value0.257839206585830
Lambda-2.55319426013820

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -16.8570022750376 \tabularnewline
beta & 3.55319426013820 \tabularnewline
S.D. & 2.8848543946525 \tabularnewline
T-STAT & 1.23167195776832 \tabularnewline
p-value & 0.257839206585830 \tabularnewline
Lambda & -2.55319426013820 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6278&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-16.8570022750376[/C][/ROW]
[ROW][C]beta[/C][C]3.55319426013820[/C][/ROW]
[ROW][C]S.D.[/C][C]2.8848543946525[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.23167195776832[/C][/ROW]
[ROW][C]p-value[/C][C]0.257839206585830[/C][/ROW]
[ROW][C]Lambda[/C][C]-2.55319426013820[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6278&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6278&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-16.8570022750376
beta3.55319426013820
S.D.2.8848543946525
T-STAT1.23167195776832
p-value0.257839206585830
Lambda-2.55319426013820



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