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 computationThu, 16 Aug 2012 11:07:55 -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/2012/Aug/16/t1345129702nh1zact7gg017dr.htm/, Retrieved Fri, 03 May 2024 04:51:57 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=169415, Retrieved Fri, 03 May 2024 04:51:57 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact113
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Variability] [TIJDREEKS B - STA...] [2011-08-19 07:19:39] [46972ec2bfa5b295f8450f947ab1f239]
- RMPD    [Standard Deviation-Mean Plot] [stap 26 reeks A] [2012-08-16 15:07:55] [7d6606cca1b3596736d7d387043cb02b] [Current]
Feedback Forum

Post a new message
Dataseries X:
7175
7049
6923
6670
9225
9099
7175
5898
6024
6024
6150
6416
5645
4873
4240
4240
6670
6923
4999
2823
3974
3974
4873
5391
5265
3974
4620
4366
6543
6024
3974
2443
3848
4240
4620
5125
4100
3215
3595
3721
7049
7049
5125
4873
5645
5265
6290
7568
7821
6024
5518
4999
8466
8720
8074
8720
8593
7568
8720
9998
10516
8973
7948
8720
12048
13073
12820
13325
13199
11921
14098
14616
15375
13073
12174
13199
15641
17818
17299
17299
17553
16666
18970
18970
18578
16400
16793
17046
18716
20893
19349
20121
19475
19096
22045
21399
20500
19223
20500
21146
21918
22943
21918
22550
21779
21653
24854
25120
24095
22298
23829
24474
25246
26398
25246
26145
25753
24348
27296
27296




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=169415&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
16985.666666666671116.632627251433327
24885.416666666671165.033082505964100
34586.833333333331074.74545259744100
45291.251469.746491746114353
57768.416666666671500.529631244394999
611771.41666666672219.45212151496668
716169.752304.186353140736796
819159.251799.680179920875645
922008.66666666671710.776183933825897
10252021483.236755453184998

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 6985.66666666667 & 1116.63262725143 & 3327 \tabularnewline
2 & 4885.41666666667 & 1165.03308250596 & 4100 \tabularnewline
3 & 4586.83333333333 & 1074.7454525974 & 4100 \tabularnewline
4 & 5291.25 & 1469.74649174611 & 4353 \tabularnewline
5 & 7768.41666666667 & 1500.52963124439 & 4999 \tabularnewline
6 & 11771.4166666667 & 2219.4521215149 & 6668 \tabularnewline
7 & 16169.75 & 2304.18635314073 & 6796 \tabularnewline
8 & 19159.25 & 1799.68017992087 & 5645 \tabularnewline
9 & 22008.6666666667 & 1710.77618393382 & 5897 \tabularnewline
10 & 25202 & 1483.23675545318 & 4998 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=169415&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]6985.66666666667[/C][C]1116.63262725143[/C][C]3327[/C][/ROW]
[ROW][C]2[/C][C]4885.41666666667[/C][C]1165.03308250596[/C][C]4100[/C][/ROW]
[ROW][C]3[/C][C]4586.83333333333[/C][C]1074.7454525974[/C][C]4100[/C][/ROW]
[ROW][C]4[/C][C]5291.25[/C][C]1469.74649174611[/C][C]4353[/C][/ROW]
[ROW][C]5[/C][C]7768.41666666667[/C][C]1500.52963124439[/C][C]4999[/C][/ROW]
[ROW][C]6[/C][C]11771.4166666667[/C][C]2219.4521215149[/C][C]6668[/C][/ROW]
[ROW][C]7[/C][C]16169.75[/C][C]2304.18635314073[/C][C]6796[/C][/ROW]
[ROW][C]8[/C][C]19159.25[/C][C]1799.68017992087[/C][C]5645[/C][/ROW]
[ROW][C]9[/C][C]22008.6666666667[/C][C]1710.77618393382[/C][C]5897[/C][/ROW]
[ROW][C]10[/C][C]25202[/C][C]1483.23675545318[/C][C]4998[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=169415&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=169415&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
16985.666666666671116.632627251433327
24885.416666666671165.033082505964100
34586.833333333331074.74545259744100
45291.251469.746491746114353
57768.416666666671500.529631244394999
611771.41666666672219.45212151496668
716169.752304.186353140736796
819159.251799.680179920875645
922008.66666666671710.776183933825897
10252021483.236755453184998







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha1247.65036167767
beta0.0271949569771033
S.D.0.0172384300363358
T-STAT1.57757736173078
p-value0.15331442982732

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 1247.65036167767 \tabularnewline
beta & 0.0271949569771033 \tabularnewline
S.D. & 0.0172384300363358 \tabularnewline
T-STAT & 1.57757736173078 \tabularnewline
p-value & 0.15331442982732 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=169415&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]1247.65036167767[/C][/ROW]
[ROW][C]beta[/C][C]0.0271949569771033[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0172384300363358[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.57757736173078[/C][/ROW]
[ROW][C]p-value[/C][C]0.15331442982732[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=169415&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=169415&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)
alpha1247.65036167767
beta0.0271949569771033
S.D.0.0172384300363358
T-STAT1.57757736173078
p-value0.15331442982732







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha4.86234241113578
beta0.267746862590002
S.D.0.109145538932031
T-STAT2.45311778392278
p-value0.0397430146517531
Lambda0.732253137409998

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 4.86234241113578 \tabularnewline
beta & 0.267746862590002 \tabularnewline
S.D. & 0.109145538932031 \tabularnewline
T-STAT & 2.45311778392278 \tabularnewline
p-value & 0.0397430146517531 \tabularnewline
Lambda & 0.732253137409998 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=169415&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]4.86234241113578[/C][/ROW]
[ROW][C]beta[/C][C]0.267746862590002[/C][/ROW]
[ROW][C]S.D.[/C][C]0.109145538932031[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.45311778392278[/C][/ROW]
[ROW][C]p-value[/C][C]0.0397430146517531[/C][/ROW]
[ROW][C]Lambda[/C][C]0.732253137409998[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=169415&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=169415&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)
alpha4.86234241113578
beta0.267746862590002
S.D.0.109145538932031
T-STAT2.45311778392278
p-value0.0397430146517531
Lambda0.732253137409998



Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
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')