Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationFri, 04 Dec 2009 11:21:41 -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/2009/Dec/04/t1259950951ok2gdy403tsyeh4.htm/, Retrieved Sat, 27 Apr 2024 17:23:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=64004, Retrieved Sat, 27 Apr 2024 17:23:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact153
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMP   [Standard Deviation-Mean Plot] [] [2009-11-27 14:40:44] [b98453cac15ba1066b407e146608df68]
-    D      [Standard Deviation-Mean Plot] [Stap 1 workshop 5] [2009-12-04 18:21:41] [865cd78857e928bd6e7d79509c6cdcc5] [Current]
- R PD        [Standard Deviation-Mean Plot] [] [2009-12-05 18:22:12] [6998f38352c0f6bc3cf32a17448703fc]
Feedback Forum

Post a new message
Dataseries X:
2916
2434
2540
2349
2310
2189
2660
2194
2419
2742
2137
2710
2173
2363
2126
1905
2121
1983
1734
2074
2049
2406
2558
2251
2059
2397
1747
1707
2319
1631
1627
1791
2034
1997
2169
2028
2253
2218
1855
2187
1852
1570
1851
1954
1828
2251
2277
2085
2282
2266
1878
2267
2069
1746
2299
2360
2214
2825
2355
2333
3016
2155
2172
2150
2533
2058
2160
2260
2498
2695
2799
2947
2930
2318
2540
2570
2669
2450
2842
3440
2678
2981
2260
2844
2546
2456
2295
2379
2479
2057
2280
2351
2276
2548
2311
2201
2725
2408
2139
1898
2537
2069
2063
2524
2437
2189
2793
2074
2622
2278
2144
2427
2139
1828
2072
1800
1758
2246
1987
1868
2514




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64004&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64004&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64004&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 time0 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
12466.66666666667248.912300486202779
22145.25226.874464687573824
31958.83333333333259.694517509019770
42015.08333333333228.126144662965707
52241.16666666667268.0111372629311079
62453.58333333333341.973273366457958
72710.16666666667325.4492931690631180
82348.25144.371443285588491
92321.33333333333288.482340197906895
102097.41666666667266.989090118724864

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 2466.66666666667 & 248.912300486202 & 779 \tabularnewline
2 & 2145.25 & 226.874464687573 & 824 \tabularnewline
3 & 1958.83333333333 & 259.694517509019 & 770 \tabularnewline
4 & 2015.08333333333 & 228.126144662965 & 707 \tabularnewline
5 & 2241.16666666667 & 268.011137262931 & 1079 \tabularnewline
6 & 2453.58333333333 & 341.973273366457 & 958 \tabularnewline
7 & 2710.16666666667 & 325.449293169063 & 1180 \tabularnewline
8 & 2348.25 & 144.371443285588 & 491 \tabularnewline
9 & 2321.33333333333 & 288.482340197906 & 895 \tabularnewline
10 & 2097.41666666667 & 266.989090118724 & 864 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64004&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]2466.66666666667[/C][C]248.912300486202[/C][C]779[/C][/ROW]
[ROW][C]2[/C][C]2145.25[/C][C]226.874464687573[/C][C]824[/C][/ROW]
[ROW][C]3[/C][C]1958.83333333333[/C][C]259.694517509019[/C][C]770[/C][/ROW]
[ROW][C]4[/C][C]2015.08333333333[/C][C]228.126144662965[/C][C]707[/C][/ROW]
[ROW][C]5[/C][C]2241.16666666667[/C][C]268.011137262931[/C][C]1079[/C][/ROW]
[ROW][C]6[/C][C]2453.58333333333[/C][C]341.973273366457[/C][C]958[/C][/ROW]
[ROW][C]7[/C][C]2710.16666666667[/C][C]325.449293169063[/C][C]1180[/C][/ROW]
[ROW][C]8[/C][C]2348.25[/C][C]144.371443285588[/C][C]491[/C][/ROW]
[ROW][C]9[/C][C]2321.33333333333[/C][C]288.482340197906[/C][C]895[/C][/ROW]
[ROW][C]10[/C][C]2097.41666666667[/C][C]266.989090118724[/C][C]864[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64004&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64004&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
12466.66666666667248.912300486202779
22145.25226.874464687573824
31958.83333333333259.694517509019770
42015.08333333333228.126144662965707
52241.16666666667268.0111372629311079
62453.58333333333341.973273366457958
72710.16666666667325.4492931690631180
82348.25144.371443285588491
92321.33333333333288.482340197906895
102097.41666666667266.989090118724864







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha47.5953976723255
beta0.0932838276201809
S.D.0.0777480678274462
T-STAT1.19982181199943
p-value0.264532547230925

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 47.5953976723255 \tabularnewline
beta & 0.0932838276201809 \tabularnewline
S.D. & 0.0777480678274462 \tabularnewline
T-STAT & 1.19982181199943 \tabularnewline
p-value & 0.264532547230925 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64004&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]47.5953976723255[/C][/ROW]
[ROW][C]beta[/C][C]0.0932838276201809[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0777480678274462[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.19982181199943[/C][/ROW]
[ROW][C]p-value[/C][C]0.264532547230925[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64004&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64004&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)
alpha47.5953976723255
beta0.0932838276201809
S.D.0.0777480678274462
T-STAT1.19982181199943
p-value0.264532547230925







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha0.441789411326433
beta0.65948307094916
S.D.0.806391982776343
T-STAT0.817819478659266
p-value0.437138348118483
Lambda0.34051692905084

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 0.441789411326433 \tabularnewline
beta & 0.65948307094916 \tabularnewline
S.D. & 0.806391982776343 \tabularnewline
T-STAT & 0.817819478659266 \tabularnewline
p-value & 0.437138348118483 \tabularnewline
Lambda & 0.34051692905084 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64004&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]0.441789411326433[/C][/ROW]
[ROW][C]beta[/C][C]0.65948307094916[/C][/ROW]
[ROW][C]S.D.[/C][C]0.806391982776343[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.817819478659266[/C][/ROW]
[ROW][C]p-value[/C][C]0.437138348118483[/C][/ROW]
[ROW][C]Lambda[/C][C]0.34051692905084[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64004&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64004&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)
alpha0.441789411326433
beta0.65948307094916
S.D.0.806391982776343
T-STAT0.817819478659266
p-value0.437138348118483
Lambda0.34051692905084



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