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 computationTue, 26 Jul 2011 10:30:01 -0400
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/Jul/26/t1311690687g8pf3wn12qxy74y.htm/, Retrieved Thu, 16 May 2024 18:38:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=123153, Retrieved Thu, 16 May 2024 18:38:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsThomas Schroeven
Estimated Impact185
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Tijdreeks 2 - Sta...] [2011-07-26 14:30:01] [1757923712b2aedbf315e1364d6f70a4] [Current]
Feedback Forum

Post a new message
Dataseries X:
1070
1240
1200
1280
1180
1190
1190
1230
1470
1190
1190
1400
1130
1260
1260
1260
1130
1220
1180
1280
1140
1160
1170
1410
1100
1280
1330
1260
1070
1260
1270
1410
1160
1130
1160
1300
1080
1380
1260
1250
990
1180
1240
1500
1650
1110
1080
1270
1050
1490
1280
1230
960
1100
1270
1530
1290
1120
1100
1310
1020
1510
1260
1160
970
1020
1210
1530
1350
1070
1140
1250
930
1510
1230
1180
960
960
1240
1640
1350
1100
1120
1290
890
1560
1250
1170
900
860
1310
1610
1440
1130
1220
1400
930
1490
1250
1160
910
880
1300
1550
1460
1120
1270
1410




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=123153&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]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=123153&T=0

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
11235.83333333333106.212337353344400
21216.6666666666782.38858408711280
31227.5102.436232936309340
41249.16666666667188.267620608794660
51227.5171.311783811643570
61207.5184.101009823906560
71209.16666666667218.817413854704710
81228.33333333333253.729753633246750
91227.5232.38389085148670

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 1235.83333333333 & 106.212337353344 & 400 \tabularnewline
2 & 1216.66666666667 & 82.38858408711 & 280 \tabularnewline
3 & 1227.5 & 102.436232936309 & 340 \tabularnewline
4 & 1249.16666666667 & 188.267620608794 & 660 \tabularnewline
5 & 1227.5 & 171.311783811643 & 570 \tabularnewline
6 & 1207.5 & 184.101009823906 & 560 \tabularnewline
7 & 1209.16666666667 & 218.817413854704 & 710 \tabularnewline
8 & 1228.33333333333 & 253.729753633246 & 750 \tabularnewline
9 & 1227.5 & 232.38389085148 & 670 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=123153&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]1235.83333333333[/C][C]106.212337353344[/C][C]400[/C][/ROW]
[ROW][C]2[/C][C]1216.66666666667[/C][C]82.38858408711[/C][C]280[/C][/ROW]
[ROW][C]3[/C][C]1227.5[/C][C]102.436232936309[/C][C]340[/C][/ROW]
[ROW][C]4[/C][C]1249.16666666667[/C][C]188.267620608794[/C][C]660[/C][/ROW]
[ROW][C]5[/C][C]1227.5[/C][C]171.311783811643[/C][C]570[/C][/ROW]
[ROW][C]6[/C][C]1207.5[/C][C]184.101009823906[/C][C]560[/C][/ROW]
[ROW][C]7[/C][C]1209.16666666667[/C][C]218.817413854704[/C][C]710[/C][/ROW]
[ROW][C]8[/C][C]1228.33333333333[/C][C]253.729753633246[/C][C]750[/C][/ROW]
[ROW][C]9[/C][C]1227.5[/C][C]232.38389085148[/C][C]670[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=123153&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=123153&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
11235.83333333333106.212337353344400
21216.6666666666782.38858408711280
31227.5102.436232936309340
41249.16666666667188.267620608794660
51227.5171.311783811643570
61207.5184.101009823906560
71209.16666666667218.817413854704710
81228.33333333333253.729753633246750
91227.5232.38389085148670







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha418.945569852201
beta-0.202269271027663
S.D.1.77986641640666
T-STAT-0.113642950483903
p-value0.912711530132129

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 418.945569852201 \tabularnewline
beta & -0.202269271027663 \tabularnewline
S.D. & 1.77986641640666 \tabularnewline
T-STAT & -0.113642950483903 \tabularnewline
p-value & 0.912711530132129 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=123153&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]418.945569852201[/C][/ROW]
[ROW][C]beta[/C][C]-0.202269271027663[/C][/ROW]
[ROW][C]S.D.[/C][C]1.77986641640666[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.113642950483903[/C][/ROW]
[ROW][C]p-value[/C][C]0.912711530132129[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=123153&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=123153&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)
alpha418.945569852201
beta-0.202269271027663
S.D.1.77986641640666
T-STAT-0.113642950483903
p-value0.912711530132129







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha10.9643581767591
beta-0.828187713925281
S.D.14.3981513731314
T-STAT-0.0575204199804965
p-value0.955738152147782
Lambda1.82818771392528

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 10.9643581767591 \tabularnewline
beta & -0.828187713925281 \tabularnewline
S.D. & 14.3981513731314 \tabularnewline
T-STAT & -0.0575204199804965 \tabularnewline
p-value & 0.955738152147782 \tabularnewline
Lambda & 1.82818771392528 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=123153&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]10.9643581767591[/C][/ROW]
[ROW][C]beta[/C][C]-0.828187713925281[/C][/ROW]
[ROW][C]S.D.[/C][C]14.3981513731314[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.0575204199804965[/C][/ROW]
[ROW][C]p-value[/C][C]0.955738152147782[/C][/ROW]
[ROW][C]Lambda[/C][C]1.82818771392528[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=123153&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=123153&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)
alpha10.9643581767591
beta-0.828187713925281
S.D.14.3981513731314
T-STAT-0.0575204199804965
p-value0.955738152147782
Lambda1.82818771392528



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