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, 19 Nov 2015 18:41:52 +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/2015/Nov/19/t1447958533kldk1dqym9hu827.htm/, Retrieved Tue, 14 May 2024 10:43:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=283680, Retrieved Tue, 14 May 2024 10:43:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact77
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Opgave 8 eigen wa...] [2015-11-19 18:41:52] [bcb0da8ff6be95621a49a67fe6a7b572] [Current]
Feedback Forum

Post a new message
Dataseries X:
2754542
2899512
2928886
3011252
2932895
3069307
2863923
2585491
2993900
3023542
2491370
2341705
2126472
2196705
2368313
2285174
2163877
2299241
2275643
2163091
2416149
2434553
2281937
2440464
2255745
2389872
2863148
2623516
2558136
2898129
2537720
2543469
2779739
2884779
2711624
2817771
2884477
3058996
3285298
2879617
3220416
3144280
2940811
2986507
3153720
2995806
2990242
2879837
2848699
3138385
3532447
3121872
3309250
3215022
2966778
3010284
3083824
3257727
3180374
3036414
2966714
3067677
3339789
3299861
3193328
3181266
3193356
2898282
2929524
3217311
3126249
3131083
3008058
2868318
3207495
3109336
3070725
2989963
3287552
2835238
3368961
3291689
3008536
2974109




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

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
12824693.75233361.468135176727602
22287634.91666667110104.268284417313992
32655304205992.083884529642384
43035000.58333333137932.704418072405681
53141756.33333333178286.442210961683748
63128703.33333333139988.770530375441507
73084998.33333333171254.82133536533723

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 2824693.75 & 233361.468135176 & 727602 \tabularnewline
2 & 2287634.91666667 & 110104.268284417 & 313992 \tabularnewline
3 & 2655304 & 205992.083884529 & 642384 \tabularnewline
4 & 3035000.58333333 & 137932.704418072 & 405681 \tabularnewline
5 & 3141756.33333333 & 178286.442210961 & 683748 \tabularnewline
6 & 3128703.33333333 & 139988.770530375 & 441507 \tabularnewline
7 & 3084998.33333333 & 171254.82133536 & 533723 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283680&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]2824693.75[/C][C]233361.468135176[/C][C]727602[/C][/ROW]
[ROW][C]2[/C][C]2287634.91666667[/C][C]110104.268284417[/C][C]313992[/C][/ROW]
[ROW][C]3[/C][C]2655304[/C][C]205992.083884529[/C][C]642384[/C][/ROW]
[ROW][C]4[/C][C]3035000.58333333[/C][C]137932.704418072[/C][C]405681[/C][/ROW]
[ROW][C]5[/C][C]3141756.33333333[/C][C]178286.442210961[/C][C]683748[/C][/ROW]
[ROW][C]6[/C][C]3128703.33333333[/C][C]139988.770530375[/C][C]441507[/C][/ROW]
[ROW][C]7[/C][C]3084998.33333333[/C][C]171254.82133536[/C][C]533723[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283680&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283680&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
12824693.75233361.468135176727602
22287634.91666667110104.268284417313992
32655304205992.083884529642384
43035000.58333333137932.704418072405681
53141756.33333333178286.442210961683748
63128703.33333333139988.770530375441507
73084998.33333333171254.82133536533723







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha101624.100255474
beta0.0230950366895762
S.D.0.0592642713228749
T-STAT0.389695784223065
p-value0.712807760864311

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 101624.100255474 \tabularnewline
beta & 0.0230950366895762 \tabularnewline
S.D. & 0.0592642713228749 \tabularnewline
T-STAT & 0.389695784223065 \tabularnewline
p-value & 0.712807760864311 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283680&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]101624.100255474[/C][/ROW]
[ROW][C]beta[/C][C]0.0230950366895762[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0592642713228749[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.389695784223065[/C][/ROW]
[ROW][C]p-value[/C][C]0.712807760864311[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283680&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283680&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)
alpha101624.100255474
beta0.0230950366895762
S.D.0.0592642713228749
T-STAT0.389695784223065
p-value0.712807760864311







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha2.11648407202975
beta0.665066654678367
S.D.0.942558731402353
T-STAT0.70559704400475
p-value0.511945748330351
Lambda0.334933345321633

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 2.11648407202975 \tabularnewline
beta & 0.665066654678367 \tabularnewline
S.D. & 0.942558731402353 \tabularnewline
T-STAT & 0.70559704400475 \tabularnewline
p-value & 0.511945748330351 \tabularnewline
Lambda & 0.334933345321633 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=283680&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]2.11648407202975[/C][/ROW]
[ROW][C]beta[/C][C]0.665066654678367[/C][/ROW]
[ROW][C]S.D.[/C][C]0.942558731402353[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.70559704400475[/C][/ROW]
[ROW][C]p-value[/C][C]0.511945748330351[/C][/ROW]
[ROW][C]Lambda[/C][C]0.334933345321633[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=283680&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=283680&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)
alpha2.11648407202975
beta0.665066654678367
S.D.0.942558731402353
T-STAT0.70559704400475
p-value0.511945748330351
Lambda0.334933345321633



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