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 computationWed, 09 Jul 2014 11:53:17 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2014/Jul/09/t14049033602uah8o4p9vmc0nm.htm/, Retrieved Wed, 15 May 2024 15:24:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=235281, Retrieved Wed, 15 May 2024 15:24:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact139
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2014-07-09 10:53:17] [bdb7c0ed7ba273e65f9ee772c5dda4f0] [Current]
Feedback Forum

Post a new message
Dataseries X:
1069108
1059362
1049495
1029082
1231089
1220388
1069108
968521
978233
978233
989056
1008514
1069108
1049495
1079775
1129547
1412683
1412683
1352244
1291650
1341422
1401983
1412683
1442964
1533833
1473244
1473244
1564114
1816014
1836427
1785734
1664578
1755420
1755420
1765165
1816014
1856040
1876453
1876453
1937014
2169452
2229890
2239603
2088322
2169452
2139171
2078582
2209478
2239603
2188909
2199610
2269916
2532640
2663352
2663352
2602913
2693660
2602913
2552092
2744509
2774634
2703378
2884967
2956228
3168103
3308711
3289258
3278430
3359559
3349692
3228692
3410253
3470847
3410253
3662154
3783309
4065362
4176650
4146492
4085897
4136624
4197185
3995056
4156204
4257779
4216798
4479366
4570080
4953837
5024138
4933418
4984117
5014398
5044678
4852261
5033856
5134437
5033856
5326854
5417607
5811037
5871631
5891089
5992631
5992631
6032657
5851063
5941938
6002377
5891089
6214246
6274812
6678021
6749283
6849864
6940739
6950451
6961152
6779563
6961152




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=235281&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'Herman Ole Andreas Wold' @ wold.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
11054182.4166666788032.108102626262568
21283019.75154803.028222157393469
31686600.58333333138591.486403523363183
42072492.5146805.364649624383563
52496122.41666667209587.103807574555600
63142658.75246176.96449104706875
73940502.75284877.652541682786932
84780393.83333333312474.216785913827880
95691452.58333333359709.265269116998801
106604395.75397361.4855539711070063

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 1054182.41666667 & 88032.108102626 & 262568 \tabularnewline
2 & 1283019.75 & 154803.028222157 & 393469 \tabularnewline
3 & 1686600.58333333 & 138591.486403523 & 363183 \tabularnewline
4 & 2072492.5 & 146805.364649624 & 383563 \tabularnewline
5 & 2496122.41666667 & 209587.103807574 & 555600 \tabularnewline
6 & 3142658.75 & 246176.96449104 & 706875 \tabularnewline
7 & 3940502.75 & 284877.652541682 & 786932 \tabularnewline
8 & 4780393.83333333 & 312474.216785913 & 827880 \tabularnewline
9 & 5691452.58333333 & 359709.265269116 & 998801 \tabularnewline
10 & 6604395.75 & 397361.485553971 & 1070063 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=235281&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]1054182.41666667[/C][C]88032.108102626[/C][C]262568[/C][/ROW]
[ROW][C]2[/C][C]1283019.75[/C][C]154803.028222157[/C][C]393469[/C][/ROW]
[ROW][C]3[/C][C]1686600.58333333[/C][C]138591.486403523[/C][C]363183[/C][/ROW]
[ROW][C]4[/C][C]2072492.5[/C][C]146805.364649624[/C][C]383563[/C][/ROW]
[ROW][C]5[/C][C]2496122.41666667[/C][C]209587.103807574[/C][C]555600[/C][/ROW]
[ROW][C]6[/C][C]3142658.75[/C][C]246176.96449104[/C][C]706875[/C][/ROW]
[ROW][C]7[/C][C]3940502.75[/C][C]284877.652541682[/C][C]786932[/C][/ROW]
[ROW][C]8[/C][C]4780393.83333333[/C][C]312474.216785913[/C][C]827880[/C][/ROW]
[ROW][C]9[/C][C]5691452.58333333[/C][C]359709.265269116[/C][C]998801[/C][/ROW]
[ROW][C]10[/C][C]6604395.75[/C][C]397361.485553971[/C][C]1070063[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=235281&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=235281&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
11054182.4166666788032.108102626262568
21283019.75154803.028222157393469
31686600.58333333138591.486403523363183
42072492.5146805.364649624383563
52496122.41666667209587.103807574555600
63142658.75246176.96449104706875
73940502.75284877.652541682786932
84780393.83333333312474.216785913827880
95691452.58333333359709.265269116998801
106604395.75397361.4855539711070063







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha60288.1314682397
beta0.0529905602342328
S.D.0.00349978730639323
T-STAT15.1410801843393
p-value3.58360004233614e-07

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 60288.1314682397 \tabularnewline
beta & 0.0529905602342328 \tabularnewline
S.D. & 0.00349978730639323 \tabularnewline
T-STAT & 15.1410801843393 \tabularnewline
p-value & 3.58360004233614e-07 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=235281&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]60288.1314682397[/C][/ROW]
[ROW][C]beta[/C][C]0.0529905602342328[/C][/ROW]
[ROW][C]S.D.[/C][C]0.00349978730639323[/C][/ROW]
[ROW][C]T-STAT[/C][C]15.1410801843393[/C][/ROW]
[ROW][C]p-value[/C][C]3.58360004233614e-07[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=235281&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=235281&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)
alpha60288.1314682397
beta0.0529905602342328
S.D.0.00349978730639323
T-STAT15.1410801843393
p-value3.58360004233614e-07







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha1.1910693165121
beta0.746474750513352
S.D.0.0667776586700053
T-STAT11.178510378781
p-value3.67346051712393e-06
Lambda0.253525249486648

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 1.1910693165121 \tabularnewline
beta & 0.746474750513352 \tabularnewline
S.D. & 0.0667776586700053 \tabularnewline
T-STAT & 11.178510378781 \tabularnewline
p-value & 3.67346051712393e-06 \tabularnewline
Lambda & 0.253525249486648 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=235281&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]1.1910693165121[/C][/ROW]
[ROW][C]beta[/C][C]0.746474750513352[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0667776586700053[/C][/ROW]
[ROW][C]T-STAT[/C][C]11.178510378781[/C][/ROW]
[ROW][C]p-value[/C][C]3.67346051712393e-06[/C][/ROW]
[ROW][C]Lambda[/C][C]0.253525249486648[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=235281&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=235281&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)
alpha1.1910693165121
beta0.746474750513352
S.D.0.0667776586700053
T-STAT11.178510378781
p-value3.67346051712393e-06
Lambda0.253525249486648



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