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 computationThu, 13 Aug 2015 12:40:44 +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/2015/Aug/13/t1439466098vt764wjxqtb79hg.htm/, Retrieved Thu, 16 May 2024 22:02:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=280044, Retrieved Thu, 16 May 2024 22:02:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact147
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2015-08-13 11:40:44] [70e23d918d09c907c02097a361cd6415] [Current]
Feedback Forum

Post a new message
Dataseries X:
209704.00
208923.00
208131.00
206492.00
222706.00
221848.00
209704.00
201630.00
202411.00
202411.00
203280.00
204842.00
207273.00
207273.00
205711.00
201630.00
222706.00
225918.00
221067.00
209704.00
214566.00
207273.00
210562.00
212135.00
213774.00
209704.00
210562.00
204842.00
222706.00
228349.00
223498.00
214566.00
224279.00
213774.00
223498.00
222706.00
225137.00
216205.00
225918.00
225137.00
239712.00
236423.00
223498.00
216986.00
225918.00
213774.00
222706.00
224279.00
227568.00
220286.00
224279.00
226710.00
235642.00
228349.00
218636.00
208131.00
217855.00
191125.00
204061.00
211343.00
218636.00
208131.00
208131.00
208131.00
213774.00
205711.00
195129.00
186274.00
192698.00
167618.00
182985.00
191917.00
193556.00
184624.00
185405.00
182985.00
191125.00
185405.00
174130.00
165979.00
179762.00
149831.00
169268.00
178123.00
178123.00
167618.00
157905.00
157124.00
165979.00
157905.00
142549.00
131967.00
143330.00
116611.00
140899.00
153824.00
157905.00
148973.00
137687.00
145761.00
148973.00
146542.00
122243.00
110968.00
119031.00
94743.00
119823.00
128755.00
136037.00
123893.00
112530.00
119031.00
122243.00
115819.00
91531.00
80949.00
90662.00
63943.00
93093.00
110968.00
















































































































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' @ wold.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\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' @ wold.wessa.net \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=280044&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' @ wold.wessa.net[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=280044&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=280044&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' @ wold.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1208506.8333333337065.9456786288221076
2212151.57497.443630998524288
3217688.1666666677354.0376891428423507
4224641.0833333337524.1585631440125938
5217832.08333333312390.48627307844517
6198261.2514772.786763166951018
7178349.41666666712148.800191102543725
8151152.83333333316932.697018884361512
9131783.66666666718907.627543754263162
10105058.2520925.529210751272094

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 208506.833333333 & 7065.94567862882 & 21076 \tabularnewline
2 & 212151.5 & 7497.4436309985 & 24288 \tabularnewline
3 & 217688.166666667 & 7354.03768914284 & 23507 \tabularnewline
4 & 224641.083333333 & 7524.15856314401 & 25938 \tabularnewline
5 & 217832.083333333 & 12390.486273078 & 44517 \tabularnewline
6 & 198261.25 & 14772.7867631669 & 51018 \tabularnewline
7 & 178349.416666667 & 12148.8001911025 & 43725 \tabularnewline
8 & 151152.833333333 & 16932.6970188843 & 61512 \tabularnewline
9 & 131783.666666667 & 18907.6275437542 & 63162 \tabularnewline
10 & 105058.25 & 20925.5292107512 & 72094 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=280044&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]208506.833333333[/C][C]7065.94567862882[/C][C]21076[/C][/ROW]
[ROW][C]2[/C][C]212151.5[/C][C]7497.4436309985[/C][C]24288[/C][/ROW]
[ROW][C]3[/C][C]217688.166666667[/C][C]7354.03768914284[/C][C]23507[/C][/ROW]
[ROW][C]4[/C][C]224641.083333333[/C][C]7524.15856314401[/C][C]25938[/C][/ROW]
[ROW][C]5[/C][C]217832.083333333[/C][C]12390.486273078[/C][C]44517[/C][/ROW]
[ROW][C]6[/C][C]198261.25[/C][C]14772.7867631669[/C][C]51018[/C][/ROW]
[ROW][C]7[/C][C]178349.416666667[/C][C]12148.8001911025[/C][C]43725[/C][/ROW]
[ROW][C]8[/C][C]151152.833333333[/C][C]16932.6970188843[/C][C]61512[/C][/ROW]
[ROW][C]9[/C][C]131783.666666667[/C][C]18907.6275437542[/C][C]63162[/C][/ROW]
[ROW][C]10[/C][C]105058.25[/C][C]20925.5292107512[/C][C]72094[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=280044&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=280044&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
1208506.8333333337065.9456786288221076
2212151.57497.443630998524288
3217688.1666666677354.0376891428423507
4224641.0833333337524.1585631440125938
5217832.08333333312390.48627307844517
6198261.2514772.786763166951018
7178349.41666666712148.800191102543725
8151152.83333333316932.697018884361512
9131783.66666666718907.627543754263162
10105058.2520925.529210751272094







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha33433.2668148062
beta-0.113151792219188
S.D.0.0185894327362385
T-STAT-6.08688784777213
p-value0.000293686871073615

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 33433.2668148062 \tabularnewline
beta & -0.113151792219188 \tabularnewline
S.D. & 0.0185894327362385 \tabularnewline
T-STAT & -6.08688784777213 \tabularnewline
p-value & 0.000293686871073615 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=280044&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]33433.2668148062[/C][/ROW]
[ROW][C]beta[/C][C]-0.113151792219188[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0185894327362385[/C][/ROW]
[ROW][C]T-STAT[/C][C]-6.08688784777213[/C][/ROW]
[ROW][C]p-value[/C][C]0.000293686871073615[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=280044&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=280044&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)
alpha33433.2668148062
beta-0.113151792219188
S.D.0.0185894327362385
T-STAT-6.08688784777213
p-value0.000293686871073615







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha26.1247283953905
beta-1.38589065989076
S.D.0.316605261909547
T-STAT-4.3773456307454
p-value0.00235715681397515
Lambda2.38589065989076

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 26.1247283953905 \tabularnewline
beta & -1.38589065989076 \tabularnewline
S.D. & 0.316605261909547 \tabularnewline
T-STAT & -4.3773456307454 \tabularnewline
p-value & 0.00235715681397515 \tabularnewline
Lambda & 2.38589065989076 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=280044&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]26.1247283953905[/C][/ROW]
[ROW][C]beta[/C][C]-1.38589065989076[/C][/ROW]
[ROW][C]S.D.[/C][C]0.316605261909547[/C][/ROW]
[ROW][C]T-STAT[/C][C]-4.3773456307454[/C][/ROW]
[ROW][C]p-value[/C][C]0.00235715681397515[/C][/ROW]
[ROW][C]Lambda[/C][C]2.38589065989076[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=280044&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=280044&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)
alpha26.1247283953905
beta-1.38589065989076
S.D.0.316605261909547
T-STAT-4.3773456307454
p-value0.00235715681397515
Lambda2.38589065989076



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