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, 01 Dec 2010 18:37:06 +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/Dec/01/t1291228541kguv0zmb0drnm4d.htm/, Retrieved Sun, 05 May 2024 13:34:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104157, Retrieved Sun, 05 May 2024 13:34:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact163
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [opgave 8 oef 3 (d...] [2010-12-01 18:37:06] [3c84fba69796ffa9703fc49b6977555d] [Current]
Feedback Forum

Post a new message
Dataseries X:
102,8
106,3
103,7
106,9
104,3
105,4
96,2
95,7
95,9
93,6
94,7
94,5
96,6
96,7
98,9
102
105,2
106,4
99,3
96,4
93,1
95,6
93,3
96,7
105,6
105,2
107
104,9
104,5
105,2
99,7
100,2
98,5
98,4
97,1
98,4
100,6
111,3
119
117,8
108,8
109,3
103,5
103,7
110
105,5
110,4
106,7
110,2
105,2
108
108,1
107,2
106
99,4
100,2
100,3
100,8
99,5
100,2
103
111
120,5
109,5
106,6
105,5
103,9
104,9
104,8
99,6
97
95,4
99,3
103,9
107,4
107,4
111
113,2
108,5
113,3
113,8
105,3
107,5
109,4
118,9
119
115
124,1
120,5
117,7
117,1
118,1
119,6
118,8
124,9
124
124,9
121,7
121,6
125,1
127,9
129
130,1
130,3
127,9
124,1
125,7
129,2
129,2
132,6
131,5
131
125,8
127,2
127,3
127,5
122
118,4
118,3
115,5




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 2 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104157&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104157&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104157&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 time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
11005.2701561129197513.3
298.354.2553709377893113.3
3102.0583333333333.615235018975159.9
4108.8833333333335.494597897990918.4
5103.7583333333334.0502431651654810.8
6105.1416666666676.6718483650380325.1
7108.3333333333334.2576846745477514.5
8119.8083333333333.056277692444419.9
9126.4583333333333.057169913300198.70000000000002
10125.5255.6814090761807617.1

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 100 & 5.27015611291975 & 13.3 \tabularnewline
2 & 98.35 & 4.25537093778931 & 13.3 \tabularnewline
3 & 102.058333333333 & 3.61523501897515 & 9.9 \tabularnewline
4 & 108.883333333333 & 5.4945978979909 & 18.4 \tabularnewline
5 & 103.758333333333 & 4.05024316516548 & 10.8 \tabularnewline
6 & 105.141666666667 & 6.67184836503803 & 25.1 \tabularnewline
7 & 108.333333333333 & 4.25768467454775 & 14.5 \tabularnewline
8 & 119.808333333333 & 3.05627769244441 & 9.9 \tabularnewline
9 & 126.458333333333 & 3.05716991330019 & 8.70000000000002 \tabularnewline
10 & 125.525 & 5.68140907618076 & 17.1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104157&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]100[/C][C]5.27015611291975[/C][C]13.3[/C][/ROW]
[ROW][C]2[/C][C]98.35[/C][C]4.25537093778931[/C][C]13.3[/C][/ROW]
[ROW][C]3[/C][C]102.058333333333[/C][C]3.61523501897515[/C][C]9.9[/C][/ROW]
[ROW][C]4[/C][C]108.883333333333[/C][C]5.4945978979909[/C][C]18.4[/C][/ROW]
[ROW][C]5[/C][C]103.758333333333[/C][C]4.05024316516548[/C][C]10.8[/C][/ROW]
[ROW][C]6[/C][C]105.141666666667[/C][C]6.67184836503803[/C][C]25.1[/C][/ROW]
[ROW][C]7[/C][C]108.333333333333[/C][C]4.25768467454775[/C][C]14.5[/C][/ROW]
[ROW][C]8[/C][C]119.808333333333[/C][C]3.05627769244441[/C][C]9.9[/C][/ROW]
[ROW][C]9[/C][C]126.458333333333[/C][C]3.05716991330019[/C][C]8.70000000000002[/C][/ROW]
[ROW][C]10[/C][C]125.525[/C][C]5.68140907618076[/C][C]17.1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104157&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104157&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
11005.2701561129197513.3
298.354.2553709377893113.3
3102.0583333333333.615235018975159.9
4108.8833333333335.494597897990918.4
5103.7583333333334.0502431651654810.8
6105.1416666666676.6718483650380325.1
7108.3333333333334.2576846745477514.5
8119.8083333333333.056277692444419.9
9126.4583333333333.057169913300198.70000000000002
10125.5255.6814090761807617.1







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha7.44962977718351
beta-0.0264826218159456
S.D.0.0396912506813804
T-STAT-0.66721560448003
p-value0.523409640716254

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 7.44962977718351 \tabularnewline
beta & -0.0264826218159456 \tabularnewline
S.D. & 0.0396912506813804 \tabularnewline
T-STAT & -0.66721560448003 \tabularnewline
p-value & 0.523409640716254 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104157&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]7.44962977718351[/C][/ROW]
[ROW][C]beta[/C][C]-0.0264826218159456[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0396912506813804[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.66721560448003[/C][/ROW]
[ROW][C]p-value[/C][C]0.523409640716254[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104157&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104157&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)
alpha7.44962977718351
beta-0.0264826218159456
S.D.0.0396912506813804
T-STAT-0.66721560448003
p-value0.523409640716254







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha5.30487497935037
beta-0.814312172617032
S.D.0.973170528966017
T-STAT-0.83676205595974
p-value0.427012888531375
Lambda1.81431217261703

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 5.30487497935037 \tabularnewline
beta & -0.814312172617032 \tabularnewline
S.D. & 0.973170528966017 \tabularnewline
T-STAT & -0.83676205595974 \tabularnewline
p-value & 0.427012888531375 \tabularnewline
Lambda & 1.81431217261703 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104157&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]5.30487497935037[/C][/ROW]
[ROW][C]beta[/C][C]-0.814312172617032[/C][/ROW]
[ROW][C]S.D.[/C][C]0.973170528966017[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.83676205595974[/C][/ROW]
[ROW][C]p-value[/C][C]0.427012888531375[/C][/ROW]
[ROW][C]Lambda[/C][C]1.81431217261703[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104157&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104157&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)
alpha5.30487497935037
beta-0.814312172617032
S.D.0.973170528966017
T-STAT-0.83676205595974
p-value0.427012888531375
Lambda1.81431217261703



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