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 12:36:57 +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/t1481801843beu87b60mwycf2f.htm/, Retrieved Fri, 01 Nov 2024 03:36:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=299886, Retrieved Fri, 01 Nov 2024 03:36:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact99
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [variance n1576] [2016-12-15 11:36:57] [8263efc94e08b372ab727a2b95bd56b1] [Current]
Feedback Forum

Post a new message
Dataseries X:
7300
3550
6050
7350
4850
6100
6400
5050
4950
6950
6600
6100
5550
4950
5000
5950
6000
5950
6950
5300
4200
5250
5350
6350
7150
4850
5850
5300
6650
5850
5800
5750
5300
5600
6250
6100
5950
5250
7000
4800
5100
6150
5550
5350
5100
4750
4850
6100
6300
5450
5950




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299886&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)631325Range3800Trim Var.372886
V(Y[t],d=1,D=0)1385840Range6250Trim Var.674581
V(Y[t],d=2,D=0)3562270Range10200Trim Var.1609870
V(Y[t],d=3,D=0)9614460Range15000Trim Var.4677870
V(Y[t],d=0,D=1)835854Range3350Trim Var.627492
V(Y[t],d=1,D=1)1664380Range5600Trim Var.1098670
V(Y[t],d=2,D=1)4192130Range8500Trim Var.2763140
V(Y[t],d=3,D=1)11432800Range14450Trim Var.7524640
V(Y[t],d=0,D=2)2453650Range6150Trim Var.1580750
V(Y[t],d=1,D=2)4082710Range8250Trim Var.2344380
V(Y[t],d=2,D=2)9594690Range12800Trim Var.4890400
V(Y[t],d=3,D=2)25012400Range19950Trim Var.12900800

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 631325 & Range & 3800 & Trim Var. & 372886 \tabularnewline
V(Y[t],d=1,D=0) & 1385840 & Range & 6250 & Trim Var. & 674581 \tabularnewline
V(Y[t],d=2,D=0) & 3562270 & Range & 10200 & Trim Var. & 1609870 \tabularnewline
V(Y[t],d=3,D=0) & 9614460 & Range & 15000 & Trim Var. & 4677870 \tabularnewline
V(Y[t],d=0,D=1) & 835854 & Range & 3350 & Trim Var. & 627492 \tabularnewline
V(Y[t],d=1,D=1) & 1664380 & Range & 5600 & Trim Var. & 1098670 \tabularnewline
V(Y[t],d=2,D=1) & 4192130 & Range & 8500 & Trim Var. & 2763140 \tabularnewline
V(Y[t],d=3,D=1) & 11432800 & Range & 14450 & Trim Var. & 7524640 \tabularnewline
V(Y[t],d=0,D=2) & 2453650 & Range & 6150 & Trim Var. & 1580750 \tabularnewline
V(Y[t],d=1,D=2) & 4082710 & Range & 8250 & Trim Var. & 2344380 \tabularnewline
V(Y[t],d=2,D=2) & 9594690 & Range & 12800 & Trim Var. & 4890400 \tabularnewline
V(Y[t],d=3,D=2) & 25012400 & Range & 19950 & Trim Var. & 12900800 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299886&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]631325[/C][C]Range[/C][C]3800[/C][C]Trim Var.[/C][C]372886[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]1385840[/C][C]Range[/C][C]6250[/C][C]Trim Var.[/C][C]674581[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]3562270[/C][C]Range[/C][C]10200[/C][C]Trim Var.[/C][C]1609870[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]9614460[/C][C]Range[/C][C]15000[/C][C]Trim Var.[/C][C]4677870[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]835854[/C][C]Range[/C][C]3350[/C][C]Trim Var.[/C][C]627492[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]1664380[/C][C]Range[/C][C]5600[/C][C]Trim Var.[/C][C]1098670[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]4192130[/C][C]Range[/C][C]8500[/C][C]Trim Var.[/C][C]2763140[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]11432800[/C][C]Range[/C][C]14450[/C][C]Trim Var.[/C][C]7524640[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]2453650[/C][C]Range[/C][C]6150[/C][C]Trim Var.[/C][C]1580750[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]4082710[/C][C]Range[/C][C]8250[/C][C]Trim Var.[/C][C]2344380[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]9594690[/C][C]Range[/C][C]12800[/C][C]Trim Var.[/C][C]4890400[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]25012400[/C][C]Range[/C][C]19950[/C][C]Trim Var.[/C][C]12900800[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299886&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299886&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)631325Range3800Trim Var.372886
V(Y[t],d=1,D=0)1385840Range6250Trim Var.674581
V(Y[t],d=2,D=0)3562270Range10200Trim Var.1609870
V(Y[t],d=3,D=0)9614460Range15000Trim Var.4677870
V(Y[t],d=0,D=1)835854Range3350Trim Var.627492
V(Y[t],d=1,D=1)1664380Range5600Trim Var.1098670
V(Y[t],d=2,D=1)4192130Range8500Trim Var.2763140
V(Y[t],d=3,D=1)11432800Range14450Trim Var.7524640
V(Y[t],d=0,D=2)2453650Range6150Trim Var.1580750
V(Y[t],d=1,D=2)4082710Range8250Trim Var.2344380
V(Y[t],d=2,D=2)9594690Range12800Trim Var.4890400
V(Y[t],d=3,D=2)25012400Range19950Trim Var.12900800



Parameters (Session):
par1 = 1 ; par2 = 1 ; par3 = 1 ; par4 = 1 ;
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()