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, 01 Dec 2007 04:14:13 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Dec/01/t1196507162flm4k4h286pvg2s.htm/, Retrieved Sun, 19 May 2024 17:45:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=2205, Retrieved Sun, 19 May 2024 17:45:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact221
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [standard deviatio...] [2007-12-01 11:14:13] [bd02e85be52eb1cb060a2c60779eb820] [Current]
Feedback Forum

Post a new message
Dataseries X:
33259
33250
32875
32424
31867
31871
33140
33555
33324
32358
31857
32101
32810
32057
31663
31325
31103
31012
32511
33677
32213
31635
31043
31303
31899
31384
30650
30400
30003
29896
31557
31883
30830
30354
29756
29934
30599
30378
29925
29471
29567
29419
30796
31475
31708
31917
30871
31512
32362
31928
31699
30363
30386
30364
32806
33423
33071
33888
34805
35489
37259
37722
38764
39594
40004
40715
44028
45564
44277
44976
45406
47379
49200
50221
51573
53091
53337
54978
57885
67099
67169
69796
70600
71982
73957
75273
76322
77078
77954
79238
82179
83834
83744
84861
86478
88290
90287
91230
92380
92506
94172
94728
96581
97344
98346
98214
98366
98768




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2205&T=0

[TABLE]
[ROW][C]Summary of compuational 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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2205&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2205&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 compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
132656.75645.3244603227972956
231862.6666666667822.2293788932333299
330712.1666666667790.675871222421974
430636.5899.3327324390922446
532548.66666666671705.684737647155922
642140.66666666673487.9970113971117960
759744.258831.7718506949341186
880767.33333333334732.9823258670356815
995243.53083.7544266099367938

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 32656.75 & 645.324460322797 & 2956 \tabularnewline
2 & 31862.6666666667 & 822.229378893233 & 3299 \tabularnewline
3 & 30712.1666666667 & 790.67587122242 & 1974 \tabularnewline
4 & 30636.5 & 899.332732439092 & 2446 \tabularnewline
5 & 32548.6666666667 & 1705.68473764715 & 5922 \tabularnewline
6 & 42140.6666666667 & 3487.99701139711 & 17960 \tabularnewline
7 & 59744.25 & 8831.77185069493 & 41186 \tabularnewline
8 & 80767.3333333333 & 4732.98232586703 & 56815 \tabularnewline
9 & 95243.5 & 3083.75442660993 & 67938 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2205&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]32656.75[/C][C]645.324460322797[/C][C]2956[/C][/ROW]
[ROW][C]2[/C][C]31862.6666666667[/C][C]822.229378893233[/C][C]3299[/C][/ROW]
[ROW][C]3[/C][C]30712.1666666667[/C][C]790.67587122242[/C][C]1974[/C][/ROW]
[ROW][C]4[/C][C]30636.5[/C][C]899.332732439092[/C][C]2446[/C][/ROW]
[ROW][C]5[/C][C]32548.6666666667[/C][C]1705.68473764715[/C][C]5922[/C][/ROW]
[ROW][C]6[/C][C]42140.6666666667[/C][C]3487.99701139711[/C][C]17960[/C][/ROW]
[ROW][C]7[/C][C]59744.25[/C][C]8831.77185069493[/C][C]41186[/C][/ROW]
[ROW][C]8[/C][C]80767.3333333333[/C][C]4732.98232586703[/C][C]56815[/C][/ROW]
[ROW][C]9[/C][C]95243.5[/C][C]3083.75442660993[/C][C]67938[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2205&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2205&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
132656.75645.3244603227972956
231862.6666666667822.2293788932333299
330712.1666666667790.675871222421974
430636.5899.3327324390922446
532548.66666666671705.684737647155922
642140.66666666673487.9970113971117960
759744.258831.7718506949341186
880767.33333333334732.9823258670356815
995243.53083.7544266099367938







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-177.603609018749
beta0.060961318495946
S.D.0.0345470518798238
T-STAT1.76458815380275
p-value0.120989002181705

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -177.603609018749 \tabularnewline
beta & 0.060961318495946 \tabularnewline
S.D. & 0.0345470518798238 \tabularnewline
T-STAT & 1.76458815380275 \tabularnewline
p-value & 0.120989002181705 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2205&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-177.603609018749[/C][/ROW]
[ROW][C]beta[/C][C]0.060961318495946[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0345470518798238[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.76458815380275[/C][/ROW]
[ROW][C]p-value[/C][C]0.120989002181705[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2205&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2205&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)
alpha-177.603609018749
beta0.060961318495946
S.D.0.0345470518798238
T-STAT1.76458815380275
p-value0.120989002181705







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-9.66899635241535
beta1.60932038891501
S.D.0.503384695755157
T-STAT3.19699903967238
p-value0.0151287550780124
Lambda-0.609320388915008

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -9.66899635241535 \tabularnewline
beta & 1.60932038891501 \tabularnewline
S.D. & 0.503384695755157 \tabularnewline
T-STAT & 3.19699903967238 \tabularnewline
p-value & 0.0151287550780124 \tabularnewline
Lambda & -0.609320388915008 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2205&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-9.66899635241535[/C][/ROW]
[ROW][C]beta[/C][C]1.60932038891501[/C][/ROW]
[ROW][C]S.D.[/C][C]0.503384695755157[/C][/ROW]
[ROW][C]T-STAT[/C][C]3.19699903967238[/C][/ROW]
[ROW][C]p-value[/C][C]0.0151287550780124[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.609320388915008[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2205&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2205&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)
alpha-9.66899635241535
beta1.60932038891501
S.D.0.503384695755157
T-STAT3.19699903967238
p-value0.0151287550780124
Lambda-0.609320388915008



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