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 computationSun, 18 Dec 2016 17:32:04 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Dec/18/t14820787407rhbldqa4fqyvf7.htm/, Retrieved Fri, 01 Nov 2024 03:35:10 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=301167, Retrieved Fri, 01 Nov 2024 03:35:10 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact80
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [N1030 Variance] [2016-12-18 16:32:04] [2e11ca31a00cf8de75c33c1af2d59434] [Current]
Feedback Forum

Post a new message
Dataseries X:
3203.4
3248.4
3446.2
3448.6
3535
3586.8
3722.4
3796.6
3755
3654.4
3485.2
3348.6
3177
3207.2
3236.2
3358.8
3436
3563.2
3588.8
3645.4
3801.2
3856.2
4056.4
3894.4
3844.4
3712.2
3765.4
3874.8
3777
3879.2
3879
4043.2
4118.8
4103.2
4188.8
4496.6
4646
4710
4713
4440
4498.2
4266.6
4253.4
4133.2




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time0 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=301167&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]0 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=301167&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301167&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R ServerBig Analytics Cloud Computing Center







Variance Reduction Matrix
V(Y[t],d=0,D=0)177642Range1536Trim Var.113383
V(Y[t],d=1,D=0)15296.6Range580.8Trim Var.8586.17
V(Y[t],d=2,D=0)23404.3Range693.4Trim Var.13203.2
V(Y[t],d=3,D=0)74641.6Range1228.2Trim Var.39536
V(Y[t],d=0,D=1)108219Range1207.8Trim Var.73975.7
V(Y[t],d=1,D=1)34522.4Range852.2Trim Var.16203.4
V(Y[t],d=2,D=1)67431.1Range1074.2Trim Var.36833.5
V(Y[t],d=3,D=1)222114Range1898.8Trim Var.125687
V(Y[t],d=0,D=2)98922.8Range1178Trim Var.67554
V(Y[t],d=1,D=2)73739.4Range979.2Trim Var.52518.2
V(Y[t],d=2,D=2)184993Range1619Trim Var.117248
V(Y[t],d=3,D=2)611014Range2633.6Trim Var.450383

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 177642 & Range & 1536 & Trim Var. & 113383 \tabularnewline
V(Y[t],d=1,D=0) & 15296.6 & Range & 580.8 & Trim Var. & 8586.17 \tabularnewline
V(Y[t],d=2,D=0) & 23404.3 & Range & 693.4 & Trim Var. & 13203.2 \tabularnewline
V(Y[t],d=3,D=0) & 74641.6 & Range & 1228.2 & Trim Var. & 39536 \tabularnewline
V(Y[t],d=0,D=1) & 108219 & Range & 1207.8 & Trim Var. & 73975.7 \tabularnewline
V(Y[t],d=1,D=1) & 34522.4 & Range & 852.2 & Trim Var. & 16203.4 \tabularnewline
V(Y[t],d=2,D=1) & 67431.1 & Range & 1074.2 & Trim Var. & 36833.5 \tabularnewline
V(Y[t],d=3,D=1) & 222114 & Range & 1898.8 & Trim Var. & 125687 \tabularnewline
V(Y[t],d=0,D=2) & 98922.8 & Range & 1178 & Trim Var. & 67554 \tabularnewline
V(Y[t],d=1,D=2) & 73739.4 & Range & 979.2 & Trim Var. & 52518.2 \tabularnewline
V(Y[t],d=2,D=2) & 184993 & Range & 1619 & Trim Var. & 117248 \tabularnewline
V(Y[t],d=3,D=2) & 611014 & Range & 2633.6 & Trim Var. & 450383 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=301167&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]177642[/C][C]Range[/C][C]1536[/C][C]Trim Var.[/C][C]113383[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]15296.6[/C][C]Range[/C][C]580.8[/C][C]Trim Var.[/C][C]8586.17[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]23404.3[/C][C]Range[/C][C]693.4[/C][C]Trim Var.[/C][C]13203.2[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]74641.6[/C][C]Range[/C][C]1228.2[/C][C]Trim Var.[/C][C]39536[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]108219[/C][C]Range[/C][C]1207.8[/C][C]Trim Var.[/C][C]73975.7[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]34522.4[/C][C]Range[/C][C]852.2[/C][C]Trim Var.[/C][C]16203.4[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]67431.1[/C][C]Range[/C][C]1074.2[/C][C]Trim Var.[/C][C]36833.5[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]222114[/C][C]Range[/C][C]1898.8[/C][C]Trim Var.[/C][C]125687[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]98922.8[/C][C]Range[/C][C]1178[/C][C]Trim Var.[/C][C]67554[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]73739.4[/C][C]Range[/C][C]979.2[/C][C]Trim Var.[/C][C]52518.2[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]184993[/C][C]Range[/C][C]1619[/C][C]Trim Var.[/C][C]117248[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]611014[/C][C]Range[/C][C]2633.6[/C][C]Trim Var.[/C][C]450383[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=301167&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301167&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)177642Range1536Trim Var.113383
V(Y[t],d=1,D=0)15296.6Range580.8Trim Var.8586.17
V(Y[t],d=2,D=0)23404.3Range693.4Trim Var.13203.2
V(Y[t],d=3,D=0)74641.6Range1228.2Trim Var.39536
V(Y[t],d=0,D=1)108219Range1207.8Trim Var.73975.7
V(Y[t],d=1,D=1)34522.4Range852.2Trim Var.16203.4
V(Y[t],d=2,D=1)67431.1Range1074.2Trim Var.36833.5
V(Y[t],d=3,D=1)222114Range1898.8Trim Var.125687
V(Y[t],d=0,D=2)98922.8Range1178Trim Var.67554
V(Y[t],d=1,D=2)73739.4Range979.2Trim Var.52518.2
V(Y[t],d=2,D=2)184993Range1619Trim Var.117248
V(Y[t],d=3,D=2)611014Range2633.6Trim Var.450383



Parameters (Session):
par1 = 12 ;
Parameters (R input):
par1 = 12 ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
n.orig <- length(x)
x <- na.omit(x)
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)
if(n.orig!=n) {
a<-table.row.start(a)
a<-table.element(a,'Warning: NAs were removed from the time series! The results shown below will only be correct if the NAs are all located at the start and/or end of the time series.',6,F)
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()