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 computationSun, 21 Dec 2008 10:55:54 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/21/t12298822051gg7n4fz1xh68m7.htm/, Retrieved Sat, 25 May 2024 22:30:00 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=35715, Retrieved Sat, 25 May 2024 22:30:00 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact148
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2008-12-21 17:55:54] [a2d5a6282476ec2b5afae6fb53d308f8] [Current]
Feedback Forum

Post a new message
Dataseries X:
10244
10511
10812
10738
10171
9721
9897
9828
9924
10371
10846
10413
10709
10662
10570
10297
10635
10872
10296
10383
10431
10574
10653
10805
10872
10625
10407
10463
10556
10646
10702
11353
11346
11451
11964
12574
13031
13812
14544
14931
14886
16005
17064
15168
16050
15839
15137
14954
15648
15305
15579
16348
15928
16171
15937
15713
15594
15683
16438
17032




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35715&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35715&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35715&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
110576.25255.857219297534568
29904.25192.009331370466450
310388.5376.816931679032922
410559.5184.276061024395412
510546.5260.297906253585576
610615.75156.075569303249374
710591.75208.450433756645465
810814.25364.166971777141797
911833.75562.5337767636711228
1014079.5838.9916566927231900
1115780.75978.6144542157552178
1215495531.4150919949491096
1315720444.0998386249051043
1415937.25187.094227596685458
1516186.75678.893892052851438

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 10576.25 & 255.857219297534 & 568 \tabularnewline
2 & 9904.25 & 192.009331370466 & 450 \tabularnewline
3 & 10388.5 & 376.816931679032 & 922 \tabularnewline
4 & 10559.5 & 184.276061024395 & 412 \tabularnewline
5 & 10546.5 & 260.297906253585 & 576 \tabularnewline
6 & 10615.75 & 156.075569303249 & 374 \tabularnewline
7 & 10591.75 & 208.450433756645 & 465 \tabularnewline
8 & 10814.25 & 364.166971777141 & 797 \tabularnewline
9 & 11833.75 & 562.533776763671 & 1228 \tabularnewline
10 & 14079.5 & 838.991656692723 & 1900 \tabularnewline
11 & 15780.75 & 978.614454215755 & 2178 \tabularnewline
12 & 15495 & 531.415091994949 & 1096 \tabularnewline
13 & 15720 & 444.099838624905 & 1043 \tabularnewline
14 & 15937.25 & 187.094227596685 & 458 \tabularnewline
15 & 16186.75 & 678.89389205285 & 1438 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35715&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]10576.25[/C][C]255.857219297534[/C][C]568[/C][/ROW]
[ROW][C]2[/C][C]9904.25[/C][C]192.009331370466[/C][C]450[/C][/ROW]
[ROW][C]3[/C][C]10388.5[/C][C]376.816931679032[/C][C]922[/C][/ROW]
[ROW][C]4[/C][C]10559.5[/C][C]184.276061024395[/C][C]412[/C][/ROW]
[ROW][C]5[/C][C]10546.5[/C][C]260.297906253585[/C][C]576[/C][/ROW]
[ROW][C]6[/C][C]10615.75[/C][C]156.075569303249[/C][C]374[/C][/ROW]
[ROW][C]7[/C][C]10591.75[/C][C]208.450433756645[/C][C]465[/C][/ROW]
[ROW][C]8[/C][C]10814.25[/C][C]364.166971777141[/C][C]797[/C][/ROW]
[ROW][C]9[/C][C]11833.75[/C][C]562.533776763671[/C][C]1228[/C][/ROW]
[ROW][C]10[/C][C]14079.5[/C][C]838.991656692723[/C][C]1900[/C][/ROW]
[ROW][C]11[/C][C]15780.75[/C][C]978.614454215755[/C][C]2178[/C][/ROW]
[ROW][C]12[/C][C]15495[/C][C]531.415091994949[/C][C]1096[/C][/ROW]
[ROW][C]13[/C][C]15720[/C][C]444.099838624905[/C][C]1043[/C][/ROW]
[ROW][C]14[/C][C]15937.25[/C][C]187.094227596685[/C][C]458[/C][/ROW]
[ROW][C]15[/C][C]16186.75[/C][C]678.89389205285[/C][C]1438[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35715&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35715&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
110576.25255.857219297534568
29904.25192.009331370466450
310388.5376.816931679032922
410559.5184.276061024395412
510546.5260.297906253585576
610615.75156.075569303249374
710591.75208.450433756645465
810814.25364.166971777141797
911833.75562.5337767636711228
1014079.5838.9916566927231900
1115780.75978.6144542157552178
1215495531.4150919949491096
1315720444.0998386249051043
1415937.25187.094227596685458
1516186.75678.893892052851438







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-381.444119295890
beta0.0631713005589964
S.D.0.0217568283260864
T-STAT2.90351606457518
p-value0.0123244544896282

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -381.444119295890 \tabularnewline
beta & 0.0631713005589964 \tabularnewline
S.D. & 0.0217568283260864 \tabularnewline
T-STAT & 2.90351606457518 \tabularnewline
p-value & 0.0123244544896282 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35715&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-381.444119295890[/C][/ROW]
[ROW][C]beta[/C][C]0.0631713005589964[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0217568283260864[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.90351606457518[/C][/ROW]
[ROW][C]p-value[/C][C]0.0123244544896282[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35715&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35715&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-381.444119295890
beta0.0631713005589964
S.D.0.0217568283260864
T-STAT2.90351606457518
p-value0.0123244544896282







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-12.0128941722855
beta1.89651578095061
S.D.0.65624692615113
T-STAT2.88994234544247
p-value0.0126497566520273
Lambda-0.896515780950607

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -12.0128941722855 \tabularnewline
beta & 1.89651578095061 \tabularnewline
S.D. & 0.65624692615113 \tabularnewline
T-STAT & 2.88994234544247 \tabularnewline
p-value & 0.0126497566520273 \tabularnewline
Lambda & -0.896515780950607 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35715&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-12.0128941722855[/C][/ROW]
[ROW][C]beta[/C][C]1.89651578095061[/C][/ROW]
[ROW][C]S.D.[/C][C]0.65624692615113[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.88994234544247[/C][/ROW]
[ROW][C]p-value[/C][C]0.0126497566520273[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.896515780950607[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35715&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35715&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-12.0128941722855
beta1.89651578095061
S.D.0.65624692615113
T-STAT2.88994234544247
p-value0.0126497566520273
Lambda-0.896515780950607



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