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 computationSat, 17 Dec 2016 12:02:44 +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/17/t1481972623h2wt2fgldtymunx.htm/, Retrieved Fri, 01 Nov 2024 03:32:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=300690, Retrieved Fri, 01 Nov 2024 03:32:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact109
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [N306 Variance red...] [2016-12-17 11:02:44] [63af9ed1c5670c0e3049894fd77d93e0] [Current]
Feedback Forum

Post a new message
Dataseries X:
2035.5
2166
2386
2515.5
2785
2718
3019
3146.5
3377.5
3771
3967
4160.5
4273
4409
4677.5
5000
4864.5




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 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 time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300690&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]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=300690&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300690&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 time1 seconds
R ServerBig Analytics Cloud Computing Center







Variance Reduction Matrix
V(Y[t],d=0,D=0)954720Range2964.5Trim Var.777085
V(Y[t],d=1,D=0)18376.5Range529Trim Var.10038.6
V(Y[t],d=2,D=0)44523Range826Trim Var.23372.4
V(Y[t],d=3,D=0)125063Range1246Trim Var.74147.2
V(Y[t],d=0,D=1)21127.2Range405Trim Var.883.083
V(Y[t],d=1,D=1)65805.2Range598Trim Var.924.5
V(Y[t],d=2,D=1)162082Range742.5Trim Var.NA
V(Y[t],d=3,D=1)356168Range844Trim Var.NA
V(Y[t],d=0,D=2)NARange-InfTrim Var.NA
V(Y[t],d=1,D=2)NARange-InfTrim Var.NA
V(Y[t],d=2,D=2)NARange-InfTrim Var.NA
V(Y[t],d=3,D=2)NARange-InfTrim Var.NA

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 954720 & Range & 2964.5 & Trim Var. & 777085 \tabularnewline
V(Y[t],d=1,D=0) & 18376.5 & Range & 529 & Trim Var. & 10038.6 \tabularnewline
V(Y[t],d=2,D=0) & 44523 & Range & 826 & Trim Var. & 23372.4 \tabularnewline
V(Y[t],d=3,D=0) & 125063 & Range & 1246 & Trim Var. & 74147.2 \tabularnewline
V(Y[t],d=0,D=1) & 21127.2 & Range & 405 & Trim Var. & 883.083 \tabularnewline
V(Y[t],d=1,D=1) & 65805.2 & Range & 598 & Trim Var. & 924.5 \tabularnewline
V(Y[t],d=2,D=1) & 162082 & Range & 742.5 & Trim Var. & NA \tabularnewline
V(Y[t],d=3,D=1) & 356168 & Range & 844 & Trim Var. & NA \tabularnewline
V(Y[t],d=0,D=2) & NA & Range & -Inf & Trim Var. & NA \tabularnewline
V(Y[t],d=1,D=2) & NA & Range & -Inf & Trim Var. & NA \tabularnewline
V(Y[t],d=2,D=2) & NA & Range & -Inf & Trim Var. & NA \tabularnewline
V(Y[t],d=3,D=2) & NA & Range & -Inf & Trim Var. & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300690&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]954720[/C][C]Range[/C][C]2964.5[/C][C]Trim Var.[/C][C]777085[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]18376.5[/C][C]Range[/C][C]529[/C][C]Trim Var.[/C][C]10038.6[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]44523[/C][C]Range[/C][C]826[/C][C]Trim Var.[/C][C]23372.4[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]125063[/C][C]Range[/C][C]1246[/C][C]Trim Var.[/C][C]74147.2[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]21127.2[/C][C]Range[/C][C]405[/C][C]Trim Var.[/C][C]883.083[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]65805.2[/C][C]Range[/C][C]598[/C][C]Trim Var.[/C][C]924.5[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]162082[/C][C]Range[/C][C]742.5[/C][C]Trim Var.[/C][C]NA[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]356168[/C][C]Range[/C][C]844[/C][C]Trim Var.[/C][C]NA[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]NA[/C][C]Range[/C][C]-Inf[/C][C]Trim Var.[/C][C]NA[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]NA[/C][C]Range[/C][C]-Inf[/C][C]Trim Var.[/C][C]NA[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]NA[/C][C]Range[/C][C]-Inf[/C][C]Trim Var.[/C][C]NA[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]NA[/C][C]Range[/C][C]-Inf[/C][C]Trim Var.[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=300690&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300690&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)954720Range2964.5Trim Var.777085
V(Y[t],d=1,D=0)18376.5Range529Trim Var.10038.6
V(Y[t],d=2,D=0)44523Range826Trim Var.23372.4
V(Y[t],d=3,D=0)125063Range1246Trim Var.74147.2
V(Y[t],d=0,D=1)21127.2Range405Trim Var.883.083
V(Y[t],d=1,D=1)65805.2Range598Trim Var.924.5
V(Y[t],d=2,D=1)162082Range742.5Trim Var.NA
V(Y[t],d=3,D=1)356168Range844Trim Var.NA
V(Y[t],d=0,D=2)NARange-InfTrim Var.NA
V(Y[t],d=1,D=2)NARange-InfTrim Var.NA
V(Y[t],d=2,D=2)NARange-InfTrim Var.NA
V(Y[t],d=3,D=2)NARange-InfTrim Var.NA



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