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, 26 Dec 2010 11:44:51 +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/Dec/26/t1293364562ah6w56knzwbyoyx.htm/, Retrieved Tue, 07 May 2024 02:47:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=115557, Retrieved Tue, 07 May 2024 02:47:45 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact115
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Retail sale of wi...] [2010-12-26 11:44:51] [69fd4ebd73ea03d240a8ad2b0e9f45ec] [Current]
Feedback Forum

Post a new message
Dataseries X:
57,7
63,6
78
77,4
74,1
85,9
82
78,4
68,1
70,9
85,2
149,6
57,9
63,7
85
66,1
80,2
83,4
85,7
81,8
69,4
76,4
90,3
157,3
65,3
68,4
72,7
86,6
82,6
84,8
93,4
82,2
75,2
83,9
85,4
166,3
70,4
73,9
82,4
92,3
82,7
95,8
105,8
84,2
82,7
88,4
90,2
176,6
69,5
77,3
98,6
86,4
90,8
101,5
112,2
93,6
93,8
90,8
98,1
187,6
75
83,7
99,7
104,9
98,9
117,3
115,7
102,2
101,9
96,6
110
203,7
82,3
93,3
121,9
100,9
107,7
130
123,2
116,1
105,3
107,7
123,9
205,2
90,3
106,9
122,4
111,3
122,6
124,8
139,5
118,8
111
121,2
120,6
219,1
101,3
105
113,4
133,6
123,9
136,2
151,7
121,9
120,2
132,2
125,2
233,8




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115557&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115557&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115557&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
180.908333333333323.235766252338991.9
283.125.425506162835199.4
387.233333333333326.1967150381089101
493.783333333333327.7330073553103106.2
5100.01666666666729.7101094925718118.1
6109.13333333333332.0999386386650128.7
7118.12530.7168631506894122.9
8125.70833333333331.7077982473866128.8
9133.234.5422534402038132.5

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 80.9083333333333 & 23.2357662523389 & 91.9 \tabularnewline
2 & 83.1 & 25.4255061628351 & 99.4 \tabularnewline
3 & 87.2333333333333 & 26.1967150381089 & 101 \tabularnewline
4 & 93.7833333333333 & 27.7330073553103 & 106.2 \tabularnewline
5 & 100.016666666667 & 29.7101094925718 & 118.1 \tabularnewline
6 & 109.133333333333 & 32.0999386386650 & 128.7 \tabularnewline
7 & 118.125 & 30.7168631506894 & 122.9 \tabularnewline
8 & 125.708333333333 & 31.7077982473866 & 128.8 \tabularnewline
9 & 133.2 & 34.5422534402038 & 132.5 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115557&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]80.9083333333333[/C][C]23.2357662523389[/C][C]91.9[/C][/ROW]
[ROW][C]2[/C][C]83.1[/C][C]25.4255061628351[/C][C]99.4[/C][/ROW]
[ROW][C]3[/C][C]87.2333333333333[/C][C]26.1967150381089[/C][C]101[/C][/ROW]
[ROW][C]4[/C][C]93.7833333333333[/C][C]27.7330073553103[/C][C]106.2[/C][/ROW]
[ROW][C]5[/C][C]100.016666666667[/C][C]29.7101094925718[/C][C]118.1[/C][/ROW]
[ROW][C]6[/C][C]109.133333333333[/C][C]32.0999386386650[/C][C]128.7[/C][/ROW]
[ROW][C]7[/C][C]118.125[/C][C]30.7168631506894[/C][C]122.9[/C][/ROW]
[ROW][C]8[/C][C]125.708333333333[/C][C]31.7077982473866[/C][C]128.8[/C][/ROW]
[ROW][C]9[/C][C]133.2[/C][C]34.5422534402038[/C][C]132.5[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115557&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115557&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
180.908333333333323.235766252338991.9
283.125.425506162835199.4
387.233333333333326.1967150381089101
493.783333333333327.7330073553103106.2
5100.01666666666729.7101094925718118.1
6109.13333333333332.0999386386650128.7
7118.12530.7168631506894122.9
8125.70833333333331.7077982473866128.8
9133.234.5422534402038132.5







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha10.3970233163837
beta0.18019034186477
S.D.0.0240319409760003
T-STAT7.49795208155342
p-value0.000137540622007583

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 10.3970233163837 \tabularnewline
beta & 0.18019034186477 \tabularnewline
S.D. & 0.0240319409760003 \tabularnewline
T-STAT & 7.49795208155342 \tabularnewline
p-value & 0.000137540622007583 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115557&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]10.3970233163837[/C][/ROW]
[ROW][C]beta[/C][C]0.18019034186477[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0240319409760003[/C][/ROW]
[ROW][C]T-STAT[/C][C]7.49795208155342[/C][/ROW]
[ROW][C]p-value[/C][C]0.000137540622007583[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115557&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115557&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)
alpha10.3970233163837
beta0.18019034186477
S.D.0.0240319409760003
T-STAT7.49795208155342
p-value0.000137540622007583







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha0.295457740624784
beta0.663035609080445
S.D.0.0835955424237309
T-STAT7.93147086383668
p-value9.6292362410362e-05
Lambda0.336964390919555

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 0.295457740624784 \tabularnewline
beta & 0.663035609080445 \tabularnewline
S.D. & 0.0835955424237309 \tabularnewline
T-STAT & 7.93147086383668 \tabularnewline
p-value & 9.6292362410362e-05 \tabularnewline
Lambda & 0.336964390919555 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115557&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]0.295457740624784[/C][/ROW]
[ROW][C]beta[/C][C]0.663035609080445[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0835955424237309[/C][/ROW]
[ROW][C]T-STAT[/C][C]7.93147086383668[/C][/ROW]
[ROW][C]p-value[/C][C]9.6292362410362e-05[/C][/ROW]
[ROW][C]Lambda[/C][C]0.336964390919555[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115557&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115557&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)
alpha0.295457740624784
beta0.663035609080445
S.D.0.0835955424237309
T-STAT7.93147086383668
p-value9.6292362410362e-05
Lambda0.336964390919555



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