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 computationMon, 11 Jan 2016 20:43:51 +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/2016/Jan/11/t14525450471eq2c4d3f7r3ni2.htm/, Retrieved Fri, 17 May 2024 02:13:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=289706, Retrieved Fri, 17 May 2024 02:13:11 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact58
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Consumptieprijzen...] [2016-01-11 20:43:51] [c53767938e2c856c14b03e8e32322294] [Current]
Feedback Forum

Post a new message
Dataseries X:
98.85
98.86
98.86
98.89
98.85
98.85
98.85
98.96
98.99
99.21
99.29
99.32
99.32
99.17
99.13
99.12
99.23
99.25
99.25
99.36
99.43
99.57
99.64
99.68
99.68
99.52
99.69
99.7
99.85
99.94
99.94
99.93
100.19
100.57
100.76
100.86
100.86
100.39
100.61
100.67
100.81
100.86
100.86
100.98
101.03
101.37
101.64
101.68
101.68
101.25
101.24
101.11
101.08
101.09
101.09
101.62
101.66
101.96
102.04
102.02
102.02
101.51
101.62
101.83
102.06
102.14
102.14
102.59
102.92
103.31
103.54
103.58
103.58
102.83
102.86
103.03
103.2
103.28
103.28
103.79
103.92
104.26
104.41
104.45
99.92
99.18
99.18
99.35
99.62
99.67
99.72
100.08
100.39
100.77
101.03
101.07
101.29
101.1
101.2
101.15
101.24
101.16
100.81
101.02
101.15
101.06
101.17
101.22




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gertrude Mary Cox' @ cox.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 & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=289706&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]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=289706&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289706&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'Gertrude Mary Cox' @ cox.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
198.98166666666670.1832947617826810.469999999999999
299.34583333333330.1946305746948840.560000000000002
3100.05250.4470738194079361.34
4100.980.3969657644959061.29000000000001
5101.4866666666670.3859659272133960.960000000000008
6102.4383333333330.7342012770021012.06999999999999
7103.5741666666670.5858398529746281.62
899.99833333333330.6784049921199951.88999999999999
9101.1308333333330.1258757203343720.480000000000004

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 98.9816666666667 & 0.183294761782681 & 0.469999999999999 \tabularnewline
2 & 99.3458333333333 & 0.194630574694884 & 0.560000000000002 \tabularnewline
3 & 100.0525 & 0.447073819407936 & 1.34 \tabularnewline
4 & 100.98 & 0.396965764495906 & 1.29000000000001 \tabularnewline
5 & 101.486666666667 & 0.385965927213396 & 0.960000000000008 \tabularnewline
6 & 102.438333333333 & 0.734201277002101 & 2.06999999999999 \tabularnewline
7 & 103.574166666667 & 0.585839852974628 & 1.62 \tabularnewline
8 & 99.9983333333333 & 0.678404992119995 & 1.88999999999999 \tabularnewline
9 & 101.130833333333 & 0.125875720334372 & 0.480000000000004 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=289706&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]98.9816666666667[/C][C]0.183294761782681[/C][C]0.469999999999999[/C][/ROW]
[ROW][C]2[/C][C]99.3458333333333[/C][C]0.194630574694884[/C][C]0.560000000000002[/C][/ROW]
[ROW][C]3[/C][C]100.0525[/C][C]0.447073819407936[/C][C]1.34[/C][/ROW]
[ROW][C]4[/C][C]100.98[/C][C]0.396965764495906[/C][C]1.29000000000001[/C][/ROW]
[ROW][C]5[/C][C]101.486666666667[/C][C]0.385965927213396[/C][C]0.960000000000008[/C][/ROW]
[ROW][C]6[/C][C]102.438333333333[/C][C]0.734201277002101[/C][C]2.06999999999999[/C][/ROW]
[ROW][C]7[/C][C]103.574166666667[/C][C]0.585839852974628[/C][C]1.62[/C][/ROW]
[ROW][C]8[/C][C]99.9983333333333[/C][C]0.678404992119995[/C][C]1.88999999999999[/C][/ROW]
[ROW][C]9[/C][C]101.130833333333[/C][C]0.125875720334372[/C][C]0.480000000000004[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=289706&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289706&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
198.98166666666670.1832947617826810.469999999999999
299.34583333333330.1946305746948840.560000000000002
3100.05250.4470738194079361.34
4100.980.3969657644959061.29000000000001
5101.4866666666670.3859659272133960.960000000000008
6102.4383333333330.7342012770021012.06999999999999
7103.5741666666670.5858398529746281.62
899.99833333333330.6784049921199951.88999999999999
9101.1308333333330.1258757203343720.480000000000004







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-7.54816479840508
beta0.0789280360162539
S.D.0.0476759353567845
T-STAT1.65551101253899
p-value0.14179317188056

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -7.54816479840508 \tabularnewline
beta & 0.0789280360162539 \tabularnewline
S.D. & 0.0476759353567845 \tabularnewline
T-STAT & 1.65551101253899 \tabularnewline
p-value & 0.14179317188056 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=289706&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-7.54816479840508[/C][/ROW]
[ROW][C]beta[/C][C]0.0789280360162539[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0476759353567845[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.65551101253899[/C][/ROW]
[ROW][C]p-value[/C][C]0.14179317188056[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=289706&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289706&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-7.54816479840508
beta0.0789280360162539
S.D.0.0476759353567845
T-STAT1.65551101253899
p-value0.14179317188056







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-99.4947757322706
beta21.3396801611746
S.D.14.0393921942567
T-STAT1.51998604112679
p-value0.17231650196705
Lambda-20.3396801611746

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -99.4947757322706 \tabularnewline
beta & 21.3396801611746 \tabularnewline
S.D. & 14.0393921942567 \tabularnewline
T-STAT & 1.51998604112679 \tabularnewline
p-value & 0.17231650196705 \tabularnewline
Lambda & -20.3396801611746 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=289706&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-99.4947757322706[/C][/ROW]
[ROW][C]beta[/C][C]21.3396801611746[/C][/ROW]
[ROW][C]S.D.[/C][C]14.0393921942567[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.51998604112679[/C][/ROW]
[ROW][C]p-value[/C][C]0.17231650196705[/C][/ROW]
[ROW][C]Lambda[/C][C]-20.3396801611746[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=289706&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289706&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-99.4947757322706
beta21.3396801611746
S.D.14.0393921942567
T-STAT1.51998604112679
p-value0.17231650196705
Lambda-20.3396801611746



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