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, 14 Aug 2010 11:12:24 +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/2010/Aug/14/t12817843240r1hv8azm0j5pv1.htm/, Retrieved Mon, 06 May 2024 05:07:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=78781, Retrieved Mon, 06 May 2024 05:07:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsReuben Vermoet
Estimated Impact148
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [Tijdreeks 2 - sta...] [2010-08-14 11:12:24] [2c3906e099e396db093769aeca236bf5] [Current]
Feedback Forum

Post a new message
Dataseries X:
172
171
170
168
166
165
166
168
169
169
170
172
173
172
165
152
148
145
141
149
146
144
149
150
149
156
150
137
130
126
125
123
117
111
114
121
122
131
125
116
106
98
99
96
95
83
85
98
102
110
101
90
88
83
88
85
86
80
79
97
105
116
99
87
82
81
85
84
78
77
79
85
96
108
98
86
80
74
75
82
71
66
71
75




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=78781&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' @ 72.249.127.135







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1170.251.707825127659934
2166.251.258305739211793
31701.414213562373103
4165.59.6781540939719821
5145.753.593976442141308
6147.252.753785273643056
71487.9582242575422119
81262.943920288775957
9115.754.2720018726587710
10123.56.244997998398415
1199.754.3493294502333010
1290.257.3654599313281215
13100.758.2209083034256820
14862.449489742783185
1585.58.266397845091518
16101.7512.093386622447829
17831.825741858350554
1879.753.593976442141308
19979.0184995056457922
2077.753.862210075418828
2170.753.6855573979169

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 170.25 & 1.70782512765993 & 4 \tabularnewline
2 & 166.25 & 1.25830573921179 & 3 \tabularnewline
3 & 170 & 1.41421356237310 & 3 \tabularnewline
4 & 165.5 & 9.67815409397198 & 21 \tabularnewline
5 & 145.75 & 3.59397644214130 & 8 \tabularnewline
6 & 147.25 & 2.75378527364305 & 6 \tabularnewline
7 & 148 & 7.95822425754221 & 19 \tabularnewline
8 & 126 & 2.94392028877595 & 7 \tabularnewline
9 & 115.75 & 4.27200187265877 & 10 \tabularnewline
10 & 123.5 & 6.2449979983984 & 15 \tabularnewline
11 & 99.75 & 4.34932945023330 & 10 \tabularnewline
12 & 90.25 & 7.36545993132812 & 15 \tabularnewline
13 & 100.75 & 8.22090830342568 & 20 \tabularnewline
14 & 86 & 2.44948974278318 & 5 \tabularnewline
15 & 85.5 & 8.2663978450915 & 18 \tabularnewline
16 & 101.75 & 12.0933866224478 & 29 \tabularnewline
17 & 83 & 1.82574185835055 & 4 \tabularnewline
18 & 79.75 & 3.59397644214130 & 8 \tabularnewline
19 & 97 & 9.01849950564579 & 22 \tabularnewline
20 & 77.75 & 3.86221007541882 & 8 \tabularnewline
21 & 70.75 & 3.685557397916 & 9 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=78781&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]170.25[/C][C]1.70782512765993[/C][C]4[/C][/ROW]
[ROW][C]2[/C][C]166.25[/C][C]1.25830573921179[/C][C]3[/C][/ROW]
[ROW][C]3[/C][C]170[/C][C]1.41421356237310[/C][C]3[/C][/ROW]
[ROW][C]4[/C][C]165.5[/C][C]9.67815409397198[/C][C]21[/C][/ROW]
[ROW][C]5[/C][C]145.75[/C][C]3.59397644214130[/C][C]8[/C][/ROW]
[ROW][C]6[/C][C]147.25[/C][C]2.75378527364305[/C][C]6[/C][/ROW]
[ROW][C]7[/C][C]148[/C][C]7.95822425754221[/C][C]19[/C][/ROW]
[ROW][C]8[/C][C]126[/C][C]2.94392028877595[/C][C]7[/C][/ROW]
[ROW][C]9[/C][C]115.75[/C][C]4.27200187265877[/C][C]10[/C][/ROW]
[ROW][C]10[/C][C]123.5[/C][C]6.2449979983984[/C][C]15[/C][/ROW]
[ROW][C]11[/C][C]99.75[/C][C]4.34932945023330[/C][C]10[/C][/ROW]
[ROW][C]12[/C][C]90.25[/C][C]7.36545993132812[/C][C]15[/C][/ROW]
[ROW][C]13[/C][C]100.75[/C][C]8.22090830342568[/C][C]20[/C][/ROW]
[ROW][C]14[/C][C]86[/C][C]2.44948974278318[/C][C]5[/C][/ROW]
[ROW][C]15[/C][C]85.5[/C][C]8.2663978450915[/C][C]18[/C][/ROW]
[ROW][C]16[/C][C]101.75[/C][C]12.0933866224478[/C][C]29[/C][/ROW]
[ROW][C]17[/C][C]83[/C][C]1.82574185835055[/C][C]4[/C][/ROW]
[ROW][C]18[/C][C]79.75[/C][C]3.59397644214130[/C][C]8[/C][/ROW]
[ROW][C]19[/C][C]97[/C][C]9.01849950564579[/C][C]22[/C][/ROW]
[ROW][C]20[/C][C]77.75[/C][C]3.86221007541882[/C][C]8[/C][/ROW]
[ROW][C]21[/C][C]70.75[/C][C]3.685557397916[/C][C]9[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=78781&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=78781&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
1170.251.707825127659934
2166.251.258305739211793
31701.414213562373103
4165.59.6781540939719821
5145.753.593976442141308
6147.252.753785273643056
71487.9582242575422119
81262.943920288775957
9115.754.2720018726587710
10123.56.244997998398415
1199.754.3493294502333010
1290.257.3654599313281215
13100.758.2209083034256820
14862.449489742783185
1585.58.266397845091518
16101.7512.093386622447829
17831.825741858350554
1879.753.593976442141308
19979.0184995056457922
2077.753.862210075418828
2170.753.6855573979169







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha7.07166851478005
beta-0.0171184154169445
S.D.0.0206916812085742
T-STAT-0.827309064178455
p-value0.418331837846108

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 7.07166851478005 \tabularnewline
beta & -0.0171184154169445 \tabularnewline
S.D. & 0.0206916812085742 \tabularnewline
T-STAT & -0.827309064178455 \tabularnewline
p-value & 0.418331837846108 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=78781&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]7.07166851478005[/C][/ROW]
[ROW][C]beta[/C][C]-0.0171184154169445[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0206916812085742[/C][/ROW]
[ROW][C]T-STAT[/C][C]-0.827309064178455[/C][/ROW]
[ROW][C]p-value[/C][C]0.418331837846108[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=78781&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=78781&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)
alpha7.07166851478005
beta-0.0171184154169445
S.D.0.0206916812085742
T-STAT-0.827309064178455
p-value0.418331837846108







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha4.25203744849898
beta-0.599106176960662
S.D.0.510008102549603
T-STAT-1.17469933117855
p-value0.254627936706363
Lambda1.59910617696066

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 4.25203744849898 \tabularnewline
beta & -0.599106176960662 \tabularnewline
S.D. & 0.510008102549603 \tabularnewline
T-STAT & -1.17469933117855 \tabularnewline
p-value & 0.254627936706363 \tabularnewline
Lambda & 1.59910617696066 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=78781&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]4.25203744849898[/C][/ROW]
[ROW][C]beta[/C][C]-0.599106176960662[/C][/ROW]
[ROW][C]S.D.[/C][C]0.510008102549603[/C][/ROW]
[ROW][C]T-STAT[/C][C]-1.17469933117855[/C][/ROW]
[ROW][C]p-value[/C][C]0.254627936706363[/C][/ROW]
[ROW][C]Lambda[/C][C]1.59910617696066[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=78781&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=78781&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.25203744849898
beta-0.599106176960662
S.D.0.510008102549603
T-STAT-1.17469933117855
p-value0.254627936706363
Lambda1.59910617696066



Parameters (Session):
par1 = 4 ;
Parameters (R input):
par1 = 4 ;
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')