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, 21 Aug 2013 02:04:47 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2013/Aug/21/t1377065102iue2o966pbdwwhr.htm/, Retrieved Sat, 27 Apr 2024 10:59:02 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=211290, Retrieved Sat, 27 Apr 2024 10:59:02 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact102
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2013-08-21 06:04:47] [bdb7c0ed7ba273e65f9ee772c5dda4f0] [Current]
Feedback Forum

Post a new message
Dataseries X:
1165010
1160665
1156265
1147162,5
1237238,75
1232481,25
1165010
1120157,5
1124488,75
1124488,75
1129328,75
1138005
1151507,5
1151507,5
1142831,25
1120157,5
1237238,75
1255086,25
1228136,25
1165010
1192015
1151507,5
1169781,25
1178512,5
1187615
1165010
1169781,25
1138005
1237238,75
1268588,75
1241638,75
1192015
1245983,75
1187615
1241638,75
1237238,75
1250755
1201131,25
1255086,25
1250755
1331715
1313441,25
1241638,75
1205462,5
1255086,25
1187615
1237238,75
1245983,75
1264257,5
1223805
1245983,75
1259486,25
1309110
1268588,75
1214633,75
1156265
1210288,75
1061788,75
1133660
1174112,5
1214633,75
1156265
1156265
1156265
1187615
1142831,25
1084036,25
1034838,75
1070533,75
931205
1016578,75
1066188,75
1075305
1025681,25
1030012,5
1016578,75
1061788,75
1030012,5
967381,25
922102,5
998662,5
832383,75
940362,5
989560
989560
931205
877236,25
872905
922102,5
877236,25
791931,25
733136,25
796276,25
647831,25
782760
854562,5
877236,25
827626,25
764926,25
809778,75
827626,25
814110
679126,25
616481,25
661278,75
526350
665678,75
715302,5
755755
688283,75
625157,5
661278,75
679126,25
643431,25
508502,5
449707,5
503676,25
355231,25
517178,75
616481,25




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net

\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' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211290&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' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211290&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211290&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' @ jenkins.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
11158358.437539254.9262583293117081.25
21178607.6041666741649.9013369805134928.75
31209364.062540853.5116443112130583.75
41247992.3958333341799.4886721741144100
5121016568837.4691074926247321.25
61101438.0208333382068.3661658389283428.75
7990819.27083333367492.6053829618242921.25
8839728.54166666794070.4968223079341728.75
9732126.770833333105040.600930689350886.25
10583650.833333333116252.83744745400523.75

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 1158358.4375 & 39254.9262583293 & 117081.25 \tabularnewline
2 & 1178607.60416667 & 41649.9013369805 & 134928.75 \tabularnewline
3 & 1209364.0625 & 40853.5116443112 & 130583.75 \tabularnewline
4 & 1247992.39583333 & 41799.4886721741 & 144100 \tabularnewline
5 & 1210165 & 68837.4691074926 & 247321.25 \tabularnewline
6 & 1101438.02083333 & 82068.3661658389 & 283428.75 \tabularnewline
7 & 990819.270833333 & 67492.6053829618 & 242921.25 \tabularnewline
8 & 839728.541666667 & 94070.4968223079 & 341728.75 \tabularnewline
9 & 732126.770833333 & 105040.600930689 & 350886.25 \tabularnewline
10 & 583650.833333333 & 116252.83744745 & 400523.75 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211290&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]1158358.4375[/C][C]39254.9262583293[/C][C]117081.25[/C][/ROW]
[ROW][C]2[/C][C]1178607.60416667[/C][C]41649.9013369805[/C][C]134928.75[/C][/ROW]
[ROW][C]3[/C][C]1209364.0625[/C][C]40853.5116443112[/C][C]130583.75[/C][/ROW]
[ROW][C]4[/C][C]1247992.39583333[/C][C]41799.4886721741[/C][C]144100[/C][/ROW]
[ROW][C]5[/C][C]1210165[/C][C]68837.4691074926[/C][C]247321.25[/C][/ROW]
[ROW][C]6[/C][C]1101438.02083333[/C][C]82068.3661658389[/C][C]283428.75[/C][/ROW]
[ROW][C]7[/C][C]990819.270833333[/C][C]67492.6053829618[/C][C]242921.25[/C][/ROW]
[ROW][C]8[/C][C]839728.541666667[/C][C]94070.4968223079[/C][C]341728.75[/C][/ROW]
[ROW][C]9[/C][C]732126.770833333[/C][C]105040.600930689[/C][C]350886.25[/C][/ROW]
[ROW][C]10[/C][C]583650.833333333[/C][C]116252.83744745[/C][C]400523.75[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211290&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211290&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
11158358.437539254.9262583293117081.25
21178607.6041666741649.9013369805134928.75
31209364.062540853.5116443112130583.75
41247992.3958333341799.4886721741144100
5121016568837.4691074926247321.25
61101438.0208333382068.3661658389283428.75
7990819.27083333367492.6053829618242921.25
8839728.54166666794070.4968223079341728.75
9732126.770833333105040.600930689350886.25
10583650.833333333116252.83744745400523.75







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha185740.761354171
beta-0.113154410367569
S.D.0.0185900460262944
T-STAT-6.08682787592454
p-value0.000293706308370133

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 185740.761354171 \tabularnewline
beta & -0.113154410367569 \tabularnewline
S.D. & 0.0185900460262944 \tabularnewline
T-STAT & -6.08682787592454 \tabularnewline
p-value & 0.000293706308370133 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211290&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]185740.761354171[/C][/ROW]
[ROW][C]beta[/C][C]-0.113154410367569[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0185900460262944[/C][/ROW]
[ROW][C]T-STAT[/C][C]-6.08682787592454[/C][/ROW]
[ROW][C]p-value[/C][C]0.000293706308370133[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211290&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211290&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)
alpha185740.761354171
beta-0.113154410367569
S.D.0.0185900460262944
T-STAT-6.08682787592454
p-value0.000293706308370133







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha30.2166085066729
beta-1.38593360436334
S.D.0.316620992411538
T-STAT-4.37726378724101
p-value0.00235741536780088
Lambda2.38593360436334

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 30.2166085066729 \tabularnewline
beta & -1.38593360436334 \tabularnewline
S.D. & 0.316620992411538 \tabularnewline
T-STAT & -4.37726378724101 \tabularnewline
p-value & 0.00235741536780088 \tabularnewline
Lambda & 2.38593360436334 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=211290&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]30.2166085066729[/C][/ROW]
[ROW][C]beta[/C][C]-1.38593360436334[/C][/ROW]
[ROW][C]S.D.[/C][C]0.316620992411538[/C][/ROW]
[ROW][C]T-STAT[/C][C]-4.37726378724101[/C][/ROW]
[ROW][C]p-value[/C][C]0.00235741536780088[/C][/ROW]
[ROW][C]Lambda[/C][C]2.38593360436334[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=211290&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=211290&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)
alpha30.2166085066729
beta-1.38593360436334
S.D.0.316620992411538
T-STAT-4.37726378724101
p-value0.00235741536780088
Lambda2.38593360436334



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