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 computationMon, 09 May 2011 18:04:27 +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/2011/May/09/t13049640527eodap4ilo25o09.htm/, Retrieved Mon, 13 May 2024 23:28:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=121316, Retrieved Mon, 13 May 2024 23:28:54 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact125
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Mean Plot] [Frederik Degrave ...] [2011-04-04 14:59:22] [64e52674b90f84ba07b32b178b4772ef]
- RMP   [Blocked Bootstrap Plot - Central Tendency] [Opdracht 7 - Fred...] [2011-05-02 09:20:29] [64e52674b90f84ba07b32b178b4772ef]
- RMP       [Standard Deviation-Mean Plot] [Opdracht 8 - Fred...] [2011-05-09 18:04:27] [b6e5b195a2d43a03a9c0f98e6b736b5c] [Current]
Feedback Forum

Post a new message
Dataseries X:
335378
331533
318620
320838
326738
339196
336544
316150
309160
314901
313468
309914
306532
299149
288776
289441
293886
305957
305486
285179
280244
290616
292133
300414
306122
304198
300074
307836
313761
329573
327225
306307
316532
323953
327103
337606
344178
342892
344693
355072
372423
378519
379421
366121
367866
367980
370804
376126
377795
376740
372402
380575
387267
387820
389827
376911
377367
378670
385705
387495
386586
388884
384359
392058
384502
381903
382842
371551
369167
370861
378205
377632
376974
370490
364431
372720
375787
375021
374556
355178
352487
355996
353467
356427
354846




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' @ www.yougetit.org

\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' @ www.yougetit.org \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=121316&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' @ www.yougetit.org[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=121316&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121316&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' @ www.yougetit.org







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1322703.33333333310764.912703554630036
2294817.758642.592520608226288
3316690.83333333312114.029633845937532
4363841.2513614.167694821736529
5381547.8333333335739.0019378306817425
6380712.57346.3773323380922891
7365294.59913.812251784724487

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 322703.333333333 & 10764.9127035546 & 30036 \tabularnewline
2 & 294817.75 & 8642.5925206082 & 26288 \tabularnewline
3 & 316690.833333333 & 12114.0296338459 & 37532 \tabularnewline
4 & 363841.25 & 13614.1676948217 & 36529 \tabularnewline
5 & 381547.833333333 & 5739.00193783068 & 17425 \tabularnewline
6 & 380712.5 & 7346.37733233809 & 22891 \tabularnewline
7 & 365294.5 & 9913.8122517847 & 24487 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=121316&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]322703.333333333[/C][C]10764.9127035546[/C][C]30036[/C][/ROW]
[ROW][C]2[/C][C]294817.75[/C][C]8642.5925206082[/C][C]26288[/C][/ROW]
[ROW][C]3[/C][C]316690.833333333[/C][C]12114.0296338459[/C][C]37532[/C][/ROW]
[ROW][C]4[/C][C]363841.25[/C][C]13614.1676948217[/C][C]36529[/C][/ROW]
[ROW][C]5[/C][C]381547.833333333[/C][C]5739.00193783068[/C][C]17425[/C][/ROW]
[ROW][C]6[/C][C]380712.5[/C][C]7346.37733233809[/C][C]22891[/C][/ROW]
[ROW][C]7[/C][C]365294.5[/C][C]9913.8122517847[/C][C]24487[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=121316&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121316&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
1322703.33333333310764.912703554630036
2294817.758642.592520608226288
3316690.83333333312114.029633845937532
4363841.2513614.167694821736529
5381547.8333333335739.0019378306817425
6380712.57346.3773323380922891
7365294.59913.812251784724487







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha18910.0664098828
beta-0.0264822554981661
S.D.0.0332291118098764
T-STAT-0.796959474863092
p-value0.461624514621342

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 18910.0664098828 \tabularnewline
beta & -0.0264822554981661 \tabularnewline
S.D. & 0.0332291118098764 \tabularnewline
T-STAT & -0.796959474863092 \tabularnewline
p-value & 0.461624514621342 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=121316&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]18910.0664098828[/C][/ROW]
[ROW][C]beta[/C][C]-0.0264822554981661[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0332291118098764[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.796959474863092[/C][/ROW]
[ROW][C]p-value[/C][C]0.461624514621342[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=121316&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121316&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)
alpha18910.0664098828
beta-0.0264822554981661
S.D.0.0332291118098764
T-STAT-0.796959474863092
p-value0.461624514621342







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha23.1971161711385
beta-1.10186791439542
S.D.1.21151040210996
T-STAT-0.909499342701815
p-value0.404794859089378
Lambda2.10186791439542

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 23.1971161711385 \tabularnewline
beta & -1.10186791439542 \tabularnewline
S.D. & 1.21151040210996 \tabularnewline
T-STAT & -0.909499342701815 \tabularnewline
p-value & 0.404794859089378 \tabularnewline
Lambda & 2.10186791439542 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=121316&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]23.1971161711385[/C][/ROW]
[ROW][C]beta[/C][C]-1.10186791439542[/C][/ROW]
[ROW][C]S.D.[/C][C]1.21151040210996[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.909499342701815[/C][/ROW]
[ROW][C]p-value[/C][C]0.404794859089378[/C][/ROW]
[ROW][C]Lambda[/C][C]2.10186791439542[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=121316&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121316&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)
alpha23.1971161711385
beta-1.10186791439542
S.D.1.21151040210996
T-STAT-0.909499342701815
p-value0.404794859089378
Lambda2.10186791439542



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