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 14:34:00 +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/t1481981723zg6vkujiax360yf.htm/, Retrieved Fri, 01 Nov 2024 03:30:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=300781, Retrieved Fri, 01 Nov 2024 03:30:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact76
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [N1179 Variance re...] [2016-12-17 13:34:00] [2e11ca31a00cf8de75c33c1af2d59434] [Current]
Feedback Forum

Post a new message
Dataseries X:
3128
3444
3428
3803
3044
3427
3246
3505
3052
3613
3555
3675
3267
3601
3501
3855




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300781&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)60544.1Range811Trim Var.44560.1
V(Y[t],d=1,D=0)141367Range1320Trim Var.88146.6
V(Y[t],d=2,D=0)502971Range2276Trim Var.358957
V(Y[t],d=3,D=0)1982530Range3982Trim Var.1574310
V(Y[t],d=0,D=1)2564.25Range105Trim Var.2178
V(Y[t],d=1,D=1)2649Range102Trim Var.NA
V(Y[t],d=2,D=1)13612.5Range165Trim Var.NA
V(Y[t],d=3,D=1)NARange0Trim 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) & 60544.1 & Range & 811 & Trim Var. & 44560.1 \tabularnewline
V(Y[t],d=1,D=0) & 141367 & Range & 1320 & Trim Var. & 88146.6 \tabularnewline
V(Y[t],d=2,D=0) & 502971 & Range & 2276 & Trim Var. & 358957 \tabularnewline
V(Y[t],d=3,D=0) & 1982530 & Range & 3982 & Trim Var. & 1574310 \tabularnewline
V(Y[t],d=0,D=1) & 2564.25 & Range & 105 & Trim Var. & 2178 \tabularnewline
V(Y[t],d=1,D=1) & 2649 & Range & 102 & Trim Var. & NA \tabularnewline
V(Y[t],d=2,D=1) & 13612.5 & Range & 165 & Trim Var. & NA \tabularnewline
V(Y[t],d=3,D=1) & NA & Range & 0 & 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=300781&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]60544.1[/C][C]Range[/C][C]811[/C][C]Trim Var.[/C][C]44560.1[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]141367[/C][C]Range[/C][C]1320[/C][C]Trim Var.[/C][C]88146.6[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]502971[/C][C]Range[/C][C]2276[/C][C]Trim Var.[/C][C]358957[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]1982530[/C][C]Range[/C][C]3982[/C][C]Trim Var.[/C][C]1574310[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]2564.25[/C][C]Range[/C][C]105[/C][C]Trim Var.[/C][C]2178[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]2649[/C][C]Range[/C][C]102[/C][C]Trim Var.[/C][C]NA[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]13612.5[/C][C]Range[/C][C]165[/C][C]Trim Var.[/C][C]NA[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]NA[/C][C]Range[/C][C]0[/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=300781&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300781&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)60544.1Range811Trim Var.44560.1
V(Y[t],d=1,D=0)141367Range1320Trim Var.88146.6
V(Y[t],d=2,D=0)502971Range2276Trim Var.358957
V(Y[t],d=3,D=0)1982530Range3982Trim Var.1574310
V(Y[t],d=0,D=1)2564.25Range105Trim Var.2178
V(Y[t],d=1,D=1)2649Range102Trim Var.NA
V(Y[t],d=2,D=1)13612.5Range165Trim Var.NA
V(Y[t],d=3,D=1)NARange0Trim 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 <- '2'
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()