Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationWed, 21 Dec 2016 13:45:46 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Dec/21/t148232632403cf4ru4cm6a3ef.htm/, Retrieved Fri, 01 Nov 2024 03:29:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=302264, Retrieved Fri, 01 Nov 2024 03:29:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact83
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [hjlk] [2016-12-21 12:45:46] [6db9e6f0306aa16a744aea8c8a65c446] [Current]
Feedback Forum

Post a new message
Dataseries X:
2850
2360
2880
3000
3120
2910
3380
3730
2960
4070
4660
3880
4190
4140
4060
4250
4380
4780
4460
4820
4580
4630
5030
4370
4240
4220
4070
4290
4340
4250
4520
4680
4200
4490
4840
3840
3940
3510
3240
3410
3290
3190
3790
4090
4180
5020
5910
5850
6660
6950
6850
6360
5600
5290
5630
5410
5020
5070
5370
4860
4440
4220
3720
3650
3650
3040
3530
3520
3030
2920
3530
2920
3520
3380
2920
3000
2860
2760
2810
3400
2730
2670
2900
2240
2920
2650
2370
2560
2430
1930
2360
2470
2720
2750
3010
2610
3440
3540
2790
3060
3050
3000
3200
3530
3640
3830
4460
3420
5180
5310
4870
4550
4510
4380
5260
5270
4610
4840
5050
4760
5210
5540
4830
5210
5320
5150




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302264&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=302264&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302264&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
13316.66666666667648.0366618884422300
24474.16666666667300.256203730727970
34331.66666666667269.2019631609271000
44118.33333333333970.3404588393742720
55755.83333333333747.4618668696372090
63514.16666666667486.2184008584351520
72932.5357.9264779760831280
82565286.3722942414141080
93413.33333333333448.4991807701721670
104882.5328.221793082887930

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 3316.66666666667 & 648.036661888442 & 2300 \tabularnewline
2 & 4474.16666666667 & 300.256203730727 & 970 \tabularnewline
3 & 4331.66666666667 & 269.201963160927 & 1000 \tabularnewline
4 & 4118.33333333333 & 970.340458839374 & 2720 \tabularnewline
5 & 5755.83333333333 & 747.461866869637 & 2090 \tabularnewline
6 & 3514.16666666667 & 486.218400858435 & 1520 \tabularnewline
7 & 2932.5 & 357.926477976083 & 1280 \tabularnewline
8 & 2565 & 286.372294241414 & 1080 \tabularnewline
9 & 3413.33333333333 & 448.499180770172 & 1670 \tabularnewline
10 & 4882.5 & 328.221793082887 & 930 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302264&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]3316.66666666667[/C][C]648.036661888442[/C][C]2300[/C][/ROW]
[ROW][C]2[/C][C]4474.16666666667[/C][C]300.256203730727[/C][C]970[/C][/ROW]
[ROW][C]3[/C][C]4331.66666666667[/C][C]269.201963160927[/C][C]1000[/C][/ROW]
[ROW][C]4[/C][C]4118.33333333333[/C][C]970.340458839374[/C][C]2720[/C][/ROW]
[ROW][C]5[/C][C]5755.83333333333[/C][C]747.461866869637[/C][C]2090[/C][/ROW]
[ROW][C]6[/C][C]3514.16666666667[/C][C]486.218400858435[/C][C]1520[/C][/ROW]
[ROW][C]7[/C][C]2932.5[/C][C]357.926477976083[/C][C]1280[/C][/ROW]
[ROW][C]8[/C][C]2565[/C][C]286.372294241414[/C][C]1080[/C][/ROW]
[ROW][C]9[/C][C]3413.33333333333[/C][C]448.499180770172[/C][C]1670[/C][/ROW]
[ROW][C]10[/C][C]4882.5[/C][C]328.221793082887[/C][C]930[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302264&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302264&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
13316.66666666667648.0366618884422300
24474.16666666667300.256203730727970
34331.66666666667269.2019631609271000
44118.33333333333970.3404588393742720
55755.83333333333747.4618668696372090
63514.16666666667486.2184008584351520
72932.5357.9264779760831280
82565286.3722942414141080
93413.33333333333448.4991807701721670
104882.5328.221793082887930







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha227.004599084486
beta0.0654508040429954
S.D.0.082444951446869
T-STAT0.79387279505131
p-value0.45017353611297

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 227.004599084486 \tabularnewline
beta & 0.0654508040429954 \tabularnewline
S.D. & 0.082444951446869 \tabularnewline
T-STAT & 0.79387279505131 \tabularnewline
p-value & 0.45017353611297 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302264&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]227.004599084486[/C][/ROW]
[ROW][C]beta[/C][C]0.0654508040429954[/C][/ROW]
[ROW][C]S.D.[/C][C]0.082444951446869[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.79387279505131[/C][/ROW]
[ROW][C]p-value[/C][C]0.45017353611297[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302264&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302264&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)
alpha227.004599084486
beta0.0654508040429954
S.D.0.082444951446869
T-STAT0.79387279505131
p-value0.45017353611297







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha2.39585136950334
beta0.447711985937168
S.D.0.61789131332379
T-STAT0.724580482494267
p-value0.489355927932154
Lambda0.552288014062832

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 2.39585136950334 \tabularnewline
beta & 0.447711985937168 \tabularnewline
S.D. & 0.61789131332379 \tabularnewline
T-STAT & 0.724580482494267 \tabularnewline
p-value & 0.489355927932154 \tabularnewline
Lambda & 0.552288014062832 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302264&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]2.39585136950334[/C][/ROW]
[ROW][C]beta[/C][C]0.447711985937168[/C][/ROW]
[ROW][C]S.D.[/C][C]0.61789131332379[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.724580482494267[/C][/ROW]
[ROW][C]p-value[/C][C]0.489355927932154[/C][/ROW]
[ROW][C]Lambda[/C][C]0.552288014062832[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302264&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302264&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.39585136950334
beta0.447711985937168
S.D.0.61789131332379
T-STAT0.724580482494267
p-value0.489355927932154
Lambda0.552288014062832



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