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

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact68
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 15:44:13] [e6dc02234f5305f92311fb16bc25f73e] [Current]
Feedback Forum

Post a new message
Dataseries X:
13663
11635
9606
8784.5
9415.5
10418
11344.5
11271
11895
12152.5
12731
12951
10692
8563.5
6217
5562
6294.5
7422
9254.5
10607
11268
12041
12962.5
12200.5
10400.5
8765
7000
6677
7318
7999
8762
9696
10373
10682.5
10935.5
10815.5
8669
7079.5
5640
5238.5
5777.5
6479
7290
7343
7810.5
8171.5
8532
8719
7281.5
5923.5
4837
4675.5
4585.5
5083
5766
6201
6778
7393.5
7849.5
8282.5
7610
6192.5
4693.5
4869
5149
5648.5
6230.5
7032
7727
8087.5
8443
9002
7717.5
6374.5
4995.5
4655
5198
5501
6119.5
6922
7390
7466.5
7773
7865
6567
5132.5
3656.5
3623
4045.5
4617
5374
6022.5
6464.5
7058
7484.5
7955
6801
5499
4179.5
4305.5
3304
5773.5
6419.5
6938
7760
8224
8381
8667
7304.5
5565.5
4023
3932.5
4508.5
5491
6284




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302395&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)5689220Range10359Trim Var.3867170
V(Y[t],d=1,D=0)996136Range4816Trim Var.697386
V(Y[t],d=2,D=0)705447Range5950Trim Var.324350
V(Y[t],d=3,D=0)1408460Range9893Trim Var.625643
V(Y[t],d=0,D=1)1282880Range4684.5Trim Var.812479
V(Y[t],d=1,D=1)243257Range3385Trim Var.78619
V(Y[t],d=2,D=1)548942Range6386.5Trim Var.147374
V(Y[t],d=3,D=1)1712730Range10236.5Trim Var.504004
V(Y[t],d=0,D=2)2523210Range6901.5Trim Var.1583980
V(Y[t],d=1,D=2)628391Range6386.5Trim Var.208903
V(Y[t],d=2,D=2)1480660Range10029.5Trim Var.410830
V(Y[t],d=3,D=2)4607320Range19793.5Trim Var.1284940

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 5689220 & Range & 10359 & Trim Var. & 3867170 \tabularnewline
V(Y[t],d=1,D=0) & 996136 & Range & 4816 & Trim Var. & 697386 \tabularnewline
V(Y[t],d=2,D=0) & 705447 & Range & 5950 & Trim Var. & 324350 \tabularnewline
V(Y[t],d=3,D=0) & 1408460 & Range & 9893 & Trim Var. & 625643 \tabularnewline
V(Y[t],d=0,D=1) & 1282880 & Range & 4684.5 & Trim Var. & 812479 \tabularnewline
V(Y[t],d=1,D=1) & 243257 & Range & 3385 & Trim Var. & 78619 \tabularnewline
V(Y[t],d=2,D=1) & 548942 & Range & 6386.5 & Trim Var. & 147374 \tabularnewline
V(Y[t],d=3,D=1) & 1712730 & Range & 10236.5 & Trim Var. & 504004 \tabularnewline
V(Y[t],d=0,D=2) & 2523210 & Range & 6901.5 & Trim Var. & 1583980 \tabularnewline
V(Y[t],d=1,D=2) & 628391 & Range & 6386.5 & Trim Var. & 208903 \tabularnewline
V(Y[t],d=2,D=2) & 1480660 & Range & 10029.5 & Trim Var. & 410830 \tabularnewline
V(Y[t],d=3,D=2) & 4607320 & Range & 19793.5 & Trim Var. & 1284940 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302395&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]5689220[/C][C]Range[/C][C]10359[/C][C]Trim Var.[/C][C]3867170[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]996136[/C][C]Range[/C][C]4816[/C][C]Trim Var.[/C][C]697386[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]705447[/C][C]Range[/C][C]5950[/C][C]Trim Var.[/C][C]324350[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]1408460[/C][C]Range[/C][C]9893[/C][C]Trim Var.[/C][C]625643[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]1282880[/C][C]Range[/C][C]4684.5[/C][C]Trim Var.[/C][C]812479[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]243257[/C][C]Range[/C][C]3385[/C][C]Trim Var.[/C][C]78619[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]548942[/C][C]Range[/C][C]6386.5[/C][C]Trim Var.[/C][C]147374[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]1712730[/C][C]Range[/C][C]10236.5[/C][C]Trim Var.[/C][C]504004[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]2523210[/C][C]Range[/C][C]6901.5[/C][C]Trim Var.[/C][C]1583980[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]628391[/C][C]Range[/C][C]6386.5[/C][C]Trim Var.[/C][C]208903[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]1480660[/C][C]Range[/C][C]10029.5[/C][C]Trim Var.[/C][C]410830[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]4607320[/C][C]Range[/C][C]19793.5[/C][C]Trim Var.[/C][C]1284940[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302395&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302395&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)5689220Range10359Trim Var.3867170
V(Y[t],d=1,D=0)996136Range4816Trim Var.697386
V(Y[t],d=2,D=0)705447Range5950Trim Var.324350
V(Y[t],d=3,D=0)1408460Range9893Trim Var.625643
V(Y[t],d=0,D=1)1282880Range4684.5Trim Var.812479
V(Y[t],d=1,D=1)243257Range3385Trim Var.78619
V(Y[t],d=2,D=1)548942Range6386.5Trim Var.147374
V(Y[t],d=3,D=1)1712730Range10236.5Trim Var.504004
V(Y[t],d=0,D=2)2523210Range6901.5Trim Var.1583980
V(Y[t],d=1,D=2)628391Range6386.5Trim Var.208903
V(Y[t],d=2,D=2)1480660Range10029.5Trim Var.410830
V(Y[t],d=3,D=2)4607320Range19793.5Trim Var.1284940



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