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 computationWed, 14 Dec 2016 14:29:36 +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/14/t1481722540ry6hychl1r460or.htm/, Retrieved Fri, 01 Nov 2024 03:39:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=299419, Retrieved Fri, 01 Nov 2024 03:39:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact110
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [Variance Reductio...] [2016-12-14 13:29:36] [3b055ff671ad33431c4331443bac114d] [Current]
Feedback Forum

Post a new message
Dataseries X:
9137.8
9009.4
8926.6
9145
9186.2
9152.2
9093.6
9199.2
9310.6
9282
9248.4
9341.6
9478.8
9438
9374.6
9488.8
9631.8
9588.4
9514.6
9623.2
9744.6
9685.8
9598
9703.4
9817.8
9762.6
9669.6
9789.2
9917.4
9864.4
9779.2
9898.8
10048.8
9983.4
9913.4
10031.6
10184.6
10125
10065.4
10188.6
10350.4
10320.6
10232.6
10357.2
10520.2
10473.8
10407
10536
10700.2
10664.2
10606
10716.6
10882.8
10849.4
10794
10907.8




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299419&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)300309Range1981.2Trim Var.229114
V(Y[t],d=1,D=0)9791.27Range346.8Trim Var.8389.94
V(Y[t],d=2,D=0)19348.6Range516.6Trim Var.15096
V(Y[t],d=3,D=0)40257.6Range749.2Trim Var.33361.5
V(Y[t],d=0,D=1)7849.77Range296.8Trim Var.5962.79
V(Y[t],d=1,D=1)1030.06Range206Trim Var.257.422
V(Y[t],d=2,D=1)2408.5Range329.6Trim Var.517.195
V(Y[t],d=3,D=1)7432.83Range646.8Trim Var.1534.61
V(Y[t],d=0,D=2)16159.2Range353Trim Var.13850.1
V(Y[t],d=1,D=2)2089.12Range226.2Trim Var.812.559
V(Y[t],d=2,D=2)4646.36Range384.8Trim Var.1582.78
V(Y[t],d=3,D=2)15510.1Range727.4Trim Var.5715.1

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 300309 & Range & 1981.2 & Trim Var. & 229114 \tabularnewline
V(Y[t],d=1,D=0) & 9791.27 & Range & 346.8 & Trim Var. & 8389.94 \tabularnewline
V(Y[t],d=2,D=0) & 19348.6 & Range & 516.6 & Trim Var. & 15096 \tabularnewline
V(Y[t],d=3,D=0) & 40257.6 & Range & 749.2 & Trim Var. & 33361.5 \tabularnewline
V(Y[t],d=0,D=1) & 7849.77 & Range & 296.8 & Trim Var. & 5962.79 \tabularnewline
V(Y[t],d=1,D=1) & 1030.06 & Range & 206 & Trim Var. & 257.422 \tabularnewline
V(Y[t],d=2,D=1) & 2408.5 & Range & 329.6 & Trim Var. & 517.195 \tabularnewline
V(Y[t],d=3,D=1) & 7432.83 & Range & 646.8 & Trim Var. & 1534.61 \tabularnewline
V(Y[t],d=0,D=2) & 16159.2 & Range & 353 & Trim Var. & 13850.1 \tabularnewline
V(Y[t],d=1,D=2) & 2089.12 & Range & 226.2 & Trim Var. & 812.559 \tabularnewline
V(Y[t],d=2,D=2) & 4646.36 & Range & 384.8 & Trim Var. & 1582.78 \tabularnewline
V(Y[t],d=3,D=2) & 15510.1 & Range & 727.4 & Trim Var. & 5715.1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299419&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]300309[/C][C]Range[/C][C]1981.2[/C][C]Trim Var.[/C][C]229114[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]9791.27[/C][C]Range[/C][C]346.8[/C][C]Trim Var.[/C][C]8389.94[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]19348.6[/C][C]Range[/C][C]516.6[/C][C]Trim Var.[/C][C]15096[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]40257.6[/C][C]Range[/C][C]749.2[/C][C]Trim Var.[/C][C]33361.5[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]7849.77[/C][C]Range[/C][C]296.8[/C][C]Trim Var.[/C][C]5962.79[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]1030.06[/C][C]Range[/C][C]206[/C][C]Trim Var.[/C][C]257.422[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]2408.5[/C][C]Range[/C][C]329.6[/C][C]Trim Var.[/C][C]517.195[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]7432.83[/C][C]Range[/C][C]646.8[/C][C]Trim Var.[/C][C]1534.61[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]16159.2[/C][C]Range[/C][C]353[/C][C]Trim Var.[/C][C]13850.1[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]2089.12[/C][C]Range[/C][C]226.2[/C][C]Trim Var.[/C][C]812.559[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]4646.36[/C][C]Range[/C][C]384.8[/C][C]Trim Var.[/C][C]1582.78[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]15510.1[/C][C]Range[/C][C]727.4[/C][C]Trim Var.[/C][C]5715.1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299419&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299419&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)300309Range1981.2Trim Var.229114
V(Y[t],d=1,D=0)9791.27Range346.8Trim Var.8389.94
V(Y[t],d=2,D=0)19348.6Range516.6Trim Var.15096
V(Y[t],d=3,D=0)40257.6Range749.2Trim Var.33361.5
V(Y[t],d=0,D=1)7849.77Range296.8Trim Var.5962.79
V(Y[t],d=1,D=1)1030.06Range206Trim Var.257.422
V(Y[t],d=2,D=1)2408.5Range329.6Trim Var.517.195
V(Y[t],d=3,D=1)7432.83Range646.8Trim Var.1534.61
V(Y[t],d=0,D=2)16159.2Range353Trim Var.13850.1
V(Y[t],d=1,D=2)2089.12Range226.2Trim Var.812.559
V(Y[t],d=2,D=2)4646.36Range384.8Trim Var.1582.78
V(Y[t],d=3,D=2)15510.1Range727.4Trim Var.5715.1



Parameters (Session):
par1 = 1 ; par2 = 1 ; par3 = 1 ; par4 = 1 ;
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()