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 computationTue, 29 Dec 2009 07:42:27 -0700
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/Dec/29/t1262097795kyabf7y0bl95yy2.htm/, Retrieved Fri, 03 May 2024 11:46:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=71129, Retrieved Fri, 03 May 2024 11:46:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact138
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [sd-mean plot: dow...] [2009-12-29 14:42:27] [dbd46bd47d5f87b1007a5a1708bef00e] [Current]
Feedback Forum

Post a new message
Dataseries X:
10967,87
10433,56
10665,78
10666,71
10682,74
10777,22
10052,6
10213,97
10546,82
10767,2
10444,5
10314,68
9042,56
9220,75
9721,84
9978,53
9923,81
9892,56
10500,98
10179,35
10080,48
9492,44
8616,49
8685,4
8160,67
8048,1
8641,21
8526,63
8474,21
7916,13
7977,64
8334,59
8623,36
9098,03
9154,34
9284,73
9492,49
9682,35
9762,12
10124,63
10540,05
10601,61
10323,73
10418,4
10092,96
10364,91
10152,09
10032,8
10204,59
10001,6
10411,75
10673,38
10539,51
10723,78
10682,06
10283,19
10377,18
10486,64
10545,38
10554,27
10532,54
10324,31
10695,25
10827,81
10872,48
10971,19
11145,65
11234,68
11333,88
10997,97
11036,89
11257,35
11533,59
11963,12
12185,15
12377,62
12512,89
12631,48
12268,53
12754,8
13407,75
13480,21
13673,28
13239,71
13557,69
13901,28
13200,58
13406,97
12538,12
12419,57
12193,88
12656,63
12812,48
12056,67
11322,38
11530,75
11114,08
9181,73
8614,55
8595,56
8396,20
7690,50
7235,47
7992,12
8398,37
8593
8679,75
9374,63
9634,97
9857,34
10238,83




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=71129&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=71129&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71129&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
110544.4708333333262.522110669086915.27
29611.26583333333602.6643684726311884.49
38519.97466.49871741031368.6
410132.345346.3919759332031109.12
510456.9441666667213.909799404002722.18
610935.8333333333304.6069470745221009.57
712669.0108333333663.1915231728562139.69
812633.0833333333793.711122470472578.9
98655.49666666667970.9218279958423878.61

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 10544.4708333333 & 262.522110669086 & 915.27 \tabularnewline
2 & 9611.26583333333 & 602.664368472631 & 1884.49 \tabularnewline
3 & 8519.97 & 466.4987174103 & 1368.6 \tabularnewline
4 & 10132.345 & 346.391975933203 & 1109.12 \tabularnewline
5 & 10456.9441666667 & 213.909799404002 & 722.18 \tabularnewline
6 & 10935.8333333333 & 304.606947074522 & 1009.57 \tabularnewline
7 & 12669.0108333333 & 663.191523172856 & 2139.69 \tabularnewline
8 & 12633.0833333333 & 793.71112247047 & 2578.9 \tabularnewline
9 & 8655.49666666667 & 970.921827995842 & 3878.61 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71129&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]10544.4708333333[/C][C]262.522110669086[/C][C]915.27[/C][/ROW]
[ROW][C]2[/C][C]9611.26583333333[/C][C]602.664368472631[/C][C]1884.49[/C][/ROW]
[ROW][C]3[/C][C]8519.97[/C][C]466.4987174103[/C][C]1368.6[/C][/ROW]
[ROW][C]4[/C][C]10132.345[/C][C]346.391975933203[/C][C]1109.12[/C][/ROW]
[ROW][C]5[/C][C]10456.9441666667[/C][C]213.909799404002[/C][C]722.18[/C][/ROW]
[ROW][C]6[/C][C]10935.8333333333[/C][C]304.606947074522[/C][C]1009.57[/C][/ROW]
[ROW][C]7[/C][C]12669.0108333333[/C][C]663.191523172856[/C][C]2139.69[/C][/ROW]
[ROW][C]8[/C][C]12633.0833333333[/C][C]793.71112247047[/C][C]2578.9[/C][/ROW]
[ROW][C]9[/C][C]8655.49666666667[/C][C]970.921827995842[/C][C]3878.61[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71129&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71129&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
110544.4708333333262.522110669086915.27
29611.26583333333602.6643684726311884.49
38519.97466.49871741031368.6
410132.345346.3919759332031109.12
510456.9441666667213.909799404002722.18
610935.8333333333304.6069470745221009.57
712669.0108333333663.1915231728562139.69
812633.0833333333793.711122470472578.9
98655.49666666667970.9218279958423878.61







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha475.518764734642
beta0.00366137738920359
S.D.0.06631696381492
T-STAT0.0552102686640165
p-value0.957513703078078

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 475.518764734642 \tabularnewline
beta & 0.00366137738920359 \tabularnewline
S.D. & 0.06631696381492 \tabularnewline
T-STAT & 0.0552102686640165 \tabularnewline
p-value & 0.957513703078078 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71129&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]475.518764734642[/C][/ROW]
[ROW][C]beta[/C][C]0.00366137738920359[/C][/ROW]
[ROW][C]S.D.[/C][C]0.06631696381492[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.0552102686640165[/C][/ROW]
[ROW][C]p-value[/C][C]0.957513703078078[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71129&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71129&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)
alpha475.518764734642
beta0.00366137738920359
S.D.0.06631696381492
T-STAT0.0552102686640165
p-value0.957513703078078







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha6.60990334231033
beta-0.0527280734012307
S.D.1.40635316538992
T-STAT-0.037492768316564
p-value0.971138936862082
Lambda1.05272807340123

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 6.60990334231033 \tabularnewline
beta & -0.0527280734012307 \tabularnewline
S.D. & 1.40635316538992 \tabularnewline
T-STAT & -0.037492768316564 \tabularnewline
p-value & 0.971138936862082 \tabularnewline
Lambda & 1.05272807340123 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71129&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]6.60990334231033[/C][/ROW]
[ROW][C]beta[/C][C]-0.0527280734012307[/C][/ROW]
[ROW][C]S.D.[/C][C]1.40635316538992[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.037492768316564[/C][/ROW]
[ROW][C]p-value[/C][C]0.971138936862082[/C][/ROW]
[ROW][C]Lambda[/C][C]1.05272807340123[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71129&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71129&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)
alpha6.60990334231033
beta-0.0527280734012307
S.D.1.40635316538992
T-STAT-0.037492768316564
p-value0.971138936862082
Lambda1.05272807340123



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