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, 26 May 2010 22:27:55 +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/2010/May/27/t1274912921cy5hioysjm5th1y.htm/, Retrieved Thu, 02 May 2024 04:00:01 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=76584, Retrieved Thu, 02 May 2024 04:00:01 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact160
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Opgave8Oefening3M...] [2010-05-26 22:27:55] [52430d682409e27a0d0e07da361cea73] [Current]
Feedback Forum

Post a new message
Dataseries X:
23100
22650
22440
22910
22980
22535
22300
22780
22780
23300
23800
24510
24660
24730
25070
24690
24880
23920
23880
23990
24590
23610
23580
23360
23910
23940
23060
22800
23020
22890
22780
22530
22290
22820
22480
22110
22000
22230
22260
22590
22820
22420
22230
21600
21000
21360
21640
21450
21710
21620
21800
21490
21670
22130
22050
22050
22140
22390
22220
21790
21510
21670
21745
21850
22105
22050
21670
21680
21800
21920
21980
22270
21740
21950
22010
21890
21920
22110
22340
22210
22240
21960
22220
22060
22090
21960
21940
21790
21710
21690
21710
21670
21640
21500
21290
21250
21580
21670
21620
21510
21360
21420
21470
21370
21370
21340
21130
21130
20990
21240
21320
21430
21390
21530
21510
21630
21560
21610
21560
21310
21340
21410
21550
21380
21600
21530
21560
21670
21540
21540
21550
21590
21420
21420
21370
21380
21210
21505
21365
21385
21350
21360
21530
21380
21630
22145
22315
22340
22440
22135
21955
22060
22050
22035
22280
22315
22205
21970
22075
22115
22105
21885
21805
21910
21995
22245
22100
22130
22300
22915
23040
22880
23000
23160
23020
22770
22660
22740
22905
22720
22705
22735
22600
22510
22560
22575
22685
22980
23275
23845
23640
23640
23835
23625
24055
24005
24325
24445
24670
24615
24700
25065
25185
25220
25235
24975
25055
25520
25880
25960
25740
24965
25235
24895
24635
24835
24635
24695
25090
25220
24740
25005
24650
24460
24680
24840
24630
24490
24695




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 5 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76584&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76584&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76584&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 time5 seconds
R Server'George Udny Yule' @ 72.249.76.132







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
123007.0833333333622.8324535152210
224246.6666666667583.1627456197691710
322885.8333333333562.437201881781830
421966.6666666667552.569754269391820
521921.6666666667277.974273935012900
621854.1666666667218.640773596299760
722054.1666666667174.900404559714600
821686.6666666667252.022125050860840
921414.1666666667170.957641395508540
1021423.3333333333185.831464863551640
1121521.666666666796.3736415617818330
1221389.583333333380.2116046164862320
1322141.6666666667219.651928507286810
1422045133.075508299202440
1522842.5226.650511902035860
1622979.1666666667489.4191052728331335
1724478.75528.1275887510521595
1825244.1666666667435.4090727190471325
1924761.25234.609201168086760

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 23007.0833333333 & 622.832453515 & 2210 \tabularnewline
2 & 24246.6666666667 & 583.162745619769 & 1710 \tabularnewline
3 & 22885.8333333333 & 562.43720188178 & 1830 \tabularnewline
4 & 21966.6666666667 & 552.56975426939 & 1820 \tabularnewline
5 & 21921.6666666667 & 277.974273935012 & 900 \tabularnewline
6 & 21854.1666666667 & 218.640773596299 & 760 \tabularnewline
7 & 22054.1666666667 & 174.900404559714 & 600 \tabularnewline
8 & 21686.6666666667 & 252.022125050860 & 840 \tabularnewline
9 & 21414.1666666667 & 170.957641395508 & 540 \tabularnewline
10 & 21423.3333333333 & 185.831464863551 & 640 \tabularnewline
11 & 21521.6666666667 & 96.3736415617818 & 330 \tabularnewline
12 & 21389.5833333333 & 80.2116046164862 & 320 \tabularnewline
13 & 22141.6666666667 & 219.651928507286 & 810 \tabularnewline
14 & 22045 & 133.075508299202 & 440 \tabularnewline
15 & 22842.5 & 226.650511902035 & 860 \tabularnewline
16 & 22979.1666666667 & 489.419105272833 & 1335 \tabularnewline
17 & 24478.75 & 528.127588751052 & 1595 \tabularnewline
18 & 25244.1666666667 & 435.409072719047 & 1325 \tabularnewline
19 & 24761.25 & 234.609201168086 & 760 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76584&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]23007.0833333333[/C][C]622.832453515[/C][C]2210[/C][/ROW]
[ROW][C]2[/C][C]24246.6666666667[/C][C]583.162745619769[/C][C]1710[/C][/ROW]
[ROW][C]3[/C][C]22885.8333333333[/C][C]562.43720188178[/C][C]1830[/C][/ROW]
[ROW][C]4[/C][C]21966.6666666667[/C][C]552.56975426939[/C][C]1820[/C][/ROW]
[ROW][C]5[/C][C]21921.6666666667[/C][C]277.974273935012[/C][C]900[/C][/ROW]
[ROW][C]6[/C][C]21854.1666666667[/C][C]218.640773596299[/C][C]760[/C][/ROW]
[ROW][C]7[/C][C]22054.1666666667[/C][C]174.900404559714[/C][C]600[/C][/ROW]
[ROW][C]8[/C][C]21686.6666666667[/C][C]252.022125050860[/C][C]840[/C][/ROW]
[ROW][C]9[/C][C]21414.1666666667[/C][C]170.957641395508[/C][C]540[/C][/ROW]
[ROW][C]10[/C][C]21423.3333333333[/C][C]185.831464863551[/C][C]640[/C][/ROW]
[ROW][C]11[/C][C]21521.6666666667[/C][C]96.3736415617818[/C][C]330[/C][/ROW]
[ROW][C]12[/C][C]21389.5833333333[/C][C]80.2116046164862[/C][C]320[/C][/ROW]
[ROW][C]13[/C][C]22141.6666666667[/C][C]219.651928507286[/C][C]810[/C][/ROW]
[ROW][C]14[/C][C]22045[/C][C]133.075508299202[/C][C]440[/C][/ROW]
[ROW][C]15[/C][C]22842.5[/C][C]226.650511902035[/C][C]860[/C][/ROW]
[ROW][C]16[/C][C]22979.1666666667[/C][C]489.419105272833[/C][C]1335[/C][/ROW]
[ROW][C]17[/C][C]24478.75[/C][C]528.127588751052[/C][C]1595[/C][/ROW]
[ROW][C]18[/C][C]25244.1666666667[/C][C]435.409072719047[/C][C]1325[/C][/ROW]
[ROW][C]19[/C][C]24761.25[/C][C]234.609201168086[/C][C]760[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76584&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76584&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
123007.0833333333622.8324535152210
224246.6666666667583.1627456197691710
322885.8333333333562.437201881781830
421966.6666666667552.569754269391820
521921.6666666667277.974273935012900
621854.1666666667218.640773596299760
722054.1666666667174.900404559714600
821686.6666666667252.022125050860840
921414.1666666667170.957641395508540
1021423.3333333333185.831464863551640
1121521.666666666796.3736415617818330
1221389.583333333380.2116046164862320
1322141.6666666667219.651928507286810
1422045133.075508299202440
1522842.5226.650511902035860
1622979.1666666667489.4191052728331335
1724478.75528.1275887510521595
1825244.1666666667435.4090727190471325
1924761.25234.609201168086760







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-1616.21232496651
beta0.0854988483009517
S.D.0.0299616728572353
T-STAT2.85360729717416
p-value0.0109901767516229

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -1616.21232496651 \tabularnewline
beta & 0.0854988483009517 \tabularnewline
S.D. & 0.0299616728572353 \tabularnewline
T-STAT & 2.85360729717416 \tabularnewline
p-value & 0.0109901767516229 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76584&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-1616.21232496651[/C][/ROW]
[ROW][C]beta[/C][C]0.0854988483009517[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0299616728572353[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.85360729717416[/C][/ROW]
[ROW][C]p-value[/C][C]0.0109901767516229[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76584&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76584&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-1616.21232496651
beta0.0854988483009517
S.D.0.0299616728572353
T-STAT2.85360729717416
p-value0.0109901767516229







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-66.9280567252824
beta7.23324499729517
S.D.2.28815621861704
T-STAT3.16116746682049
p-value0.00570450094247352
Lambda-6.23324499729517

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -66.9280567252824 \tabularnewline
beta & 7.23324499729517 \tabularnewline
S.D. & 2.28815621861704 \tabularnewline
T-STAT & 3.16116746682049 \tabularnewline
p-value & 0.00570450094247352 \tabularnewline
Lambda & -6.23324499729517 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76584&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-66.9280567252824[/C][/ROW]
[ROW][C]beta[/C][C]7.23324499729517[/C][/ROW]
[ROW][C]S.D.[/C][C]2.28815621861704[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.16116746682049[/C][/ROW]
[ROW][C]p-value[/C][C]0.00570450094247352[/C][/ROW]
[ROW][C]Lambda[/C][C]-6.23324499729517[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76584&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76584&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-66.9280567252824
beta7.23324499729517
S.D.2.28815621861704
T-STAT3.16116746682049
p-value0.00570450094247352
Lambda-6.23324499729517



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