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, 10 Aug 2016 20:47:41 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Aug/10/t1470858650b5dj3lzjghwlz25.htm/, Retrieved Tue, 30 Apr 2024 01:16:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=296241, Retrieved Tue, 30 Apr 2024 01:16:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact78
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2016-08-10 19:47:41] [409a9d71664281dd1fd3bb0995266dd0] [Current]
Feedback Forum

Post a new message
Dataseries X:
21571
21493
21422
21272
22747
22676
21571
20831
20909
20909
20980
21130
21051
21643
21864
21643
22455
21935
20759
20467
20467
20610
20026
20467
20097
20467
21051
21272
21792
21571
20246
19726
19506
19726
19363
19506
19064
19805
20168
20246
21643
21643
19805
19363
19363
19584
18622
18180
17668
17817
18480
17960
19363
19584
18180
17668
17375
17668
16855
16563
15388
15680
15751
15830
17226
17076
15388
14647
14355
14725
13322
12367
10601
10750
10750
10601
11854
11926
10451
10159
9568
10380
8905
8022
6333
6697
6255
6404
7509
7730
6996
6917
6917
7879
6184
5079
3163
4709
4488
4566
6333
6112
5300
5671
5671
6996
5450
4566
3163
5008
4859
4930
6476
6333
5813
5892
6255
7067
5813
4787




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.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 & 'Sir Ronald Aylmer Fisher' @ fisher.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296241&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]'Sir Ronald Aylmer Fisher' @ fisher.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296241&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296241&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'Sir Ronald Aylmer Fisher' @ fisher.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
121459.25642.4159124317011916
221115.5833333333763.8452316266612429
320360.25862.1609346709742429
419790.51049.197918758553463
517931.75889.6428420234923021
615146.251394.443657390424859
710330.58333333331101.81605941643904
86741.66666666667773.4585060661372800
95252.083333333331023.629234931313833
1055331042.562228358583904

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 21459.25 & 642.415912431701 & 1916 \tabularnewline
2 & 21115.5833333333 & 763.845231626661 & 2429 \tabularnewline
3 & 20360.25 & 862.160934670974 & 2429 \tabularnewline
4 & 19790.5 & 1049.19791875855 & 3463 \tabularnewline
5 & 17931.75 & 889.642842023492 & 3021 \tabularnewline
6 & 15146.25 & 1394.44365739042 & 4859 \tabularnewline
7 & 10330.5833333333 & 1101.8160594164 & 3904 \tabularnewline
8 & 6741.66666666667 & 773.458506066137 & 2800 \tabularnewline
9 & 5252.08333333333 & 1023.62923493131 & 3833 \tabularnewline
10 & 5533 & 1042.56222835858 & 3904 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296241&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]21459.25[/C][C]642.415912431701[/C][C]1916[/C][/ROW]
[ROW][C]2[/C][C]21115.5833333333[/C][C]763.845231626661[/C][C]2429[/C][/ROW]
[ROW][C]3[/C][C]20360.25[/C][C]862.160934670974[/C][C]2429[/C][/ROW]
[ROW][C]4[/C][C]19790.5[/C][C]1049.19791875855[/C][C]3463[/C][/ROW]
[ROW][C]5[/C][C]17931.75[/C][C]889.642842023492[/C][C]3021[/C][/ROW]
[ROW][C]6[/C][C]15146.25[/C][C]1394.44365739042[/C][C]4859[/C][/ROW]
[ROW][C]7[/C][C]10330.5833333333[/C][C]1101.8160594164[/C][C]3904[/C][/ROW]
[ROW][C]8[/C][C]6741.66666666667[/C][C]773.458506066137[/C][C]2800[/C][/ROW]
[ROW][C]9[/C][C]5252.08333333333[/C][C]1023.62923493131[/C][C]3833[/C][/ROW]
[ROW][C]10[/C][C]5533[/C][C]1042.56222835858[/C][C]3904[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296241&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296241&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
121459.25642.4159124317011916
221115.5833333333763.8452316266612429
320360.25862.1609346709742429
419790.51049.197918758553463
517931.75889.6428420234923021
615146.251394.443657390424859
710330.58333333331101.81605941643904
86741.66666666667773.4585060661372800
95252.083333333331023.629234931313833
1055331042.562228358583904







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha1096.22241100992
beta-0.00987778455930086
S.D.0.0107060577779604
T-STAT-0.92263508792521
p-value0.383179968004858

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 1096.22241100992 \tabularnewline
beta & -0.00987778455930086 \tabularnewline
S.D. & 0.0107060577779604 \tabularnewline
T-STAT & -0.92263508792521 \tabularnewline
p-value & 0.383179968004858 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296241&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]1096.22241100992[/C][/ROW]
[ROW][C]beta[/C][C]-0.00987778455930086[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0107060577779604[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.92263508792521[/C][/ROW]
[ROW][C]p-value[/C][C]0.383179968004858[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296241&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296241&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)
alpha1096.22241100992
beta-0.00987778455930086
S.D.0.0107060577779604
T-STAT-0.92263508792521
p-value0.383179968004858







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha7.83381240370045
beta-0.105414016004749
S.D.0.130868795597244
T-STAT-0.805493895803599
p-value0.443814994120461
Lambda1.10541401600475

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 7.83381240370045 \tabularnewline
beta & -0.105414016004749 \tabularnewline
S.D. & 0.130868795597244 \tabularnewline
T-STAT & -0.805493895803599 \tabularnewline
p-value & 0.443814994120461 \tabularnewline
Lambda & 1.10541401600475 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296241&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]7.83381240370045[/C][/ROW]
[ROW][C]beta[/C][C]-0.105414016004749[/C][/ROW]
[ROW][C]S.D.[/C][C]0.130868795597244[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.805493895803599[/C][/ROW]
[ROW][C]p-value[/C][C]0.443814994120461[/C][/ROW]
[ROW][C]Lambda[/C][C]1.10541401600475[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296241&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296241&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)
alpha7.83381240370045
beta-0.105414016004749
S.D.0.130868795597244
T-STAT-0.805493895803599
p-value0.443814994120461
Lambda1.10541401600475



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