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 computationFri, 20 May 2011 07:13:06 +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/2011/May/20/t13058753771jqxrqljo3nm0eu.htm/, Retrieved Sun, 12 May 2024 20:21:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=122422, Retrieved Sun, 12 May 2024 20:21:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact89
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2011-05-20 07:13:06] [31b126aa1b32aa85c8fd6bf40153b92b] [Current]
Feedback Forum

Post a new message
Dataseries X:
19097.1
19304.6
19601.7
16006.9
17681.2
19790.4
17014.2
17424.5
18908.9
15692.1
15160
15794.3
16032.1
16065
16236.8
12521
14762.1
15446.9
13635
14212.6
15021.7
14134.3
13721.4
14384.5
15638.6
19711.6
20359.8
16141.4
20056.9
20605.5
19325.8
20547.7
19211.2
19009.5
18746.8
16471.5
18957.2
20515.2
18374.4
16192.9
18147.5
19301.4
18344.7
17183.6
19630
17167.2
17428.5
16016.5
18466.5
18406.6
18174.1
14851.9
16260.7
18329.6
18003.8
15903.8
19554.2
16554.2
16198.9
16571.8
17535.2
16198.1
17487.5
13768
14915.8
17160.9
15607.4
16181.5
17413.2
15116.3
14544.5
15050.6
15535.4
15919.3
15853.1
12336.4
14355.5
16040.8
13867.7
14656.6




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=122422&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=122422&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=122422&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
118502.5751676.620961686533594.8
217977.5751239.375644898132776.2
316388.8251702.906788161543748.9
415213.7251797.392291395143715.8
514514.15773.5931079493061811.9
614315.475544.4470245120281300.3
717962.852416.837743140134721.2
820133.975592.3376254299571279.7
918359.751273.111402561982739.7
1018509.9251789.613983284294322.3
1118244.3868.3308317302432117.8
1217560.551509.842721389663613.5
1317474.7751753.12530713013614.6
1417124.4751219.520865955152425.8
1517219.7751565.735985354283355.3
1616247.21765.043109955113767.2
1715966.4949.691111186512245.1
1815531.151280.445137442442868.7
1914911.051724.592880463582.9
2014730.15932.2724297829112173.1

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 18502.575 & 1676.62096168653 & 3594.8 \tabularnewline
2 & 17977.575 & 1239.37564489813 & 2776.2 \tabularnewline
3 & 16388.825 & 1702.90678816154 & 3748.9 \tabularnewline
4 & 15213.725 & 1797.39229139514 & 3715.8 \tabularnewline
5 & 14514.15 & 773.593107949306 & 1811.9 \tabularnewline
6 & 14315.475 & 544.447024512028 & 1300.3 \tabularnewline
7 & 17962.85 & 2416.83774314013 & 4721.2 \tabularnewline
8 & 20133.975 & 592.337625429957 & 1279.7 \tabularnewline
9 & 18359.75 & 1273.11140256198 & 2739.7 \tabularnewline
10 & 18509.925 & 1789.61398328429 & 4322.3 \tabularnewline
11 & 18244.3 & 868.330831730243 & 2117.8 \tabularnewline
12 & 17560.55 & 1509.84272138966 & 3613.5 \tabularnewline
13 & 17474.775 & 1753.1253071301 & 3614.6 \tabularnewline
14 & 17124.475 & 1219.52086595515 & 2425.8 \tabularnewline
15 & 17219.775 & 1565.73598535428 & 3355.3 \tabularnewline
16 & 16247.2 & 1765.04310995511 & 3767.2 \tabularnewline
17 & 15966.4 & 949.69111118651 & 2245.1 \tabularnewline
18 & 15531.15 & 1280.44513744244 & 2868.7 \tabularnewline
19 & 14911.05 & 1724.59288046 & 3582.9 \tabularnewline
20 & 14730.15 & 932.272429782911 & 2173.1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=122422&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]18502.575[/C][C]1676.62096168653[/C][C]3594.8[/C][/ROW]
[ROW][C]2[/C][C]17977.575[/C][C]1239.37564489813[/C][C]2776.2[/C][/ROW]
[ROW][C]3[/C][C]16388.825[/C][C]1702.90678816154[/C][C]3748.9[/C][/ROW]
[ROW][C]4[/C][C]15213.725[/C][C]1797.39229139514[/C][C]3715.8[/C][/ROW]
[ROW][C]5[/C][C]14514.15[/C][C]773.593107949306[/C][C]1811.9[/C][/ROW]
[ROW][C]6[/C][C]14315.475[/C][C]544.447024512028[/C][C]1300.3[/C][/ROW]
[ROW][C]7[/C][C]17962.85[/C][C]2416.83774314013[/C][C]4721.2[/C][/ROW]
[ROW][C]8[/C][C]20133.975[/C][C]592.337625429957[/C][C]1279.7[/C][/ROW]
[ROW][C]9[/C][C]18359.75[/C][C]1273.11140256198[/C][C]2739.7[/C][/ROW]
[ROW][C]10[/C][C]18509.925[/C][C]1789.61398328429[/C][C]4322.3[/C][/ROW]
[ROW][C]11[/C][C]18244.3[/C][C]868.330831730243[/C][C]2117.8[/C][/ROW]
[ROW][C]12[/C][C]17560.55[/C][C]1509.84272138966[/C][C]3613.5[/C][/ROW]
[ROW][C]13[/C][C]17474.775[/C][C]1753.1253071301[/C][C]3614.6[/C][/ROW]
[ROW][C]14[/C][C]17124.475[/C][C]1219.52086595515[/C][C]2425.8[/C][/ROW]
[ROW][C]15[/C][C]17219.775[/C][C]1565.73598535428[/C][C]3355.3[/C][/ROW]
[ROW][C]16[/C][C]16247.2[/C][C]1765.04310995511[/C][C]3767.2[/C][/ROW]
[ROW][C]17[/C][C]15966.4[/C][C]949.69111118651[/C][C]2245.1[/C][/ROW]
[ROW][C]18[/C][C]15531.15[/C][C]1280.44513744244[/C][C]2868.7[/C][/ROW]
[ROW][C]19[/C][C]14911.05[/C][C]1724.59288046[/C][C]3582.9[/C][/ROW]
[ROW][C]20[/C][C]14730.15[/C][C]932.272429782911[/C][C]2173.1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=122422&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=122422&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
118502.5751676.620961686533594.8
217977.5751239.375644898132776.2
316388.8251702.906788161543748.9
415213.7251797.392291395143715.8
514514.15773.5931079493061811.9
614315.475544.4470245120281300.3
717962.852416.837743140134721.2
820133.975592.3376254299571279.7
918359.751273.111402561982739.7
1018509.9251789.613983284294322.3
1118244.3868.3308317302432117.8
1217560.551509.842721389663613.5
1317474.7751753.12530713013614.6
1417124.4751219.520865955152425.8
1517219.7751565.735985354283355.3
1616247.21765.043109955113767.2
1715966.4949.691111186512245.1
1815531.151280.445137442442868.7
1914911.051724.592880463582.9
2014730.15932.2724297829112173.1







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha588.985679360323
beta0.0462916259309982
S.D.0.0695716735312399
T-STAT0.665380370794326
p-value0.51424365338018

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 588.985679360323 \tabularnewline
beta & 0.0462916259309982 \tabularnewline
S.D. & 0.0695716735312399 \tabularnewline
T-STAT & 0.665380370794326 \tabularnewline
p-value & 0.51424365338018 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=122422&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]588.985679360323[/C][/ROW]
[ROW][C]beta[/C][C]0.0462916259309982[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0695716735312399[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.665380370794326[/C][/ROW]
[ROW][C]p-value[/C][C]0.51424365338018[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=122422&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=122422&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)
alpha588.985679360323
beta0.0462916259309982
S.D.0.0695716735312399
T-STAT0.665380370794326
p-value0.51424365338018







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha0.0233037300502274
beta0.732853995657858
S.D.0.961506609242313
T-STAT0.762193404198607
p-value0.455816765918754
Lambda0.267146004342142

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 0.0233037300502274 \tabularnewline
beta & 0.732853995657858 \tabularnewline
S.D. & 0.961506609242313 \tabularnewline
T-STAT & 0.762193404198607 \tabularnewline
p-value & 0.455816765918754 \tabularnewline
Lambda & 0.267146004342142 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=122422&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]0.0233037300502274[/C][/ROW]
[ROW][C]beta[/C][C]0.732853995657858[/C][/ROW]
[ROW][C]S.D.[/C][C]0.961506609242313[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.762193404198607[/C][/ROW]
[ROW][C]p-value[/C][C]0.455816765918754[/C][/ROW]
[ROW][C]Lambda[/C][C]0.267146004342142[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=122422&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=122422&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)
alpha0.0233037300502274
beta0.732853995657858
S.D.0.961506609242313
T-STAT0.762193404198607
p-value0.455816765918754
Lambda0.267146004342142



Parameters (Session):
par1 = 4 ;
Parameters (R input):
par1 = 4 ;
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')