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, 22 Nov 2015 11:06:24 +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/22/t1448190407tdtj9sktkumrc1l.htm/, Retrieved Wed, 15 May 2024 02:18:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=283775, Retrieved Wed, 15 May 2024 02:18:24 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact116
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Opdracht 8] [2015-11-22 11:06:24] [b43493158838656c32486372ca9c54cf] [Current]
Feedback Forum

Post a new message
Dataseries X:
84.71
85.17
84.93
85.1
85.19
85.38
85.95
86.04
85.68
85.79
85.79
86.05
86.14
86.82
86.93
87.03
87.13
87.09
87.65
87.6
87.03
87.12
87.08
87.56
87.31
87.89
88.2
87.7
88.19
88.65
89.48
89.65
89.34
89.73
89.77
90.26
90.03
91.09
90.94
91.03
91.14
91.51
91.99
91.91
91.8
91.8
91.44
91.83
91.46
92.17
91.91
92.06
92.33
92.73
93.35
93.28
93.22
93.31
93.21
93.14
93.82
94.18
94.44
94.35
94.38
94.72
95.25
95.16
94.9
95.09
95.22
95.39
96.57
97.05
97.11
97.08
97.5
97.92
98.44
98.44
98.06
98.2
98.19
98.36
98.41
98.97
99.45
98.95
99.7
100.12
100.62
100.75
100.47
100.71
100.85
101.03
101.13
101.38
101.73
101.89
102.02
102.11
102.77
102.49
102.52
102.69
102.32
102.6




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283775&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'Herman Ole Andreas Wold' @ wold.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
185.48166666666670.4594034339788041.34
287.09833333333330.4050327334321451.51000000000001
388.84750.9723273391947052.95
491.37583333333330.5647921312440091.95999999999999
592.68083333333330.6633723530475771.89
694.74166666666670.5017756349991391.57000000000001
797.74333333333330.6500536108427511.87
8100.00250.8818175960635352.62
9102.13750.526897005633411.64

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 85.4816666666667 & 0.459403433978804 & 1.34 \tabularnewline
2 & 87.0983333333333 & 0.405032733432145 & 1.51000000000001 \tabularnewline
3 & 88.8475 & 0.972327339194705 & 2.95 \tabularnewline
4 & 91.3758333333333 & 0.564792131244009 & 1.95999999999999 \tabularnewline
5 & 92.6808333333333 & 0.663372353047577 & 1.89 \tabularnewline
6 & 94.7416666666667 & 0.501775634999139 & 1.57000000000001 \tabularnewline
7 & 97.7433333333333 & 0.650053610842751 & 1.87 \tabularnewline
8 & 100.0025 & 0.881817596063535 & 2.62 \tabularnewline
9 & 102.1375 & 0.52689700563341 & 1.64 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283775&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]85.4816666666667[/C][C]0.459403433978804[/C][C]1.34[/C][/ROW]
[ROW][C]2[/C][C]87.0983333333333[/C][C]0.405032733432145[/C][C]1.51000000000001[/C][/ROW]
[ROW][C]3[/C][C]88.8475[/C][C]0.972327339194705[/C][C]2.95[/C][/ROW]
[ROW][C]4[/C][C]91.3758333333333[/C][C]0.564792131244009[/C][C]1.95999999999999[/C][/ROW]
[ROW][C]5[/C][C]92.6808333333333[/C][C]0.663372353047577[/C][C]1.89[/C][/ROW]
[ROW][C]6[/C][C]94.7416666666667[/C][C]0.501775634999139[/C][C]1.57000000000001[/C][/ROW]
[ROW][C]7[/C][C]97.7433333333333[/C][C]0.650053610842751[/C][C]1.87[/C][/ROW]
[ROW][C]8[/C][C]100.0025[/C][C]0.881817596063535[/C][C]2.62[/C][/ROW]
[ROW][C]9[/C][C]102.1375[/C][C]0.52689700563341[/C][C]1.64[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283775&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283775&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
185.48166666666670.4594034339788041.34
287.09833333333330.4050327334321451.51000000000001
388.84750.9723273391947052.95
491.37583333333330.5647921312440091.95999999999999
592.68083333333330.6633723530475771.89
694.74166666666670.5017756349991391.57000000000001
797.74333333333330.6500536108427511.87
8100.00250.8818175960635352.62
9102.13750.526897005633411.64







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.0680858758830733
beta0.00742551678865195
S.D.0.0121688660619716
T-STAT0.610206140065681
p-value0.561004772854491

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -0.0680858758830733 \tabularnewline
beta & 0.00742551678865195 \tabularnewline
S.D. & 0.0121688660619716 \tabularnewline
T-STAT & 0.610206140065681 \tabularnewline
p-value & 0.561004772854491 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283775&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.0680858758830733[/C][/ROW]
[ROW][C]beta[/C][C]0.00742551678865195[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0121688660619716[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.610206140065681[/C][/ROW]
[ROW][C]p-value[/C][C]0.561004772854491[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283775&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283775&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-0.0680858758830733
beta0.00742551678865195
S.D.0.0121688660619716
T-STAT0.610206140065681
p-value0.561004772854491







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-6.92178965307991
beta1.41425841188508
S.D.1.69265113165091
T-STAT0.835528589110799
p-value0.431011497586346
Lambda-0.414258411885079

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -6.92178965307991 \tabularnewline
beta & 1.41425841188508 \tabularnewline
S.D. & 1.69265113165091 \tabularnewline
T-STAT & 0.835528589110799 \tabularnewline
p-value & 0.431011497586346 \tabularnewline
Lambda & -0.414258411885079 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283775&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-6.92178965307991[/C][/ROW]
[ROW][C]beta[/C][C]1.41425841188508[/C][/ROW]
[ROW][C]S.D.[/C][C]1.69265113165091[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.835528589110799[/C][/ROW]
[ROW][C]p-value[/C][C]0.431011497586346[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.414258411885079[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283775&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283775&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-6.92178965307991
beta1.41425841188508
S.D.1.69265113165091
T-STAT0.835528589110799
p-value0.431011497586346
Lambda-0.414258411885079



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