Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_variancereduction.wasp
Title produced by softwareVariance Reduction Matrix
Date of computationTue, 16 Dec 2014 22:46:29 +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/2014/Dec/16/t1418770190784d2lgvmw1bf41.htm/, Retrieved Thu, 31 Oct 2024 23:04:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=269966, Retrieved Thu, 31 Oct 2024 23:04:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact101
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [] [2014-12-16 22:46:29] [578aae52f3152e8435e37fe3b2f57a45] [Current]
Feedback Forum

Post a new message
Dataseries X:
387.35
316.17
283.48
280.57
266.03
273.23
265.68
266.23
257.77
269.87
287.53
285.9
325.87
302.25
294
285.43
286.19
276.7
267.77
267.03
257.87
257.19
275.6
305.68
358.06
320.07
295.9
291.27
272.87
269.27
271.32
267.45
260.33
277.94
277.07
312.65
319.71
318.39
304.9
303.73
273.29
274.33
270.45
278.23
274.03
279
287.5
336.87
334.1
296.07
286.84
277.63
261.32
264.07
261.94
252.84
257.83
271.16
273.63
304.87
323.9
336.11
335.65
282.23
273.03
270.07
246.03
242.35
250.33
267.45
268.8
302.68
313.1
306.39
305.61
277.27
264.94
268.63
293.9
248.65
256
258.52
266.9
281.23
306
325.46
291.13
282.53
256.52
258.63
252.74
245.16
255.03
268.35
293.73
278.39




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=269966&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'George Udny Yule' @ yule.wessa.net







Variance Reduction Matrix
V(Y[t],d=0,D=0)696.091Range145Trim Var.404.175
V(Y[t],d=1,D=0)407.362Range123.56Trim Var.194.074
V(Y[t],d=2,D=0)640.948Range142.97Trim Var.323.059
V(Y[t],d=3,D=0)1786.33Range235.79Trim Var.867.959
V(Y[t],d=0,D=1)326.704Range110.29Trim Var.139.873
V(Y[t],d=1,D=1)379.711Range95.56Trim Var.180.09
V(Y[t],d=2,D=1)871.441Range172.87Trim Var.456.848
V(Y[t],d=3,D=1)2650.75Range266.35Trim Var.1286.41
V(Y[t],d=0,D=2)1018.5Range182.7Trim Var.430.322
V(Y[t],d=1,D=2)1095Range167.42Trim Var.522.408
V(Y[t],d=2,D=2)2396.29Range277.92Trim Var.1286.19
V(Y[t],d=3,D=2)7112.53Range467.75Trim Var.3704.53

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 696.091 & Range & 145 & Trim Var. & 404.175 \tabularnewline
V(Y[t],d=1,D=0) & 407.362 & Range & 123.56 & Trim Var. & 194.074 \tabularnewline
V(Y[t],d=2,D=0) & 640.948 & Range & 142.97 & Trim Var. & 323.059 \tabularnewline
V(Y[t],d=3,D=0) & 1786.33 & Range & 235.79 & Trim Var. & 867.959 \tabularnewline
V(Y[t],d=0,D=1) & 326.704 & Range & 110.29 & Trim Var. & 139.873 \tabularnewline
V(Y[t],d=1,D=1) & 379.711 & Range & 95.56 & Trim Var. & 180.09 \tabularnewline
V(Y[t],d=2,D=1) & 871.441 & Range & 172.87 & Trim Var. & 456.848 \tabularnewline
V(Y[t],d=3,D=1) & 2650.75 & Range & 266.35 & Trim Var. & 1286.41 \tabularnewline
V(Y[t],d=0,D=2) & 1018.5 & Range & 182.7 & Trim Var. & 430.322 \tabularnewline
V(Y[t],d=1,D=2) & 1095 & Range & 167.42 & Trim Var. & 522.408 \tabularnewline
V(Y[t],d=2,D=2) & 2396.29 & Range & 277.92 & Trim Var. & 1286.19 \tabularnewline
V(Y[t],d=3,D=2) & 7112.53 & Range & 467.75 & Trim Var. & 3704.53 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=269966&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]696.091[/C][C]Range[/C][C]145[/C][C]Trim Var.[/C][C]404.175[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]407.362[/C][C]Range[/C][C]123.56[/C][C]Trim Var.[/C][C]194.074[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]640.948[/C][C]Range[/C][C]142.97[/C][C]Trim Var.[/C][C]323.059[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]1786.33[/C][C]Range[/C][C]235.79[/C][C]Trim Var.[/C][C]867.959[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]326.704[/C][C]Range[/C][C]110.29[/C][C]Trim Var.[/C][C]139.873[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]379.711[/C][C]Range[/C][C]95.56[/C][C]Trim Var.[/C][C]180.09[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]871.441[/C][C]Range[/C][C]172.87[/C][C]Trim Var.[/C][C]456.848[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]2650.75[/C][C]Range[/C][C]266.35[/C][C]Trim Var.[/C][C]1286.41[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]1018.5[/C][C]Range[/C][C]182.7[/C][C]Trim Var.[/C][C]430.322[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]1095[/C][C]Range[/C][C]167.42[/C][C]Trim Var.[/C][C]522.408[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]2396.29[/C][C]Range[/C][C]277.92[/C][C]Trim Var.[/C][C]1286.19[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]7112.53[/C][C]Range[/C][C]467.75[/C][C]Trim Var.[/C][C]3704.53[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=269966&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=269966&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Variance Reduction Matrix
V(Y[t],d=0,D=0)696.091Range145Trim Var.404.175
V(Y[t],d=1,D=0)407.362Range123.56Trim Var.194.074
V(Y[t],d=2,D=0)640.948Range142.97Trim Var.323.059
V(Y[t],d=3,D=0)1786.33Range235.79Trim Var.867.959
V(Y[t],d=0,D=1)326.704Range110.29Trim Var.139.873
V(Y[t],d=1,D=1)379.711Range95.56Trim Var.180.09
V(Y[t],d=2,D=1)871.441Range172.87Trim Var.456.848
V(Y[t],d=3,D=1)2650.75Range266.35Trim Var.1286.41
V(Y[t],d=0,D=2)1018.5Range182.7Trim Var.430.322
V(Y[t],d=1,D=2)1095Range167.42Trim Var.522.408
V(Y[t],d=2,D=2)2396.29Range277.92Trim Var.1286.19
V(Y[t],d=3,D=2)7112.53Range467.75Trim Var.3704.53



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)
sx <- sort(x)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Variance Reduction Matrix',6,TRUE)
a<-table.row.end(a)
for (bigd in 0:2) {
for (smalld in 0:3) {
mylabel <- 'V(Y[t],d='
mylabel <- paste(mylabel,as.character(smalld),sep='')
mylabel <- paste(mylabel,',D=',sep='')
mylabel <- paste(mylabel,as.character(bigd),sep='')
mylabel <- paste(mylabel,')',sep='')
a<-table.row.start(a)
a<-table.element(a,mylabel,header=TRUE)
myx <- x
if (smalld > 0) myx <- diff(myx,lag=1,differences=smalld)
if (bigd > 0) myx <- diff(myx,lag=par1,differences=bigd)
a<-table.element(a,signif(var(myx), digits=6))
a<-table.element(a,'Range',header=TRUE)
a<-table.element(a,signif(max(myx)-min(myx), digits=6))
a<-table.element(a,'Trim Var.',header=TRUE)
smyx <- sort(myx)
sn <- length(smyx)
a<-table.element(a,signif(var(smyx[smyx>quantile(smyx,0.05) & smyxa<-table.row.end(a)
}
}
a<-table.end(a)
table.save(a,file='mytable.tab')
bitmap(file='pic0.png')
op <- par(mfrow=c(2,2))
plot(x,type='l',xlab='time',ylab='value',main='d=0, D=0')
plot(diff(x,lag=1,differences=1),type='l',xlab='time',ylab='value',main='d=1, D=0')
plot(diff(x,lag=par1,differences=1),type='l',xlab='time',ylab='value',main='d=0, D=1')
plot(diff(diff(x,lag=1,differences=1),lag=par1,differences=1),type='l',xlab='time',ylab='value',main='d=1, D=1')
par(op)
dev.off()