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 14:19:51 +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/t14823273303t8ez0vd9h1z5i7.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=302274, 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 Impact113
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 13:19:51] [d4ebbcc95b180bc93fc42d05f31a3dde] [Current]
Feedback Forum

Post a new message
Dataseries X:
3606.1
3102.8
3602.5
3247.3
3467.7
3330.2
3367.1
3579.2
3303.8
3513.1
3892.7
4698.2
3876.6
3937.9
4011.5
3881.2
4054.6
3609.9
3788
3603.2
4110.8
4398.5
4402
4249.8
4054.5
3868.7
4165.4
4043.8
4220.2
4078
4129.3
4129.3
4161.5
4193.3
3959.8
3962.8
4079.3
3824.5
4160
3906.2
3907.8
4076.7
4099.4
4213.7
4012.2
4088.4
3911.9
3992.5
4333
4159
4540.8
4515.4
4661.1
4394.3
4916.4
4999.7
4783.4
4889.5
4840.6
4979.2
5442.4
5229.9
5670.3
5129.1
5358
5363.5
5388.7
5409.2
5431.2
5591.9
5622.5
5528.7
4968.7
4812.5
5175.1
4943.2
5007.1
5028.5
5023
5158.3
5248.8
5494
5193.3
4318.2
5726.3
5378.7
5776.1
5626.3
5755.2
5540.9
5560.8
5742.6
5592.9
5782.6
5611.5
5653.5
5438.7
5084.7
5736.2
5497.2
5650.9
5645.8
5634
5747.2
5585.2
5952.5
5833.5
5778.4
6096.9
5797.6
6187.9
5849.6
6096.6
5757.8
6248.1
6110.5
5919.8
6082.2
5886.9
6167.4
6458.9
6282.3
6762.1
6698.1
6017.3
5790.5




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302274&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)800162Range3659.3Trim Var.600095
V(Y[t],d=1,D=0)96530.2Range2283.2Trim Var.44934.8
V(Y[t],d=2,D=0)279543Range4038.9Trim Var.140063
V(Y[t],d=3,D=0)943908Range6896.5Trim Var.473870
V(Y[t],d=0,D=1)192555Range2545.8Trim Var.125646
V(Y[t],d=1,D=1)149437Range3591Trim Var.40788.6
V(Y[t],d=2,D=1)393115Range5289.4Trim Var.124997
V(Y[t],d=3,D=1)1231410Range9065.4Trim Var.404240
V(Y[t],d=0,D=2)578940Range4305.8Trim Var.362946
V(Y[t],d=1,D=2)461176Range6582.3Trim Var.94968.9
V(Y[t],d=2,D=2)1217530Range9065.4Trim Var.339658
V(Y[t],d=3,D=2)3803000Range15844.6Trim Var.1152500

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 800162 & Range & 3659.3 & Trim Var. & 600095 \tabularnewline
V(Y[t],d=1,D=0) & 96530.2 & Range & 2283.2 & Trim Var. & 44934.8 \tabularnewline
V(Y[t],d=2,D=0) & 279543 & Range & 4038.9 & Trim Var. & 140063 \tabularnewline
V(Y[t],d=3,D=0) & 943908 & Range & 6896.5 & Trim Var. & 473870 \tabularnewline
V(Y[t],d=0,D=1) & 192555 & Range & 2545.8 & Trim Var. & 125646 \tabularnewline
V(Y[t],d=1,D=1) & 149437 & Range & 3591 & Trim Var. & 40788.6 \tabularnewline
V(Y[t],d=2,D=1) & 393115 & Range & 5289.4 & Trim Var. & 124997 \tabularnewline
V(Y[t],d=3,D=1) & 1231410 & Range & 9065.4 & Trim Var. & 404240 \tabularnewline
V(Y[t],d=0,D=2) & 578940 & Range & 4305.8 & Trim Var. & 362946 \tabularnewline
V(Y[t],d=1,D=2) & 461176 & Range & 6582.3 & Trim Var. & 94968.9 \tabularnewline
V(Y[t],d=2,D=2) & 1217530 & Range & 9065.4 & Trim Var. & 339658 \tabularnewline
V(Y[t],d=3,D=2) & 3803000 & Range & 15844.6 & Trim Var. & 1152500 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302274&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]800162[/C][C]Range[/C][C]3659.3[/C][C]Trim Var.[/C][C]600095[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]96530.2[/C][C]Range[/C][C]2283.2[/C][C]Trim Var.[/C][C]44934.8[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]279543[/C][C]Range[/C][C]4038.9[/C][C]Trim Var.[/C][C]140063[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]943908[/C][C]Range[/C][C]6896.5[/C][C]Trim Var.[/C][C]473870[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]192555[/C][C]Range[/C][C]2545.8[/C][C]Trim Var.[/C][C]125646[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]149437[/C][C]Range[/C][C]3591[/C][C]Trim Var.[/C][C]40788.6[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]393115[/C][C]Range[/C][C]5289.4[/C][C]Trim Var.[/C][C]124997[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]1231410[/C][C]Range[/C][C]9065.4[/C][C]Trim Var.[/C][C]404240[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]578940[/C][C]Range[/C][C]4305.8[/C][C]Trim Var.[/C][C]362946[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]461176[/C][C]Range[/C][C]6582.3[/C][C]Trim Var.[/C][C]94968.9[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]1217530[/C][C]Range[/C][C]9065.4[/C][C]Trim Var.[/C][C]339658[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]3803000[/C][C]Range[/C][C]15844.6[/C][C]Trim Var.[/C][C]1152500[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302274&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302274&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)800162Range3659.3Trim Var.600095
V(Y[t],d=1,D=0)96530.2Range2283.2Trim Var.44934.8
V(Y[t],d=2,D=0)279543Range4038.9Trim Var.140063
V(Y[t],d=3,D=0)943908Range6896.5Trim Var.473870
V(Y[t],d=0,D=1)192555Range2545.8Trim Var.125646
V(Y[t],d=1,D=1)149437Range3591Trim Var.40788.6
V(Y[t],d=2,D=1)393115Range5289.4Trim Var.124997
V(Y[t],d=3,D=1)1231410Range9065.4Trim Var.404240
V(Y[t],d=0,D=2)578940Range4305.8Trim Var.362946
V(Y[t],d=1,D=2)461176Range6582.3Trim Var.94968.9
V(Y[t],d=2,D=2)1217530Range9065.4Trim Var.339658
V(Y[t],d=3,D=2)3803000Range15844.6Trim Var.1152500



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()