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 06:09: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/2007/Nov/24/t1195909267lzr0aaui60ojm2n.htm/, Retrieved Fri, 03 May 2024 14:21:53 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=6280, Retrieved Fri, 03 May 2024 14:21:53 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsWS7SDM
Estimated Impact235
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [WS7 - SD - Medical] [2007-11-24 13:09:52] [e51d7ab0e549b3dc96ac85a81d9bd259] [Current]
-    D    [Standard Deviation-Mean Plot] [WS7 - SD - Medical] [2008-12-27 11:53:47] [1aad2bd7746abaf3ab17fe0d80878872]
Feedback Forum

Post a new message
Dataseries X:
96,5
97,3
122,0
91,0
107,9
114,6
98,0
95,5
98,7
115,9
110,4
109,5
92,3
102,1
112,8
110,2
98,9
119,0
104,3
98,8
109,4
170,3
118,0
116,9
111,7
116,8
116,1
114,8
110,8
122,8
104,7
86,0
127,2
126,1
114,6
127,8
105,2
113,1
161,0
126,9
117,7
144,9
119,4
107,1
142,8
126,2
126,9
179,2
105,3
114,8
125,4
113,2
134,4
150,0
100,9
101,8
137,7
138,7
135,4
153,8
119,5
123,3
166,4
137,5
142,2
167,0
112,3
120,6
154,9
153,4
156,2
175,8
131,7
130,1
161,1
128,2
140,3
168,2
110,2
126,2




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6280&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
1104.7759.833442474997829.7
2112.7520.006885178494373
3114.9511.587493257819015
4130.86666666666722.321711132410788.2
5125.9518.438324711909754.9
6144.09166666666721.372431619573261.2

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 104.775 & 9.8334424749978 & 29.7 \tabularnewline
2 & 112.75 & 20.0068851784943 & 73 \tabularnewline
3 & 114.95 & 11.5874932578190 & 15 \tabularnewline
4 & 130.866666666667 & 22.3217111324107 & 88.2 \tabularnewline
5 & 125.95 & 18.4383247119097 & 54.9 \tabularnewline
6 & 144.091666666667 & 21.3724316195732 & 61.2 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6280&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]104.775[/C][C]9.8334424749978[/C][C]29.7[/C][/ROW]
[ROW][C]2[/C][C]112.75[/C][C]20.0068851784943[/C][C]73[/C][/ROW]
[ROW][C]3[/C][C]114.95[/C][C]11.5874932578190[/C][C]15[/C][/ROW]
[ROW][C]4[/C][C]130.866666666667[/C][C]22.3217111324107[/C][C]88.2[/C][/ROW]
[ROW][C]5[/C][C]125.95[/C][C]18.4383247119097[/C][C]54.9[/C][/ROW]
[ROW][C]6[/C][C]144.091666666667[/C][C]21.3724316195732[/C][C]61.2[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6280&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6280&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
1104.7759.833442474997829.7
2112.7520.006885178494373
3114.9511.587493257819015
4130.86666666666722.321711132410788.2
5125.9518.438324711909754.9
6144.09166666666721.372431619573261.2







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-16.8434462726121
beta0.279009566635289
S.D.0.121498533911311
T-STAT2.29640274374796
p-value0.0832679725921087

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -16.8434462726121 \tabularnewline
beta & 0.279009566635289 \tabularnewline
S.D. & 0.121498533911311 \tabularnewline
T-STAT & 2.29640274374796 \tabularnewline
p-value & 0.0832679725921087 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6280&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-16.8434462726121[/C][/ROW]
[ROW][C]beta[/C][C]0.279009566635289[/C][/ROW]
[ROW][C]S.D.[/C][C]0.121498533911311[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.29640274374796[/C][/ROW]
[ROW][C]p-value[/C][C]0.0832679725921087[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6280&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6280&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-16.8434462726121
beta0.279009566635289
S.D.0.121498533911311
T-STAT2.29640274374796
p-value0.0832679725921087







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-8.20184986168246
beta2.29237504902311
S.D.0.971882385143286
T-STAT2.35869595340504
p-value0.077773483316284
Lambda-1.29237504902311

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -8.20184986168246 \tabularnewline
beta & 2.29237504902311 \tabularnewline
S.D. & 0.971882385143286 \tabularnewline
T-STAT & 2.35869595340504 \tabularnewline
p-value & 0.077773483316284 \tabularnewline
Lambda & -1.29237504902311 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6280&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-8.20184986168246[/C][/ROW]
[ROW][C]beta[/C][C]2.29237504902311[/C][/ROW]
[ROW][C]S.D.[/C][C]0.971882385143286[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.35869595340504[/C][/ROW]
[ROW][C]p-value[/C][C]0.077773483316284[/C][/ROW]
[ROW][C]Lambda[/C][C]-1.29237504902311[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6280&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6280&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-8.20184986168246
beta2.29237504902311
S.D.0.971882385143286
T-STAT2.35869595340504
p-value0.077773483316284
Lambda-1.29237504902311



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