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 computationFri, 12 Dec 2008 06:53:58 -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/2008/Dec/12/t122909076613sjf00w7vsdj6g.htm/, Retrieved Sun, 19 May 2024 07:08:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=32754, Retrieved Sun, 19 May 2024 07:08:39 +0000
QR Codes:

Original text written by user:katrien
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact170
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [sdm plot] [2008-12-12 13:53:58] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
60804
57907
54355
52536
49081
48877
64599
75314
71209
65210
59829
57656
57428
55315
52790
51050
48519
48354
65333
73990
72755
67424
59214
57427
56681
55437
53600
51641
49478
50124
71313
76208
74387
69520
64735
63413
62553
60109
57764
55667
53103
55301
76795
80928
79213
72759
67802
66940
66396
67539
67776
68014
68251
68488
68725
68962
69200
69437
68212
65444
63181
61198
59010
56388
53723
55340
75352
79817
78289
71892
66448
64167
61250
59580
56417
54662
53349
55385
73546
77683
74995
67282
60742
57283
57314
54704
51578
49962
46252
47234
64708
68753
62970
57474
52494
51831
51663
49637
46679
45557
41630
44417
60070
63157




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 4 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32754&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32754&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32754&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 time4 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
159781.41666666678251.4763798346826437
259133.258884.5296302055325636
361378.08333333339772.3929465364426730
465744.59839.5379834254827825
5680371154.223233489643993
665400.41666666679045.1800671390626094
762681.16666666678551.0978012218224334
855439.57047.9431106464722501

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 59781.4166666667 & 8251.47637983468 & 26437 \tabularnewline
2 & 59133.25 & 8884.52963020553 & 25636 \tabularnewline
3 & 61378.0833333333 & 9772.39294653644 & 26730 \tabularnewline
4 & 65744.5 & 9839.53798342548 & 27825 \tabularnewline
5 & 68037 & 1154.22323348964 & 3993 \tabularnewline
6 & 65400.4166666667 & 9045.18006713906 & 26094 \tabularnewline
7 & 62681.1666666667 & 8551.09780122182 & 24334 \tabularnewline
8 & 55439.5 & 7047.94311064647 & 22501 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32754&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]59781.4166666667[/C][C]8251.47637983468[/C][C]26437[/C][/ROW]
[ROW][C]2[/C][C]59133.25[/C][C]8884.52963020553[/C][C]25636[/C][/ROW]
[ROW][C]3[/C][C]61378.0833333333[/C][C]9772.39294653644[/C][C]26730[/C][/ROW]
[ROW][C]4[/C][C]65744.5[/C][C]9839.53798342548[/C][C]27825[/C][/ROW]
[ROW][C]5[/C][C]68037[/C][C]1154.22323348964[/C][C]3993[/C][/ROW]
[ROW][C]6[/C][C]65400.4166666667[/C][C]9045.18006713906[/C][C]26094[/C][/ROW]
[ROW][C]7[/C][C]62681.1666666667[/C][C]8551.09780122182[/C][C]24334[/C][/ROW]
[ROW][C]8[/C][C]55439.5[/C][C]7047.94311064647[/C][C]22501[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32754&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32754&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
159781.41666666678251.4763798346826437
259133.258884.5296302055325636
361378.08333333339772.3929465364426730
465744.59839.5379834254827825
5680371154.223233489643993
665400.41666666679045.1800671390626094
762681.16666666678551.0978012218224334
855439.57047.9431106464722501







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha22574.4583798388
beta-0.237239535779832
S.D.0.263828477102051
T-STAT-0.89921883484953
p-value0.40317924171691

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 22574.4583798388 \tabularnewline
beta & -0.237239535779832 \tabularnewline
S.D. & 0.263828477102051 \tabularnewline
T-STAT & -0.89921883484953 \tabularnewline
p-value & 0.40317924171691 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32754&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]22574.4583798388[/C][/ROW]
[ROW][C]beta[/C][C]-0.237239535779832[/C][/ROW]
[ROW][C]S.D.[/C][C]0.263828477102051[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.89921883484953[/C][/ROW]
[ROW][C]p-value[/C][C]0.40317924171691[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32754&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32754&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)
alpha22574.4583798388
beta-0.237239535779832
S.D.0.263828477102051
T-STAT-0.89921883484953
p-value0.40317924171691







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha62.8238182465151
beta-4.89327029725126
S.D.3.94214580535722
T-STAT-1.24127075426827
p-value0.260831199074223
Lambda5.89327029725126

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 62.8238182465151 \tabularnewline
beta & -4.89327029725126 \tabularnewline
S.D. & 3.94214580535722 \tabularnewline
T-STAT & -1.24127075426827 \tabularnewline
p-value & 0.260831199074223 \tabularnewline
Lambda & 5.89327029725126 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32754&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]62.8238182465151[/C][/ROW]
[ROW][C]beta[/C][C]-4.89327029725126[/C][/ROW]
[ROW][C]S.D.[/C][C]3.94214580535722[/C][/ROW]
[ROW][C]T-STAT[/C][C]-1.24127075426827[/C][/ROW]
[ROW][C]p-value[/C][C]0.260831199074223[/C][/ROW]
[ROW][C]Lambda[/C][C]5.89327029725126[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32754&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32754&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)
alpha62.8238182465151
beta-4.89327029725126
S.D.3.94214580535722
T-STAT-1.24127075426827
p-value0.260831199074223
Lambda5.89327029725126



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