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, 07 Dec 2010 10:57:25 +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/07/t12917193451grfqmrx4f8r9ml.htm/, Retrieved Fri, 03 May 2024 16:26:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=106184, Retrieved Fri, 03 May 2024 16:26:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact94
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [deviation mean pl...] [2010-12-07 10:57:25] [2a9374b6a827503db60f94b3ae42bf2a] [Current]
Feedback Forum

Post a new message
Dataseries X:
2834
4683
4120
3849
8435
12854
15883
10520
12562
5060
4520
2150
2905
4820
3950
4053
8700
13520
15400
11100
11950
4900
4633
2300
2945
3960
3900
3767
8820
11980
14085
11600
9814
4930
4360
2640
3050
5485
4366
4790
10100
14830
17930
13580
12490
6400
4980
4930
5856
5120
5100
5623
12035
19846
17030
15860
14890
8053
6080
5987
5682
4980
5450
6035
13240
18400
17689
16490
14062
9556
7555
4328




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=106184&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
13871.5773.9933246912841849
2119233198.067854189467448
360734506.8476788105510412
43932787.0277419930421915
5121802912.089742206906700
65945.754169.708892716619650
73643472.2704027708421015
811621.252163.809815271825265
954363076.703430621817174
104422.751024.843199388732435
11141103238.919572944047830
1272003591.907571193897560
135424.75375.772426698217756
1416192.753237.531505638217811
158752.54201.128935575938903
165536.75442.2845049663551055
1716454.752283.508320545385160
188875.254073.750882172359734

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 3871.5 & 773.993324691284 & 1849 \tabularnewline
2 & 11923 & 3198.06785418946 & 7448 \tabularnewline
3 & 6073 & 4506.84767881055 & 10412 \tabularnewline
4 & 3932 & 787.027741993042 & 1915 \tabularnewline
5 & 12180 & 2912.08974220690 & 6700 \tabularnewline
6 & 5945.75 & 4169.70889271661 & 9650 \tabularnewline
7 & 3643 & 472.270402770842 & 1015 \tabularnewline
8 & 11621.25 & 2163.80981527182 & 5265 \tabularnewline
9 & 5436 & 3076.70343062181 & 7174 \tabularnewline
10 & 4422.75 & 1024.84319938873 & 2435 \tabularnewline
11 & 14110 & 3238.91957294404 & 7830 \tabularnewline
12 & 7200 & 3591.90757119389 & 7560 \tabularnewline
13 & 5424.75 & 375.772426698217 & 756 \tabularnewline
14 & 16192.75 & 3237.53150563821 & 7811 \tabularnewline
15 & 8752.5 & 4201.12893557593 & 8903 \tabularnewline
16 & 5536.75 & 442.284504966355 & 1055 \tabularnewline
17 & 16454.75 & 2283.50832054538 & 5160 \tabularnewline
18 & 8875.25 & 4073.75088217235 & 9734 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=106184&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]3871.5[/C][C]773.993324691284[/C][C]1849[/C][/ROW]
[ROW][C]2[/C][C]11923[/C][C]3198.06785418946[/C][C]7448[/C][/ROW]
[ROW][C]3[/C][C]6073[/C][C]4506.84767881055[/C][C]10412[/C][/ROW]
[ROW][C]4[/C][C]3932[/C][C]787.027741993042[/C][C]1915[/C][/ROW]
[ROW][C]5[/C][C]12180[/C][C]2912.08974220690[/C][C]6700[/C][/ROW]
[ROW][C]6[/C][C]5945.75[/C][C]4169.70889271661[/C][C]9650[/C][/ROW]
[ROW][C]7[/C][C]3643[/C][C]472.270402770842[/C][C]1015[/C][/ROW]
[ROW][C]8[/C][C]11621.25[/C][C]2163.80981527182[/C][C]5265[/C][/ROW]
[ROW][C]9[/C][C]5436[/C][C]3076.70343062181[/C][C]7174[/C][/ROW]
[ROW][C]10[/C][C]4422.75[/C][C]1024.84319938873[/C][C]2435[/C][/ROW]
[ROW][C]11[/C][C]14110[/C][C]3238.91957294404[/C][C]7830[/C][/ROW]
[ROW][C]12[/C][C]7200[/C][C]3591.90757119389[/C][C]7560[/C][/ROW]
[ROW][C]13[/C][C]5424.75[/C][C]375.772426698217[/C][C]756[/C][/ROW]
[ROW][C]14[/C][C]16192.75[/C][C]3237.53150563821[/C][C]7811[/C][/ROW]
[ROW][C]15[/C][C]8752.5[/C][C]4201.12893557593[/C][C]8903[/C][/ROW]
[ROW][C]16[/C][C]5536.75[/C][C]442.284504966355[/C][C]1055[/C][/ROW]
[ROW][C]17[/C][C]16454.75[/C][C]2283.50832054538[/C][C]5160[/C][/ROW]
[ROW][C]18[/C][C]8875.25[/C][C]4073.75088217235[/C][C]9734[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=106184&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=106184&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
13871.5773.9933246912841849
2119233198.067854189467448
360734506.8476788105510412
43932787.0277419930421915
5121802912.089742206906700
65945.754169.708892716619650
73643472.2704027708421015
811621.252163.809815271825265
954363076.703430621817174
104422.751024.843199388732435
11141103238.919572944047830
1272003591.907571193897560
135424.75375.772426698217756
1416192.753237.531505638217811
158752.54201.128935575938903
165536.75442.2845049663551055
1716454.752283.508320545385160
188875.254073.750882172359734







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha1293.06283504743
beta0.140209339170432
S.D.0.077873174613507
T-STAT1.80048315567339
p-value0.0906641020896346

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 1293.06283504743 \tabularnewline
beta & 0.140209339170432 \tabularnewline
S.D. & 0.077873174613507 \tabularnewline
T-STAT & 1.80048315567339 \tabularnewline
p-value & 0.0906641020896346 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=106184&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]1293.06283504743[/C][/ROW]
[ROW][C]beta[/C][C]0.140209339170432[/C][/ROW]
[ROW][C]S.D.[/C][C]0.077873174613507[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.80048315567339[/C][/ROW]
[ROW][C]p-value[/C][C]0.0906641020896346[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=106184&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=106184&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)
alpha1293.06283504743
beta0.140209339170432
S.D.0.077873174613507
T-STAT1.80048315567339
p-value0.0906641020896346







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-1.79828090792361
beta1.0469363567685
S.D.0.342087754341529
T-STAT3.06043213614502
p-value0.00747392721757634
Lambda-0.0469363567684991

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -1.79828090792361 \tabularnewline
beta & 1.0469363567685 \tabularnewline
S.D. & 0.342087754341529 \tabularnewline
T-STAT & 3.06043213614502 \tabularnewline
p-value & 0.00747392721757634 \tabularnewline
Lambda & -0.0469363567684991 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=106184&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-1.79828090792361[/C][/ROW]
[ROW][C]beta[/C][C]1.0469363567685[/C][/ROW]
[ROW][C]S.D.[/C][C]0.342087754341529[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.06043213614502[/C][/ROW]
[ROW][C]p-value[/C][C]0.00747392721757634[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.0469363567684991[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=106184&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=106184&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.79828090792361
beta1.0469363567685
S.D.0.342087754341529
T-STAT3.06043213614502
p-value0.00747392721757634
Lambda-0.0469363567684991



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