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, 22 Dec 2011 08:05:43 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/22/t1324559159moqosqcjefgt15q.htm/, Retrieved Fri, 03 May 2024 12:48:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=159402, Retrieved Fri, 03 May 2024 12:48:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact100
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Standard Deviation-Mean Plot] [Workshop 6: Stand...] [2010-12-17 15:18:44] [b9eaf9df71639055b3e2389f5099ca2c]
- R  D    [Standard Deviation-Mean Plot] [standaard deviatie] [2011-12-22 13:05:43] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
169498
125451
140449
141653
136394
167588
191807
149736
196066
239155
178421
139871
118159
109763
97415
119190
97903
96953
87888
84637
90549
95680
99371
79984
86752
85733
84906
78356
108895
101768
73285
65724
67457
67203
69273
80807
75129
74991
68157
73858
71349
85634
91624
116014
120033
108651
105378
138939
132974
135277
152741
158417
157460
193997
154089
147570
162924
153629
155907
197675
250708
266652
209842
165826
137152
150581
145973
126532
115437
119526
110856
97243
103876
116370
109616
98365
90440
88899
92358
88394
98219
113546
107168
77540
74944
75641
75910
87384
84615
80420
80784
79933
82118
91420
112426
114528
131025
116460
111258
155318
155078
134794
139985
198778
172436
169585
203702
282392
220658
194472
269246
215340
218319
195724
174614
172085
152347
189615
173804
145683
133550
121156
112040
120767
127019
136295
113425
107815
100298
97048
98750
98235
101254
139589
134921
80355
80396
82183
79709
90781




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159402&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
1164674.08333333332729.151508204113704
298124.333333333312296.37751042139206
380846.583333333313787.675692168943171
494146.416666666723170.163229535870782
515855519560.545158790764701
6158027.33333333355578.9794229524169409
798732.583333333311712.805420163338830
886676.916666666713421.37146804839584
9164234.2547307.4415194231171134
10193492.2534075.0719871847123563
11113866.513961.602952383439247

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 164674.083333333 & 32729.151508204 & 113704 \tabularnewline
2 & 98124.3333333333 & 12296.377510421 & 39206 \tabularnewline
3 & 80846.5833333333 & 13787.6756921689 & 43171 \tabularnewline
4 & 94146.4166666667 & 23170.1632295358 & 70782 \tabularnewline
5 & 158555 & 19560.5451587907 & 64701 \tabularnewline
6 & 158027.333333333 & 55578.9794229524 & 169409 \tabularnewline
7 & 98732.5833333333 & 11712.8054201633 & 38830 \tabularnewline
8 & 86676.9166666667 & 13421.371468048 & 39584 \tabularnewline
9 & 164234.25 & 47307.4415194231 & 171134 \tabularnewline
10 & 193492.25 & 34075.0719871847 & 123563 \tabularnewline
11 & 113866.5 & 13961.6029523834 & 39247 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159402&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]164674.083333333[/C][C]32729.151508204[/C][C]113704[/C][/ROW]
[ROW][C]2[/C][C]98124.3333333333[/C][C]12296.377510421[/C][C]39206[/C][/ROW]
[ROW][C]3[/C][C]80846.5833333333[/C][C]13787.6756921689[/C][C]43171[/C][/ROW]
[ROW][C]4[/C][C]94146.4166666667[/C][C]23170.1632295358[/C][C]70782[/C][/ROW]
[ROW][C]5[/C][C]158555[/C][C]19560.5451587907[/C][C]64701[/C][/ROW]
[ROW][C]6[/C][C]158027.333333333[/C][C]55578.9794229524[/C][C]169409[/C][/ROW]
[ROW][C]7[/C][C]98732.5833333333[/C][C]11712.8054201633[/C][C]38830[/C][/ROW]
[ROW][C]8[/C][C]86676.9166666667[/C][C]13421.371468048[/C][C]39584[/C][/ROW]
[ROW][C]9[/C][C]164234.25[/C][C]47307.4415194231[/C][C]171134[/C][/ROW]
[ROW][C]10[/C][C]193492.25[/C][C]34075.0719871847[/C][C]123563[/C][/ROW]
[ROW][C]11[/C][C]113866.5[/C][C]13961.6029523834[/C][C]39247[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159402&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159402&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
1164674.08333333332729.151508204113704
298124.333333333312296.37751042139206
380846.583333333313787.675692168943171
494146.416666666723170.163229535870782
515855519560.545158790764701
6158027.33333333355578.9794229524169409
798732.583333333311712.805420163338830
886676.916666666713421.37146804839584
9164234.2547307.4415194231171134
10193492.2534075.0719871847123563
11113866.513961.602952383439247







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-10728.2446629553
beta0.280302206560287
S.D.0.0873179829652117
T-STAT3.21013148771384
p-value0.0106566771438002

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -10728.2446629553 \tabularnewline
beta & 0.280302206560287 \tabularnewline
S.D. & 0.0873179829652117 \tabularnewline
T-STAT & 3.21013148771384 \tabularnewline
p-value & 0.0106566771438002 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159402&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-10728.2446629553[/C][/ROW]
[ROW][C]beta[/C][C]0.280302206560287[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0873179829652117[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.21013148771384[/C][/ROW]
[ROW][C]p-value[/C][C]0.0106566771438002[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159402&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159402&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-10728.2446629553
beta0.280302206560287
S.D.0.0873179829652117
T-STAT3.21013148771384
p-value0.0106566771438002







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-6.78880373283347
beta1.43133976145479
S.D.0.37144692869586
T-STAT3.85341660107457
p-value0.00388596472744325
Lambda-0.431339761454789

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -6.78880373283347 \tabularnewline
beta & 1.43133976145479 \tabularnewline
S.D. & 0.37144692869586 \tabularnewline
T-STAT & 3.85341660107457 \tabularnewline
p-value & 0.00388596472744325 \tabularnewline
Lambda & -0.431339761454789 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159402&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-6.78880373283347[/C][/ROW]
[ROW][C]beta[/C][C]1.43133976145479[/C][/ROW]
[ROW][C]S.D.[/C][C]0.37144692869586[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.85341660107457[/C][/ROW]
[ROW][C]p-value[/C][C]0.00388596472744325[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.431339761454789[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159402&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159402&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-6.78880373283347
beta1.43133976145479
S.D.0.37144692869586
T-STAT3.85341660107457
p-value0.00388596472744325
Lambda-0.431339761454789



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