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, 28 Nov 2007 03:43:04 -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/Nov/28/t1196246045r9wiwtkfv72vr4v.htm/, Retrieved Thu, 02 May 2024 11:43:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7002, Retrieved Thu, 02 May 2024 11:43:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsbridome
Estimated Impact202
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [workshop 3] [2007-11-28 10:43:04] [ff60737d3854dcb913eacf6907ce202b] [Current]
Feedback Forum

Post a new message
Dataseries X:
2863
2688
3041
3119
3102
4608
3466
3748
4541
3650
4274
3827
3778
3453
4160
3595
3914
4159
3676
3794
3446
3504
3958
3353
3480
3098
2944
3389
3497
4404
3849
3734
3060
3507
3287
3215
3764
2734
2837
2766
3851
3289
3848
3348
3682
4058
3655
3811
3341
3032
3475
3353
3186
3902
4164
3499
4145
3796
3711
3949
3740
3243
4407
4814
3908
5250
3937
4004
5560
3922
3759
4138
4634
3996
4307
4142
4429
5219
4929
5754
5591
4162
4947
5208
4754
4487
5719
5719
4994
6032
4897
5339
5571
4635
4733
5004
5322
4168
4633
4763
4252
4996
4261
4084
5084
4236




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7002&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
13577.25647.3904435220191745
23732.5275.1589623207911472
33455.33333333333401.5362167144251567
43470.25467.2278254867651292
53629.41666666667371.2895117225261062
64223.5671.5805644488642271
74776.5588.0719652930552288
85157502.9892462251872684

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 3577.25 & 647.390443522019 & 1745 \tabularnewline
2 & 3732.5 & 275.158962320791 & 1472 \tabularnewline
3 & 3455.33333333333 & 401.536216714425 & 1567 \tabularnewline
4 & 3470.25 & 467.227825486765 & 1292 \tabularnewline
5 & 3629.41666666667 & 371.289511722526 & 1062 \tabularnewline
6 & 4223.5 & 671.580564448864 & 2271 \tabularnewline
7 & 4776.5 & 588.071965293055 & 2288 \tabularnewline
8 & 5157 & 502.989246225187 & 2684 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7002&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]3577.25[/C][C]647.390443522019[/C][C]1745[/C][/ROW]
[ROW][C]2[/C][C]3732.5[/C][C]275.158962320791[/C][C]1472[/C][/ROW]
[ROW][C]3[/C][C]3455.33333333333[/C][C]401.536216714425[/C][C]1567[/C][/ROW]
[ROW][C]4[/C][C]3470.25[/C][C]467.227825486765[/C][C]1292[/C][/ROW]
[ROW][C]5[/C][C]3629.41666666667[/C][C]371.289511722526[/C][C]1062[/C][/ROW]
[ROW][C]6[/C][C]4223.5[/C][C]671.580564448864[/C][C]2271[/C][/ROW]
[ROW][C]7[/C][C]4776.5[/C][C]588.071965293055[/C][C]2288[/C][/ROW]
[ROW][C]8[/C][C]5157[/C][C]502.989246225187[/C][C]2684[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7002&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7002&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
13577.25647.3904435220191745
23732.5275.1589623207911472
33455.33333333333401.5362167144251567
43470.25467.2278254867651292
53629.41666666667371.2895117225261062
64223.5671.5805644488642271
74776.5588.0719652930552288
85157502.9892462251872684







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha183.421076757918
beta0.0767564583968798
S.D.0.0818035716884825
T-STAT0.938302042472881
p-value0.384306434159297

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 183.421076757918 \tabularnewline
beta & 0.0767564583968798 \tabularnewline
S.D. & 0.0818035716884825 \tabularnewline
T-STAT & 0.938302042472881 \tabularnewline
p-value & 0.384306434159297 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7002&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]183.421076757918[/C][/ROW]
[ROW][C]beta[/C][C]0.0767564583968798[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0818035716884825[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.938302042472881[/C][/ROW]
[ROW][C]p-value[/C][C]0.384306434159297[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7002&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7002&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)
alpha183.421076757918
beta0.0767564583968798
S.D.0.0818035716884825
T-STAT0.938302042472881
p-value0.384306434159297







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-0.0546326268914760
beta0.749845542200368
S.D.0.747397042481766
T-STAT1.00327603613532
p-value0.354458033436900
Lambda0.250154457799632

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -0.0546326268914760 \tabularnewline
beta & 0.749845542200368 \tabularnewline
S.D. & 0.747397042481766 \tabularnewline
T-STAT & 1.00327603613532 \tabularnewline
p-value & 0.354458033436900 \tabularnewline
Lambda & 0.250154457799632 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7002&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-0.0546326268914760[/C][/ROW]
[ROW][C]beta[/C][C]0.749845542200368[/C][/ROW]
[ROW][C]S.D.[/C][C]0.747397042481766[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.00327603613532[/C][/ROW]
[ROW][C]p-value[/C][C]0.354458033436900[/C][/ROW]
[ROW][C]Lambda[/C][C]0.250154457799632[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7002&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7002&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-0.0546326268914760
beta0.749845542200368
S.D.0.747397042481766
T-STAT1.00327603613532
p-value0.354458033436900
Lambda0.250154457799632



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