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 computationMon, 19 Dec 2016 15:07:12 +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/19/t1482156450jog48vspnsc51xu.htm/, Retrieved Tue, 21 May 2024 10:47:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=301358, Retrieved Tue, 21 May 2024 10:47:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact64
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-19 14:07:12] [e0044ff8caf2d68149dcdb0ba8e86f31] [Current]
Feedback Forum

Post a new message
Dataseries X:
5900
6350
8520
6600
4920
4990
3890
5110
6730
7380
6600
6540
6120
5640
6850
6620
6020
5830
5050
5590
6150
5410
5420
5500
4030
5690
6680
4950
5290
6720
4580
4500
5350
4890
5160
5040
4980
5480
5620
4790
4880
4790
4400
5170
6100
5420
5450
4750
4620
4600
3960
4270
4610
4050
4430
4660
5570
5360
5070
5390
3380
4360
3820
3990
5560
6230
6240
6320
6890
6000
6160
6430
6090
5550
5740
6790
6390
6510
6340
8750
7620
6380
5820
5930
5560
5960
4910
4000
5250
4650
4280
4760
7000
6770
6330
7750
6090
6560
8550
7050
7490
7800
6160
5040
6700
7650
5980
5530
5940
5830
7130
5790
4960
4900
4330
5100
6160
7850
5570
5860
7250
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301358&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
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.
V(Y[t],d=0,D=0)1153600Range5370Trim Var.681736
V(Y[t],d=1,D=0)947514Range4690Trim Var.580970
V(Y[t],d=2,D=0)2237530Range7220Trim Var.1312480
V(Y[t],d=3,D=0)6466580Range12660Trim Var.3910520
V(Y[t],d=0,D=1)1794190Range7630Trim Var.961449
V(Y[t],d=1,D=1)1251020Range5340Trim Var.778692
V(Y[t],d=2,D=1)3031840Range9330Trim Var.1809150
V(Y[t],d=3,D=1)9096050Range14690Trim Var.5555820
V(Y[t],d=0,D=2)5349680Range12260Trim Var.2831360
V(Y[t],d=1,D=2)3631190Range9330Trim Var.2286490
V(Y[t],d=2,D=2)8915290Range15400Trim Var.5632340
V(Y[t],d=3,D=2)26575900Range26610Trim Var.17061500

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
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. \tabularnewline
V(Y[t],d=0,D=0) & 1153600 & Range & 5370 & Trim Var. & 681736 \tabularnewline
V(Y[t],d=1,D=0) & 947514 & Range & 4690 & Trim Var. & 580970 \tabularnewline
V(Y[t],d=2,D=0) & 2237530 & Range & 7220 & Trim Var. & 1312480 \tabularnewline
V(Y[t],d=3,D=0) & 6466580 & Range & 12660 & Trim Var. & 3910520 \tabularnewline
V(Y[t],d=0,D=1) & 1794190 & Range & 7630 & Trim Var. & 961449 \tabularnewline
V(Y[t],d=1,D=1) & 1251020 & Range & 5340 & Trim Var. & 778692 \tabularnewline
V(Y[t],d=2,D=1) & 3031840 & Range & 9330 & Trim Var. & 1809150 \tabularnewline
V(Y[t],d=3,D=1) & 9096050 & Range & 14690 & Trim Var. & 5555820 \tabularnewline
V(Y[t],d=0,D=2) & 5349680 & Range & 12260 & Trim Var. & 2831360 \tabularnewline
V(Y[t],d=1,D=2) & 3631190 & Range & 9330 & Trim Var. & 2286490 \tabularnewline
V(Y[t],d=2,D=2) & 8915290 & Range & 15400 & Trim Var. & 5632340 \tabularnewline
V(Y[t],d=3,D=2) & 26575900 & Range & 26610 & Trim Var. & 17061500 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=301358&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]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.[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]1153600[/C][C]Range[/C][C]5370[/C][C]Trim Var.[/C][C]681736[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]947514[/C][C]Range[/C][C]4690[/C][C]Trim Var.[/C][C]580970[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]2237530[/C][C]Range[/C][C]7220[/C][C]Trim Var.[/C][C]1312480[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]6466580[/C][C]Range[/C][C]12660[/C][C]Trim Var.[/C][C]3910520[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]1794190[/C][C]Range[/C][C]7630[/C][C]Trim Var.[/C][C]961449[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]1251020[/C][C]Range[/C][C]5340[/C][C]Trim Var.[/C][C]778692[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]3031840[/C][C]Range[/C][C]9330[/C][C]Trim Var.[/C][C]1809150[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]9096050[/C][C]Range[/C][C]14690[/C][C]Trim Var.[/C][C]5555820[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]5349680[/C][C]Range[/C][C]12260[/C][C]Trim Var.[/C][C]2831360[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]3631190[/C][C]Range[/C][C]9330[/C][C]Trim Var.[/C][C]2286490[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]8915290[/C][C]Range[/C][C]15400[/C][C]Trim Var.[/C][C]5632340[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]26575900[/C][C]Range[/C][C]26610[/C][C]Trim Var.[/C][C]17061500[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=301358&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301358&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
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.
V(Y[t],d=0,D=0)1153600Range5370Trim Var.681736
V(Y[t],d=1,D=0)947514Range4690Trim Var.580970
V(Y[t],d=2,D=0)2237530Range7220Trim Var.1312480
V(Y[t],d=3,D=0)6466580Range12660Trim Var.3910520
V(Y[t],d=0,D=1)1794190Range7630Trim Var.961449
V(Y[t],d=1,D=1)1251020Range5340Trim Var.778692
V(Y[t],d=2,D=1)3031840Range9330Trim Var.1809150
V(Y[t],d=3,D=1)9096050Range14690Trim Var.5555820
V(Y[t],d=0,D=2)5349680Range12260Trim Var.2831360
V(Y[t],d=1,D=2)3631190Range9330Trim Var.2286490
V(Y[t],d=2,D=2)8915290Range15400Trim Var.5632340
V(Y[t],d=3,D=2)26575900Range26610Trim Var.17061500



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