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, 14 Dec 2016 16:27:50 +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/14/t14817293016wl16j0qglg5nic.htm/, Retrieved Fri, 01 Nov 2024 03:29:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=299564, Retrieved Fri, 01 Nov 2024 03:29:45 +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] [] [2016-12-14 15:27:50] [85f5800284aab30c091766186b093bb4] [Current]
Feedback Forum

Post a new message
Dataseries X:
1389
1398,6
1459
1545,2
1629,6
1675,2
1797,2
1739,2
1925,4
1908,4
2256,4
2217,6
2471,2
2634,4
2729,8
2752,6
3436,8
3579,8
3559,8
3234
3872,2
3996,8
4142,8
3992,2
4846,8
4757,4
4483,2
5033,4
5403,8
5280,8
5217
5422,2
6238
6254,8
6429
5942,4




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299564&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)2621310Range5040Trim Var.2151500
V(Y[t],d=1,D=0)88647Range1341.2Trim Var.47569
V(Y[t],d=2,D=0)214989Range1949.2Trim Var.124663
V(Y[t],d=3,D=0)640854Range3251Trim Var.401151
V(Y[t],d=0,D=1)72491.5Range1018Trim Var.50860.1
V(Y[t],d=1,D=1)82913.9Range1392.6Trim Var.41686.7
V(Y[t],d=2,D=1)211136Range2306Trim Var.79196
V(Y[t],d=3,D=1)641094Range3941.6Trim Var.290227
V(Y[t],d=0,D=2)115724Range1191.6Trim Var.78917
V(Y[t],d=1,D=2)194272Range1975.4Trim Var.100089
V(Y[t],d=2,D=2)550959Range3651.8Trim Var.205507
V(Y[t],d=3,D=2)1843170Range6383.4Trim Var.673238

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 2621310 & Range & 5040 & Trim Var. & 2151500 \tabularnewline
V(Y[t],d=1,D=0) & 88647 & Range & 1341.2 & Trim Var. & 47569 \tabularnewline
V(Y[t],d=2,D=0) & 214989 & Range & 1949.2 & Trim Var. & 124663 \tabularnewline
V(Y[t],d=3,D=0) & 640854 & Range & 3251 & Trim Var. & 401151 \tabularnewline
V(Y[t],d=0,D=1) & 72491.5 & Range & 1018 & Trim Var. & 50860.1 \tabularnewline
V(Y[t],d=1,D=1) & 82913.9 & Range & 1392.6 & Trim Var. & 41686.7 \tabularnewline
V(Y[t],d=2,D=1) & 211136 & Range & 2306 & Trim Var. & 79196 \tabularnewline
V(Y[t],d=3,D=1) & 641094 & Range & 3941.6 & Trim Var. & 290227 \tabularnewline
V(Y[t],d=0,D=2) & 115724 & Range & 1191.6 & Trim Var. & 78917 \tabularnewline
V(Y[t],d=1,D=2) & 194272 & Range & 1975.4 & Trim Var. & 100089 \tabularnewline
V(Y[t],d=2,D=2) & 550959 & Range & 3651.8 & Trim Var. & 205507 \tabularnewline
V(Y[t],d=3,D=2) & 1843170 & Range & 6383.4 & Trim Var. & 673238 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299564&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]2621310[/C][C]Range[/C][C]5040[/C][C]Trim Var.[/C][C]2151500[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]88647[/C][C]Range[/C][C]1341.2[/C][C]Trim Var.[/C][C]47569[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]214989[/C][C]Range[/C][C]1949.2[/C][C]Trim Var.[/C][C]124663[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]640854[/C][C]Range[/C][C]3251[/C][C]Trim Var.[/C][C]401151[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]72491.5[/C][C]Range[/C][C]1018[/C][C]Trim Var.[/C][C]50860.1[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]82913.9[/C][C]Range[/C][C]1392.6[/C][C]Trim Var.[/C][C]41686.7[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]211136[/C][C]Range[/C][C]2306[/C][C]Trim Var.[/C][C]79196[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]641094[/C][C]Range[/C][C]3941.6[/C][C]Trim Var.[/C][C]290227[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]115724[/C][C]Range[/C][C]1191.6[/C][C]Trim Var.[/C][C]78917[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]194272[/C][C]Range[/C][C]1975.4[/C][C]Trim Var.[/C][C]100089[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]550959[/C][C]Range[/C][C]3651.8[/C][C]Trim Var.[/C][C]205507[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]1843170[/C][C]Range[/C][C]6383.4[/C][C]Trim Var.[/C][C]673238[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299564&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299564&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)2621310Range5040Trim Var.2151500
V(Y[t],d=1,D=0)88647Range1341.2Trim Var.47569
V(Y[t],d=2,D=0)214989Range1949.2Trim Var.124663
V(Y[t],d=3,D=0)640854Range3251Trim Var.401151
V(Y[t],d=0,D=1)72491.5Range1018Trim Var.50860.1
V(Y[t],d=1,D=1)82913.9Range1392.6Trim Var.41686.7
V(Y[t],d=2,D=1)211136Range2306Trim Var.79196
V(Y[t],d=3,D=1)641094Range3941.6Trim Var.290227
V(Y[t],d=0,D=2)115724Range1191.6Trim Var.78917
V(Y[t],d=1,D=2)194272Range1975.4Trim Var.100089
V(Y[t],d=2,D=2)550959Range3651.8Trim Var.205507
V(Y[t],d=3,D=2)1843170Range6383.4Trim Var.673238



Parameters (Session):
par1 = 4 ;
Parameters (R input):
par1 = 4 ;
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()