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, 26 May 2010 12:14:02 +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/May/26/t1274876072761opzy6cncfcp0.htm/, Retrieved Fri, 03 May 2024 07:50:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=76472, Retrieved Fri, 03 May 2024 07:50:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact147
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2010-05-26 12:14:02] [f0cd0ad4d4cb2a25864ed1f6cd7bfd87] [Current]
Feedback Forum

Post a new message
Dataseries X:
7089
77102
35123
23109
11115
48105
7896
79102
2494
76101
9484
8183
9092
49109
27127
31116
77120
80115
67117
18110
3099
3105
5786
7387
5089
288
65108
44100
68102
8798
8183
288
3680
9374
2271
4671
3466
8068
2780
9883
6479
3373
6468
460
5553
6157
2345
3744
6144
9948
2049
9549
6049
745
9643
9938
5535
6932
1827
9726
7624
9529
7631
6132
7534
2137
8738
8836
3230
633
9126
123




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76472&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
132075.2530344.028671597476608
231523.583333333329510.343426911277016
318329.333333333325386.092475044667814
448982667.7405148459423
56507.083333333333431.223117684629203
65939.416666666673455.28339735849406

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 32075.25 & 30344.0286715974 & 76608 \tabularnewline
2 & 31523.5833333333 & 29510.3434269112 & 77016 \tabularnewline
3 & 18329.3333333333 & 25386.0924750446 & 67814 \tabularnewline
4 & 4898 & 2667.740514845 & 9423 \tabularnewline
5 & 6507.08333333333 & 3431.22311768462 & 9203 \tabularnewline
6 & 5939.41666666667 & 3455.2833973584 & 9406 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76472&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]32075.25[/C][C]30344.0286715974[/C][C]76608[/C][/ROW]
[ROW][C]2[/C][C]31523.5833333333[/C][C]29510.3434269112[/C][C]77016[/C][/ROW]
[ROW][C]3[/C][C]18329.3333333333[/C][C]25386.0924750446[/C][C]67814[/C][/ROW]
[ROW][C]4[/C][C]4898[/C][C]2667.740514845[/C][C]9423[/C][/ROW]
[ROW][C]5[/C][C]6507.08333333333[/C][C]3431.22311768462[/C][C]9203[/C][/ROW]
[ROW][C]6[/C][C]5939.41666666667[/C][C]3455.2833973584[/C][C]9406[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76472&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76472&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
132075.2530344.028671597476608
231523.583333333329510.343426911277016
318329.333333333325386.092475044667814
448982667.7405148459423
56507.083333333333431.223117684629203
65939.416666666673455.28339735849406







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-1530.44463466143
beta1.04739182398052
S.D.0.148658534574273
T-STAT7.04562188091
p-value0.00213938484412147

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -1530.44463466143 \tabularnewline
beta & 1.04739182398052 \tabularnewline
S.D. & 0.148658534574273 \tabularnewline
T-STAT & 7.04562188091 \tabularnewline
p-value & 0.00213938484412147 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76472&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-1530.44463466143[/C][/ROW]
[ROW][C]beta[/C][C]1.04739182398052[/C][/ROW]
[ROW][C]S.D.[/C][C]0.148658534574273[/C][/ROW]
[ROW][C]T-STAT[/C][C]7.04562188091[/C][/ROW]
[ROW][C]p-value[/C][C]0.00213938484412147[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76472&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76472&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-1530.44463466143
beta1.04739182398052
S.D.0.148658534574273
T-STAT7.04562188091
p-value0.00213938484412147







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-3.73201833224004
beta1.36815444588205
S.D.0.131496663375625
T-STAT10.4044803172980
p-value0.000481932799390327
Lambda-0.368154445882047

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -3.73201833224004 \tabularnewline
beta & 1.36815444588205 \tabularnewline
S.D. & 0.131496663375625 \tabularnewline
T-STAT & 10.4044803172980 \tabularnewline
p-value & 0.000481932799390327 \tabularnewline
Lambda & -0.368154445882047 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76472&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-3.73201833224004[/C][/ROW]
[ROW][C]beta[/C][C]1.36815444588205[/C][/ROW]
[ROW][C]S.D.[/C][C]0.131496663375625[/C][/ROW]
[ROW][C]T-STAT[/C][C]10.4044803172980[/C][/ROW]
[ROW][C]p-value[/C][C]0.000481932799390327[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.368154445882047[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76472&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76472&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-3.73201833224004
beta1.36815444588205
S.D.0.131496663375625
T-STAT10.4044803172980
p-value0.000481932799390327
Lambda-0.368154445882047



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