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 computationFri, 23 Dec 2016 13:37:39 +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/23/t1482496672g64rs96547r06b0.htm/, Retrieved Fri, 01 Nov 2024 03:34:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=302902, Retrieved Fri, 01 Nov 2024 03:34:24 +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] [VRM correct paper 6] [2016-12-23 12:37:39] [d92250bd36540c2281a4ec15b45df1dd] [Current]
Feedback Forum

Post a new message
Dataseries X:
4511.15
4497.61
4497.61
4524.68
4569.79
4596.85
4614.9
4632.94
4660.02
4714.15
4772.79
4817.9
4872.04
4926.17
4971.28
5020.9
5066.02
5088.57
5084.06
5066.02




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302902&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)48373Range590.96Trim Var.41455.8
V(Y[t],d=1,D=0)584.198Range76.68Trim Var.462.403
V(Y[t],d=2,D=0)252.497Range54.13Trim Var.188.484
V(Y[t],d=3,D=0)274.519Range58.65Trim Var.186.553
V(Y[t],d=0,D=1)4785.34Range207.51Trim Var.3657.34
V(Y[t],d=1,D=1)1263.5Range108.26Trim Var.827.757
V(Y[t],d=2,D=1)194.052Range54.13Trim Var.74.3556
V(Y[t],d=3,D=1)279.963Range49.62Trim Var.195.454
V(Y[t],d=0,D=2)12413.8Range311.28Trim Var.5600.66
V(Y[t],d=1,D=2)1788.62Range112.77Trim Var.1047.92
V(Y[t],d=2,D=2)377.733Range58.65Trim Var.20.1305
V(Y[t],d=3,D=2)1108.36Range81.18Trim Var.569.165

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 48373 & Range & 590.96 & Trim Var. & 41455.8 \tabularnewline
V(Y[t],d=1,D=0) & 584.198 & Range & 76.68 & Trim Var. & 462.403 \tabularnewline
V(Y[t],d=2,D=0) & 252.497 & Range & 54.13 & Trim Var. & 188.484 \tabularnewline
V(Y[t],d=3,D=0) & 274.519 & Range & 58.65 & Trim Var. & 186.553 \tabularnewline
V(Y[t],d=0,D=1) & 4785.34 & Range & 207.51 & Trim Var. & 3657.34 \tabularnewline
V(Y[t],d=1,D=1) & 1263.5 & Range & 108.26 & Trim Var. & 827.757 \tabularnewline
V(Y[t],d=2,D=1) & 194.052 & Range & 54.13 & Trim Var. & 74.3556 \tabularnewline
V(Y[t],d=3,D=1) & 279.963 & Range & 49.62 & Trim Var. & 195.454 \tabularnewline
V(Y[t],d=0,D=2) & 12413.8 & Range & 311.28 & Trim Var. & 5600.66 \tabularnewline
V(Y[t],d=1,D=2) & 1788.62 & Range & 112.77 & Trim Var. & 1047.92 \tabularnewline
V(Y[t],d=2,D=2) & 377.733 & Range & 58.65 & Trim Var. & 20.1305 \tabularnewline
V(Y[t],d=3,D=2) & 1108.36 & Range & 81.18 & Trim Var. & 569.165 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302902&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]48373[/C][C]Range[/C][C]590.96[/C][C]Trim Var.[/C][C]41455.8[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]584.198[/C][C]Range[/C][C]76.68[/C][C]Trim Var.[/C][C]462.403[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]252.497[/C][C]Range[/C][C]54.13[/C][C]Trim Var.[/C][C]188.484[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]274.519[/C][C]Range[/C][C]58.65[/C][C]Trim Var.[/C][C]186.553[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]4785.34[/C][C]Range[/C][C]207.51[/C][C]Trim Var.[/C][C]3657.34[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]1263.5[/C][C]Range[/C][C]108.26[/C][C]Trim Var.[/C][C]827.757[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]194.052[/C][C]Range[/C][C]54.13[/C][C]Trim Var.[/C][C]74.3556[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]279.963[/C][C]Range[/C][C]49.62[/C][C]Trim Var.[/C][C]195.454[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]12413.8[/C][C]Range[/C][C]311.28[/C][C]Trim Var.[/C][C]5600.66[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]1788.62[/C][C]Range[/C][C]112.77[/C][C]Trim Var.[/C][C]1047.92[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]377.733[/C][C]Range[/C][C]58.65[/C][C]Trim Var.[/C][C]20.1305[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]1108.36[/C][C]Range[/C][C]81.18[/C][C]Trim Var.[/C][C]569.165[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302902&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302902&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)48373Range590.96Trim Var.41455.8
V(Y[t],d=1,D=0)584.198Range76.68Trim Var.462.403
V(Y[t],d=2,D=0)252.497Range54.13Trim Var.188.484
V(Y[t],d=3,D=0)274.519Range58.65Trim Var.186.553
V(Y[t],d=0,D=1)4785.34Range207.51Trim Var.3657.34
V(Y[t],d=1,D=1)1263.5Range108.26Trim Var.827.757
V(Y[t],d=2,D=1)194.052Range54.13Trim Var.74.3556
V(Y[t],d=3,D=1)279.963Range49.62Trim Var.195.454
V(Y[t],d=0,D=2)12413.8Range311.28Trim Var.5600.66
V(Y[t],d=1,D=2)1788.62Range112.77Trim Var.1047.92
V(Y[t],d=2,D=2)377.733Range58.65Trim Var.20.1305
V(Y[t],d=3,D=2)1108.36Range81.18Trim Var.569.165



Parameters (Session):
par1 = FALSE ; par2 = 1 ; par3 = 2 ; par4 = 1 ; par5 = 6 ; par6 = 2 ; par7 = 1 ; par8 = 2 ; par9 = 1 ;
Parameters (R input):
par1 = 6 ;
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()