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, 05 Dec 2010 12:38:18 +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/05/t1291552599a88ypnjdxfed3zz.htm/, Retrieved Wed, 01 May 2024 22:43:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=105368, Retrieved Wed, 01 May 2024 22:43:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact120
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Variability] [] [2010-12-05 11:37:00] [ffc696c4cda56cf82d3c83a5cb69c43d]
- RMPD    [Standard Deviation-Mean Plot] [] [2010-12-05 12:38:18] [9b9daabfb4dd89dd7e1d590f0423e9fb] [Current]
Feedback Forum

Post a new message
Dataseries X:
3.65
3.59
3.31
3.89
4.31
4.35
4.11
3.90
3.75
3.75
3.88
3.93
3.97
3.97
4.33
4.16
4.93
3.86
4.06
4.18
4.08
4.38
4.48
4.41
4.37
4.56
4.71
4.94
5.03
5.08
5.05
4.83
4.68
4.69
4.58
4.54
4.75
4.71
4.50
4.62
4.69
5.05
4.93
4.53
4.33
4.33
3.87
3.74
3.31
3.21
2.93
3.19
3.46
3.73
3.60
3.46
3.25
3.19
2.82
1.89
1.98
2.30
2.42
2.47
2.81
3.37
3.14
3.21
3.02
2.96
2.92
3.07




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105368&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105368&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105368&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'George Udny Yule' @ 72.249.76.132







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
13.610.2383275057562600.58
24.16750.2069420208657490.45
33.82750.09178779875342910.18
44.10750.1732772345116350.36
54.25750.4673596045873031.07
64.33750.1767059704707230.4
74.6450.2409010862020620.57
84.99750.1135414755350070.25
94.62250.07410578025138570.150000000000000
104.6450.1109053650640940.25
114.80.2340939982143920.52
124.06750.307720110923330.59
133.160.1620699437485760.38
143.56250.1297112177107280.27
152.78750.6278203033777531.36
162.29250.2202082347839580.49
173.13250.2355666926088380.56
182.99250.06601767440112780.15

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 3.61 & 0.238327505756260 & 0.58 \tabularnewline
2 & 4.1675 & 0.206942020865749 & 0.45 \tabularnewline
3 & 3.8275 & 0.0917877987534291 & 0.18 \tabularnewline
4 & 4.1075 & 0.173277234511635 & 0.36 \tabularnewline
5 & 4.2575 & 0.467359604587303 & 1.07 \tabularnewline
6 & 4.3375 & 0.176705970470723 & 0.4 \tabularnewline
7 & 4.645 & 0.240901086202062 & 0.57 \tabularnewline
8 & 4.9975 & 0.113541475535007 & 0.25 \tabularnewline
9 & 4.6225 & 0.0741057802513857 & 0.150000000000000 \tabularnewline
10 & 4.645 & 0.110905365064094 & 0.25 \tabularnewline
11 & 4.8 & 0.234093998214392 & 0.52 \tabularnewline
12 & 4.0675 & 0.30772011092333 & 0.59 \tabularnewline
13 & 3.16 & 0.162069943748576 & 0.38 \tabularnewline
14 & 3.5625 & 0.129711217710728 & 0.27 \tabularnewline
15 & 2.7875 & 0.627820303377753 & 1.36 \tabularnewline
16 & 2.2925 & 0.220208234783958 & 0.49 \tabularnewline
17 & 3.1325 & 0.235566692608838 & 0.56 \tabularnewline
18 & 2.9925 & 0.0660176744011278 & 0.15 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105368&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]3.61[/C][C]0.238327505756260[/C][C]0.58[/C][/ROW]
[ROW][C]2[/C][C]4.1675[/C][C]0.206942020865749[/C][C]0.45[/C][/ROW]
[ROW][C]3[/C][C]3.8275[/C][C]0.0917877987534291[/C][C]0.18[/C][/ROW]
[ROW][C]4[/C][C]4.1075[/C][C]0.173277234511635[/C][C]0.36[/C][/ROW]
[ROW][C]5[/C][C]4.2575[/C][C]0.467359604587303[/C][C]1.07[/C][/ROW]
[ROW][C]6[/C][C]4.3375[/C][C]0.176705970470723[/C][C]0.4[/C][/ROW]
[ROW][C]7[/C][C]4.645[/C][C]0.240901086202062[/C][C]0.57[/C][/ROW]
[ROW][C]8[/C][C]4.9975[/C][C]0.113541475535007[/C][C]0.25[/C][/ROW]
[ROW][C]9[/C][C]4.6225[/C][C]0.0741057802513857[/C][C]0.150000000000000[/C][/ROW]
[ROW][C]10[/C][C]4.645[/C][C]0.110905365064094[/C][C]0.25[/C][/ROW]
[ROW][C]11[/C][C]4.8[/C][C]0.234093998214392[/C][C]0.52[/C][/ROW]
[ROW][C]12[/C][C]4.0675[/C][C]0.30772011092333[/C][C]0.59[/C][/ROW]
[ROW][C]13[/C][C]3.16[/C][C]0.162069943748576[/C][C]0.38[/C][/ROW]
[ROW][C]14[/C][C]3.5625[/C][C]0.129711217710728[/C][C]0.27[/C][/ROW]
[ROW][C]15[/C][C]2.7875[/C][C]0.627820303377753[/C][C]1.36[/C][/ROW]
[ROW][C]16[/C][C]2.2925[/C][C]0.220208234783958[/C][C]0.49[/C][/ROW]
[ROW][C]17[/C][C]3.1325[/C][C]0.235566692608838[/C][C]0.56[/C][/ROW]
[ROW][C]18[/C][C]2.9925[/C][C]0.0660176744011278[/C][C]0.15[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105368&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105368&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
13.610.2383275057562600.58
24.16750.2069420208657490.45
33.82750.09178779875342910.18
44.10750.1732772345116350.36
54.25750.4673596045873031.07
64.33750.1767059704707230.4
74.6450.2409010862020620.57
84.99750.1135414755350070.25
94.62250.07410578025138570.150000000000000
104.6450.1109053650640940.25
114.80.2340939982143920.52
124.06750.307720110923330.59
133.160.1620699437485760.38
143.56250.1297112177107280.27
152.78750.6278203033777531.36
162.29250.2202082347839580.49
173.13250.2355666926088380.56
182.99250.06601767440112780.15







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha0.390397357270108
beta-0.044993257105454
S.D.0.0442390715183153
T-STAT-1.01704795243785
p-value0.324264134514356

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 0.390397357270108 \tabularnewline
beta & -0.044993257105454 \tabularnewline
S.D. & 0.0442390715183153 \tabularnewline
T-STAT & -1.01704795243785 \tabularnewline
p-value & 0.324264134514356 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105368&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]0.390397357270108[/C][/ROW]
[ROW][C]beta[/C][C]-0.044993257105454[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0442390715183153[/C][/ROW]
[ROW][C]T-STAT[/C][C]-1.01704795243785[/C][/ROW]
[ROW][C]p-value[/C][C]0.324264134514356[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105368&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105368&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)
alpha0.390397357270108
beta-0.044993257105454
S.D.0.0442390715183153
T-STAT-1.01704795243785
p-value0.324264134514356







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-1.01299871630867
beta-0.516878117481705
S.D.0.675324830295577
T-STAT-0.765377036789063
p-value0.455189714697527
Lambda1.51687811748171

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -1.01299871630867 \tabularnewline
beta & -0.516878117481705 \tabularnewline
S.D. & 0.675324830295577 \tabularnewline
T-STAT & -0.765377036789063 \tabularnewline
p-value & 0.455189714697527 \tabularnewline
Lambda & 1.51687811748171 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105368&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-1.01299871630867[/C][/ROW]
[ROW][C]beta[/C][C]-0.516878117481705[/C][/ROW]
[ROW][C]S.D.[/C][C]0.675324830295577[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.765377036789063[/C][/ROW]
[ROW][C]p-value[/C][C]0.455189714697527[/C][/ROW]
[ROW][C]Lambda[/C][C]1.51687811748171[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105368&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105368&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-1.01299871630867
beta-0.516878117481705
S.D.0.675324830295577
T-STAT-0.765377036789063
p-value0.455189714697527
Lambda1.51687811748171



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