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, 30 Nov 2011 15:29:39 -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/2011/Nov/30/t1322685052egsyfdxbvcbj10g.htm/, Retrieved Thu, 18 Apr 2024 23:38:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=149151, Retrieved Thu, 18 Apr 2024 23:38:46 +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] [stand dev mean pl...] [2011-11-30 20:29:39] [cbc0158ed4ce90347cf58cee0539a6b2] [Current]
Feedback Forum

Post a new message
Dataseries X:
106.09
106.19
106.2
106.22
106.22
106.23
106.23
106.61
106.95
107.2
107.56
107.72
107.74
107.8
107.8
108.1
108.14
108.16
108.16
108.16
108.95
110.49
110.71
110.72
110.75
110.82
110.82
110.84
110.84
110.84
110.86
110.92
111.46
112.46
113.04
113.15
113.15
113.21
113.37
113.47
113.71
113.71
113.71
113.8
115.46
117
117.94
118.08
118.08
118.45
118.47
118.49
118.54
118.55
118.55
118.55
119.04
121.37
121.73
121.83
121.83
121.91
122
122.03
122.14
122.14
122.23
122.49
123.02
125.98
126.13
126.39




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=149151&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 time12 seconds
R Server'AstonUniversity' @ aston.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1106.1750.05802298395176230.129999999999995
2106.32250.1917246289169260.390000000000001
3107.35750.3479822792422990.769999999999996
4107.860.1624807680927180.359999999999999
5108.1550.0099999999999980.019999999999996
6110.21750.8516405736381171.77
7110.80750.03947573094108950.0900000000000034
8110.8650.03785938897200120.0799999999999983
9112.52750.7733638643398561.69000000000001
10113.30.1465150731722390.319999999999993
11113.73250.04500000000000170.0900000000000034
12117.121.206095629154952.62
13118.37250.1956825660774780.409999999999997
14118.54750.004999999999995450.0099999999999909
15120.99251.31657067160612.78999999999999
16121.94250.09069178573608680.200000000000003
17122.250.1655294535724660.349999999999994
18125.381.582424300453793.37

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 106.175 & 0.0580229839517623 & 0.129999999999995 \tabularnewline
2 & 106.3225 & 0.191724628916926 & 0.390000000000001 \tabularnewline
3 & 107.3575 & 0.347982279242299 & 0.769999999999996 \tabularnewline
4 & 107.86 & 0.162480768092718 & 0.359999999999999 \tabularnewline
5 & 108.155 & 0.009999999999998 & 0.019999999999996 \tabularnewline
6 & 110.2175 & 0.851640573638117 & 1.77 \tabularnewline
7 & 110.8075 & 0.0394757309410895 & 0.0900000000000034 \tabularnewline
8 & 110.865 & 0.0378593889720012 & 0.0799999999999983 \tabularnewline
9 & 112.5275 & 0.773363864339856 & 1.69000000000001 \tabularnewline
10 & 113.3 & 0.146515073172239 & 0.319999999999993 \tabularnewline
11 & 113.7325 & 0.0450000000000017 & 0.0900000000000034 \tabularnewline
12 & 117.12 & 1.20609562915495 & 2.62 \tabularnewline
13 & 118.3725 & 0.195682566077478 & 0.409999999999997 \tabularnewline
14 & 118.5475 & 0.00499999999999545 & 0.0099999999999909 \tabularnewline
15 & 120.9925 & 1.3165706716061 & 2.78999999999999 \tabularnewline
16 & 121.9425 & 0.0906917857360868 & 0.200000000000003 \tabularnewline
17 & 122.25 & 0.165529453572466 & 0.349999999999994 \tabularnewline
18 & 125.38 & 1.58242430045379 & 3.37 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=149151&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]106.175[/C][C]0.0580229839517623[/C][C]0.129999999999995[/C][/ROW]
[ROW][C]2[/C][C]106.3225[/C][C]0.191724628916926[/C][C]0.390000000000001[/C][/ROW]
[ROW][C]3[/C][C]107.3575[/C][C]0.347982279242299[/C][C]0.769999999999996[/C][/ROW]
[ROW][C]4[/C][C]107.86[/C][C]0.162480768092718[/C][C]0.359999999999999[/C][/ROW]
[ROW][C]5[/C][C]108.155[/C][C]0.009999999999998[/C][C]0.019999999999996[/C][/ROW]
[ROW][C]6[/C][C]110.2175[/C][C]0.851640573638117[/C][C]1.77[/C][/ROW]
[ROW][C]7[/C][C]110.8075[/C][C]0.0394757309410895[/C][C]0.0900000000000034[/C][/ROW]
[ROW][C]8[/C][C]110.865[/C][C]0.0378593889720012[/C][C]0.0799999999999983[/C][/ROW]
[ROW][C]9[/C][C]112.5275[/C][C]0.773363864339856[/C][C]1.69000000000001[/C][/ROW]
[ROW][C]10[/C][C]113.3[/C][C]0.146515073172239[/C][C]0.319999999999993[/C][/ROW]
[ROW][C]11[/C][C]113.7325[/C][C]0.0450000000000017[/C][C]0.0900000000000034[/C][/ROW]
[ROW][C]12[/C][C]117.12[/C][C]1.20609562915495[/C][C]2.62[/C][/ROW]
[ROW][C]13[/C][C]118.3725[/C][C]0.195682566077478[/C][C]0.409999999999997[/C][/ROW]
[ROW][C]14[/C][C]118.5475[/C][C]0.00499999999999545[/C][C]0.0099999999999909[/C][/ROW]
[ROW][C]15[/C][C]120.9925[/C][C]1.3165706716061[/C][C]2.78999999999999[/C][/ROW]
[ROW][C]16[/C][C]121.9425[/C][C]0.0906917857360868[/C][C]0.200000000000003[/C][/ROW]
[ROW][C]17[/C][C]122.25[/C][C]0.165529453572466[/C][C]0.349999999999994[/C][/ROW]
[ROW][C]18[/C][C]125.38[/C][C]1.58242430045379[/C][C]3.37[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=149151&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=149151&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
1106.1750.05802298395176230.129999999999995
2106.32250.1917246289169260.390000000000001
3107.35750.3479822792422990.769999999999996
4107.860.1624807680927180.359999999999999
5108.1550.0099999999999980.019999999999996
6110.21750.8516405736381171.77
7110.80750.03947573094108950.0900000000000034
8110.8650.03785938897200120.0799999999999983
9112.52750.7733638643398561.69000000000001
10113.30.1465150731722390.319999999999993
11113.73250.04500000000000170.0900000000000034
12117.121.206095629154952.62
13118.37250.1956825660774780.409999999999997
14118.54750.004999999999995450.0099999999999909
15120.99251.31657067160612.78999999999999
16121.94250.09069178573608680.200000000000003
17122.250.1655294535724660.349999999999994
18125.381.582424300453793.37







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-3.91800815217108
beta0.0378913490682883
S.D.0.0185864999711064
T-STAT2.03864897249036
p-value0.0583631834829452

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -3.91800815217108 \tabularnewline
beta & 0.0378913490682883 \tabularnewline
S.D. & 0.0185864999711064 \tabularnewline
T-STAT & 2.03864897249036 \tabularnewline
p-value & 0.0583631834829452 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=149151&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-3.91800815217108[/C][/ROW]
[ROW][C]beta[/C][C]0.0378913490682883[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0185864999711064[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.03864897249036[/C][/ROW]
[ROW][C]p-value[/C][C]0.0583631834829452[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=149151&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=149151&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-3.91800815217108
beta0.0378913490682883
S.D.0.0185864999711064
T-STAT2.03864897249036
p-value0.0583631834829452







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-41.112156185368
beta8.2824848246618
S.D.7.4926715821083
T-STAT1.10541143221057
p-value0.285326839073884
Lambda-7.2824848246618

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -41.112156185368 \tabularnewline
beta & 8.2824848246618 \tabularnewline
S.D. & 7.4926715821083 \tabularnewline
T-STAT & 1.10541143221057 \tabularnewline
p-value & 0.285326839073884 \tabularnewline
Lambda & -7.2824848246618 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=149151&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-41.112156185368[/C][/ROW]
[ROW][C]beta[/C][C]8.2824848246618[/C][/ROW]
[ROW][C]S.D.[/C][C]7.4926715821083[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.10541143221057[/C][/ROW]
[ROW][C]p-value[/C][C]0.285326839073884[/C][/ROW]
[ROW][C]Lambda[/C][C]-7.2824848246618[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=149151&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=149151&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-41.112156185368
beta8.2824848246618
S.D.7.4926715821083
T-STAT1.10541143221057
p-value0.285326839073884
Lambda-7.2824848246618



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