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 computationSat, 04 Dec 2010 14:51:38 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/04/t12914745578gvsygwr336h65c.htm/, Retrieved Sun, 05 May 2024 04:09:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=105166, Retrieved Sun, 05 May 2024 04:09:45 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact102
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Eigen reeks sprei...] [2010-12-04 14:51:38] [c6c4f641f0c0971fe864266cb6b6a9b0] [Current]
Feedback Forum

Post a new message
Dataseries X:
100,4
97,7
97
96,5
98,4
106,3
103,1
102,4
95
98,1
106,1
99,1
101,2
95,5
99,8
97,1
97,5
96,8
97,7
100,9
94,3
99,5
100,8
97
99,2
101
102,3
97
91,2
97,6
95,7
100,5
94,4
102,9
105,1
98,8
100,7
99,6
107,7
102,9
101,6
102,7
110,5
109,8
94,3
102,5
105
102,3
107,7
100,3
99,5
95
97,7
96,3
97,8
106,4
96,1
106,2
114,7
111,9
121
117,7
115,4
114,3
109,5
108,1
108,2
99,1
101,2
98,1
95,5
97,9
98,2
98,7
95,6
95,8
94,4
96,5
103,3
104,3
104,5
102,3
103,8
103,1
102,2
106,3
102,1
94
102,6
102,6
106,7
107,9
109,3
105,9
109,1
108,5
111,7
109,8
109,1
108,5
108,5
106,2
117,1
109,8
115,2
115,9
119,2
121
118,6
117,6
114,6
110,6
102,5
101,6
107,4
105,8
102,8
104
100,4
100,6




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105166&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105166&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105166&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'Gwilym Jenkins' @ 72.249.127.135







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1100.0083333333333.704409739101711.3
298.1752.238962828064496.9
398.80833333333333.9086055019273813.9
4103.34.5009089991002716.2
5102.4666666666676.6588742337279619.7
6107.1666666666678.7033257314591425.5
7100.0416666666673.8669833987309310.1
8104.7666666666674.3637626244359615.3
9112.6666666666674.8174556342408414.8
10107.2083333333336.6008895176515718.2

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 100.008333333333 & 3.7044097391017 & 11.3 \tabularnewline
2 & 98.175 & 2.23896282806449 & 6.9 \tabularnewline
3 & 98.8083333333333 & 3.90860550192738 & 13.9 \tabularnewline
4 & 103.3 & 4.50090899910027 & 16.2 \tabularnewline
5 & 102.466666666667 & 6.65887423372796 & 19.7 \tabularnewline
6 & 107.166666666667 & 8.70332573145914 & 25.5 \tabularnewline
7 & 100.041666666667 & 3.86698339873093 & 10.1 \tabularnewline
8 & 104.766666666667 & 4.36376262443596 & 15.3 \tabularnewline
9 & 112.666666666667 & 4.81745563424084 & 14.8 \tabularnewline
10 & 107.208333333333 & 6.60088951765157 & 18.2 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105166&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]100.008333333333[/C][C]3.7044097391017[/C][C]11.3[/C][/ROW]
[ROW][C]2[/C][C]98.175[/C][C]2.23896282806449[/C][C]6.9[/C][/ROW]
[ROW][C]3[/C][C]98.8083333333333[/C][C]3.90860550192738[/C][C]13.9[/C][/ROW]
[ROW][C]4[/C][C]103.3[/C][C]4.50090899910027[/C][C]16.2[/C][/ROW]
[ROW][C]5[/C][C]102.466666666667[/C][C]6.65887423372796[/C][C]19.7[/C][/ROW]
[ROW][C]6[/C][C]107.166666666667[/C][C]8.70332573145914[/C][C]25.5[/C][/ROW]
[ROW][C]7[/C][C]100.041666666667[/C][C]3.86698339873093[/C][C]10.1[/C][/ROW]
[ROW][C]8[/C][C]104.766666666667[/C][C]4.36376262443596[/C][C]15.3[/C][/ROW]
[ROW][C]9[/C][C]112.666666666667[/C][C]4.81745563424084[/C][C]14.8[/C][/ROW]
[ROW][C]10[/C][C]107.208333333333[/C][C]6.60088951765157[/C][C]18.2[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105166&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105166&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
1100.0083333333333.704409739101711.3
298.1752.238962828064496.9
398.80833333333333.9086055019273813.9
4103.34.5009089991002716.2
5102.4666666666676.6588742337279619.7
6107.1666666666678.7033257314591425.5
7100.0416666666673.8669833987309310.1
8104.7666666666674.3637626244359615.3
9112.6666666666674.8174556342408414.8
10107.2083333333336.6008895176515718.2







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-19.0357674758582
beta0.231702998365265
S.D.0.118967197327634
T-STAT1.94762088684965
p-value0.0873125212460514

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -19.0357674758582 \tabularnewline
beta & 0.231702998365265 \tabularnewline
S.D. & 0.118967197327634 \tabularnewline
T-STAT & 1.94762088684965 \tabularnewline
p-value & 0.0873125212460514 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105166&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-19.0357674758582[/C][/ROW]
[ROW][C]beta[/C][C]0.231702998365265[/C][/ROW]
[ROW][C]S.D.[/C][C]0.118967197327634[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.94762088684965[/C][/ROW]
[ROW][C]p-value[/C][C]0.0873125212460514[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105166&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105166&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-19.0357674758582
beta0.231702998365265
S.D.0.118967197327634
T-STAT1.94762088684965
p-value0.0873125212460514







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-23.7401333727053
beta5.44871472676291
S.D.2.40041325680875
T-STAT2.2699069467758
p-value0.0528981153452856
Lambda-4.44871472676291

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -23.7401333727053 \tabularnewline
beta & 5.44871472676291 \tabularnewline
S.D. & 2.40041325680875 \tabularnewline
T-STAT & 2.2699069467758 \tabularnewline
p-value & 0.0528981153452856 \tabularnewline
Lambda & -4.44871472676291 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105166&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-23.7401333727053[/C][/ROW]
[ROW][C]beta[/C][C]5.44871472676291[/C][/ROW]
[ROW][C]S.D.[/C][C]2.40041325680875[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.2699069467758[/C][/ROW]
[ROW][C]p-value[/C][C]0.0528981153452856[/C][/ROW]
[ROW][C]Lambda[/C][C]-4.44871472676291[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105166&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105166&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-23.7401333727053
beta5.44871472676291
S.D.2.40041325680875
T-STAT2.2699069467758
p-value0.0528981153452856
Lambda-4.44871472676291



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