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 computationThu, 15 Dec 2016 10:02: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/15/t1481792572b1rxnd4xnv4yqgc.htm/, Retrieved Fri, 01 Nov 2024 03:37:15 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=299775, Retrieved Fri, 01 Nov 2024 03:37:15 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact170
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-15 09:02:27] [f20c721eaecf28dbff8d9b9768e8b0c7] [Current]
Feedback Forum

Post a new message
Dataseries X:
3904.45
4137.2
4334.5
4188.6
4304.1
4570.45
4178.85
4515.15
4740.55
4582.2
4493.6
4437
4294
4581.35
4780.15
4632
4648.2
4834.85
4465.25
4671.65
4871.3
4707.8
4580.45
4562.25
4329.7
4646.1
4844.1
4623
4707.2
4844.9
4436.75
4680.85
4873.8
4735.15
4681.9
4607
4436.4
4614.1
4619.25
4507.1
4515.85
4725.4
4250.85
4591.6
4898.15
4675.45
4568.95
4531.05
4387.35
4826.1
4954.35
4814.85
4821.55
5148.05
4810.75
4988.05
5322.65
5157
5006.65
4910.2
4764.05
5093.7
5312.2
5157.6
5192.4
5546.6
5092.05
5423.25
5647.2
5450.05
5360.3
5309.25
5181
5488.6
5668.15
5560.8
5590.45
5850.7
5252.2
5626.1
5819.8
5676.35
5525.5
5359.55
5296.85
5623.75
5899.3
5672.6
5724.75
5995.1
5475.2
6143.95
6366.95
6306.1
6077
5672.4
5458.6
5716.9
5828.1
5706.85
5888.3
6007.7
5581.85
5970.95
6190.4
6079.15
5902.2
5554.4
5320.45
5683.1
5987.9
5843.7
5917.5
6299.45
5846.75
5998.1




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299775&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)355371Range2462.5Trim Var.269683
V(Y[t],d=1,D=0)62359.7Range1267.25Trim Var.43490.8
V(Y[t],d=2,D=0)156749Range2047.4Trim Var.91598.3
V(Y[t],d=3,D=0)463004Range3613.3Trim Var.269907
V(Y[t],d=0,D=1)108743Range1550.55Trim Var.72029.2
V(Y[t],d=1,D=1)155966Range1968.8Trim Var.111740
V(Y[t],d=2,D=1)383908Range3055.05Trim Var.276963
V(Y[t],d=3,D=1)1109980Range4845.3Trim Var.787082
V(Y[t],d=0,D=2)317220Range3017.55Trim Var.195751
V(Y[t],d=1,D=2)471334Range3325.5Trim Var.334057
V(Y[t],d=2,D=2)1148370Range5233.1Trim Var.786157
V(Y[t],d=3,D=2)3311700Range8832.15Trim Var.2344090

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 355371 & Range & 2462.5 & Trim Var. & 269683 \tabularnewline
V(Y[t],d=1,D=0) & 62359.7 & Range & 1267.25 & Trim Var. & 43490.8 \tabularnewline
V(Y[t],d=2,D=0) & 156749 & Range & 2047.4 & Trim Var. & 91598.3 \tabularnewline
V(Y[t],d=3,D=0) & 463004 & Range & 3613.3 & Trim Var. & 269907 \tabularnewline
V(Y[t],d=0,D=1) & 108743 & Range & 1550.55 & Trim Var. & 72029.2 \tabularnewline
V(Y[t],d=1,D=1) & 155966 & Range & 1968.8 & Trim Var. & 111740 \tabularnewline
V(Y[t],d=2,D=1) & 383908 & Range & 3055.05 & Trim Var. & 276963 \tabularnewline
V(Y[t],d=3,D=1) & 1109980 & Range & 4845.3 & Trim Var. & 787082 \tabularnewline
V(Y[t],d=0,D=2) & 317220 & Range & 3017.55 & Trim Var. & 195751 \tabularnewline
V(Y[t],d=1,D=2) & 471334 & Range & 3325.5 & Trim Var. & 334057 \tabularnewline
V(Y[t],d=2,D=2) & 1148370 & Range & 5233.1 & Trim Var. & 786157 \tabularnewline
V(Y[t],d=3,D=2) & 3311700 & Range & 8832.15 & Trim Var. & 2344090 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299775&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]355371[/C][C]Range[/C][C]2462.5[/C][C]Trim Var.[/C][C]269683[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]62359.7[/C][C]Range[/C][C]1267.25[/C][C]Trim Var.[/C][C]43490.8[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]156749[/C][C]Range[/C][C]2047.4[/C][C]Trim Var.[/C][C]91598.3[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]463004[/C][C]Range[/C][C]3613.3[/C][C]Trim Var.[/C][C]269907[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]108743[/C][C]Range[/C][C]1550.55[/C][C]Trim Var.[/C][C]72029.2[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]155966[/C][C]Range[/C][C]1968.8[/C][C]Trim Var.[/C][C]111740[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]383908[/C][C]Range[/C][C]3055.05[/C][C]Trim Var.[/C][C]276963[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]1109980[/C][C]Range[/C][C]4845.3[/C][C]Trim Var.[/C][C]787082[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]317220[/C][C]Range[/C][C]3017.55[/C][C]Trim Var.[/C][C]195751[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]471334[/C][C]Range[/C][C]3325.5[/C][C]Trim Var.[/C][C]334057[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]1148370[/C][C]Range[/C][C]5233.1[/C][C]Trim Var.[/C][C]786157[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]3311700[/C][C]Range[/C][C]8832.15[/C][C]Trim Var.[/C][C]2344090[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299775&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299775&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)355371Range2462.5Trim Var.269683
V(Y[t],d=1,D=0)62359.7Range1267.25Trim Var.43490.8
V(Y[t],d=2,D=0)156749Range2047.4Trim Var.91598.3
V(Y[t],d=3,D=0)463004Range3613.3Trim Var.269907
V(Y[t],d=0,D=1)108743Range1550.55Trim Var.72029.2
V(Y[t],d=1,D=1)155966Range1968.8Trim Var.111740
V(Y[t],d=2,D=1)383908Range3055.05Trim Var.276963
V(Y[t],d=3,D=1)1109980Range4845.3Trim Var.787082
V(Y[t],d=0,D=2)317220Range3017.55Trim Var.195751
V(Y[t],d=1,D=2)471334Range3325.5Trim Var.334057
V(Y[t],d=2,D=2)1148370Range5233.1Trim Var.786157
V(Y[t],d=3,D=2)3311700Range8832.15Trim Var.2344090



Parameters (Session):
Parameters (R input):
par1 = 4 ;
R code (references can be found in the software module):
par1 <- '12'
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()