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, 30 May 2010 12:00:04 +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/30/t12752209778d2js3p637ctbmj.htm/, Retrieved Thu, 02 May 2024 15:40:31 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=76691, Retrieved Thu, 02 May 2024 15:40:31 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact199
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Maandelijkse melk...] [2010-05-30 12:00:04] [5e13855820c5420788a37eb4bc7648e0] [Current]
Feedback Forum

Post a new message
Dataseries X:
589
561
640
656
727
697
640
599
568
577
553
582
600
566
653
673
742
716
660
617
583
587
565
598
628
618
688
705
770
736
678
639
604
611
594
634
658
622
709
722
782
756
702
653
615
621
602
635
677
635
736
755
811
798
735
697
661
667
645
688
713
667
762
784
837
817
767
722
681
687
660
698
717
696
775
796
858
826
783
740
701
706
677
711
734
690
785
805
871
845
801
764
725
723
690
734
750
707
807
824
886
859
819
783
740
747
711
751
804
756
860
878
942
913
869
834
790
800
763
800
826
799
890
900
961
935
894
855
809
810
766
805
821
773
883
898
957
924
881
837
784
791
760
802
828
778
889
902
969
947
908
867
815
812
773
813
834
782
892
903
966
937
896
858
817
827
797
843




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 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 & 5 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76691&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]5 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=76691&T=0

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1615.7556.1056227938957174
263058.5351487259035177
3658.7556.2367156030487176
4673.08333333333359.6100332209777180
5708.7558.0706857670421176
6732.91666666666759.3302901841322177
7748.83333333333357.6396854027963181
8763.91666666666758.3523129296725181
978257.3220566781948179
10834.08333333333358.7869161901823186
11854.16666666666761.0049675076224195
12842.58333333333364.5254823987227197
13858.41666666666764.8304899275212196
14862.66666666666756.5755059967463184

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 615.75 & 56.1056227938957 & 174 \tabularnewline
2 & 630 & 58.5351487259035 & 177 \tabularnewline
3 & 658.75 & 56.2367156030487 & 176 \tabularnewline
4 & 673.083333333333 & 59.6100332209777 & 180 \tabularnewline
5 & 708.75 & 58.0706857670421 & 176 \tabularnewline
6 & 732.916666666667 & 59.3302901841322 & 177 \tabularnewline
7 & 748.833333333333 & 57.6396854027963 & 181 \tabularnewline
8 & 763.916666666667 & 58.3523129296725 & 181 \tabularnewline
9 & 782 & 57.3220566781948 & 179 \tabularnewline
10 & 834.083333333333 & 58.7869161901823 & 186 \tabularnewline
11 & 854.166666666667 & 61.0049675076224 & 195 \tabularnewline
12 & 842.583333333333 & 64.5254823987227 & 197 \tabularnewline
13 & 858.416666666667 & 64.8304899275212 & 196 \tabularnewline
14 & 862.666666666667 & 56.5755059967463 & 184 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76691&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]615.75[/C][C]56.1056227938957[/C][C]174[/C][/ROW]
[ROW][C]2[/C][C]630[/C][C]58.5351487259035[/C][C]177[/C][/ROW]
[ROW][C]3[/C][C]658.75[/C][C]56.2367156030487[/C][C]176[/C][/ROW]
[ROW][C]4[/C][C]673.083333333333[/C][C]59.6100332209777[/C][C]180[/C][/ROW]
[ROW][C]5[/C][C]708.75[/C][C]58.0706857670421[/C][C]176[/C][/ROW]
[ROW][C]6[/C][C]732.916666666667[/C][C]59.3302901841322[/C][C]177[/C][/ROW]
[ROW][C]7[/C][C]748.833333333333[/C][C]57.6396854027963[/C][C]181[/C][/ROW]
[ROW][C]8[/C][C]763.916666666667[/C][C]58.3523129296725[/C][C]181[/C][/ROW]
[ROW][C]9[/C][C]782[/C][C]57.3220566781948[/C][C]179[/C][/ROW]
[ROW][C]10[/C][C]834.083333333333[/C][C]58.7869161901823[/C][C]186[/C][/ROW]
[ROW][C]11[/C][C]854.166666666667[/C][C]61.0049675076224[/C][C]195[/C][/ROW]
[ROW][C]12[/C][C]842.583333333333[/C][C]64.5254823987227[/C][C]197[/C][/ROW]
[ROW][C]13[/C][C]858.416666666667[/C][C]64.8304899275212[/C][C]196[/C][/ROW]
[ROW][C]14[/C][C]862.666666666667[/C][C]56.5755059967463[/C][C]184[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76691&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76691&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
1615.7556.1056227938957174
263058.5351487259035177
3658.7556.2367156030487176
4673.08333333333359.6100332209777180
5708.7558.0706857670421176
6732.91666666666759.3302901841322177
7748.83333333333357.6396854027963181
8763.91666666666758.3523129296725181
978257.3220566781948179
10834.08333333333358.7869161901823186
11854.16666666666761.0049675076224195
12842.58333333333364.5254823987227197
13858.41666666666764.8304899275212196
14862.66666666666756.5755059967463184







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha46.4642428974795
beta0.0166977005713414
S.D.0.00756611013815128
T-STAT2.20690688695438
p-value0.047543760177132

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 46.4642428974795 \tabularnewline
beta & 0.0166977005713414 \tabularnewline
S.D. & 0.00756611013815128 \tabularnewline
T-STAT & 2.20690688695438 \tabularnewline
p-value & 0.047543760177132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76691&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]46.4642428974795[/C][/ROW]
[ROW][C]beta[/C][C]0.0166977005713414[/C][/ROW]
[ROW][C]S.D.[/C][C]0.00756611013815128[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.20690688695438[/C][/ROW]
[ROW][C]p-value[/C][C]0.047543760177132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76691&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76691&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)
alpha46.4642428974795
beta0.0166977005713414
S.D.0.00756611013815128
T-STAT2.20690688695438
p-value0.047543760177132







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha2.73941580025565
beta0.202160831126426
S.D.0.093151137600737
T-STAT2.17024543482148
p-value0.0507725905351827
Lambda0.797839168873574

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 2.73941580025565 \tabularnewline
beta & 0.202160831126426 \tabularnewline
S.D. & 0.093151137600737 \tabularnewline
T-STAT & 2.17024543482148 \tabularnewline
p-value & 0.0507725905351827 \tabularnewline
Lambda & 0.797839168873574 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76691&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]2.73941580025565[/C][/ROW]
[ROW][C]beta[/C][C]0.202160831126426[/C][/ROW]
[ROW][C]S.D.[/C][C]0.093151137600737[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.17024543482148[/C][/ROW]
[ROW][C]p-value[/C][C]0.0507725905351827[/C][/ROW]
[ROW][C]Lambda[/C][C]0.797839168873574[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76691&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76691&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)
alpha2.73941580025565
beta0.202160831126426
S.D.0.093151137600737
T-STAT2.17024543482148
p-value0.0507725905351827
Lambda0.797839168873574



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