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 computationThu, 13 Aug 2009 04:02:24 -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/Aug/13/t12501578304y5fam62u73vybh.htm/, Retrieved Mon, 29 Apr 2024 09:48:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=42599, Retrieved Mon, 29 Apr 2024 09:48:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact214
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Spreidings en gem...] [2009-08-13 10:02:24] [768ad88abce8b6ce0be22cfe8ac9beaf] [Current]
Feedback Forum

Post a new message
Dataseries X:
613.20
614.70
618.40
628.20
629.00
629.70
630.40
630.40
639.30
639.40
640.90
640.80
642.10
645.30
647.60
648.40
648.80
648.90
648.90
648.90
650.30
650.30
650.00
650.00
650.50
658.40
666.00
675.50
680.70
690.60
690.60
691.10
692.90
693.80
692.80
697.50
699.00
702.10
704.80
715.50
721.80
726.40
727.70
727.40
731.30
734.40
733.40
733.40
738.10
742.60
747.20
751.10
752.60
758.90
759.10
764.30
765.60
767.60
767.60
765.60
768.20
770.90
775.10
777.60
778.60
778.90
779.40
779.90
781.70
789.10
788.70
788.80
790.80
794.10
795.10
797.30
803.80
805.60
804.60
804.50
805.80
806.80
805.20
814.90
816.60
819.50
823.00
824.00
831.40
831.70
831.10
832.10
833.30
838.80
838.00
837.30
994.20
994.20
994.20
994.20
994.20
1092.60
1100.00
1100.00
1092.60
1000.70
1000.70
1000.50
1000.50
1000.50
1000.50
1000.50
1000.50
1087.70
1113.20
1116.00
1085.20
1031.30
1028.70
1027.50
1027.50
1027.50
1027.50
1027.50
1027.50
1152.20
1155.30
1154.00
1119.90
1079.30
1074.30
1069.80




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

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1629.5333333333339.831427653040527.6999999999999
2648.2916666666672.394105767137788.19999999999993
3681.715.64881639439447
4721.43333333333312.935035814219935.4
5756.69166666666710.214024078627829.5
6779.7416666666676.6972800901605320.9000000000000
7802.3756.7366197350411224.1
8829.7333333333337.3239747446728622.1999999999999
91029.8416666666749.2051818840498105.8
101041.0083333333346.3202774825519115.5
111078.52553.8036011805901127.8

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 629.533333333333 & 9.8314276530405 & 27.6999999999999 \tabularnewline
2 & 648.291666666667 & 2.39410576713778 & 8.19999999999993 \tabularnewline
3 & 681.7 & 15.648816394394 & 47 \tabularnewline
4 & 721.433333333333 & 12.9350358142199 & 35.4 \tabularnewline
5 & 756.691666666667 & 10.2140240786278 & 29.5 \tabularnewline
6 & 779.741666666667 & 6.69728009016053 & 20.9000000000000 \tabularnewline
7 & 802.375 & 6.73661973504112 & 24.1 \tabularnewline
8 & 829.733333333333 & 7.32397474467286 & 22.1999999999999 \tabularnewline
9 & 1029.84166666667 & 49.2051818840498 & 105.8 \tabularnewline
10 & 1041.00833333333 & 46.3202774825519 & 115.5 \tabularnewline
11 & 1078.525 & 53.8036011805901 & 127.8 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=42599&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]629.533333333333[/C][C]9.8314276530405[/C][C]27.6999999999999[/C][/ROW]
[ROW][C]2[/C][C]648.291666666667[/C][C]2.39410576713778[/C][C]8.19999999999993[/C][/ROW]
[ROW][C]3[/C][C]681.7[/C][C]15.648816394394[/C][C]47[/C][/ROW]
[ROW][C]4[/C][C]721.433333333333[/C][C]12.9350358142199[/C][C]35.4[/C][/ROW]
[ROW][C]5[/C][C]756.691666666667[/C][C]10.2140240786278[/C][C]29.5[/C][/ROW]
[ROW][C]6[/C][C]779.741666666667[/C][C]6.69728009016053[/C][C]20.9000000000000[/C][/ROW]
[ROW][C]7[/C][C]802.375[/C][C]6.73661973504112[/C][C]24.1[/C][/ROW]
[ROW][C]8[/C][C]829.733333333333[/C][C]7.32397474467286[/C][C]22.1999999999999[/C][/ROW]
[ROW][C]9[/C][C]1029.84166666667[/C][C]49.2051818840498[/C][C]105.8[/C][/ROW]
[ROW][C]10[/C][C]1041.00833333333[/C][C]46.3202774825519[/C][C]115.5[/C][/ROW]
[ROW][C]11[/C][C]1078.525[/C][C]53.8036011805901[/C][C]127.8[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=42599&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=42599&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
1629.5333333333339.831427653040527.6999999999999
2648.2916666666672.394105767137788.19999999999993
3681.715.64881639439447
4721.43333333333312.935035814219935.4
5756.69166666666710.214024078627829.5
6779.7416666666676.6972800901605320.9000000000000
7802.3756.7366197350411224.1
8829.7333333333337.3239747446728622.1999999999999
91029.8416666666749.2051818840498105.8
101041.0083333333346.3202774825519115.5
111078.52553.8036011805901127.8







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-68.555242281228
beta0.108371103045436
S.D.0.0175629105673917
T-STAT6.17045236491973
p-value0.000164611406582825

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -68.555242281228 \tabularnewline
beta & 0.108371103045436 \tabularnewline
S.D. & 0.0175629105673917 \tabularnewline
T-STAT & 6.17045236491973 \tabularnewline
p-value & 0.000164611406582825 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=42599&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-68.555242281228[/C][/ROW]
[ROW][C]beta[/C][C]0.108371103045436[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0175629105673917[/C][/ROW]
[ROW][C]T-STAT[/C][C]6.17045236491973[/C][/ROW]
[ROW][C]p-value[/C][C]0.000164611406582825[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=42599&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=42599&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-68.555242281228
beta0.108371103045436
S.D.0.0175629105673917
T-STAT6.17045236491973
p-value0.000164611406582825







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-24.8344849754111
beta4.09686811896917
S.D.1.03356450820032
T-STAT3.96382430556056
p-value0.00328519965754979
Lambda-3.09686811896917

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -24.8344849754111 \tabularnewline
beta & 4.09686811896917 \tabularnewline
S.D. & 1.03356450820032 \tabularnewline
T-STAT & 3.96382430556056 \tabularnewline
p-value & 0.00328519965754979 \tabularnewline
Lambda & -3.09686811896917 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=42599&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-24.8344849754111[/C][/ROW]
[ROW][C]beta[/C][C]4.09686811896917[/C][/ROW]
[ROW][C]S.D.[/C][C]1.03356450820032[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.96382430556056[/C][/ROW]
[ROW][C]p-value[/C][C]0.00328519965754979[/C][/ROW]
[ROW][C]Lambda[/C][C]-3.09686811896917[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=42599&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=42599&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-24.8344849754111
beta4.09686811896917
S.D.1.03356450820032
T-STAT3.96382430556056
p-value0.00328519965754979
Lambda-3.09686811896917



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