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 computationMon, 19 Dec 2016 22:25:27 +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/19/t1482182744bt61sn9ded0ivr5.htm/, Retrieved Fri, 01 Nov 2024 03:40:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=301525, Retrieved Fri, 01 Nov 2024 03:40:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact106
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [] [2016-12-19 21:25:27] [2e11ca31a00cf8de75c33c1af2d59434] [Current]
Feedback Forum

Post a new message
Dataseries X:
2298.3
2424.67
2584.65
2639.42
2452.02
2537.49
2726.36
2843.85
2615.11
2778.08
2918.75
3023.41
2733.07
2933.31
3089.19
3256.6
2968.74
3101.7
3277.21
3420.1
3097.55
3286.21
3491.96
3608.53
3259.04
3492.27
3665.64
3808.02
3397.47
3644.83
3812.8
3958.78
3602.73
3845.49
4022.27
4195.29
3867.28
4142.62
4217.79
4487.61
4089.69
4431.36
4629.82
4832.81




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301525&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)423493Range2534.51Trim Var.280565
V(Y[t],d=1,D=0)47411.4Range752.22Trim Var.33553
V(Y[t],d=2,D=0)130156Range1407.33Trim Var.85367.9
V(Y[t],d=3,D=0)412766Range2290.13Trim Var.283361
V(Y[t],d=0,D=1)3800.28Range299.21Trim Var.1921.07
V(Y[t],d=1,D=1)2610.07Range224.9Trim Var.1757.54
V(Y[t],d=2,D=1)7320.05Range388.53Trim Var.4514.95
V(Y[t],d=3,D=1)23022.5Range697.72Trim Var.13482.6
V(Y[t],d=0,D=2)4229.33Range323.37Trim Var.2262.44
V(Y[t],d=1,D=2)6132.11Range388.53Trim Var.3461.49
V(Y[t],d=2,D=2)15193.6Range579.68Trim Var.8461.86
V(Y[t],d=3,D=2)39933.1Range907.46Trim Var.22301.7

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 423493 & Range & 2534.51 & Trim Var. & 280565 \tabularnewline
V(Y[t],d=1,D=0) & 47411.4 & Range & 752.22 & Trim Var. & 33553 \tabularnewline
V(Y[t],d=2,D=0) & 130156 & Range & 1407.33 & Trim Var. & 85367.9 \tabularnewline
V(Y[t],d=3,D=0) & 412766 & Range & 2290.13 & Trim Var. & 283361 \tabularnewline
V(Y[t],d=0,D=1) & 3800.28 & Range & 299.21 & Trim Var. & 1921.07 \tabularnewline
V(Y[t],d=1,D=1) & 2610.07 & Range & 224.9 & Trim Var. & 1757.54 \tabularnewline
V(Y[t],d=2,D=1) & 7320.05 & Range & 388.53 & Trim Var. & 4514.95 \tabularnewline
V(Y[t],d=3,D=1) & 23022.5 & Range & 697.72 & Trim Var. & 13482.6 \tabularnewline
V(Y[t],d=0,D=2) & 4229.33 & Range & 323.37 & Trim Var. & 2262.44 \tabularnewline
V(Y[t],d=1,D=2) & 6132.11 & Range & 388.53 & Trim Var. & 3461.49 \tabularnewline
V(Y[t],d=2,D=2) & 15193.6 & Range & 579.68 & Trim Var. & 8461.86 \tabularnewline
V(Y[t],d=3,D=2) & 39933.1 & Range & 907.46 & Trim Var. & 22301.7 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=301525&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]423493[/C][C]Range[/C][C]2534.51[/C][C]Trim Var.[/C][C]280565[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]47411.4[/C][C]Range[/C][C]752.22[/C][C]Trim Var.[/C][C]33553[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]130156[/C][C]Range[/C][C]1407.33[/C][C]Trim Var.[/C][C]85367.9[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]412766[/C][C]Range[/C][C]2290.13[/C][C]Trim Var.[/C][C]283361[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]3800.28[/C][C]Range[/C][C]299.21[/C][C]Trim Var.[/C][C]1921.07[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]2610.07[/C][C]Range[/C][C]224.9[/C][C]Trim Var.[/C][C]1757.54[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]7320.05[/C][C]Range[/C][C]388.53[/C][C]Trim Var.[/C][C]4514.95[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]23022.5[/C][C]Range[/C][C]697.72[/C][C]Trim Var.[/C][C]13482.6[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]4229.33[/C][C]Range[/C][C]323.37[/C][C]Trim Var.[/C][C]2262.44[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]6132.11[/C][C]Range[/C][C]388.53[/C][C]Trim Var.[/C][C]3461.49[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]15193.6[/C][C]Range[/C][C]579.68[/C][C]Trim Var.[/C][C]8461.86[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]39933.1[/C][C]Range[/C][C]907.46[/C][C]Trim Var.[/C][C]22301.7[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=301525&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301525&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)423493Range2534.51Trim Var.280565
V(Y[t],d=1,D=0)47411.4Range752.22Trim Var.33553
V(Y[t],d=2,D=0)130156Range1407.33Trim Var.85367.9
V(Y[t],d=3,D=0)412766Range2290.13Trim Var.283361
V(Y[t],d=0,D=1)3800.28Range299.21Trim Var.1921.07
V(Y[t],d=1,D=1)2610.07Range224.9Trim Var.1757.54
V(Y[t],d=2,D=1)7320.05Range388.53Trim Var.4514.95
V(Y[t],d=3,D=1)23022.5Range697.72Trim Var.13482.6
V(Y[t],d=0,D=2)4229.33Range323.37Trim Var.2262.44
V(Y[t],d=1,D=2)6132.11Range388.53Trim Var.3461.49
V(Y[t],d=2,D=2)15193.6Range579.68Trim Var.8461.86
V(Y[t],d=3,D=2)39933.1Range907.46Trim Var.22301.7



Parameters (Session):
par1 = 12 ;
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()