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, 17 May 2010 14:55:48 +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/17/t1274108463klx9fiijayjeodg.htm/, Retrieved Sun, 05 May 2024 10:38:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=76081, Retrieved Sun, 05 May 2024 10:38:44 +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)
-       [Standard Deviation-Mean Plot] [Indicator van het...] [2010-05-17 14:55:48] [181f2439255053cc457d7672472fa443] [Current]
Feedback Forum

Post a new message
Dataseries X:
-15
-15
-10
-12
-11
-11
-17
-18
-19
-22
-24
-24
-20
-25
-22
-17
-9
-11
-13
-11
-9
-7
-3
-3
-6
-4
-8
-1
-2
-2
-1
1
2
2
-1
1
-1
-8
1
2
-2
-2
-2
-2
-6
-4
-5
-2
-1
-5
-9
-8
-14
-10
-11
-11
-11
-5
-2
-3
-6
-6
-7
-6
-2
-2
-4
0
-6
-4
-3
-1
-3




", sep = "") : subscript out of bounds Calls: table.element -> paste Execution halted
Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'George Udny Yule' @ 72.249.76.132
R Engine error message
Error in paste(mytable, x, "

\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 & 0 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
R Engine error message & 
Error in paste(mytable, x, "", sep = "") : subscript out of bounds
Calls: table.element -> paste
Execution halted
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=76081&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]0 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[ROW][C]R Engine error message[/C][C]
Error in paste(mytable, x, "[/C]", sep = "") : subscript out of bounds
Calls: table.element -> paste
Execution halted
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=76081&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76081&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

", sep = "") : subscript out of bounds Calls: table.element -> paste Execution halted
Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'George Udny Yule' @ 72.249.76.132
R Engine error message
Error in paste(mytable, x, "







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1-132.449489742783185
2-14.253.774917217635377
3-22.252.362907813126305
4-213.366501646120698
5-111.632993161855454
6-5.536
7-4.752.986078811194827
8-11.414213562373103
911.414213562373103
10-1.54.5092497528228910
11-200
12-4.251.707825127659934
13-5.753.593976442141308
14-11.51.732050807568884
15-5.254.031128874149279
16-6.250.51
17-21.632993161855454
18-3.52.081665999466135

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & -13 & 2.44948974278318 & 5 \tabularnewline
2 & -14.25 & 3.77491721763537 & 7 \tabularnewline
3 & -22.25 & 2.36290781312630 & 5 \tabularnewline
4 & -21 & 3.36650164612069 & 8 \tabularnewline
5 & -11 & 1.63299316185545 & 4 \tabularnewline
6 & -5.5 & 3 & 6 \tabularnewline
7 & -4.75 & 2.98607881119482 & 7 \tabularnewline
8 & -1 & 1.41421356237310 & 3 \tabularnewline
9 & 1 & 1.41421356237310 & 3 \tabularnewline
10 & -1.5 & 4.50924975282289 & 10 \tabularnewline
11 & -2 & 0 & 0 \tabularnewline
12 & -4.25 & 1.70782512765993 & 4 \tabularnewline
13 & -5.75 & 3.59397644214130 & 8 \tabularnewline
14 & -11.5 & 1.73205080756888 & 4 \tabularnewline
15 & -5.25 & 4.03112887414927 & 9 \tabularnewline
16 & -6.25 & 0.5 & 1 \tabularnewline
17 & -2 & 1.63299316185545 & 4 \tabularnewline
18 & -3.5 & 2.08166599946613 & 5 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76081&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]-13[/C][C]2.44948974278318[/C][C]5[/C][/ROW]
[ROW][C]2[/C][C]-14.25[/C][C]3.77491721763537[/C][C]7[/C][/ROW]
[ROW][C]3[/C][C]-22.25[/C][C]2.36290781312630[/C][C]5[/C][/ROW]
[ROW][C]4[/C][C]-21[/C][C]3.36650164612069[/C][C]8[/C][/ROW]
[ROW][C]5[/C][C]-11[/C][C]1.63299316185545[/C][C]4[/C][/ROW]
[ROW][C]6[/C][C]-5.5[/C][C]3[/C][C]6[/C][/ROW]
[ROW][C]7[/C][C]-4.75[/C][C]2.98607881119482[/C][C]7[/C][/ROW]
[ROW][C]8[/C][C]-1[/C][C]1.41421356237310[/C][C]3[/C][/ROW]
[ROW][C]9[/C][C]1[/C][C]1.41421356237310[/C][C]3[/C][/ROW]
[ROW][C]10[/C][C]-1.5[/C][C]4.50924975282289[/C][C]10[/C][/ROW]
[ROW][C]11[/C][C]-2[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]-4.25[/C][C]1.70782512765993[/C][C]4[/C][/ROW]
[ROW][C]13[/C][C]-5.75[/C][C]3.59397644214130[/C][C]8[/C][/ROW]
[ROW][C]14[/C][C]-11.5[/C][C]1.73205080756888[/C][C]4[/C][/ROW]
[ROW][C]15[/C][C]-5.25[/C][C]4.03112887414927[/C][C]9[/C][/ROW]
[ROW][C]16[/C][C]-6.25[/C][C]0.5[/C][C]1[/C][/ROW]
[ROW][C]17[/C][C]-2[/C][C]1.63299316185545[/C][C]4[/C][/ROW]
[ROW][C]18[/C][C]-3.5[/C][C]2.08166599946613[/C][C]5[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76081&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76081&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
1-132.449489742783185
2-14.253.774917217635377
3-22.252.362907813126305
4-213.366501646120698
5-111.632993161855454
6-5.536
7-4.752.986078811194827
8-11.414213562373103
911.414213562373103
10-1.54.5092497528228910
11-200
12-4.251.707825127659934
13-5.753.593976442141308
14-11.51.732050807568884
15-5.254.031128874149279
16-6.250.51
17-21.632993161855454
18-3.52.081665999466135







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha2.01745089111668
beta-0.0439333805086031
S.D.0.0444012317233301
T-STAT-0.989463102788628
p-value0.337165006785742

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 2.01745089111668 \tabularnewline
beta & -0.0439333805086031 \tabularnewline
S.D. & 0.0444012317233301 \tabularnewline
T-STAT & -0.989463102788628 \tabularnewline
p-value & 0.337165006785742 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76081&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]2.01745089111668[/C][/ROW]
[ROW][C]beta[/C][C]-0.0439333805086031[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0444012317233301[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.989463102788628[/C][/ROW]
[ROW][C]p-value[/C][C]0.337165006785742[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76081&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76081&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)
alpha2.01745089111668
beta-0.0439333805086031
S.D.0.0444012317233301
T-STAT-0.989463102788628
p-value0.337165006785742



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