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, 01 Feb 2018 10:39: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/2018/Feb/01/t1517478073r35lp9f4vlvjpgv.htm/, Retrieved Sun, 28 Apr 2024 21:10:34 +0200
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Sun, 28 Apr 2024 21:10:34 +0200
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact0
Dataseries X:
97.7
88.9
96.5
89.5
85.4
84.3
83.7
86.2
90.7
95.7
95.6
97
97.2
86.6
88.4
81.4
86.9
84.9
83.7
86.8
88.3
92.5
94.7
94.5
98.7
88.6
95.2
91.3
91.7
89.3
88.7
91.2
88.6
94.6
96
94.3
102
93.4
96.7
93.7
91.6
89.6
92.9
94.1
92
97.5
92.7
100.7
105.9
95.3
99.8
91.3
90.8
87.1
91.4
86.1
87.1
92.6
96.6
105.3
102.4
98.2
98.6
92.6
87.9
84.1
86.7
84.4
86
90.4
92.9
105.8
106
99.1
99.9
88.1
87.8
87.1
85.9
86.5
84.1
92.1
93.3
98.9
103
98.4
100.7
92.3
89
88.9
85.5
90.1
87
97.1
101.5
103
106.1
96.1
94.2
89.1
85.2
86.5
88
88.4
87.9
95.7
94.8
105.2
108.7
96.1
98.3
88.6
90.8
88.1
91.9
98.5
98.6
100.3
98.7
110.7
115.4
105.4
108
94.5
96.5
91
94.1
96.4
93.1
97.5
102.5
105.7
109.1
97.2
100.3
91.3
94.3
89.5
89.3
93.4
91.9
92.9
93.7
100.1
105.5
110.5
89.5
90.4
89.9
84.6
86.2
83.4
82.9
81.8
87.6
94.6
99.6
96.7
99.8
83.8
82.4
86.8
91
85.3
83.6
94
100.3
107.1
100.7
95.5
92.9
79.2
82
79.3
81.5
76
73.1
80.4
82.1
90.5
98.1
89.5
86.5
77
74.7
73.4
72.5
69.3
75.2
83.5
90.5
92.2
110.5
101.8
107.4
95.5
84.5
81.1
86.2
91.5
84.7
92.2
99.2
104.5
113
100.4
101
84.8
86.5
91.7
94.8
95




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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)65.1255Range46.1Trim Var.37.6385
V(Y[t],d=1,D=0)35.3904Range39.3Trim Var.20.6373
V(Y[t],d=2,D=0)77.8415Range48.9Trim Var.48.8852
V(Y[t],d=3,D=0)252.674Range91.5Trim Var.158.841
V(Y[t],d=0,D=1)41.4702Range40.4Trim Var.23.5529
V(Y[t],d=1,D=1)28.5941Range48.2Trim Var.12.4961
V(Y[t],d=2,D=1)75.5135Range75Trim Var.32.0294
V(Y[t],d=3,D=1)243.129Range148Trim Var.99.1957
V(Y[t],d=0,D=2)106.077Range59.8Trim Var.48.6705
V(Y[t],d=1,D=2)80.0372Range78Trim Var.31.8448
V(Y[t],d=2,D=2)212.668Range148Trim Var.84.3296
V(Y[t],d=3,D=2)689.481Range252.4Trim Var.263.773

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 65.1255 & Range & 46.1 & Trim Var. & 37.6385 \tabularnewline
V(Y[t],d=1,D=0) & 35.3904 & Range & 39.3 & Trim Var. & 20.6373 \tabularnewline
V(Y[t],d=2,D=0) & 77.8415 & Range & 48.9 & Trim Var. & 48.8852 \tabularnewline
V(Y[t],d=3,D=0) & 252.674 & Range & 91.5 & Trim Var. & 158.841 \tabularnewline
V(Y[t],d=0,D=1) & 41.4702 & Range & 40.4 & Trim Var. & 23.5529 \tabularnewline
V(Y[t],d=1,D=1) & 28.5941 & Range & 48.2 & Trim Var. & 12.4961 \tabularnewline
V(Y[t],d=2,D=1) & 75.5135 & Range & 75 & Trim Var. & 32.0294 \tabularnewline
V(Y[t],d=3,D=1) & 243.129 & Range & 148 & Trim Var. & 99.1957 \tabularnewline
V(Y[t],d=0,D=2) & 106.077 & Range & 59.8 & Trim Var. & 48.6705 \tabularnewline
V(Y[t],d=1,D=2) & 80.0372 & Range & 78 & Trim Var. & 31.8448 \tabularnewline
V(Y[t],d=2,D=2) & 212.668 & Range & 148 & Trim Var. & 84.3296 \tabularnewline
V(Y[t],d=3,D=2) & 689.481 & Range & 252.4 & Trim Var. & 263.773 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]65.1255[/C][C]Range[/C][C]46.1[/C][C]Trim Var.[/C][C]37.6385[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]35.3904[/C][C]Range[/C][C]39.3[/C][C]Trim Var.[/C][C]20.6373[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]77.8415[/C][C]Range[/C][C]48.9[/C][C]Trim Var.[/C][C]48.8852[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]252.674[/C][C]Range[/C][C]91.5[/C][C]Trim Var.[/C][C]158.841[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]41.4702[/C][C]Range[/C][C]40.4[/C][C]Trim Var.[/C][C]23.5529[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]28.5941[/C][C]Range[/C][C]48.2[/C][C]Trim Var.[/C][C]12.4961[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]75.5135[/C][C]Range[/C][C]75[/C][C]Trim Var.[/C][C]32.0294[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]243.129[/C][C]Range[/C][C]148[/C][C]Trim Var.[/C][C]99.1957[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]106.077[/C][C]Range[/C][C]59.8[/C][C]Trim Var.[/C][C]48.6705[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]80.0372[/C][C]Range[/C][C]78[/C][C]Trim Var.[/C][C]31.8448[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]212.668[/C][C]Range[/C][C]148[/C][C]Trim Var.[/C][C]84.3296[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]689.481[/C][C]Range[/C][C]252.4[/C][C]Trim Var.[/C][C]263.773[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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)65.1255Range46.1Trim Var.37.6385
V(Y[t],d=1,D=0)35.3904Range39.3Trim Var.20.6373
V(Y[t],d=2,D=0)77.8415Range48.9Trim Var.48.8852
V(Y[t],d=3,D=0)252.674Range91.5Trim Var.158.841
V(Y[t],d=0,D=1)41.4702Range40.4Trim Var.23.5529
V(Y[t],d=1,D=1)28.5941Range48.2Trim Var.12.4961
V(Y[t],d=2,D=1)75.5135Range75Trim Var.32.0294
V(Y[t],d=3,D=1)243.129Range148Trim Var.99.1957
V(Y[t],d=0,D=2)106.077Range59.8Trim Var.48.6705
V(Y[t],d=1,D=2)80.0372Range78Trim Var.31.8448
V(Y[t],d=2,D=2)212.668Range148Trim Var.84.3296
V(Y[t],d=3,D=2)689.481Range252.4Trim Var.263.773



Parameters (Session):
par1 = 111FALSEFALSEFALSEFALSE112 ; par2 = Do not include Seasonal DummiesDo not include Seasonal DummiesDo not include Seasonal Dummies1111Do not include Seasonal Dummies ; par3 = No Linear TrendNo Linear TrendNo Linear Trend0000No Linear Trend ; par4 = 00011110 ; par5 = 000121212120 ; par6 = 121212000012 ; par7 = 1111 ; par8 = 2222 ; par9 = 1111 ;
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()