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 computationWed, 26 May 2010 13:30:09 +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/May/26/t1274880647l6fvw90yi8yd9md.htm/, Retrieved Fri, 03 May 2024 06:49:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=76490, Retrieved Fri, 03 May 2024 06:49:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact106
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [taak 8] [2010-05-26 13:30:09] [16a17dd935adfa033e8fda163f23b24a] [Current]
Feedback Forum

Post a new message
Dataseries X:
93.2
96
95.2
77.1
70.9
64.8
70.1
77.3
79.5
100.6
100.7
107.1
95.9
82.8
83.3
80
80.4
67.5
75.7
71.1
89.3
101.1
105.2
114.1
96.3
84.4
91.2
81.9
80.5
70.4
74.8
75.9
86.3
98.7
100.9
113.8
89.8
84.4
87.2
85.6
72
69.2
77.5
78.1
94.3
97.7
100.2
116.4
97.1
93
96
80.5
76.1
69.9
73.6
92.6
94.2
93.5
108.5
109.4
105.1
92.5
97.1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76490&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76490&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76490&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
190.3758.9279990292711618.9
270.7755.1233940573282712.5
396.97512.040314226242927.6
485.57.0837842993699415.9
573.6755.6002232098372712.9
6102.42510.296075304049924.8
788.456.5444633087824714.4
875.44.1480919308359910.1
999.92511.263621383314827.5
1086.752.334523505985755.39999999999999
1174.24.318178628387978.9
12102.159.802890730119722.1
1391.657.6326054965959516.6
1478.0510.028791884702122.7
15101.48.7304066342868615.9

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 90.375 & 8.92799902927116 & 18.9 \tabularnewline
2 & 70.775 & 5.12339405732827 & 12.5 \tabularnewline
3 & 96.975 & 12.0403142262429 & 27.6 \tabularnewline
4 & 85.5 & 7.08378429936994 & 15.9 \tabularnewline
5 & 73.675 & 5.60022320983727 & 12.9 \tabularnewline
6 & 102.425 & 10.2960753040499 & 24.8 \tabularnewline
7 & 88.45 & 6.54446330878247 & 14.4 \tabularnewline
8 & 75.4 & 4.14809193083599 & 10.1 \tabularnewline
9 & 99.925 & 11.2636213833148 & 27.5 \tabularnewline
10 & 86.75 & 2.33452350598575 & 5.39999999999999 \tabularnewline
11 & 74.2 & 4.31817862838797 & 8.9 \tabularnewline
12 & 102.15 & 9.8028907301197 & 22.1 \tabularnewline
13 & 91.65 & 7.63260549659595 & 16.6 \tabularnewline
14 & 78.05 & 10.0287918847021 & 22.7 \tabularnewline
15 & 101.4 & 8.73040663428686 & 15.9 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76490&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]90.375[/C][C]8.92799902927116[/C][C]18.9[/C][/ROW]
[ROW][C]2[/C][C]70.775[/C][C]5.12339405732827[/C][C]12.5[/C][/ROW]
[ROW][C]3[/C][C]96.975[/C][C]12.0403142262429[/C][C]27.6[/C][/ROW]
[ROW][C]4[/C][C]85.5[/C][C]7.08378429936994[/C][C]15.9[/C][/ROW]
[ROW][C]5[/C][C]73.675[/C][C]5.60022320983727[/C][C]12.9[/C][/ROW]
[ROW][C]6[/C][C]102.425[/C][C]10.2960753040499[/C][C]24.8[/C][/ROW]
[ROW][C]7[/C][C]88.45[/C][C]6.54446330878247[/C][C]14.4[/C][/ROW]
[ROW][C]8[/C][C]75.4[/C][C]4.14809193083599[/C][C]10.1[/C][/ROW]
[ROW][C]9[/C][C]99.925[/C][C]11.2636213833148[/C][C]27.5[/C][/ROW]
[ROW][C]10[/C][C]86.75[/C][C]2.33452350598575[/C][C]5.39999999999999[/C][/ROW]
[ROW][C]11[/C][C]74.2[/C][C]4.31817862838797[/C][C]8.9[/C][/ROW]
[ROW][C]12[/C][C]102.15[/C][C]9.8028907301197[/C][C]22.1[/C][/ROW]
[ROW][C]13[/C][C]91.65[/C][C]7.63260549659595[/C][C]16.6[/C][/ROW]
[ROW][C]14[/C][C]78.05[/C][C]10.0287918847021[/C][C]22.7[/C][/ROW]
[ROW][C]15[/C][C]101.4[/C][C]8.73040663428686[/C][C]15.9[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76490&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76490&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
190.3758.9279990292711618.9
270.7755.1233940573282712.5
396.97512.040314226242927.6
485.57.0837842993699415.9
573.6755.6002232098372712.9
6102.42510.296075304049924.8
788.456.5444633087824714.4
875.44.1480919308359910.1
999.92511.263621383314827.5
1086.752.334523505985755.39999999999999
1174.24.318178628387978.9
12102.159.802890730119722.1
1391.657.6326054965959516.6
1478.0510.028791884702122.7
15101.48.7304066342868615.9







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-7.90617636749176
beta0.176419525796075
S.D.0.0510253073120904
T-STAT3.45749070587708
p-value0.00424661984511384

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -7.90617636749176 \tabularnewline
beta & 0.176419525796075 \tabularnewline
S.D. & 0.0510253073120904 \tabularnewline
T-STAT & 3.45749070587708 \tabularnewline
p-value & 0.00424661984511384 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76490&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-7.90617636749176[/C][/ROW]
[ROW][C]beta[/C][C]0.176419525796075[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0510253073120904[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.45749070587708[/C][/ROW]
[ROW][C]p-value[/C][C]0.00424661984511384[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76490&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76490&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.90617636749176
beta0.176419525796075
S.D.0.0510253073120904
T-STAT3.45749070587708
p-value0.00424661984511384







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-7.49303545644782
beta2.1120481662243
S.D.0.765703073564653
T-STAT2.75831224810405
p-value0.0162772248067977
Lambda-1.1120481662243

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -7.49303545644782 \tabularnewline
beta & 2.1120481662243 \tabularnewline
S.D. & 0.765703073564653 \tabularnewline
T-STAT & 2.75831224810405 \tabularnewline
p-value & 0.0162772248067977 \tabularnewline
Lambda & -1.1120481662243 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76490&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-7.49303545644782[/C][/ROW]
[ROW][C]beta[/C][C]2.1120481662243[/C][/ROW]
[ROW][C]S.D.[/C][C]0.765703073564653[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.75831224810405[/C][/ROW]
[ROW][C]p-value[/C][C]0.0162772248067977[/C][/ROW]
[ROW][C]Lambda[/C][C]-1.1120481662243[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76490&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76490&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-7.49303545644782
beta2.1120481662243
S.D.0.765703073564653
T-STAT2.75831224810405
p-value0.0162772248067977
Lambda-1.1120481662243



Parameters (Session):
par1 = 4 ;
Parameters (R input):
par1 = 4 ;
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')