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 08:18:51 -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/t126279118609h828e965kemeb.htm/, Retrieved Sat, 04 May 2024 15:47:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=71675, Retrieved Sat, 04 May 2024 15:47:45 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact130
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Opdracht 8 oefeni...] [2010-01-06 15:18:51] [243e584c296eec1181ddc9ac4f09d2dd] [Current]
Feedback Forum

Post a new message
Dataseries X:
100.09
100.09
100.06
100.11
100.08
100.08
100.08
100.08
99.94
99.79
99.98
99.98
99.98
99.98
99.93
99.93
99.93
99.93
99.93
99.93
99.76
99.48
99.55
99.56
99.57
99.56
99.65
99.5
99.5
99.49
99.49
99.46
99.52
99.49
99.55
99.57
99.57
99.57
99.57
99.57
99.57
99.57
99.57
99.53
100.38
100.32
100.46
100.47
100.47
100.47
100.51
100.5
100.51
100.51
100.51
100.51
101.65
102.13
102.2
102.13
102.13
102.12
102.13
102.05
102
102.01
102.01
102.02
102.78
103.39
103.41
103.5
103.5
103.49
103.38
103.24
103.25
103.25
103.25
103.25
103.83
104.33
104.36
104.48
104.5
104.48
104.35
104.48
104.48
104.47
104.47
104.86
105.22
105.96
106.03
106.03




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71675&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
1100.030.09302980949429680.319999999999993
299.82416666666670.1866673430723700.5
399.52916666666670.05264949854433480.190000000000012
499.84583333333330.4166196943220160.939999999999998
5101.0083333333330.7644229354502791.73000000000000
6102.46250.6225333141870621.5
7103.6341666666670.4874695017655121.24000000000001
8104.9441666666670.682208423675151.68000000000001

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 100.03 & 0.0930298094942968 & 0.319999999999993 \tabularnewline
2 & 99.8241666666667 & 0.186667343072370 & 0.5 \tabularnewline
3 & 99.5291666666667 & 0.0526494985443348 & 0.190000000000012 \tabularnewline
4 & 99.8458333333333 & 0.416619694322016 & 0.939999999999998 \tabularnewline
5 & 101.008333333333 & 0.764422935450279 & 1.73000000000000 \tabularnewline
6 & 102.4625 & 0.622533314187062 & 1.5 \tabularnewline
7 & 103.634166666667 & 0.487469501765512 & 1.24000000000001 \tabularnewline
8 & 104.944166666667 & 0.68220842367515 & 1.68000000000001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71675&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]100.03[/C][C]0.0930298094942968[/C][C]0.319999999999993[/C][/ROW]
[ROW][C]2[/C][C]99.8241666666667[/C][C]0.186667343072370[/C][C]0.5[/C][/ROW]
[ROW][C]3[/C][C]99.5291666666667[/C][C]0.0526494985443348[/C][C]0.190000000000012[/C][/ROW]
[ROW][C]4[/C][C]99.8458333333333[/C][C]0.416619694322016[/C][C]0.939999999999998[/C][/ROW]
[ROW][C]5[/C][C]101.008333333333[/C][C]0.764422935450279[/C][C]1.73000000000000[/C][/ROW]
[ROW][C]6[/C][C]102.4625[/C][C]0.622533314187062[/C][C]1.5[/C][/ROW]
[ROW][C]7[/C][C]103.634166666667[/C][C]0.487469501765512[/C][C]1.24000000000001[/C][/ROW]
[ROW][C]8[/C][C]104.944166666667[/C][C]0.68220842367515[/C][C]1.68000000000001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71675&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71675&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
1100.030.09302980949429680.319999999999993
299.82416666666670.1866673430723700.5
399.52916666666670.05264949854433480.190000000000012
499.84583333333330.4166196943220160.939999999999998
5101.0083333333330.7644229354502791.73000000000000
6102.46250.6225333141870621.5
7103.6341666666670.4874695017655121.24000000000001
8104.9441666666670.682208423675151.68000000000001







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-8.88488035383774
beta0.091688191703069
S.D.0.0403365552595809
T-STAT2.27307937212340
p-value0.0633991125683556

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -8.88488035383774 \tabularnewline
beta & 0.091688191703069 \tabularnewline
S.D. & 0.0403365552595809 \tabularnewline
T-STAT & 2.27307937212340 \tabularnewline
p-value & 0.0633991125683556 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71675&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-8.88488035383774[/C][/ROW]
[ROW][C]beta[/C][C]0.091688191703069[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0403365552595809[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.27307937212340[/C][/ROW]
[ROW][C]p-value[/C][C]0.0633991125683556[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71675&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71675&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-8.88488035383774
beta0.091688191703069
S.D.0.0403365552595809
T-STAT2.27307937212340
p-value0.0633991125683556







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-155.720465631504
beta33.4501186244008
S.D.15.2949555612874
T-STAT2.18700332213226
p-value0.0713689616409804
Lambda-32.4501186244008

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -155.720465631504 \tabularnewline
beta & 33.4501186244008 \tabularnewline
S.D. & 15.2949555612874 \tabularnewline
T-STAT & 2.18700332213226 \tabularnewline
p-value & 0.0713689616409804 \tabularnewline
Lambda & -32.4501186244008 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71675&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-155.720465631504[/C][/ROW]
[ROW][C]beta[/C][C]33.4501186244008[/C][/ROW]
[ROW][C]S.D.[/C][C]15.2949555612874[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.18700332213226[/C][/ROW]
[ROW][C]p-value[/C][C]0.0713689616409804[/C][/ROW]
[ROW][C]Lambda[/C][C]-32.4501186244008[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71675&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71675&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-155.720465631504
beta33.4501186244008
S.D.15.2949555612874
T-STAT2.18700332213226
p-value0.0713689616409804
Lambda-32.4501186244008



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