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 computationSat, 21 Jan 2017 18:15:16 +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/2017/Jan/21/t1485018993ujy2yi1gshdpa2t.htm/, Retrieved Tue, 14 May 2024 04:08:36 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=303282, Retrieved Tue, 14 May 2024 04:08:36 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact54
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [] [2017-01-21 17:15:16] [673dd365cbcfe0c4e35658a2fe545652] [Current]
Feedback Forum

Post a new message
Dataseries X:
6747.7
6642.2
6600.6
6812.8
6759.6
6754.4
6864.7
6876.6
6870.2
6888.9
6876.4
7033
5161.8
5091.3
5091.5
5196.5
5105.3
4963
4883.4
5051.1
5140.2
5014.2
4887
5078.7
5171.4
5008.7
4989
5186.4
5271.2
5231.2
5286.3
5630.8
5636.4
5757.2
6199.5
8451.6
8022.6
7671.3
7355
7381.2
7247.5
7267.8
7386.7
7887
8137.6
7708.1
7661.4
7666.9
7240
7154.6
7126.2
7355.1
7230.3
7298.5
7151.8
7150
7156.6
7138
7307.6
7328.9
7382.8
7292.2
7320.7
7265.9
7295.2
7314.8
7295.3
7267.2
7265.5
7284.5
7329.7
7217.3
7261.2
7223.7
7200
7171.7
7267
7165.1
7146.4
7065.2
6979.7
6836.6
6646.8
6679.3
6694.4
6694.1
6507.6
6372.6
6338.6
6249.4
6170.7
6232.3
6172.3
6110.5
6016.6
6111.6
6079.3
6054.4
5999.4
5868.2
5769.2
5809.2
5671
5640.8
5643.1
5639.9
5632.7
5721
5542.6
5442.3
5424.7
5450.8
5334.9
5279
5400.1
5538.1




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=303282&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)829335Range3568.2Trim Var.655605
V(Y[t],d=1,D=0)95302.2Range4123.3Trim Var.8143.88
V(Y[t],d=2,D=0)186179Range4490.9Trim Var.17592.8
V(Y[t],d=3,D=0)542953Range8319.4Trim Var.51454.3
V(Y[t],d=0,D=1)1182070Range5362.3Trim Var.597269
V(Y[t],d=1,D=1)162037Range4307Trim Var.15969.6
V(Y[t],d=2,D=1)286573Range4830.8Trim Var.23926.2
V(Y[t],d=3,D=1)831349Range8079.3Trim Var.83896.1
V(Y[t],d=0,D=2)2513740Range9484.8Trim Var.1293220
V(Y[t],d=1,D=2)476397Range6569.4Trim Var.60403.5
V(Y[t],d=2,D=2)856388Range9341.7Trim Var.62489.1
V(Y[t],d=3,D=2)2537550Range13931.3Trim Var.249295

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 829335 & Range & 3568.2 & Trim Var. & 655605 \tabularnewline
V(Y[t],d=1,D=0) & 95302.2 & Range & 4123.3 & Trim Var. & 8143.88 \tabularnewline
V(Y[t],d=2,D=0) & 186179 & Range & 4490.9 & Trim Var. & 17592.8 \tabularnewline
V(Y[t],d=3,D=0) & 542953 & Range & 8319.4 & Trim Var. & 51454.3 \tabularnewline
V(Y[t],d=0,D=1) & 1182070 & Range & 5362.3 & Trim Var. & 597269 \tabularnewline
V(Y[t],d=1,D=1) & 162037 & Range & 4307 & Trim Var. & 15969.6 \tabularnewline
V(Y[t],d=2,D=1) & 286573 & Range & 4830.8 & Trim Var. & 23926.2 \tabularnewline
V(Y[t],d=3,D=1) & 831349 & Range & 8079.3 & Trim Var. & 83896.1 \tabularnewline
V(Y[t],d=0,D=2) & 2513740 & Range & 9484.8 & Trim Var. & 1293220 \tabularnewline
V(Y[t],d=1,D=2) & 476397 & Range & 6569.4 & Trim Var. & 60403.5 \tabularnewline
V(Y[t],d=2,D=2) & 856388 & Range & 9341.7 & Trim Var. & 62489.1 \tabularnewline
V(Y[t],d=3,D=2) & 2537550 & Range & 13931.3 & Trim Var. & 249295 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=303282&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]829335[/C][C]Range[/C][C]3568.2[/C][C]Trim Var.[/C][C]655605[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]95302.2[/C][C]Range[/C][C]4123.3[/C][C]Trim Var.[/C][C]8143.88[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]186179[/C][C]Range[/C][C]4490.9[/C][C]Trim Var.[/C][C]17592.8[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]542953[/C][C]Range[/C][C]8319.4[/C][C]Trim Var.[/C][C]51454.3[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]1182070[/C][C]Range[/C][C]5362.3[/C][C]Trim Var.[/C][C]597269[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]162037[/C][C]Range[/C][C]4307[/C][C]Trim Var.[/C][C]15969.6[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]286573[/C][C]Range[/C][C]4830.8[/C][C]Trim Var.[/C][C]23926.2[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]831349[/C][C]Range[/C][C]8079.3[/C][C]Trim Var.[/C][C]83896.1[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]2513740[/C][C]Range[/C][C]9484.8[/C][C]Trim Var.[/C][C]1293220[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]476397[/C][C]Range[/C][C]6569.4[/C][C]Trim Var.[/C][C]60403.5[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]856388[/C][C]Range[/C][C]9341.7[/C][C]Trim Var.[/C][C]62489.1[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]2537550[/C][C]Range[/C][C]13931.3[/C][C]Trim Var.[/C][C]249295[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=303282&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=303282&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)829335Range3568.2Trim Var.655605
V(Y[t],d=1,D=0)95302.2Range4123.3Trim Var.8143.88
V(Y[t],d=2,D=0)186179Range4490.9Trim Var.17592.8
V(Y[t],d=3,D=0)542953Range8319.4Trim Var.51454.3
V(Y[t],d=0,D=1)1182070Range5362.3Trim Var.597269
V(Y[t],d=1,D=1)162037Range4307Trim Var.15969.6
V(Y[t],d=2,D=1)286573Range4830.8Trim Var.23926.2
V(Y[t],d=3,D=1)831349Range8079.3Trim Var.83896.1
V(Y[t],d=0,D=2)2513740Range9484.8Trim Var.1293220
V(Y[t],d=1,D=2)476397Range6569.4Trim Var.60403.5
V(Y[t],d=2,D=2)856388Range9341.7Trim Var.62489.1
V(Y[t],d=3,D=2)2537550Range13931.3Trim Var.249295



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