Free Statistics

of Irreproducible Research!

Author's title

spreidingsmaten en gemidddelden- huur niet-sociale woningen- olivier bosier...

Author*Unverified author*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationTue, 18 Aug 2009 12:57:03 -0600
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/Aug/18/t12506218732ja24djtlps2720.htm/, Retrieved Mon, 06 May 2024 20:25:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=42872, Retrieved Mon, 06 May 2024 20:25:32 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact154
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [spreidingsmaten e...] [2009-08-18 18:57:03] [b8e5917cf12776624abfb4c0afd3dea9] [Current]
Feedback Forum

Post a new message
Dataseries X:
102.2
102.4
102.4
102.5
102.5
102.6
102.8
102.9
102.9
103.1
103.2
103.3
103.6
103.7
103.8
104
104
104.1
104.2
104.3
104.4
104.5
104.7
104.7
104.9
105
105.2
105.3
105.4
105.5
105.7
105.8
105.9
106
106.1
106.2
106.6
106.8
107
107.1
107.3
107.4
107.6
107.7
107.9
108.2
108.3
108.5
108.92
109.23
109.41
109.65
109.91
110.01
110.2
110.49
110.57
110.72
110.94
111.09
111.28
111.41
111.62
111.76
111.89
112.04
112.12
112.3
112.47
112.59
112.78
112.73
112.99
113.1
113.33
113.38
113.68
113.65
113.81
113.88
114.02
114.25
114.28
114.38
114.73
114.97
115.05
115.29
115.37
115.54
115.76
115.92
116.02
116.21
116.26
116.51




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=42872&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
1102.7333333333330.3524803884507951.09999999999999
2104.1666666666670.3676295896027911.10000000000001
3105.5833333333330.4323999271157391.30000000000000
4107.5333333333330.6095204274797961.90000000000001
5110.0950.6957598854359292.17
6112.08250.5058947968249381.5
7113.7291666666670.4616464277371001.39
8115.6358333333330.5667845242856381.78

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 102.733333333333 & 0.352480388450795 & 1.09999999999999 \tabularnewline
2 & 104.166666666667 & 0.367629589602791 & 1.10000000000001 \tabularnewline
3 & 105.583333333333 & 0.432399927115739 & 1.30000000000000 \tabularnewline
4 & 107.533333333333 & 0.609520427479796 & 1.90000000000001 \tabularnewline
5 & 110.095 & 0.695759885435929 & 2.17 \tabularnewline
6 & 112.0825 & 0.505894796824938 & 1.5 \tabularnewline
7 & 113.729166666667 & 0.461646427737100 & 1.39 \tabularnewline
8 & 115.635833333333 & 0.566784524285638 & 1.78 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=42872&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]102.733333333333[/C][C]0.352480388450795[/C][C]1.09999999999999[/C][/ROW]
[ROW][C]2[/C][C]104.166666666667[/C][C]0.367629589602791[/C][C]1.10000000000001[/C][/ROW]
[ROW][C]3[/C][C]105.583333333333[/C][C]0.432399927115739[/C][C]1.30000000000000[/C][/ROW]
[ROW][C]4[/C][C]107.533333333333[/C][C]0.609520427479796[/C][C]1.90000000000001[/C][/ROW]
[ROW][C]5[/C][C]110.095[/C][C]0.695759885435929[/C][C]2.17[/C][/ROW]
[ROW][C]6[/C][C]112.0825[/C][C]0.505894796824938[/C][C]1.5[/C][/ROW]
[ROW][C]7[/C][C]113.729166666667[/C][C]0.461646427737100[/C][C]1.39[/C][/ROW]
[ROW][C]8[/C][C]115.635833333333[/C][C]0.566784524285638[/C][C]1.78[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=42872&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=42872&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
1102.7333333333330.3524803884507951.09999999999999
2104.1666666666670.3676295896027911.10000000000001
3105.5833333333330.4323999271157391.30000000000000
4107.5333333333330.6095204274797961.90000000000001
5110.0950.6957598854359292.17
6112.08250.5058947968249381.5
7113.7291666666670.4616464277371001.39
8115.6358333333330.5667845242856381.78







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-1.01131866826703
beta0.0138632760404321
S.D.0.00875569768113579
T-STAT1.58334338910543
p-value0.164432379379736

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -1.01131866826703 \tabularnewline
beta & 0.0138632760404321 \tabularnewline
S.D. & 0.00875569768113579 \tabularnewline
T-STAT & 1.58334338910543 \tabularnewline
p-value & 0.164432379379736 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=42872&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-1.01131866826703[/C][/ROW]
[ROW][C]beta[/C][C]0.0138632760404321[/C][/ROW]
[ROW][C]S.D.[/C][C]0.00875569768113579[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.58334338910543[/C][/ROW]
[ROW][C]p-value[/C][C]0.164432379379736[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=42872&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=42872&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-1.01131866826703
beta0.0138632760404321
S.D.0.00875569768113579
T-STAT1.58334338910543
p-value0.164432379379736







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-16.6753178838980
beta3.40191289873326
S.D.1.80690126301843
T-STAT1.88273314561215
p-value0.108742187582751
Lambda-2.40191289873326

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -16.6753178838980 \tabularnewline
beta & 3.40191289873326 \tabularnewline
S.D. & 1.80690126301843 \tabularnewline
T-STAT & 1.88273314561215 \tabularnewline
p-value & 0.108742187582751 \tabularnewline
Lambda & -2.40191289873326 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=42872&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-16.6753178838980[/C][/ROW]
[ROW][C]beta[/C][C]3.40191289873326[/C][/ROW]
[ROW][C]S.D.[/C][C]1.80690126301843[/C][/ROW]
[ROW][C]T-STAT[/C][C]1.88273314561215[/C][/ROW]
[ROW][C]p-value[/C][C]0.108742187582751[/C][/ROW]
[ROW][C]Lambda[/C][C]-2.40191289873326[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=42872&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=42872&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-16.6753178838980
beta3.40191289873326
S.D.1.80690126301843
T-STAT1.88273314561215
p-value0.108742187582751
Lambda-2.40191289873326



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