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, 19 Dec 2018 11:12:40 +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/Dec/19/t15452144441ns8iayyyaqzhdk.htm/, Retrieved Thu, 31 Oct 2024 23:03:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=316066, Retrieved Thu, 31 Oct 2024 23:03:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact53
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [] [2018-12-19 10:12:40] [d5597bf4cc7ee0aab497fc2d5cbd89b8] [Current]
Feedback Forum

Post a new message
Dataseries X:
1.894
1.757
3.582
5.321
5.561
5.907
4.944
4.966
3.258
1.964
1.743
1.262
2.086
1.793
3.548
5.672
6.084
4.914
4.990
5.139
3.218
2.179
2.238
1.442
2.205
2.025
3.531
4.977
7.998
4.880
5.231
5.202
3.303
2.683
2.202
1.376
2.422
1.997
3.163
5.964
5.657
6.415
6.208
4.500
2.939
2.702
2.090
1.504
2.549
1.931
3.013
6.204
5.788
5.611
5.594
4.647
3.490
2.487
1.992
1.507
2.306
2.002
3.075
5.331
5.589
5.813
4.876
4.665
3.601
2.192
2.111
1.580
2.288
1.993
3.228
5.000
5.480
5.770
4.962
4.685
3.607
2.222
2.467
1.594
2.228
1.910
3.157
4.809
6.249
4.607
4.975
4.784
3.028
2.461
2.218
1.351
2.070
1.887
3.024
4.596
6.398
4.459
5.382
4.359
2.687
2.249
2.154
1.169
2.429
1.762
2.846
5.627
5.749
4.502
5.720
4.403
2.867
2.635
2.059
1.511
2.359
1.741
2.917
6.249
5.760
6.250
5.134
4.831
3.695
2.462
2.146
1.579




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time2 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 time2 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=316066&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]2 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=316066&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=316066&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 time2 seconds
R ServerBig Analytics Cloud Computing Center







Variance Reduction Matrix
V(Y[t],d=0,D=0)2.6515Range6.829Trim Var.2.13288
V(Y[t],d=1,D=0)1.39046Range6.45Trim Var.0.820591
V(Y[t],d=2,D=0)2.39122Range9.608Trim Var.1.3714
V(Y[t],d=3,D=0)7.06799Range17.322Trim Var.3.99503
V(Y[t],d=0,D=1)0.25373Range4.255Trim Var.0.0788005
V(Y[t],d=1,D=1)0.677702Range7.204Trim Var.0.195687
V(Y[t],d=2,D=1)2.20059Range11.887Trim Var.0.629277
V(Y[t],d=3,D=1)7.51826Range23.525Trim Var.2.25388
V(Y[t],d=0,D=2)0.60217Range6.727Trim Var.0.177553
V(Y[t],d=1,D=2)1.63865Range11.761Trim Var.0.372168
V(Y[t],d=2,D=2)5.20321Range19.791Trim Var.1.26288
V(Y[t],d=3,D=2)17.5019Range38.149Trim Var.4.36892

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 2.6515 & Range & 6.829 & Trim Var. & 2.13288 \tabularnewline
V(Y[t],d=1,D=0) & 1.39046 & Range & 6.45 & Trim Var. & 0.820591 \tabularnewline
V(Y[t],d=2,D=0) & 2.39122 & Range & 9.608 & Trim Var. & 1.3714 \tabularnewline
V(Y[t],d=3,D=0) & 7.06799 & Range & 17.322 & Trim Var. & 3.99503 \tabularnewline
V(Y[t],d=0,D=1) & 0.25373 & Range & 4.255 & Trim Var. & 0.0788005 \tabularnewline
V(Y[t],d=1,D=1) & 0.677702 & Range & 7.204 & Trim Var. & 0.195687 \tabularnewline
V(Y[t],d=2,D=1) & 2.20059 & Range & 11.887 & Trim Var. & 0.629277 \tabularnewline
V(Y[t],d=3,D=1) & 7.51826 & Range & 23.525 & Trim Var. & 2.25388 \tabularnewline
V(Y[t],d=0,D=2) & 0.60217 & Range & 6.727 & Trim Var. & 0.177553 \tabularnewline
V(Y[t],d=1,D=2) & 1.63865 & Range & 11.761 & Trim Var. & 0.372168 \tabularnewline
V(Y[t],d=2,D=2) & 5.20321 & Range & 19.791 & Trim Var. & 1.26288 \tabularnewline
V(Y[t],d=3,D=2) & 17.5019 & Range & 38.149 & Trim Var. & 4.36892 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=316066&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]2.6515[/C][C]Range[/C][C]6.829[/C][C]Trim Var.[/C][C]2.13288[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]1.39046[/C][C]Range[/C][C]6.45[/C][C]Trim Var.[/C][C]0.820591[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]2.39122[/C][C]Range[/C][C]9.608[/C][C]Trim Var.[/C][C]1.3714[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]7.06799[/C][C]Range[/C][C]17.322[/C][C]Trim Var.[/C][C]3.99503[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]0.25373[/C][C]Range[/C][C]4.255[/C][C]Trim Var.[/C][C]0.0788005[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]0.677702[/C][C]Range[/C][C]7.204[/C][C]Trim Var.[/C][C]0.195687[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]2.20059[/C][C]Range[/C][C]11.887[/C][C]Trim Var.[/C][C]0.629277[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]7.51826[/C][C]Range[/C][C]23.525[/C][C]Trim Var.[/C][C]2.25388[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]0.60217[/C][C]Range[/C][C]6.727[/C][C]Trim Var.[/C][C]0.177553[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]1.63865[/C][C]Range[/C][C]11.761[/C][C]Trim Var.[/C][C]0.372168[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]5.20321[/C][C]Range[/C][C]19.791[/C][C]Trim Var.[/C][C]1.26288[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]17.5019[/C][C]Range[/C][C]38.149[/C][C]Trim Var.[/C][C]4.36892[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=316066&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=316066&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)2.6515Range6.829Trim Var.2.13288
V(Y[t],d=1,D=0)1.39046Range6.45Trim Var.0.820591
V(Y[t],d=2,D=0)2.39122Range9.608Trim Var.1.3714
V(Y[t],d=3,D=0)7.06799Range17.322Trim Var.3.99503
V(Y[t],d=0,D=1)0.25373Range4.255Trim Var.0.0788005
V(Y[t],d=1,D=1)0.677702Range7.204Trim Var.0.195687
V(Y[t],d=2,D=1)2.20059Range11.887Trim Var.0.629277
V(Y[t],d=3,D=1)7.51826Range23.525Trim Var.2.25388
V(Y[t],d=0,D=2)0.60217Range6.727Trim Var.0.177553
V(Y[t],d=1,D=2)1.63865Range11.761Trim Var.0.372168
V(Y[t],d=2,D=2)5.20321Range19.791Trim Var.1.26288
V(Y[t],d=3,D=2)17.5019Range38.149Trim Var.4.36892



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