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 computationSat, 08 Dec 2007 03:50:38 -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/2007/Dec/08/t1197110258nlukagcozocgaz5.htm/, Retrieved Mon, 29 Apr 2024 01:41:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=2906, Retrieved Mon, 29 Apr 2024 01:41:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact229
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [goud smp] [2007-12-08 10:50:38] [e24e91da8d334fb8882bf413603fde71] [Current]
Feedback Forum

Post a new message
Dataseries X:
10.244
10.511
10.812
10.738
10.171
9.721
9.897
9.828
9.924
10.371
10.846
10.413
10.709
10.662
10.57
10.297
10.635
10.872
10.296
10.383
10.431
10.574
10.653
10.805
10.872
10.625
10.407
10.463
10.556
10.646
10.702
11.353
11.346
11.451
11.964
12.574
13.031
13.812
14.544
14.931
14.886
16.005
17.064
15.168
16.05
15.839
15.137
14.954
15.648
15.305
15.579
16.348
15.928
16.171
15.937
15.713
15.594
15.683
16.438
17.032




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of compuational 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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2906&T=0

[TABLE]
[ROW][C]Summary of compuational 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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2906&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2906&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 compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
110.28966666666670.3925141186420350.602
210.57391666666670.1880654906884270.361000000000001
311.07991666666670.6732648348746492.167
415.11841666666671.064782475295766.767
515.9480.4782336819437286.861

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 10.2896666666667 & 0.392514118642035 & 0.602 \tabularnewline
2 & 10.5739166666667 & 0.188065490688427 & 0.361000000000001 \tabularnewline
3 & 11.0799166666667 & 0.673264834874649 & 2.167 \tabularnewline
4 & 15.1184166666667 & 1.06478247529576 & 6.767 \tabularnewline
5 & 15.948 & 0.478233681943728 & 6.861 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2906&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]10.2896666666667[/C][C]0.392514118642035[/C][C]0.602[/C][/ROW]
[ROW][C]2[/C][C]10.5739166666667[/C][C]0.188065490688427[/C][C]0.361000000000001[/C][/ROW]
[ROW][C]3[/C][C]11.0799166666667[/C][C]0.673264834874649[/C][C]2.167[/C][/ROW]
[ROW][C]4[/C][C]15.1184166666667[/C][C]1.06478247529576[/C][C]6.767[/C][/ROW]
[ROW][C]5[/C][C]15.948[/C][C]0.478233681943728[/C][C]6.861[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2906&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2906&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
110.28966666666670.3925141186420350.602
210.57391666666670.1880654906884270.361000000000001
311.07991666666670.6732648348746492.167
415.11841666666671.064782475295766.767
515.9480.4782336819437286.861







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.286005392213891
beta0.0670828940288085
S.D.0.0592692583367575
T-STAT1.13183285756092
p-value0.339997077946576

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -0.286005392213891 \tabularnewline
beta & 0.0670828940288085 \tabularnewline
S.D. & 0.0592692583367575 \tabularnewline
T-STAT & 1.13183285756092 \tabularnewline
p-value & 0.339997077946576 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2906&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.286005392213891[/C][/ROW]
[ROW][C]beta[/C][C]0.0670828940288085[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0592692583367575[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.13183285756092[/C][/ROW]
[ROW][C]p-value[/C][C]0.339997077946576[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2906&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2906&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-0.286005392213891
beta0.0670828940288085
S.D.0.0592692583367575
T-STAT1.13183285756092
p-value0.339997077946576







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-5.11928948003593
beta1.74244449469016
S.D.1.46849197230226
T-STAT1.18655363975767
p-value0.320807670735897
Lambda-0.742444494690162

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -5.11928948003593 \tabularnewline
beta & 1.74244449469016 \tabularnewline
S.D. & 1.46849197230226 \tabularnewline
T-STAT & 1.18655363975767 \tabularnewline
p-value & 0.320807670735897 \tabularnewline
Lambda & -0.742444494690162 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2906&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-5.11928948003593[/C][/ROW]
[ROW][C]beta[/C][C]1.74244449469016[/C][/ROW]
[ROW][C]S.D.[/C][C]1.46849197230226[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.18655363975767[/C][/ROW]
[ROW][C]p-value[/C][C]0.320807670735897[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.742444494690162[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2906&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2906&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-5.11928948003593
beta1.74244449469016
S.D.1.46849197230226
T-STAT1.18655363975767
p-value0.320807670735897
Lambda-0.742444494690162



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