Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationThu, 01 Dec 2011 09:39:02 -0500
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/Dec/01/t132275039473r35spv4zykrob.htm/, Retrieved Thu, 25 Apr 2024 17:21:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=149737, Retrieved Thu, 25 Apr 2024 17:21:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact59
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [] [2008-12-08 19:22:39] [d2d412c7f4d35ffbf5ee5ee89db327d4]
- RMP     [Standard Deviation-Mean Plot] [] [2011-12-01 14:39:02] [86c924663d3d275e16f9cde57b3a6185] [Current]
Feedback Forum

Post a new message
Dataseries X:
655362
873127
1107897
1555964
1671159
1493308
2957796
2638691
1305669
1280496
921900
867888
652586
913831
1108544
1555827
1699283
1509458
3268975
2425016
1312703
1365498
934453
775019
651142
843192
1146766
1652601
1465906
1652734
2922334
2702805
1458956
1410363
1019279
936574
708917
885295
1099663
1576220
1487870
1488635
2882530
2677026
1404398
1344370
936865
872705
628151
953712
1160384
1400618
1661511
1495347
2918786
2775677
1407026
1370199
964526
850851
683118
847224
1073256
1514326
1503734
1507712
2865698
2788128
1391596
1366378
946295
859626




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

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
11048087.5385728.838457363900602
22190238.5717730.174395411464488
31093988.25231177.831671313437781
41057697381021.111657434903241
52225683799638.88782751759517
61096918.25287930.677450175590479
71073425.25436712.6849675691001459
82185944.75733071.8816420731456428
91206293266586.903670579522382
101067523.75374882.614795063867303
112134015.25750367.5447785021394660
121139584.5273485.620580559531693
131035716.25327378.203850302772467
142212830.25737993.9282484531423439
151148150.5281914.295814053556175
161029481360636.412687349831208
172166318763448.2040479241361964
181140973.75277293.442791056531970

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 1048087.5 & 385728.838457363 & 900602 \tabularnewline
2 & 2190238.5 & 717730.17439541 & 1464488 \tabularnewline
3 & 1093988.25 & 231177.831671313 & 437781 \tabularnewline
4 & 1057697 & 381021.111657434 & 903241 \tabularnewline
5 & 2225683 & 799638.8878275 & 1759517 \tabularnewline
6 & 1096918.25 & 287930.677450175 & 590479 \tabularnewline
7 & 1073425.25 & 436712.684967569 & 1001459 \tabularnewline
8 & 2185944.75 & 733071.881642073 & 1456428 \tabularnewline
9 & 1206293 & 266586.903670579 & 522382 \tabularnewline
10 & 1067523.75 & 374882.614795063 & 867303 \tabularnewline
11 & 2134015.25 & 750367.544778502 & 1394660 \tabularnewline
12 & 1139584.5 & 273485.620580559 & 531693 \tabularnewline
13 & 1035716.25 & 327378.203850302 & 772467 \tabularnewline
14 & 2212830.25 & 737993.928248453 & 1423439 \tabularnewline
15 & 1148150.5 & 281914.295814053 & 556175 \tabularnewline
16 & 1029481 & 360636.412687349 & 831208 \tabularnewline
17 & 2166318 & 763448.204047924 & 1361964 \tabularnewline
18 & 1140973.75 & 277293.442791056 & 531970 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=149737&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]1048087.5[/C][C]385728.838457363[/C][C]900602[/C][/ROW]
[ROW][C]2[/C][C]2190238.5[/C][C]717730.17439541[/C][C]1464488[/C][/ROW]
[ROW][C]3[/C][C]1093988.25[/C][C]231177.831671313[/C][C]437781[/C][/ROW]
[ROW][C]4[/C][C]1057697[/C][C]381021.111657434[/C][C]903241[/C][/ROW]
[ROW][C]5[/C][C]2225683[/C][C]799638.8878275[/C][C]1759517[/C][/ROW]
[ROW][C]6[/C][C]1096918.25[/C][C]287930.677450175[/C][C]590479[/C][/ROW]
[ROW][C]7[/C][C]1073425.25[/C][C]436712.684967569[/C][C]1001459[/C][/ROW]
[ROW][C]8[/C][C]2185944.75[/C][C]733071.881642073[/C][C]1456428[/C][/ROW]
[ROW][C]9[/C][C]1206293[/C][C]266586.903670579[/C][C]522382[/C][/ROW]
[ROW][C]10[/C][C]1067523.75[/C][C]374882.614795063[/C][C]867303[/C][/ROW]
[ROW][C]11[/C][C]2134015.25[/C][C]750367.544778502[/C][C]1394660[/C][/ROW]
[ROW][C]12[/C][C]1139584.5[/C][C]273485.620580559[/C][C]531693[/C][/ROW]
[ROW][C]13[/C][C]1035716.25[/C][C]327378.203850302[/C][C]772467[/C][/ROW]
[ROW][C]14[/C][C]2212830.25[/C][C]737993.928248453[/C][C]1423439[/C][/ROW]
[ROW][C]15[/C][C]1148150.5[/C][C]281914.295814053[/C][C]556175[/C][/ROW]
[ROW][C]16[/C][C]1029481[/C][C]360636.412687349[/C][C]831208[/C][/ROW]
[ROW][C]17[/C][C]2166318[/C][C]763448.204047924[/C][C]1361964[/C][/ROW]
[ROW][C]18[/C][C]1140973.75[/C][C]277293.442791056[/C][C]531970[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=149737&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=149737&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
11048087.5385728.838457363900602
22190238.5717730.174395411464488
31093988.25231177.831671313437781
41057697381021.111657434903241
52225683799638.88782751759517
61096918.25287930.677450175590479
71073425.25436712.6849675691001459
82185944.75733071.8816420731456428
91206293266586.903670579522382
101067523.75374882.614795063867303
112134015.25750367.5447785021394660
121139584.5273485.620580559531693
131035716.25327378.203850302772467
142212830.25737993.9282484531423439
151148150.5281914.295814053556175
161029481360636.412687349831208
172166318763448.2040479241361964
181140973.75277293.442791056531970







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-92906.0642728818
beta0.383169874196874
S.D.0.0304351334430173
T-STAT12.5897221681078
p-value1.02364607244802e-09

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -92906.0642728818 \tabularnewline
beta & 0.383169874196874 \tabularnewline
S.D. & 0.0304351334430173 \tabularnewline
T-STAT & 12.5897221681078 \tabularnewline
p-value & 1.02364607244802e-09 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=149737&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-92906.0642728818[/C][/ROW]
[ROW][C]beta[/C][C]0.383169874196874[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0304351334430173[/C][/ROW]
[ROW][C]T-STAT[/C][C]12.5897221681078[/C][/ROW]
[ROW][C]p-value[/C][C]1.02364607244802e-09[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=149737&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=149737&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-92906.0642728818
beta0.383169874196874
S.D.0.0304351334430173
T-STAT12.5897221681078
p-value1.02364607244802e-09







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-3.80598382929598
beta1.1857965729163
S.D.0.141748990269583
T-STAT8.36546751169878
p-value3.09156486439321e-07
Lambda-0.1857965729163

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -3.80598382929598 \tabularnewline
beta & 1.1857965729163 \tabularnewline
S.D. & 0.141748990269583 \tabularnewline
T-STAT & 8.36546751169878 \tabularnewline
p-value & 3.09156486439321e-07 \tabularnewline
Lambda & -0.1857965729163 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=149737&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-3.80598382929598[/C][/ROW]
[ROW][C]beta[/C][C]1.1857965729163[/C][/ROW]
[ROW][C]S.D.[/C][C]0.141748990269583[/C][/ROW]
[ROW][C]T-STAT[/C][C]8.36546751169878[/C][/ROW]
[ROW][C]p-value[/C][C]3.09156486439321e-07[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.1857965729163[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=149737&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=149737&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-3.80598382929598
beta1.1857965729163
S.D.0.141748990269583
T-STAT8.36546751169878
p-value3.09156486439321e-07
Lambda-0.1857965729163



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