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, 21 Dec 2016 21:00:08 +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/21/t148235058004nl4lsngisr0ai.htm/, Retrieved Fri, 01 Nov 2024 03:44:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=302484, Retrieved Fri, 01 Nov 2024 03:44:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact69
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-21 20:00:08] [e7c866b75ad2fc21ab540ba3a0a42299] [Current]
Feedback Forum

Post a new message
Dataseries X:
5396.86
4963.38
5445.73
5038.03
5412.13
4965.15
5706.96
5176.7
5426.78
5083.14
5852.19
5144.63
5454.9
4958.98
5538.78
5044.74
5252.57
4945.69
6064.6
5335.02
5830.26
5391.33
6111.81
5472.44
5869.92
5423.01
6173.75
5592.14
5896.64
5505.83
6383.46
5761.51
5960.74
5772.04
6743.55
5878.49
6385.87
5900.06
7065.42
6147.75
6487.65
6119.33
7087.73
6422.35
6573.97
6301.82
7366.24
6444.26
6619.34
6528.77
7530.53




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302484&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)423189Range2584.84Trim Var.274646
V(Y[t],d=1,D=0)388304Range2087.34Trim Var.299628
V(Y[t],d=2,D=0)1400920Range3734.2Trim Var.1160610
V(Y[t],d=3,D=0)5380430Range7074.8Trim Var.4541230
V(Y[t],d=0,D=1)56834.3Range1051.23Trim Var.39131.9
V(Y[t],d=1,D=1)36324.1Range750.68Trim Var.24084.6
V(Y[t],d=2,D=1)108313Range1478.22Trim Var.67999.8
V(Y[t],d=3,D=1)357552Range2408.52Trim Var.229615
V(Y[t],d=0,D=2)82291.9Range1230.19Trim Var.45838.5
V(Y[t],d=1,D=2)96037.5Range1052.52Trim Var.66373.7
V(Y[t],d=2,D=2)282534Range1937.69Trim Var.169682
V(Y[t],d=3,D=2)937643Range3623.51Trim Var.508268

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 423189 & Range & 2584.84 & Trim Var. & 274646 \tabularnewline
V(Y[t],d=1,D=0) & 388304 & Range & 2087.34 & Trim Var. & 299628 \tabularnewline
V(Y[t],d=2,D=0) & 1400920 & Range & 3734.2 & Trim Var. & 1160610 \tabularnewline
V(Y[t],d=3,D=0) & 5380430 & Range & 7074.8 & Trim Var. & 4541230 \tabularnewline
V(Y[t],d=0,D=1) & 56834.3 & Range & 1051.23 & Trim Var. & 39131.9 \tabularnewline
V(Y[t],d=1,D=1) & 36324.1 & Range & 750.68 & Trim Var. & 24084.6 \tabularnewline
V(Y[t],d=2,D=1) & 108313 & Range & 1478.22 & Trim Var. & 67999.8 \tabularnewline
V(Y[t],d=3,D=1) & 357552 & Range & 2408.52 & Trim Var. & 229615 \tabularnewline
V(Y[t],d=0,D=2) & 82291.9 & Range & 1230.19 & Trim Var. & 45838.5 \tabularnewline
V(Y[t],d=1,D=2) & 96037.5 & Range & 1052.52 & Trim Var. & 66373.7 \tabularnewline
V(Y[t],d=2,D=2) & 282534 & Range & 1937.69 & Trim Var. & 169682 \tabularnewline
V(Y[t],d=3,D=2) & 937643 & Range & 3623.51 & Trim Var. & 508268 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302484&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]423189[/C][C]Range[/C][C]2584.84[/C][C]Trim Var.[/C][C]274646[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]388304[/C][C]Range[/C][C]2087.34[/C][C]Trim Var.[/C][C]299628[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]1400920[/C][C]Range[/C][C]3734.2[/C][C]Trim Var.[/C][C]1160610[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]5380430[/C][C]Range[/C][C]7074.8[/C][C]Trim Var.[/C][C]4541230[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]56834.3[/C][C]Range[/C][C]1051.23[/C][C]Trim Var.[/C][C]39131.9[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]36324.1[/C][C]Range[/C][C]750.68[/C][C]Trim Var.[/C][C]24084.6[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]108313[/C][C]Range[/C][C]1478.22[/C][C]Trim Var.[/C][C]67999.8[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]357552[/C][C]Range[/C][C]2408.52[/C][C]Trim Var.[/C][C]229615[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]82291.9[/C][C]Range[/C][C]1230.19[/C][C]Trim Var.[/C][C]45838.5[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]96037.5[/C][C]Range[/C][C]1052.52[/C][C]Trim Var.[/C][C]66373.7[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]282534[/C][C]Range[/C][C]1937.69[/C][C]Trim Var.[/C][C]169682[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]937643[/C][C]Range[/C][C]3623.51[/C][C]Trim Var.[/C][C]508268[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302484&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302484&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)423189Range2584.84Trim Var.274646
V(Y[t],d=1,D=0)388304Range2087.34Trim Var.299628
V(Y[t],d=2,D=0)1400920Range3734.2Trim Var.1160610
V(Y[t],d=3,D=0)5380430Range7074.8Trim Var.4541230
V(Y[t],d=0,D=1)56834.3Range1051.23Trim Var.39131.9
V(Y[t],d=1,D=1)36324.1Range750.68Trim Var.24084.6
V(Y[t],d=2,D=1)108313Range1478.22Trim Var.67999.8
V(Y[t],d=3,D=1)357552Range2408.52Trim Var.229615
V(Y[t],d=0,D=2)82291.9Range1230.19Trim Var.45838.5
V(Y[t],d=1,D=2)96037.5Range1052.52Trim Var.66373.7
V(Y[t],d=2,D=2)282534Range1937.69Trim Var.169682
V(Y[t],d=3,D=2)937643Range3623.51Trim Var.508268



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