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, 16 Aug 2017 14:13:15 +0200
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2017/Aug/16/t1502885663usncvsrennj8pmd.htm/, Retrieved Sat, 11 May 2024 07:08:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=307373, Retrieved Sat, 11 May 2024 07:08:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact113
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Standard deviatio...] [2017-08-16 12:13:15] [41db9c2917eeaa94887144dd7479aea5] [Current]
Feedback Forum

Post a new message
Dataseries X:
4213144
4197453
4181541
4148612
4474366
4457128
4213144
4050930
4066621
4066621
4084080
4115462
4164303
4164303
4132921
4050930
4474366
4538898
4441437
4213144
4310826
4164303
4230382
4261985
4294914
4213144
4230382
4115462
4474366
4587739
4490278
4310826
4505969
4294914
4490278
4474366
4523207
4343755
4538898
4523207
4816032
4749953
4490278
4359446
4538898
4294914
4474366
4505969
4572048
4425746
4505969
4554810
4734262
4587739
4392596
4181541
4376905
3839875
4099771
4246073
4392596
4181541
4181541
4181541
4294914
4132921
3920319
3742414
3871478
3367598
3676335
3855787
3888716
3709264
3724955
3676335
3839875
3724955
3498430
3334669
3611582
3010241
3400748
3578653
3578653
3367598
3172455
3156764
3334669
3172455
2863939
2651337
2879630
2342821
2830789
3090464
3172455
2993003
2766257
2928471
2993003
2944162
2455973
2229448
2391441
1903473
2407353
2586805
2733107
2489123
2260830
2391441
2455973
2326909
1838941
1626339
1821482
1284673
1870323
2229448




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=307373&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
14189091.83333333141961.272270634423436
24262316.5150630.458404606487968
34373553.16666667147749.302663688472277
44513243.58333333151167.185677711521118
54376444.58333333248936.133304566894387
63983248.75296798.7158781721024998
73583201.91666667244080.44020306878475
83036797.83333333340193.2764703121235832
92647653.66666667379871.4261063351268982
102110715.75420412.9050523641448434

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 4189091.83333333 & 141961.272270634 & 423436 \tabularnewline
2 & 4262316.5 & 150630.458404606 & 487968 \tabularnewline
3 & 4373553.16666667 & 147749.302663688 & 472277 \tabularnewline
4 & 4513243.58333333 & 151167.185677711 & 521118 \tabularnewline
5 & 4376444.58333333 & 248936.133304566 & 894387 \tabularnewline
6 & 3983248.75 & 296798.715878172 & 1024998 \tabularnewline
7 & 3583201.91666667 & 244080.44020306 & 878475 \tabularnewline
8 & 3036797.83333333 & 340193.276470312 & 1235832 \tabularnewline
9 & 2647653.66666667 & 379871.426106335 & 1268982 \tabularnewline
10 & 2110715.75 & 420412.905052364 & 1448434 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=307373&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]4189091.83333333[/C][C]141961.272270634[/C][C]423436[/C][/ROW]
[ROW][C]2[/C][C]4262316.5[/C][C]150630.458404606[/C][C]487968[/C][/ROW]
[ROW][C]3[/C][C]4373553.16666667[/C][C]147749.302663688[/C][C]472277[/C][/ROW]
[ROW][C]4[/C][C]4513243.58333333[/C][C]151167.185677711[/C][C]521118[/C][/ROW]
[ROW][C]5[/C][C]4376444.58333333[/C][C]248936.133304566[/C][C]894387[/C][/ROW]
[ROW][C]6[/C][C]3983248.75[/C][C]296798.715878172[/C][C]1024998[/C][/ROW]
[ROW][C]7[/C][C]3583201.91666667[/C][C]244080.44020306[/C][C]878475[/C][/ROW]
[ROW][C]8[/C][C]3036797.83333333[/C][C]340193.276470312[/C][C]1235832[/C][/ROW]
[ROW][C]9[/C][C]2647653.66666667[/C][C]379871.426106335[/C][C]1268982[/C][/ROW]
[ROW][C]10[/C][C]2110715.75[/C][C]420412.905052364[/C][C]1448434[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=307373&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=307373&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
14189091.83333333141961.272270634423436
24262316.5150630.458404606487968
34373553.16666667147749.302663688472277
44513243.58333333151167.185677711521118
54376444.58333333248936.133304566894387
63983248.75296798.7158781721024998
73583201.91666667244080.44020306878475
83036797.83333333340193.2764703121235832
92647653.66666667379871.4261063351268982
102110715.75420412.9050523641448434







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha671704.724188379
beta-0.113151792219188
S.D.0.0185894327362386
T-STAT-6.08688784777213
p-value0.000293686871073616

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 671704.724188379 \tabularnewline
beta & -0.113151792219188 \tabularnewline
S.D. & 0.0185894327362386 \tabularnewline
T-STAT & -6.08688784777213 \tabularnewline
p-value & 0.000293686871073616 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=307373&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]671704.724188379[/C][/ROW]
[ROW][C]beta[/C][C]-0.113151792219188[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0185894327362386[/C][/ROW]
[ROW][C]T-STAT[/C][C]-6.08688784777213[/C][/ROW]
[ROW][C]p-value[/C][C]0.000293686871073616[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=307373&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=307373&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)
alpha671704.724188379
beta-0.113151792219188
S.D.0.0185894327362386
T-STAT-6.08688784777213
p-value0.000293686871073616







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha33.2830384307466
beta-1.38589065989076
S.D.0.316605261909545
T-STAT-4.37734563074543
p-value0.00235715681397507
Lambda2.38589065989076

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 33.2830384307466 \tabularnewline
beta & -1.38589065989076 \tabularnewline
S.D. & 0.316605261909545 \tabularnewline
T-STAT & -4.37734563074543 \tabularnewline
p-value & 0.00235715681397507 \tabularnewline
Lambda & 2.38589065989076 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=307373&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]33.2830384307466[/C][/ROW]
[ROW][C]beta[/C][C]-1.38589065989076[/C][/ROW]
[ROW][C]S.D.[/C][C]0.316605261909545[/C][/ROW]
[ROW][C]T-STAT[/C][C]-4.37734563074543[/C][/ROW]
[ROW][C]p-value[/C][C]0.00235715681397507[/C][/ROW]
[ROW][C]Lambda[/C][C]2.38589065989076[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=307373&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=307373&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)
alpha33.2830384307466
beta-1.38589065989076
S.D.0.316605261909545
T-STAT-4.37734563074543
p-value0.00235715681397507
Lambda2.38589065989076



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