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 computationSun, 02 Dec 2012 08:39:38 -0500
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/Dec/02/t13544555897ovuiwduul7oxm1.htm/, Retrieved Thu, 25 Apr 2024 05:45:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=195505, Retrieved Thu, 25 Apr 2024 05:45:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact74
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2012-12-02 13:39:38] [2aa9036d98cf3249064494e8c53f9b9c] [Current]
Feedback Forum

Post a new message
Dataseries X:
106,68
109,73
108,06
111,33
105,66
103,65
100,34
100,56
102,67
101,5
102,35
104,98
106,31
103,73
106,62
108,54
105,12
105,29
104,62
104,34
108,23
107,6
106,87
107,96
108,34
109,04
106,95
105,59
108,08
108,48
106,84
105,6
106,9
106,84
106,81
106,98
107,53
107,37
106,98
108,94
106,38
109,02
106,53
105,02
109,7
108,39
110,18
109,54
109,1
110,85
112,23
110,58
110,77
108,08
108,05
108,87
109,61
111,27
107,61
110,98
106,63
106,83
108,77
106,12
106,8
106,34
105,16
107,97
106,76
108,78
105,58
109,22




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=195505&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'George Udny Yule' @ yule.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1104.79253.5992451860203810.99
2106.2691666666671.631660940343434.81
3107.2041666666671.081333001718743.45
4107.9651.578241253593845.16000000000001
5109.8333333333331.486443793594354.62
6107.081.313191809018294.06

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 104.7925 & 3.59924518602038 & 10.99 \tabularnewline
2 & 106.269166666667 & 1.63166094034343 & 4.81 \tabularnewline
3 & 107.204166666667 & 1.08133300171874 & 3.45 \tabularnewline
4 & 107.965 & 1.57824125359384 & 5.16000000000001 \tabularnewline
5 & 109.833333333333 & 1.48644379359435 & 4.62 \tabularnewline
6 & 107.08 & 1.31319180901829 & 4.06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=195505&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]104.7925[/C][C]3.59924518602038[/C][C]10.99[/C][/ROW]
[ROW][C]2[/C][C]106.269166666667[/C][C]1.63166094034343[/C][C]4.81[/C][/ROW]
[ROW][C]3[/C][C]107.204166666667[/C][C]1.08133300171874[/C][C]3.45[/C][/ROW]
[ROW][C]4[/C][C]107.965[/C][C]1.57824125359384[/C][C]5.16000000000001[/C][/ROW]
[ROW][C]5[/C][C]109.833333333333[/C][C]1.48644379359435[/C][C]4.62[/C][/ROW]
[ROW][C]6[/C][C]107.08[/C][C]1.31319180901829[/C][C]4.06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=195505&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=195505&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
1104.79253.5992451860203810.99
2106.2691666666671.631660940343434.81
3107.2041666666671.081333001718743.45
4107.9651.578241253593845.16000000000001
5109.8333333333331.486443793594354.62
6107.081.313191809018294.06







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha40.4106864451141
beta-0.360376436107087
S.D.0.202169080613083
T-STAT-1.78254971044156
p-value0.149240202010895

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 40.4106864451141 \tabularnewline
beta & -0.360376436107087 \tabularnewline
S.D. & 0.202169080613083 \tabularnewline
T-STAT & -1.78254971044156 \tabularnewline
p-value & 0.149240202010895 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=195505&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]40.4106864451141[/C][/ROW]
[ROW][C]beta[/C][C]-0.360376436107087[/C][/ROW]
[ROW][C]S.D.[/C][C]0.202169080613083[/C][/ROW]
[ROW][C]T-STAT[/C][C]-1.78254971044156[/C][/ROW]
[ROW][C]p-value[/C][C]0.149240202010895[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=195505&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=195505&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)
alpha40.4106864451141
beta-0.360376436107087
S.D.0.202169080613083
T-STAT-1.78254971044156
p-value0.149240202010895







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha77.2375354428134
beta-16.4171170646359
S.D.10.2668712603366
T-STAT-1.59903797840138
p-value0.185058745243968
Lambda17.4171170646359

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 77.2375354428134 \tabularnewline
beta & -16.4171170646359 \tabularnewline
S.D. & 10.2668712603366 \tabularnewline
T-STAT & -1.59903797840138 \tabularnewline
p-value & 0.185058745243968 \tabularnewline
Lambda & 17.4171170646359 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=195505&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]77.2375354428134[/C][/ROW]
[ROW][C]beta[/C][C]-16.4171170646359[/C][/ROW]
[ROW][C]S.D.[/C][C]10.2668712603366[/C][/ROW]
[ROW][C]T-STAT[/C][C]-1.59903797840138[/C][/ROW]
[ROW][C]p-value[/C][C]0.185058745243968[/C][/ROW]
[ROW][C]Lambda[/C][C]17.4171170646359[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=195505&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=195505&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)
alpha77.2375354428134
beta-16.4171170646359
S.D.10.2668712603366
T-STAT-1.59903797840138
p-value0.185058745243968
Lambda17.4171170646359



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