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 computationThu, 28 May 2009 13:34:35 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/May/28/t1243539312nl7vuwpo9sbgvb0.htm/, Retrieved Sun, 05 May 2024 23:37:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=40705, Retrieved Sun, 05 May 2024 23:37:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact107
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Aantal bouwvergun...] [2009-05-28 19:34:35] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
1528
1816
1420
1757
1544
1678
1655
1391
1403
1744
1266
1358
1596
1819
1416
1521
1638
1543
1623
1530
1336
1700
1615
1494
1578
1607
1767
1505
1938
1862
2571
2082
1781
1869
1785
1682
1556
2080
2027
1887
1935
1798
1590
1592
1387
1849
1470
1437
1500
2081
1552
1586
1914
1639
1633
1693
1224
1417
1577
1225
1510
1515
1393
1455
1532
1268
1365
1282
1063
1296
1639
1247
1515
1547
1299




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40705&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
11546.66666666667180.993889064763550
21569.25127.210008897242483
31835.58333333333282.1310006276371066
41717.33333333333240.125093661743693
51586.75246.360462072808857
61380.41666666667159.176550541919576

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 1546.66666666667 & 180.993889064763 & 550 \tabularnewline
2 & 1569.25 & 127.210008897242 & 483 \tabularnewline
3 & 1835.58333333333 & 282.131000627637 & 1066 \tabularnewline
4 & 1717.33333333333 & 240.125093661743 & 693 \tabularnewline
5 & 1586.75 & 246.360462072808 & 857 \tabularnewline
6 & 1380.41666666667 & 159.176550541919 & 576 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=40705&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]1546.66666666667[/C][C]180.993889064763[/C][C]550[/C][/ROW]
[ROW][C]2[/C][C]1569.25[/C][C]127.210008897242[/C][C]483[/C][/ROW]
[ROW][C]3[/C][C]1835.58333333333[/C][C]282.131000627637[/C][C]1066[/C][/ROW]
[ROW][C]4[/C][C]1717.33333333333[/C][C]240.125093661743[/C][C]693[/C][/ROW]
[ROW][C]5[/C][C]1586.75[/C][C]246.360462072808[/C][C]857[/C][/ROW]
[ROW][C]6[/C][C]1380.41666666667[/C][C]159.176550541919[/C][C]576[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=40705&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40705&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
11546.66666666667180.993889064763550
21569.25127.210008897242483
31835.58333333333282.1310006276371066
41717.33333333333240.125093661743693
51586.75246.360462072808857
61380.41666666667159.176550541919576







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-263.515561618631
beta0.292350599271264
S.D.0.122300854990439
T-STAT2.39042154933518
p-value0.0751333652658475

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -263.515561618631 \tabularnewline
beta & 0.292350599271264 \tabularnewline
S.D. & 0.122300854990439 \tabularnewline
T-STAT & 2.39042154933518 \tabularnewline
p-value & 0.0751333652658475 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=40705&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-263.515561618631[/C][/ROW]
[ROW][C]beta[/C][C]0.292350599271264[/C][/ROW]
[ROW][C]S.D.[/C][C]0.122300854990439[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.39042154933518[/C][/ROW]
[ROW][C]p-value[/C][C]0.0751333652658475[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=40705&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40705&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-263.515561618631
beta0.292350599271264
S.D.0.122300854990439
T-STAT2.39042154933518
p-value0.0751333652658475







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-10.9942707982595
beta2.20737146050773
S.D.1.10653924761836
T-STAT1.99484244707879
p-value0.116802533844563
Lambda-1.20737146050773

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -10.9942707982595 \tabularnewline
beta & 2.20737146050773 \tabularnewline
S.D. & 1.10653924761836 \tabularnewline
T-STAT & 1.99484244707879 \tabularnewline
p-value & 0.116802533844563 \tabularnewline
Lambda & -1.20737146050773 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=40705&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-10.9942707982595[/C][/ROW]
[ROW][C]beta[/C][C]2.20737146050773[/C][/ROW]
[ROW][C]S.D.[/C][C]1.10653924761836[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.99484244707879[/C][/ROW]
[ROW][C]p-value[/C][C]0.116802533844563[/C][/ROW]
[ROW][C]Lambda[/C][C]-1.20737146050773[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=40705&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=40705&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-10.9942707982595
beta2.20737146050773
S.D.1.10653924761836
T-STAT1.99484244707879
p-value0.116802533844563
Lambda-1.20737146050773



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