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 computationWed, 21 Jan 2015 08:18:04 +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/2015/Jan/21/t1421828304bs8qtwq0m6zh0ja.htm/, Retrieved Mon, 13 May 2024 22:23:52 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=275713, Retrieved Mon, 13 May 2024 22:23:52 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact73
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2015-01-21 08:18:04] [d0ee3c98d5e00815b38c7c808f1992f4] [Current]
Feedback Forum

Post a new message
Dataseries X:
67
72
74
62
56
66
65
59
61
69
74
69
66
68
58
64
66
57
68
62
59
73
61
61
57
58
57
67
81
79
76
78
74
67
84
85
79
82
87
90
87
93
92
82
80
79
77
72
65
73
76
77
76
76
76
75
78
73
80
77
83
84
85
81
84
83
83
88
92
92
89
82
73
81
91
80
81
82
84
87
85
74
81
82
86
85
82
86
88
86
83
81
81
81
82
86
85
87
89
90
90
92
86
86
82
80
79
77
79
76
78
78
77
72
75
79
81
86
88
97
94
96
94
91
92
93
93
87
84
80
78
75
73
81
76
77
71
71
78
67
76
68
82
64
71
81
69
63
70
77
75
76
68




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ jenkins.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 & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=275713&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]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=275713&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=275713&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'Gwilym Jenkins' @ jenkins.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
166.16666666666675.8283528521956318
263.58333333333334.7760450228830616
371.916666666666710.422513510607128
483.33333333333336.4713822232030121
575.16666666666673.7376057804023415
685.53.8019133938775411
781.754.9566300868817918
883.91666666666672.503028468705767
985.254.8076643355829615
1080.56.8157571446278425
1188.08333333333337.1408979997213421
1273.66666666666675.6300061897807618

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 66.1666666666667 & 5.82835285219563 & 18 \tabularnewline
2 & 63.5833333333333 & 4.77604502288306 & 16 \tabularnewline
3 & 71.9166666666667 & 10.4225135106071 & 28 \tabularnewline
4 & 83.3333333333333 & 6.47138222320301 & 21 \tabularnewline
5 & 75.1666666666667 & 3.73760578040234 & 15 \tabularnewline
6 & 85.5 & 3.80191339387754 & 11 \tabularnewline
7 & 81.75 & 4.95663008688179 & 18 \tabularnewline
8 & 83.9166666666667 & 2.50302846870576 & 7 \tabularnewline
9 & 85.25 & 4.80766433558296 & 15 \tabularnewline
10 & 80.5 & 6.81575714462784 & 25 \tabularnewline
11 & 88.0833333333333 & 7.14089799972134 & 21 \tabularnewline
12 & 73.6666666666667 & 5.63000618978076 & 18 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=275713&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]66.1666666666667[/C][C]5.82835285219563[/C][C]18[/C][/ROW]
[ROW][C]2[/C][C]63.5833333333333[/C][C]4.77604502288306[/C][C]16[/C][/ROW]
[ROW][C]3[/C][C]71.9166666666667[/C][C]10.4225135106071[/C][C]28[/C][/ROW]
[ROW][C]4[/C][C]83.3333333333333[/C][C]6.47138222320301[/C][C]21[/C][/ROW]
[ROW][C]5[/C][C]75.1666666666667[/C][C]3.73760578040234[/C][C]15[/C][/ROW]
[ROW][C]6[/C][C]85.5[/C][C]3.80191339387754[/C][C]11[/C][/ROW]
[ROW][C]7[/C][C]81.75[/C][C]4.95663008688179[/C][C]18[/C][/ROW]
[ROW][C]8[/C][C]83.9166666666667[/C][C]2.50302846870576[/C][C]7[/C][/ROW]
[ROW][C]9[/C][C]85.25[/C][C]4.80766433558296[/C][C]15[/C][/ROW]
[ROW][C]10[/C][C]80.5[/C][C]6.81575714462784[/C][C]25[/C][/ROW]
[ROW][C]11[/C][C]88.0833333333333[/C][C]7.14089799972134[/C][C]21[/C][/ROW]
[ROW][C]12[/C][C]73.6666666666667[/C][C]5.63000618978076[/C][C]18[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=275713&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=275713&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
166.16666666666675.8283528521956318
263.58333333333334.7760450228830616
371.916666666666710.422513510607128
483.33333333333336.4713822232030121
575.16666666666673.7376057804023415
685.53.8019133938775411
781.754.9566300868817918
883.91666666666672.503028468705767
985.254.8076643355829615
1080.56.8157571446278425
1188.08333333333337.1408979997213421
1273.66666666666675.6300061897807618







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha9.08900280341733
beta-0.0449240936970056
S.D.0.0794369739098963
T-STAT-0.565531282044582
p-value0.584177454346826

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 9.08900280341733 \tabularnewline
beta & -0.0449240936970056 \tabularnewline
S.D. & 0.0794369739098963 \tabularnewline
T-STAT & -0.565531282044582 \tabularnewline
p-value & 0.584177454346826 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=275713&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]9.08900280341733[/C][/ROW]
[ROW][C]beta[/C][C]-0.0449240936970056[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0794369739098963[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.565531282044582[/C][/ROW]
[ROW][C]p-value[/C][C]0.584177454346826[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=275713&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=275713&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)
alpha9.08900280341733
beta-0.0449240936970056
S.D.0.0794369739098963
T-STAT-0.565531282044582
p-value0.584177454346826







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha4.45993420102752
beta-0.643481158189701
S.D.1.07349720500145
T-STAT-0.599425089503451
p-value0.562223566808065
Lambda1.6434811581897

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 4.45993420102752 \tabularnewline
beta & -0.643481158189701 \tabularnewline
S.D. & 1.07349720500145 \tabularnewline
T-STAT & -0.599425089503451 \tabularnewline
p-value & 0.562223566808065 \tabularnewline
Lambda & 1.6434811581897 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=275713&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]4.45993420102752[/C][/ROW]
[ROW][C]beta[/C][C]-0.643481158189701[/C][/ROW]
[ROW][C]S.D.[/C][C]1.07349720500145[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.599425089503451[/C][/ROW]
[ROW][C]p-value[/C][C]0.562223566808065[/C][/ROW]
[ROW][C]Lambda[/C][C]1.6434811581897[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=275713&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=275713&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)
alpha4.45993420102752
beta-0.643481158189701
S.D.1.07349720500145
T-STAT-0.599425089503451
p-value0.562223566808065
Lambda1.6434811581897



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