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 computationTue, 22 Mar 2016 20:22:09 +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/2016/Mar/22/t1458678257ytzyica65b6kags.htm/, Retrieved Mon, 29 Apr 2024 13:43:57 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=294467, Retrieved Mon, 29 Apr 2024 13:43:57 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact72
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2016-03-22 20:22:09] [ac7ea8eb5659db737c8f3ddefda617c5] [Current]
Feedback Forum

Post a new message
Dataseries X:
340.4
343.2
345
346.6
348.7
351.1
352.7
354.8
359.8
364.4
366.2
368.8
369.6
370.6
374.2
378.1
381
383.2
387.3
391.4
395.1
399.1
403
406.3
410.2
413.3
418.4
421.4
422.5
425.5
427.3
430.7
433.2
437.5
439.9
443
445.6
446.2
449.3
453.9
458
461.2
463.7
466
468.3
471.7
474.7
477.3
479.8
482.6
485.6
488.5
492
494.8
498.3
502.1
505.8
511.7
516.6
521.3
526.1
530.4
534.7
538.4
544.6
547.7
551.4
554.3
557.5
560.7
563.8
566.2
567.2
569.3
570.9
573
575.1
578.1
581
584.4
340.4
343.2
345
346.6
348.7
351.1
352.7
354.8
359.8
364.4
366.2
368.8
369.6
370.6
374.2
378.1
381
383.2
387.3
391.4
395.1
399.1
403
406.3
410.2
413.3
418.4
421.4
422.5
425.5
427.3
430.7
433.2
437.5
439.9
443
445.6
446.2
449.3
453.9
458
461.2
463.7
466
468.3
471.7
474.7
477.3
479.8
482.6
485.6
488.5
492
494.8
498.3
502.1
505.8
511.7
516.6
521.3
526.1
530.4
534.7
538.4
544.6
547.7
551.4
554.3
557.5
560.7
563.8
566.2
567.2
569.3
570.9
573
575.1
578.1
581
584.4




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Sir Maurice George Kendall' @ kendall.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 & 1 seconds \tabularnewline
R Server & 'Sir Maurice George Kendall' @ kendall.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294467&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]'Sir Maurice George Kendall' @ kendall.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294467&T=0

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1353.4759.451130283535628.4
2386.57512.515454083216136.7
3426.90833333333310.368348543290432.8
4461.32510.890873994479831.7
5498.25833333333313.524822857743241.4999999999999
6547.98333333333313.327131133234340.1
7497.85113.880962572168244
8363.259.6743804123900629.4
9400.80833333333313.556646027508140.4
10437.88333333333310.097329379893531.4
11473.1166666666679.9184706787922130.5
12514.3515.985988182837446.4
13560.559.4244845530622528.4

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 353.475 & 9.4511302835356 & 28.4 \tabularnewline
2 & 386.575 & 12.5154540832161 & 36.7 \tabularnewline
3 & 426.908333333333 & 10.3683485432904 & 32.8 \tabularnewline
4 & 461.325 & 10.8908739944798 & 31.7 \tabularnewline
5 & 498.258333333333 & 13.5248228577432 & 41.4999999999999 \tabularnewline
6 & 547.983333333333 & 13.3271311332343 & 40.1 \tabularnewline
7 & 497.85 & 113.880962572168 & 244 \tabularnewline
8 & 363.25 & 9.67438041239006 & 29.4 \tabularnewline
9 & 400.808333333333 & 13.5566460275081 & 40.4 \tabularnewline
10 & 437.883333333333 & 10.0973293798935 & 31.4 \tabularnewline
11 & 473.116666666667 & 9.91847067879221 & 30.5 \tabularnewline
12 & 514.35 & 15.9859881828374 & 46.4 \tabularnewline
13 & 560.55 & 9.42448455306225 & 28.4 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294467&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]353.475[/C][C]9.4511302835356[/C][C]28.4[/C][/ROW]
[ROW][C]2[/C][C]386.575[/C][C]12.5154540832161[/C][C]36.7[/C][/ROW]
[ROW][C]3[/C][C]426.908333333333[/C][C]10.3683485432904[/C][C]32.8[/C][/ROW]
[ROW][C]4[/C][C]461.325[/C][C]10.8908739944798[/C][C]31.7[/C][/ROW]
[ROW][C]5[/C][C]498.258333333333[/C][C]13.5248228577432[/C][C]41.4999999999999[/C][/ROW]
[ROW][C]6[/C][C]547.983333333333[/C][C]13.3271311332343[/C][C]40.1[/C][/ROW]
[ROW][C]7[/C][C]497.85[/C][C]113.880962572168[/C][C]244[/C][/ROW]
[ROW][C]8[/C][C]363.25[/C][C]9.67438041239006[/C][C]29.4[/C][/ROW]
[ROW][C]9[/C][C]400.808333333333[/C][C]13.5566460275081[/C][C]40.4[/C][/ROW]
[ROW][C]10[/C][C]437.883333333333[/C][C]10.0973293798935[/C][C]31.4[/C][/ROW]
[ROW][C]11[/C][C]473.116666666667[/C][C]9.91847067879221[/C][C]30.5[/C][/ROW]
[ROW][C]12[/C][C]514.35[/C][C]15.9859881828374[/C][C]46.4[/C][/ROW]
[ROW][C]13[/C][C]560.55[/C][C]9.42448455306225[/C][C]28.4[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294467&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294467&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
1353.4759.451130283535628.4
2386.57512.515454083216136.7
3426.90833333333310.368348543290432.8
4461.32510.890873994479831.7
5498.25833333333313.524822857743241.4999999999999
6547.98333333333313.327131133234340.1
7497.85113.880962572168244
8363.259.6743804123900629.4
9400.80833333333313.556646027508140.4
10437.88333333333310.097329379893531.4
11473.1166666666679.9184706787922130.5
12514.3515.985988182837446.4
13560.559.4244845530622528.4







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-20.893547079698
beta0.0885178366755602
S.D.0.124103516050238
T-STAT0.713258088833903
p-value0.490541551927378

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -20.893547079698 \tabularnewline
beta & 0.0885178366755602 \tabularnewline
S.D. & 0.124103516050238 \tabularnewline
T-STAT & 0.713258088833903 \tabularnewline
p-value & 0.490541551927378 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294467&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-20.893547079698[/C][/ROW]
[ROW][C]beta[/C][C]0.0885178366755602[/C][/ROW]
[ROW][C]S.D.[/C][C]0.124103516050238[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.713258088833903[/C][/ROW]
[ROW][C]p-value[/C][C]0.490541551927378[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294467&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294467&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-20.893547079698
beta0.0885178366755602
S.D.0.124103516050238
T-STAT0.713258088833903
p-value0.490541551927378







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-4.69707863825584
beta1.19565914330491
S.D.1.27192418048653
T-STAT0.940039635733287
p-value0.367381836301805
Lambda-0.195659143304913

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -4.69707863825584 \tabularnewline
beta & 1.19565914330491 \tabularnewline
S.D. & 1.27192418048653 \tabularnewline
T-STAT & 0.940039635733287 \tabularnewline
p-value & 0.367381836301805 \tabularnewline
Lambda & -0.195659143304913 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294467&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-4.69707863825584[/C][/ROW]
[ROW][C]beta[/C][C]1.19565914330491[/C][/ROW]
[ROW][C]S.D.[/C][C]1.27192418048653[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.940039635733287[/C][/ROW]
[ROW][C]p-value[/C][C]0.367381836301805[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.195659143304913[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294467&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294467&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-4.69707863825584
beta1.19565914330491
S.D.1.27192418048653
T-STAT0.940039635733287
p-value0.367381836301805
Lambda-0.195659143304913



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