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 00:46:56 +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/t1482450670ya2zax6mlg5nzar.htm/, Retrieved Fri, 01 Nov 2024 03:29:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=302736, Retrieved Fri, 01 Nov 2024 03:29:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact139
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [VRM] [2016-12-22 23:46:56] [f07fac15bca656f595926f3a45d3c842] [Current]
Feedback Forum

Post a new message
Dataseries X:
3996.1
3984.2
4049
4032.8
4074.1
4114.4
4091.4
4166.6
4152.5
4112.7
4145.9
4174.4
4183.6
4172.5
4280.3
4327.4
4251.2
4256.5
4285.7
4257.4
4231.9
4274.3
4248.3
4310.5
4301.9
4336.5
4385.1
4310.4
4378.8
4338
4304.2
4266.9
4230.1
4230.6
4353.2
4371.2
4393.2
4250.2
4129.5
4124.9
4177.1
4156.9
4111.9
4167.4
4190.7
4165
4209.8
4250
4224.8
4322.7
4311.7
4373.8
4358.9
4441.2
4538.9
4444.8
4537.8
4490.2
4517.3
4561.9
4567
4588.3
4656.8
4677.7
4684.2
4752.8
4738.9
4785.6
4742.7
4711.4
4758.1
4800.5
4877.3
4885
4941.4
5009.4
5017.5
4984.1
4903.9
4968.6
4937.3
4987.1
5001.9
5094.6
5177.8
5206.1
5253.1
5284.3
5266.8
5225.1
5272.8
5529.8
5535.2
5715.9
5672.2
5475.7
5435.3
5458.5
5373.3
5395.3
5515
5410.9
5400.2
5424.2
5388.5
5482.1
5506.9
5377.2
5353.5
5401.1
5438.1
5510.2
5499
5606.5
5644
5440.7




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302736&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)271839Range1731.7Trim Var.228380
V(Y[t],d=1,D=0)4418.51Range460.3Trim Var.2036.11
V(Y[t],d=2,D=0)8832.07Range460.9Trim Var.5318.22
V(Y[t],d=3,D=0)25185.8Range887.8Trim Var.14556.6
V(Y[t],d=0,D=1)36779.1Range984.4Trim Var.21012.7
V(Y[t],d=1,D=1)8560.5Range530.1Trim Var.4423.75
V(Y[t],d=2,D=1)16925.1Range634.8Trim Var.10043.4
V(Y[t],d=3,D=1)48848.4Range1052.6Trim Var.29078.2
V(Y[t],d=0,D=2)80394.4Range1581.9Trim Var.39895.5
V(Y[t],d=1,D=2)23410.4Range843.8Trim Var.12929
V(Y[t],d=2,D=2)47324.4Range1040.7Trim Var.28620.8
V(Y[t],d=3,D=2)142470Range1910.2Trim Var.89016.6

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 271839 & Range & 1731.7 & Trim Var. & 228380 \tabularnewline
V(Y[t],d=1,D=0) & 4418.51 & Range & 460.3 & Trim Var. & 2036.11 \tabularnewline
V(Y[t],d=2,D=0) & 8832.07 & Range & 460.9 & Trim Var. & 5318.22 \tabularnewline
V(Y[t],d=3,D=0) & 25185.8 & Range & 887.8 & Trim Var. & 14556.6 \tabularnewline
V(Y[t],d=0,D=1) & 36779.1 & Range & 984.4 & Trim Var. & 21012.7 \tabularnewline
V(Y[t],d=1,D=1) & 8560.5 & Range & 530.1 & Trim Var. & 4423.75 \tabularnewline
V(Y[t],d=2,D=1) & 16925.1 & Range & 634.8 & Trim Var. & 10043.4 \tabularnewline
V(Y[t],d=3,D=1) & 48848.4 & Range & 1052.6 & Trim Var. & 29078.2 \tabularnewline
V(Y[t],d=0,D=2) & 80394.4 & Range & 1581.9 & Trim Var. & 39895.5 \tabularnewline
V(Y[t],d=1,D=2) & 23410.4 & Range & 843.8 & Trim Var. & 12929 \tabularnewline
V(Y[t],d=2,D=2) & 47324.4 & Range & 1040.7 & Trim Var. & 28620.8 \tabularnewline
V(Y[t],d=3,D=2) & 142470 & Range & 1910.2 & Trim Var. & 89016.6 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302736&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]271839[/C][C]Range[/C][C]1731.7[/C][C]Trim Var.[/C][C]228380[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]4418.51[/C][C]Range[/C][C]460.3[/C][C]Trim Var.[/C][C]2036.11[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]8832.07[/C][C]Range[/C][C]460.9[/C][C]Trim Var.[/C][C]5318.22[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]25185.8[/C][C]Range[/C][C]887.8[/C][C]Trim Var.[/C][C]14556.6[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]36779.1[/C][C]Range[/C][C]984.4[/C][C]Trim Var.[/C][C]21012.7[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]8560.5[/C][C]Range[/C][C]530.1[/C][C]Trim Var.[/C][C]4423.75[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]16925.1[/C][C]Range[/C][C]634.8[/C][C]Trim Var.[/C][C]10043.4[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]48848.4[/C][C]Range[/C][C]1052.6[/C][C]Trim Var.[/C][C]29078.2[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]80394.4[/C][C]Range[/C][C]1581.9[/C][C]Trim Var.[/C][C]39895.5[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]23410.4[/C][C]Range[/C][C]843.8[/C][C]Trim Var.[/C][C]12929[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]47324.4[/C][C]Range[/C][C]1040.7[/C][C]Trim Var.[/C][C]28620.8[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]142470[/C][C]Range[/C][C]1910.2[/C][C]Trim Var.[/C][C]89016.6[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302736&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302736&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)271839Range1731.7Trim Var.228380
V(Y[t],d=1,D=0)4418.51Range460.3Trim Var.2036.11
V(Y[t],d=2,D=0)8832.07Range460.9Trim Var.5318.22
V(Y[t],d=3,D=0)25185.8Range887.8Trim Var.14556.6
V(Y[t],d=0,D=1)36779.1Range984.4Trim Var.21012.7
V(Y[t],d=1,D=1)8560.5Range530.1Trim Var.4423.75
V(Y[t],d=2,D=1)16925.1Range634.8Trim Var.10043.4
V(Y[t],d=3,D=1)48848.4Range1052.6Trim Var.29078.2
V(Y[t],d=0,D=2)80394.4Range1581.9Trim Var.39895.5
V(Y[t],d=1,D=2)23410.4Range843.8Trim Var.12929
V(Y[t],d=2,D=2)47324.4Range1040.7Trim Var.28620.8
V(Y[t],d=3,D=2)142470Range1910.2Trim Var.89016.6



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