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, 12 Dec 2007 07:10:15 -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/Dec/12/t1197467728fsv360nkz4eady1.htm/, Retrieved Thu, 02 May 2024 17:18:52 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=3213, Retrieved Thu, 02 May 2024 17:18:52 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact237
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Paper: tijdreeks ...] [2007-12-12 14:10:15] [be66efe1fb01584897056fbc96e4e155] [Current]
Feedback Forum

Post a new message
Dataseries X:
15 082.0
14 772.7
16 083.0
14 272.5
15 223.3
14 897.3
13 062.6
12 603.8
13 629.8
14 421.1
13 978.3
12 927.9
13 429.9
13 470.1
14 785.8
14 292.0
14 308.8
14 013.0
13 240.9
12 153.4
14 289.7
15 669.2
14 169.5
14 569.8
14 469.1
14 264.9
15 320.9
14 433.5
13 691.5
14 194.1
13 519.2
11 857.9
14 615.9
15 643.4
14 077.2
14 887.5
14 159.9
14 643.0
17 192.5
15 386.1
14 287.1
17 526.6
14 497.0
14 398.3
16 629.6
16 670.7
16 614.8
16 869.2
15 663.9
16 359.9
18 447.7
16 889.0
16 505.0
18 320.9
15 052.1
15 699.8
18 135.3
16 768.7
18 883.0
19 021.0




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3213&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
114246.19166666671046.533517213622653.1
214032.675884.2557025544142199.1
314247.925968.205687317806857.6
415739.56666666671289.155763445303254.1
517145.5251365.020454142455329.5

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 14246.1916666667 & 1046.53351721362 & 2653.1 \tabularnewline
2 & 14032.675 & 884.255702554414 & 2199.1 \tabularnewline
3 & 14247.925 & 968.205687317806 & 857.6 \tabularnewline
4 & 15739.5666666667 & 1289.15576344530 & 3254.1 \tabularnewline
5 & 17145.525 & 1365.02045414245 & 5329.5 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3213&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]14246.1916666667[/C][C]1046.53351721362[/C][C]2653.1[/C][/ROW]
[ROW][C]2[/C][C]14032.675[/C][C]884.255702554414[/C][C]2199.1[/C][/ROW]
[ROW][C]3[/C][C]14247.925[/C][C]968.205687317806[/C][C]857.6[/C][/ROW]
[ROW][C]4[/C][C]15739.5666666667[/C][C]1289.15576344530[/C][C]3254.1[/C][/ROW]
[ROW][C]5[/C][C]17145.525[/C][C]1365.02045414245[/C][C]5329.5[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3213&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3213&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
114246.19166666671046.533517213622653.1
214032.675884.2557025544142199.1
314247.925968.205687317806857.6
415739.56666666671289.155763445303254.1
517145.5251365.020454142455329.5







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-1097.90358120598
beta0.146431683477429
S.D.0.0290106151698806
T-STAT5.04752079954022
p-value0.0149981370174319

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -1097.90358120598 \tabularnewline
beta & 0.146431683477429 \tabularnewline
S.D. & 0.0290106151698806 \tabularnewline
T-STAT & 5.04752079954022 \tabularnewline
p-value & 0.0149981370174319 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3213&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-1097.90358120598[/C][/ROW]
[ROW][C]beta[/C][C]0.146431683477429[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0290106151698806[/C][/ROW]
[ROW][C]T-STAT[/C][C]5.04752079954022[/C][/ROW]
[ROW][C]p-value[/C][C]0.0149981370174319[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3213&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3213&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-1097.90358120598
beta0.146431683477429
S.D.0.0290106151698806
T-STAT5.04752079954022
p-value0.0149981370174319







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-12.3723724385478
beta2.01400667650210
S.D.0.432803449666101
T-STAT4.65339792937386
p-value0.0187193190702739
Lambda-1.01400667650210

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -12.3723724385478 \tabularnewline
beta & 2.01400667650210 \tabularnewline
S.D. & 0.432803449666101 \tabularnewline
T-STAT & 4.65339792937386 \tabularnewline
p-value & 0.0187193190702739 \tabularnewline
Lambda & -1.01400667650210 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3213&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-12.3723724385478[/C][/ROW]
[ROW][C]beta[/C][C]2.01400667650210[/C][/ROW]
[ROW][C]S.D.[/C][C]0.432803449666101[/C][/ROW]
[ROW][C]T-STAT[/C][C]4.65339792937386[/C][/ROW]
[ROW][C]p-value[/C][C]0.0187193190702739[/C][/ROW]
[ROW][C]Lambda[/C][C]-1.01400667650210[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3213&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3213&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-12.3723724385478
beta2.01400667650210
S.D.0.432803449666101
T-STAT4.65339792937386
p-value0.0187193190702739
Lambda-1.01400667650210



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