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, 16 Dec 2016 23:38:29 +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/16/t148192792409a60offg0bg3kx.htm/, Retrieved Fri, 01 Nov 2024 04:27:00 +0100
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Fri, 01 Nov 2024 04:27:00 +0100
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact0
Dataseries X:
2145.6
2022.4
2176.2
2161.86
2402.56
2427.16
2379.72
2345.04
2658.76
3090.22
3077.54
3047.46
2760.68
2712.32
2605.64
2590.5
3070.08
3377.22
3687.94
3210.04




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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)210291Range1665.54Trim Var.150191
V(Y[t],d=1,D=0)59583.4Range957.48Trim Var.37957
V(Y[t],d=2,D=0)92873.7Range1283.34Trim Var.47929.5
V(Y[t],d=3,D=0)181448Range1287.32Trim Var.146990
V(Y[t],d=0,D=1)200304Range1554.2Trim Var.138213
V(Y[t],d=1,D=1)137717Range1366.86Trim Var.82159.3
V(Y[t],d=2,D=1)187757Range1631.58Trim Var.100801
V(Y[t],d=3,D=1)401570Range1888.06Trim Var.296207
V(Y[t],d=0,D=2)807686Range2723.92Trim Var.574110
V(Y[t],d=1,D=2)433024Range2253.54Trim Var.217703
V(Y[t],d=2,D=2)480422Range2345.62Trim Var.201030
V(Y[t],d=3,D=2)907889Range3105.48Trim Var.384576

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 210291 & Range & 1665.54 & Trim Var. & 150191 \tabularnewline
V(Y[t],d=1,D=0) & 59583.4 & Range & 957.48 & Trim Var. & 37957 \tabularnewline
V(Y[t],d=2,D=0) & 92873.7 & Range & 1283.34 & Trim Var. & 47929.5 \tabularnewline
V(Y[t],d=3,D=0) & 181448 & Range & 1287.32 & Trim Var. & 146990 \tabularnewline
V(Y[t],d=0,D=1) & 200304 & Range & 1554.2 & Trim Var. & 138213 \tabularnewline
V(Y[t],d=1,D=1) & 137717 & Range & 1366.86 & Trim Var. & 82159.3 \tabularnewline
V(Y[t],d=2,D=1) & 187757 & Range & 1631.58 & Trim Var. & 100801 \tabularnewline
V(Y[t],d=3,D=1) & 401570 & Range & 1888.06 & Trim Var. & 296207 \tabularnewline
V(Y[t],d=0,D=2) & 807686 & Range & 2723.92 & Trim Var. & 574110 \tabularnewline
V(Y[t],d=1,D=2) & 433024 & Range & 2253.54 & Trim Var. & 217703 \tabularnewline
V(Y[t],d=2,D=2) & 480422 & Range & 2345.62 & Trim Var. & 201030 \tabularnewline
V(Y[t],d=3,D=2) & 907889 & Range & 3105.48 & Trim Var. & 384576 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]210291[/C][C]Range[/C][C]1665.54[/C][C]Trim Var.[/C][C]150191[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]59583.4[/C][C]Range[/C][C]957.48[/C][C]Trim Var.[/C][C]37957[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]92873.7[/C][C]Range[/C][C]1283.34[/C][C]Trim Var.[/C][C]47929.5[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]181448[/C][C]Range[/C][C]1287.32[/C][C]Trim Var.[/C][C]146990[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]200304[/C][C]Range[/C][C]1554.2[/C][C]Trim Var.[/C][C]138213[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]137717[/C][C]Range[/C][C]1366.86[/C][C]Trim Var.[/C][C]82159.3[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]187757[/C][C]Range[/C][C]1631.58[/C][C]Trim Var.[/C][C]100801[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]401570[/C][C]Range[/C][C]1888.06[/C][C]Trim Var.[/C][C]296207[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]807686[/C][C]Range[/C][C]2723.92[/C][C]Trim Var.[/C][C]574110[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]433024[/C][C]Range[/C][C]2253.54[/C][C]Trim Var.[/C][C]217703[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]480422[/C][C]Range[/C][C]2345.62[/C][C]Trim Var.[/C][C]201030[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]907889[/C][C]Range[/C][C]3105.48[/C][C]Trim Var.[/C][C]384576[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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)210291Range1665.54Trim Var.150191
V(Y[t],d=1,D=0)59583.4Range957.48Trim Var.37957
V(Y[t],d=2,D=0)92873.7Range1283.34Trim Var.47929.5
V(Y[t],d=3,D=0)181448Range1287.32Trim Var.146990
V(Y[t],d=0,D=1)200304Range1554.2Trim Var.138213
V(Y[t],d=1,D=1)137717Range1366.86Trim Var.82159.3
V(Y[t],d=2,D=1)187757Range1631.58Trim Var.100801
V(Y[t],d=3,D=1)401570Range1888.06Trim Var.296207
V(Y[t],d=0,D=2)807686Range2723.92Trim Var.574110
V(Y[t],d=1,D=2)433024Range2253.54Trim Var.217703
V(Y[t],d=2,D=2)480422Range2345.62Trim Var.201030
V(Y[t],d=3,D=2)907889Range3105.48Trim Var.384576



Parameters (Session):
par1 = additiveadditiveadditive112additive0FALSE12additive1212N3N3N3121212121212124additiveadditive11additiveadditiveadditiveadditiveadditiveadditiveadditiveadditiveadditive4additiveadditiveadditiveadditiveadditive4444 ; par2 = 12121221211112periodic1212411124412124444124424periodic ; par3 = Pearson Chi-Squared1010BFGS000 ; par4 = 00012124124 ; par5 = 12121211 ; par6 = 333 ; par7 = 21211 ; par8 = 022FALSEFALSE ; par9 = 011 ; par10 = FALSEFALSE ;
Parameters (R input):
par1 = 4 ;
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()