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 computationFri, 17 Jul 2009 02:46:57 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Jul/17/t1247820577sbnmfixeysv61c2.htm/, Retrieved Sat, 18 May 2024 09:07:02 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=42376, Retrieved Sat, 18 May 2024 09:07:02 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact238
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [opgave8_oef2_stan...] [2009-07-17 08:46:57] [49ed6f8c7db7571d0c4403fef2ba00f0] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.88
1.03
0.69
0.71
1.11
1.05
1.03
0.65
0.59
0.77
0.9
1.26
0.96
0.83
0.87
0.79
1.12
0.88
0.64
0.64
0.58
0.5
0.99
1.07
0.89
0.89
0.83
0.86
0.9
1.12
0.88
0.88
0.89
0.82
0.88
0.81
0.88
0.76
1.13
0.85
1.45
1.55
0.71
0.81
0.83
0.73
0.9
0.94
1.78
0.88
1.04
0.83
1.41
0.96
1.3
0.83
1.4
0.91
0.87
0.97
1.19
1.23
1.33
1.17
1.09
0.63
0.89
0.63
1.51
0.97
0.84
0.92
0.95
0.73
1.02
0.79
1.27
0.95
0.75
0.52
0.95
0.82
0.76
1.24
0.94
1.04
1.81
0.95
1.39
0.86
1.15
1.51
0.6
0.72
1.1
1.62
1.84
1.73
1.36
1.07
1
1.49
0.9
1.43
1.54
0.81
1.61
1.3
1.4
1.03
0.79
1.11
1.15
1.03
1.59
1.11
1.33
0.93
1.07
1.14
1.12
0.86
0.82
1.02
1.07
1.31
0.98
0.89
0.8
0.8
0.78
0.97




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=42376&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'Gwilym Jenkins' @ 72.249.127.135







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
10.8891666666666670.2099115975544910.67
20.82250.1983626156127390.62
30.88750.07921489758877430.31
40.9616666666666670.2754115377966490.84
51.098333333333330.303280048599950.95
61.033333333333330.2697585901685000.88
70.8958333333333330.2149189417318810.75
81.140833333333330.3708579324493491.21
91.340.3317446992109231.03
101.140.2140093455903270.8
110.9516666666666670.1599905300227790.53

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 0.889166666666667 & 0.209911597554491 & 0.67 \tabularnewline
2 & 0.8225 & 0.198362615612739 & 0.62 \tabularnewline
3 & 0.8875 & 0.0792148975887743 & 0.31 \tabularnewline
4 & 0.961666666666667 & 0.275411537796649 & 0.84 \tabularnewline
5 & 1.09833333333333 & 0.30328004859995 & 0.95 \tabularnewline
6 & 1.03333333333333 & 0.269758590168500 & 0.88 \tabularnewline
7 & 0.895833333333333 & 0.214918941731881 & 0.75 \tabularnewline
8 & 1.14083333333333 & 0.370857932449349 & 1.21 \tabularnewline
9 & 1.34 & 0.331744699210923 & 1.03 \tabularnewline
10 & 1.14 & 0.214009345590327 & 0.8 \tabularnewline
11 & 0.951666666666667 & 0.159990530022779 & 0.53 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=42376&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]0.889166666666667[/C][C]0.209911597554491[/C][C]0.67[/C][/ROW]
[ROW][C]2[/C][C]0.8225[/C][C]0.198362615612739[/C][C]0.62[/C][/ROW]
[ROW][C]3[/C][C]0.8875[/C][C]0.0792148975887743[/C][C]0.31[/C][/ROW]
[ROW][C]4[/C][C]0.961666666666667[/C][C]0.275411537796649[/C][C]0.84[/C][/ROW]
[ROW][C]5[/C][C]1.09833333333333[/C][C]0.30328004859995[/C][C]0.95[/C][/ROW]
[ROW][C]6[/C][C]1.03333333333333[/C][C]0.269758590168500[/C][C]0.88[/C][/ROW]
[ROW][C]7[/C][C]0.895833333333333[/C][C]0.214918941731881[/C][C]0.75[/C][/ROW]
[ROW][C]8[/C][C]1.14083333333333[/C][C]0.370857932449349[/C][C]1.21[/C][/ROW]
[ROW][C]9[/C][C]1.34[/C][C]0.331744699210923[/C][C]1.03[/C][/ROW]
[ROW][C]10[/C][C]1.14[/C][C]0.214009345590327[/C][C]0.8[/C][/ROW]
[ROW][C]11[/C][C]0.951666666666667[/C][C]0.159990530022779[/C][C]0.53[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=42376&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=42376&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
10.8891666666666670.2099115975544910.67
20.82250.1983626156127390.62
30.88750.07921489758877430.31
40.9616666666666670.2754115377966490.84
51.098333333333330.303280048599950.95
61.033333333333330.2697585901685000.88
70.8958333333333330.2149189417318810.75
81.140833333333330.3708579324493491.21
91.340.3317446992109231.03
101.140.2140093455903270.8
110.9516666666666670.1599905300227790.53







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.138834550724270
beta0.372251844482342
S.D.0.129426406958583
T-STAT2.87616610265216
p-value0.0182919407262384

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -0.138834550724270 \tabularnewline
beta & 0.372251844482342 \tabularnewline
S.D. & 0.129426406958583 \tabularnewline
T-STAT & 2.87616610265216 \tabularnewline
p-value & 0.0182919407262384 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=42376&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.138834550724270[/C][/ROW]
[ROW][C]beta[/C][C]0.372251844482342[/C][/ROW]
[ROW][C]S.D.[/C][C]0.129426406958583[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.87616610265216[/C][/ROW]
[ROW][C]p-value[/C][C]0.0182919407262384[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=42376&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=42376&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.138834550724270
beta0.372251844482342
S.D.0.129426406958583
T-STAT2.87616610265216
p-value0.0182919407262384







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-1.50961151600232
beta1.78552231728012
S.D.0.765062236723565
T-STAT2.33382623213342
p-value0.044467629075552
Lambda-0.785522317280122

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -1.50961151600232 \tabularnewline
beta & 1.78552231728012 \tabularnewline
S.D. & 0.765062236723565 \tabularnewline
T-STAT & 2.33382623213342 \tabularnewline
p-value & 0.044467629075552 \tabularnewline
Lambda & -0.785522317280122 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=42376&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-1.50961151600232[/C][/ROW]
[ROW][C]beta[/C][C]1.78552231728012[/C][/ROW]
[ROW][C]S.D.[/C][C]0.765062236723565[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.33382623213342[/C][/ROW]
[ROW][C]p-value[/C][C]0.044467629075552[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.785522317280122[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=42376&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=42376&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.50961151600232
beta1.78552231728012
S.D.0.765062236723565
T-STAT2.33382623213342
p-value0.044467629075552
Lambda-0.785522317280122



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