Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationThu, 18 Dec 2008 08:00:29 -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/18/t1229612483c3xc8sq5eup1xkd.htm/, Retrieved Sat, 11 May 2024 09:43:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34821, Retrieved Sat, 11 May 2024 09:43:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact184
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Univariate Data Series] [Airline data] [2007-10-18 09:58:47] [42daae401fd3def69a25014f2252b4c2]
F RMPD  [Variance Reduction Matrix] [] [2008-11-30 18:13:06] [b745fd448f60064800b631a75a630267]
F RM D    [Standard Deviation-Mean Plot] [SMP Q1] [2008-12-07 13:12:10] [e5d91604aae608e98a8ea24759233f66]
-   PD        [Standard Deviation-Mean Plot] [SMP] [2008-12-18 15:00:29] [55ca0ca4a201c9689dcf5fae352c92eb] [Current]
Feedback Forum

Post a new message
Dataseries X:
0,42
0,74
1,02
1,51
1,86
1,59
1,03
0,44
0,82
0,86
0,57
0,59
0,95
0,98
1,23
1,17
0,84
0,74
0,65
0,91
1,19
1,3
1,53
1,94
1,79
1,95
2,26
2,04
2,16
2,75
2,79
2,88
3,36
2,97
3,1
2,49
2,2
2,25
2,09
2,79
3,14
2,93
2,65
2,67
2,26
2,35
2,13
2,18
2,9
2,63
2,67
1,81
1,33
0,88
1,28
1,26
1,26
1,29
1,1
1,37
1,21
1,74
1,76
1,48
1,04
1,62
1,49
1,79
1,8
1,58
1,86
1,74
1,59
1,26
1,13
1,92
2,61
2,26
2,41
2,26
2,03
2,86
2,55
2,27
2,26
2,57
3,07
2,76
2,51
2,87
3,14
3,11
3,16
2,47
2,57
2,89
2,63
2,38
1,69
1,96
2,19
1,87
1,6
1,63
1,22
1,21
1,49
1,64
1,66
1,77
1,82
1,78
1,28
1,29
1,37
1,12
1,51
2,24
2,94
3,09




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34821&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34821&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34821&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
10.9541666666666670.4716018801206521.44
21.119166666666670.3603901505397461.29
32.5450.5026023188457161.57
42.470.3515161964456781.05
51.648333333333330.689912159538292.02
61.59250.2524111004618530.82
72.095833333333330.5359860638170181.73
82.781666666666670.3037892012364480.9
91.79250.4363510888347511.42
101.82250.6349248344918831.97

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 0.954166666666667 & 0.471601880120652 & 1.44 \tabularnewline
2 & 1.11916666666667 & 0.360390150539746 & 1.29 \tabularnewline
3 & 2.545 & 0.502602318845716 & 1.57 \tabularnewline
4 & 2.47 & 0.351516196445678 & 1.05 \tabularnewline
5 & 1.64833333333333 & 0.68991215953829 & 2.02 \tabularnewline
6 & 1.5925 & 0.252411100461853 & 0.82 \tabularnewline
7 & 2.09583333333333 & 0.535986063817018 & 1.73 \tabularnewline
8 & 2.78166666666667 & 0.303789201236448 & 0.9 \tabularnewline
9 & 1.7925 & 0.436351088834751 & 1.42 \tabularnewline
10 & 1.8225 & 0.634924834491883 & 1.97 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34821&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]0.954166666666667[/C][C]0.471601880120652[/C][C]1.44[/C][/ROW]
[ROW][C]2[/C][C]1.11916666666667[/C][C]0.360390150539746[/C][C]1.29[/C][/ROW]
[ROW][C]3[/C][C]2.545[/C][C]0.502602318845716[/C][C]1.57[/C][/ROW]
[ROW][C]4[/C][C]2.47[/C][C]0.351516196445678[/C][C]1.05[/C][/ROW]
[ROW][C]5[/C][C]1.64833333333333[/C][C]0.68991215953829[/C][C]2.02[/C][/ROW]
[ROW][C]6[/C][C]1.5925[/C][C]0.252411100461853[/C][C]0.82[/C][/ROW]
[ROW][C]7[/C][C]2.09583333333333[/C][C]0.535986063817018[/C][C]1.73[/C][/ROW]
[ROW][C]8[/C][C]2.78166666666667[/C][C]0.303789201236448[/C][C]0.9[/C][/ROW]
[ROW][C]9[/C][C]1.7925[/C][C]0.436351088834751[/C][C]1.42[/C][/ROW]
[ROW][C]10[/C][C]1.8225[/C][C]0.634924834491883[/C][C]1.97[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34821&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34821&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
10.9541666666666670.4716018801206521.44
21.119166666666670.3603901505397461.29
32.5450.5026023188457161.57
42.470.3515161964456781.05
51.648333333333330.689912159538292.02
61.59250.2524111004618530.82
72.095833333333330.5359860638170181.73
82.781666666666670.3037892012364480.9
91.79250.4363510888347511.42
101.82250.6349248344918831.97







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha0.510135751589218
beta-0.0298524318547852
S.D.0.0828815720053746
T-STAT-0.360181776630025
p-value0.728035200239405

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 0.510135751589218 \tabularnewline
beta & -0.0298524318547852 \tabularnewline
S.D. & 0.0828815720053746 \tabularnewline
T-STAT & -0.360181776630025 \tabularnewline
p-value & 0.728035200239405 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34821&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]0.510135751589218[/C][/ROW]
[ROW][C]beta[/C][C]-0.0298524318547852[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0828815720053746[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.360181776630025[/C][/ROW]
[ROW][C]p-value[/C][C]0.728035200239405[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34821&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34821&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)
alpha0.510135751589218
beta-0.0298524318547852
S.D.0.0828815720053746
T-STAT-0.360181776630025
p-value0.728035200239405







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-0.79594818827143
beta-0.0675172542599957
S.D.0.327078198574958
T-STAT-0.206425419224395
p-value0.841615405809179
Lambda1.06751725426000

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -0.79594818827143 \tabularnewline
beta & -0.0675172542599957 \tabularnewline
S.D. & 0.327078198574958 \tabularnewline
T-STAT & -0.206425419224395 \tabularnewline
p-value & 0.841615405809179 \tabularnewline
Lambda & 1.06751725426000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34821&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.79594818827143[/C][/ROW]
[ROW][C]beta[/C][C]-0.0675172542599957[/C][/ROW]
[ROW][C]S.D.[/C][C]0.327078198574958[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.206425419224395[/C][/ROW]
[ROW][C]p-value[/C][C]0.841615405809179[/C][/ROW]
[ROW][C]Lambda[/C][C]1.06751725426000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34821&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34821&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-0.79594818827143
beta-0.0675172542599957
S.D.0.327078198574958
T-STAT-0.206425419224395
p-value0.841615405809179
Lambda1.06751725426000



Parameters (Session):
par1 = 1.3 ; par2 = 0 ; par3 = 0 ; par4 = 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')