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 computationSat, 26 Nov 2016 19:44:40 +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/2016/Nov/26/t1480189496rfqg45shkplpoan.htm/, Retrieved Fri, 03 May 2024 17:35:38 +0200
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Fri, 03 May 2024 17:35:38 +0200
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact0
Dataseries X:
37729
48191
52498
57319
44377
48081
52597
53331
39587
46278
50365
57176
39251
47946
50427
54317
41210
50592
55728
59099
47519
53203
53882
55163
45255
50423
52161
54562
40971
48014
48440
44967
27218
30269
33234
36811
27745
31891
32398
34093
28358
29532
30769
32080
23951
34628
22978
35704
23090
22111
28925
35968
28963
34074
39160
51314
34527
40722
50609
52435




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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'Gertrude Mary Cox' @ cox.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
148934.258348.9399476819819590
249596.54182.87823553758954
348351.57372.0608832718317589
447985.256385.9706845031315066
551657.257793.8103379113217889
652441.753380.95108660277644
750600.253946.919421101319307
8455983450.66708526537469
9318834101.934746758749593
1031531.752694.372329504596348
1130184.751601.70937334673722
1229315.256781.7734836348912726
1327523.56382.9162875078813857
1438377.759576.3295117005422351
1544573.258445.8403321793117908

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 48934.25 & 8348.93994768198 & 19590 \tabularnewline
2 & 49596.5 & 4182.8782355375 & 8954 \tabularnewline
3 & 48351.5 & 7372.06088327183 & 17589 \tabularnewline
4 & 47985.25 & 6385.97068450313 & 15066 \tabularnewline
5 & 51657.25 & 7793.81033791132 & 17889 \tabularnewline
6 & 52441.75 & 3380.9510866027 & 7644 \tabularnewline
7 & 50600.25 & 3946.91942110131 & 9307 \tabularnewline
8 & 45598 & 3450.6670852653 & 7469 \tabularnewline
9 & 31883 & 4101.93474675874 & 9593 \tabularnewline
10 & 31531.75 & 2694.37232950459 & 6348 \tabularnewline
11 & 30184.75 & 1601.7093733467 & 3722 \tabularnewline
12 & 29315.25 & 6781.77348363489 & 12726 \tabularnewline
13 & 27523.5 & 6382.91628750788 & 13857 \tabularnewline
14 & 38377.75 & 9576.32951170054 & 22351 \tabularnewline
15 & 44573.25 & 8445.84033217931 & 17908 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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]48934.25[/C][C]8348.93994768198[/C][C]19590[/C][/ROW]
[ROW][C]2[/C][C]49596.5[/C][C]4182.8782355375[/C][C]8954[/C][/ROW]
[ROW][C]3[/C][C]48351.5[/C][C]7372.06088327183[/C][C]17589[/C][/ROW]
[ROW][C]4[/C][C]47985.25[/C][C]6385.97068450313[/C][C]15066[/C][/ROW]
[ROW][C]5[/C][C]51657.25[/C][C]7793.81033791132[/C][C]17889[/C][/ROW]
[ROW][C]6[/C][C]52441.75[/C][C]3380.9510866027[/C][C]7644[/C][/ROW]
[ROW][C]7[/C][C]50600.25[/C][C]3946.91942110131[/C][C]9307[/C][/ROW]
[ROW][C]8[/C][C]45598[/C][C]3450.6670852653[/C][C]7469[/C][/ROW]
[ROW][C]9[/C][C]31883[/C][C]4101.93474675874[/C][C]9593[/C][/ROW]
[ROW][C]10[/C][C]31531.75[/C][C]2694.37232950459[/C][C]6348[/C][/ROW]
[ROW][C]11[/C][C]30184.75[/C][C]1601.7093733467[/C][C]3722[/C][/ROW]
[ROW][C]12[/C][C]29315.25[/C][C]6781.77348363489[/C][C]12726[/C][/ROW]
[ROW][C]13[/C][C]27523.5[/C][C]6382.91628750788[/C][C]13857[/C][/ROW]
[ROW][C]14[/C][C]38377.75[/C][C]9576.32951170054[/C][C]22351[/C][/ROW]
[ROW][C]15[/C][C]44573.25[/C][C]8445.84033217931[/C][C]17908[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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
148934.258348.9399476819819590
249596.54182.87823553758954
348351.57372.0608832718317589
447985.256385.9706845031315066
551657.257793.8103379113217889
652441.753380.95108660277644
750600.253946.919421101319307
8455983450.66708526537469
9318834101.934746758749593
1031531.752694.372329504596348
1130184.751601.70937334673722
1229315.256781.7734836348912726
1327523.56382.9162875078813857
1438377.759576.3295117005422351
1544573.258445.8403321793117908







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha3564.51603860037
beta0.0492866693514035
S.D.0.071253713427782
T-STAT0.691706677173495
p-value0.501289022973977

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 3564.51603860037 \tabularnewline
beta & 0.0492866693514035 \tabularnewline
S.D. & 0.071253713427782 \tabularnewline
T-STAT & 0.691706677173495 \tabularnewline
p-value & 0.501289022973977 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]3564.51603860037[/C][/ROW]
[ROW][C]beta[/C][C]0.0492866693514035[/C][/ROW]
[ROW][C]S.D.[/C][C]0.071253713427782[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.691706677173495[/C][/ROW]
[ROW][C]p-value[/C][C]0.501289022973977[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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)
alpha3564.51603860037
beta0.0492866693514035
S.D.0.071253713427782
T-STAT0.691706677173495
p-value0.501289022973977







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha2.68433201085273
beta0.55048510801546
S.D.0.570307314472192
T-STAT0.965242938405801
p-value0.352036833130498
Lambda0.44951489198454

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 2.68433201085273 \tabularnewline
beta & 0.55048510801546 \tabularnewline
S.D. & 0.570307314472192 \tabularnewline
T-STAT & 0.965242938405801 \tabularnewline
p-value & 0.352036833130498 \tabularnewline
Lambda & 0.44951489198454 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]2.68433201085273[/C][/ROW]
[ROW][C]beta[/C][C]0.55048510801546[/C][/ROW]
[ROW][C]S.D.[/C][C]0.570307314472192[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.965242938405801[/C][/ROW]
[ROW][C]p-value[/C][C]0.352036833130498[/C][/ROW]
[ROW][C]Lambda[/C][C]0.44951489198454[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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)
alpha2.68433201085273
beta0.55048510801546
S.D.0.570307314472192
T-STAT0.965242938405801
p-value0.352036833130498
Lambda0.44951489198454



Parameters (Session):
par1 = 4 ;
Parameters (R input):
par1 = 4 ;
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')