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 computationFri, 18 Mar 2016 09:28:05 +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/Mar/18/t1458293326z7ohmrx5l6shtz1.htm/, Retrieved Thu, 02 May 2024 04:20:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=294223, Retrieved Thu, 02 May 2024 04:20:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact116
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2016-03-18 09:28:05] [76c30f62b7052b57088120e90a652e05] [Current]
Feedback Forum

Post a new message
Dataseries X:
93166
93517
94547
95299
95121
95583
96138
96647
97311
97644
100299
101130
102239
103667
104494
105944
106956
109156
109528
109813
110939
112182
113137
114506
115197
116142
117478
118678
119808
121210
122372
123266
124020
124922
125863
126898
127522
128062
129630
130919
131175
133387
134512
135423
136395
137384
138344
139342
139885
140560
141457
144577
145505
146767
147602
148490
149516
150688
151012
151614
151779
152062
152432
153634
153989
155114
155448
155514
156552
157472
158928
154948
155178
155396
156479
157562
158255
159138
160067
161112
162009
162941
163463
165473
165805
166524
167426
168593
169452
170386
171281
171950
172842
173644
174380
175639
176169
176642
177225
178180
178771
180337
180740
181299
181768
182304
182670
183241
183106
183039
183447
184915
185144
185787
186243
186518
187156
186083
186350
187010
187057
187019
187487
188280
188756
189574
189996
190251
190925
191499
192172
191639




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=294223&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=294223&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294223&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
196366.83333333332445.563620976247964
2108546.753905.5628188288312267
3121321.1666666673875.9529698181911701
4133507.9166666674024.3156946996711820
5146472.754129.1122780260511729
6154822.6666666672185.516220830947149
7159756.0833333333326.704660999410295
8170660.1666666673180.724155206669834
9179945.52465.329389757087072
10185399.8333333331480.377521465594117
11189554.5833333331827.541491051615153

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 96366.8333333333 & 2445.56362097624 & 7964 \tabularnewline
2 & 108546.75 & 3905.56281882883 & 12267 \tabularnewline
3 & 121321.166666667 & 3875.95296981819 & 11701 \tabularnewline
4 & 133507.916666667 & 4024.31569469967 & 11820 \tabularnewline
5 & 146472.75 & 4129.11227802605 & 11729 \tabularnewline
6 & 154822.666666667 & 2185.51622083094 & 7149 \tabularnewline
7 & 159756.083333333 & 3326.7046609994 & 10295 \tabularnewline
8 & 170660.166666667 & 3180.72415520666 & 9834 \tabularnewline
9 & 179945.5 & 2465.32938975708 & 7072 \tabularnewline
10 & 185399.833333333 & 1480.37752146559 & 4117 \tabularnewline
11 & 189554.583333333 & 1827.54149105161 & 5153 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294223&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]96366.8333333333[/C][C]2445.56362097624[/C][C]7964[/C][/ROW]
[ROW][C]2[/C][C]108546.75[/C][C]3905.56281882883[/C][C]12267[/C][/ROW]
[ROW][C]3[/C][C]121321.166666667[/C][C]3875.95296981819[/C][C]11701[/C][/ROW]
[ROW][C]4[/C][C]133507.916666667[/C][C]4024.31569469967[/C][C]11820[/C][/ROW]
[ROW][C]5[/C][C]146472.75[/C][C]4129.11227802605[/C][C]11729[/C][/ROW]
[ROW][C]6[/C][C]154822.666666667[/C][C]2185.51622083094[/C][C]7149[/C][/ROW]
[ROW][C]7[/C][C]159756.083333333[/C][C]3326.7046609994[/C][C]10295[/C][/ROW]
[ROW][C]8[/C][C]170660.166666667[/C][C]3180.72415520666[/C][C]9834[/C][/ROW]
[ROW][C]9[/C][C]179945.5[/C][C]2465.32938975708[/C][C]7072[/C][/ROW]
[ROW][C]10[/C][C]185399.833333333[/C][C]1480.37752146559[/C][C]4117[/C][/ROW]
[ROW][C]11[/C][C]189554.583333333[/C][C]1827.54149105161[/C][C]5153[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294223&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294223&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
196366.83333333332445.563620976247964
2108546.753905.5628188288312267
3121321.1666666673875.9529698181911701
4133507.9166666674024.3156946996711820
5146472.754129.1122780260511729
6154822.6666666672185.516220830947149
7159756.0833333333326.704660999410295
8170660.1666666673180.724155206669834
9179945.52465.329389757087072
10185399.8333333331480.377521465594117
11189554.5833333331827.541491051615153







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha5496.06661065883
beta-0.0167704076419683
S.D.0.00830838563933006
T-STAT-2.01849172269771
p-value0.0743027135410904

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 5496.06661065883 \tabularnewline
beta & -0.0167704076419683 \tabularnewline
S.D. & 0.00830838563933006 \tabularnewline
T-STAT & -2.01849172269771 \tabularnewline
p-value & 0.0743027135410904 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294223&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]5496.06661065883[/C][/ROW]
[ROW][C]beta[/C][C]-0.0167704076419683[/C][/ROW]
[ROW][C]S.D.[/C][C]0.00830838563933006[/C][/ROW]
[ROW][C]T-STAT[/C][C]-2.01849172269771[/C][/ROW]
[ROW][C]p-value[/C][C]0.0743027135410904[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294223&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294223&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)
alpha5496.06661065883
beta-0.0167704076419683
S.D.0.00830838563933006
T-STAT-2.01849172269771
p-value0.0743027135410904







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha17.4076267164349
beta-0.795182724130218
S.D.0.445481424970304
T-STAT-1.78499636473782
p-value0.107921113688047
Lambda1.79518272413022

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 17.4076267164349 \tabularnewline
beta & -0.795182724130218 \tabularnewline
S.D. & 0.445481424970304 \tabularnewline
T-STAT & -1.78499636473782 \tabularnewline
p-value & 0.107921113688047 \tabularnewline
Lambda & 1.79518272413022 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294223&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]17.4076267164349[/C][/ROW]
[ROW][C]beta[/C][C]-0.795182724130218[/C][/ROW]
[ROW][C]S.D.[/C][C]0.445481424970304[/C][/ROW]
[ROW][C]T-STAT[/C][C]-1.78499636473782[/C][/ROW]
[ROW][C]p-value[/C][C]0.107921113688047[/C][/ROW]
[ROW][C]Lambda[/C][C]1.79518272413022[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294223&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294223&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)
alpha17.4076267164349
beta-0.795182724130218
S.D.0.445481424970304
T-STAT-1.78499636473782
p-value0.107921113688047
Lambda1.79518272413022



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