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, 16 Nov 2015 19:04:19 +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/2015/Nov/16/t1447700690zz47is72xflnyov.htm/, Retrieved Wed, 15 May 2024 15:05:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=283400, Retrieved Wed, 15 May 2024 15:05:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact149
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2015-11-16 19:04:19] [2c14a834423fb5dcfbeb4b507321e1ef] [Current]
- R  D    [Standard Deviation-Mean Plot] [] [2016-01-09 11:02:32] [bd4e4aa6178eab1df445b78d9e683708]
Feedback Forum

Post a new message
Dataseries X:
92,09
93,77
94,44
94,91
94,78
94,51
94,36
96,6
96,72
96,71
97,44
97,83
98,92
97,98
98,76
99,76
99,87
100,09
100,07
99,46
100,4
101,25
102,29
102,1
105,91
108,95
110,07
109,92
109,87
110,54
110,79
110,32
110,76
110,24
110,27
110,11
110,39
111,05
110,85
110,24
108,7
109,93
109,53
109,83
107,86
104,61
103,61
103,11
102,59
102,91
101,94
101,8
102,25
102,6
102,49
102,13
100,76
100,86
101,12
100,74
99,99
99,39
99,52
99,21
99,38
99,37
99,38
99,26
99,36
99,2
98,53
98,65
99,15
100,17
99,98
100,07
99,94
100,05
99,13
98,74
98,64
98,44
98,81
98,88
99,63
100,08
100,07
100,55
99,98
99,89
99,86
99,61
100,12
100,24
100,1
99,86
97,99
97,57
98,28
97,97
97,99
97,84
97,33
96,7
96,79
96,76
96,23
96,29




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283400&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
195.34666666666671.704637169249775.73999999999999
2100.0791666666671.295618198062814.31
3109.81251.320303856211624.88000000000001
4108.3091666666672.885832031694077.94
5101.8491666666670.7877177428649432.17
699.270.3787779392635291.45999999999999
799.33333333333330.6555820915704451.73
899.99916666666670.2587543002131320.939999999999998
997.31166666666670.726258573203452.05

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 95.3466666666667 & 1.70463716924977 & 5.73999999999999 \tabularnewline
2 & 100.079166666667 & 1.29561819806281 & 4.31 \tabularnewline
3 & 109.8125 & 1.32030385621162 & 4.88000000000001 \tabularnewline
4 & 108.309166666667 & 2.88583203169407 & 7.94 \tabularnewline
5 & 101.849166666667 & 0.787717742864943 & 2.17 \tabularnewline
6 & 99.27 & 0.378777939263529 & 1.45999999999999 \tabularnewline
7 & 99.3333333333333 & 0.655582091570445 & 1.73 \tabularnewline
8 & 99.9991666666667 & 0.258754300213132 & 0.939999999999998 \tabularnewline
9 & 97.3116666666667 & 0.72625857320345 & 2.05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283400&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]95.3466666666667[/C][C]1.70463716924977[/C][C]5.73999999999999[/C][/ROW]
[ROW][C]2[/C][C]100.079166666667[/C][C]1.29561819806281[/C][C]4.31[/C][/ROW]
[ROW][C]3[/C][C]109.8125[/C][C]1.32030385621162[/C][C]4.88000000000001[/C][/ROW]
[ROW][C]4[/C][C]108.309166666667[/C][C]2.88583203169407[/C][C]7.94[/C][/ROW]
[ROW][C]5[/C][C]101.849166666667[/C][C]0.787717742864943[/C][C]2.17[/C][/ROW]
[ROW][C]6[/C][C]99.27[/C][C]0.378777939263529[/C][C]1.45999999999999[/C][/ROW]
[ROW][C]7[/C][C]99.3333333333333[/C][C]0.655582091570445[/C][C]1.73[/C][/ROW]
[ROW][C]8[/C][C]99.9991666666667[/C][C]0.258754300213132[/C][C]0.939999999999998[/C][/ROW]
[ROW][C]9[/C][C]97.3116666666667[/C][C]0.72625857320345[/C][C]2.05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283400&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283400&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
195.34666666666671.704637169249775.73999999999999
2100.0791666666671.295618198062814.31
3109.81251.320303856211624.88000000000001
4108.3091666666672.885832031694077.94
5101.8491666666670.7877177428649432.17
699.270.3787779392635291.45999999999999
799.33333333333330.6555820915704451.73
899.99916666666670.2587543002131320.939999999999998
997.31166666666670.726258573203452.05







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-7.29481667751523
beta0.083030761000834
S.D.0.0558864968018097
T-STAT1.48570344810279
p-value0.180942371570993

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -7.29481667751523 \tabularnewline
beta & 0.083030761000834 \tabularnewline
S.D. & 0.0558864968018097 \tabularnewline
T-STAT & 1.48570344810279 \tabularnewline
p-value & 0.180942371570993 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283400&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-7.29481667751523[/C][/ROW]
[ROW][C]beta[/C][C]0.083030761000834[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0558864968018097[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.48570344810279[/C][/ROW]
[ROW][C]p-value[/C][C]0.180942371570993[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283400&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283400&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.29481667751523
beta0.083030761000834
S.D.0.0558864968018097
T-STAT1.48570344810279
p-value0.180942371570993







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-30.1843257516012
beta6.50985886790057
S.D.5.56513200853418
T-STAT1.16975821200964
p-value0.280380754571272
Lambda-5.50985886790057

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -30.1843257516012 \tabularnewline
beta & 6.50985886790057 \tabularnewline
S.D. & 5.56513200853418 \tabularnewline
T-STAT & 1.16975821200964 \tabularnewline
p-value & 0.280380754571272 \tabularnewline
Lambda & -5.50985886790057 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283400&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-30.1843257516012[/C][/ROW]
[ROW][C]beta[/C][C]6.50985886790057[/C][/ROW]
[ROW][C]S.D.[/C][C]5.56513200853418[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.16975821200964[/C][/ROW]
[ROW][C]p-value[/C][C]0.280380754571272[/C][/ROW]
[ROW][C]Lambda[/C][C]-5.50985886790057[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283400&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283400&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-30.1843257516012
beta6.50985886790057
S.D.5.56513200853418
T-STAT1.16975821200964
p-value0.280380754571272
Lambda-5.50985886790057



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