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, 07 Dec 2016 17:05: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/2016/Dec/07/t1481126824uz1lywflrue3e0e.htm/, Retrieved Fri, 01 Nov 2024 03:48:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=298225, Retrieved Fri, 01 Nov 2024 03:48:45 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact70
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [N114] [2016-12-07 16:05:57] [85f5800284aab30c091766186b093bb4] [Current]
Feedback Forum

Post a new message
Dataseries X:
658.7
780.2
827.6
874.9
695.9
881.4
1188.1
1478.3
2087.4
975
1475.1
2137.5
2826.4
3867.3




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

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







Variance Reduction Matrix
V(Y[t],d=0,D=0)890967Range3208.6Trim Var.455753
V(Y[t],d=1,D=0)277284Range2153.3Trim Var.82034.2
V(Y[t],d=2,D=0)540950Range3334Trim Var.39045.4
V(Y[t],d=3,D=0)1808610Range5374.4Trim Var.342524
V(Y[t],d=0,D=1)749507Range2855.1Trim Var.181433
V(Y[t],d=1,D=1)793656Range3451.2Trim Var.60413.6
V(Y[t],d=2,D=1)1540320Range4159.5Trim Var.388167
V(Y[t],d=3,D=1)4519790Range6208.5Trim Var.1932150
V(Y[t],d=0,D=2)1617670Range3451.2Trim Var.467047
V(Y[t],d=1,D=2)3467760Range4813.1Trim Var.192059
V(Y[t],d=2,D=2)4643080Range4997.1Trim Var.605880
V(Y[t],d=3,D=2)12258100Range6097.9Trim Var.NA

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 890967 & Range & 3208.6 & Trim Var. & 455753 \tabularnewline
V(Y[t],d=1,D=0) & 277284 & Range & 2153.3 & Trim Var. & 82034.2 \tabularnewline
V(Y[t],d=2,D=0) & 540950 & Range & 3334 & Trim Var. & 39045.4 \tabularnewline
V(Y[t],d=3,D=0) & 1808610 & Range & 5374.4 & Trim Var. & 342524 \tabularnewline
V(Y[t],d=0,D=1) & 749507 & Range & 2855.1 & Trim Var. & 181433 \tabularnewline
V(Y[t],d=1,D=1) & 793656 & Range & 3451.2 & Trim Var. & 60413.6 \tabularnewline
V(Y[t],d=2,D=1) & 1540320 & Range & 4159.5 & Trim Var. & 388167 \tabularnewline
V(Y[t],d=3,D=1) & 4519790 & Range & 6208.5 & Trim Var. & 1932150 \tabularnewline
V(Y[t],d=0,D=2) & 1617670 & Range & 3451.2 & Trim Var. & 467047 \tabularnewline
V(Y[t],d=1,D=2) & 3467760 & Range & 4813.1 & Trim Var. & 192059 \tabularnewline
V(Y[t],d=2,D=2) & 4643080 & Range & 4997.1 & Trim Var. & 605880 \tabularnewline
V(Y[t],d=3,D=2) & 12258100 & Range & 6097.9 & Trim Var. & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=298225&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]890967[/C][C]Range[/C][C]3208.6[/C][C]Trim Var.[/C][C]455753[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]277284[/C][C]Range[/C][C]2153.3[/C][C]Trim Var.[/C][C]82034.2[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]540950[/C][C]Range[/C][C]3334[/C][C]Trim Var.[/C][C]39045.4[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]1808610[/C][C]Range[/C][C]5374.4[/C][C]Trim Var.[/C][C]342524[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]749507[/C][C]Range[/C][C]2855.1[/C][C]Trim Var.[/C][C]181433[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]793656[/C][C]Range[/C][C]3451.2[/C][C]Trim Var.[/C][C]60413.6[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]1540320[/C][C]Range[/C][C]4159.5[/C][C]Trim Var.[/C][C]388167[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]4519790[/C][C]Range[/C][C]6208.5[/C][C]Trim Var.[/C][C]1932150[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]1617670[/C][C]Range[/C][C]3451.2[/C][C]Trim Var.[/C][C]467047[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]3467760[/C][C]Range[/C][C]4813.1[/C][C]Trim Var.[/C][C]192059[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]4643080[/C][C]Range[/C][C]4997.1[/C][C]Trim Var.[/C][C]605880[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]12258100[/C][C]Range[/C][C]6097.9[/C][C]Trim Var.[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=298225&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298225&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)890967Range3208.6Trim Var.455753
V(Y[t],d=1,D=0)277284Range2153.3Trim Var.82034.2
V(Y[t],d=2,D=0)540950Range3334Trim Var.39045.4
V(Y[t],d=3,D=0)1808610Range5374.4Trim Var.342524
V(Y[t],d=0,D=1)749507Range2855.1Trim Var.181433
V(Y[t],d=1,D=1)793656Range3451.2Trim Var.60413.6
V(Y[t],d=2,D=1)1540320Range4159.5Trim Var.388167
V(Y[t],d=3,D=1)4519790Range6208.5Trim Var.1932150
V(Y[t],d=0,D=2)1617670Range3451.2Trim Var.467047
V(Y[t],d=1,D=2)3467760Range4813.1Trim Var.192059
V(Y[t],d=2,D=2)4643080Range4997.1Trim Var.605880
V(Y[t],d=3,D=2)12258100Range6097.9Trim Var.NA



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