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 computationSun, 18 Dec 2016 11:06:58 +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/18/t1482055639y3mrbq6r15fiyja.htm/, Retrieved Fri, 01 Nov 2024 03:29:43 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=300991, Retrieved Fri, 01 Nov 2024 03:29:43 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact129
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Variance Reduction Matrix] [n2383 var reduction] [2016-12-18 10:06:58] [afe7f6443461a2cd6ee0b843643e84a9] [Current]
Feedback Forum

Post a new message
Dataseries X:
2119.9
2108.7
2092
2104.2
2110.1
2114
2138.8
2165.5
2155.1
2135.2
2163.1
2175.2
2183.3
2201.5
2212.3
2223.8
2241.9
2269.2
2261.4
2273.4
2299.3
2315.5
2338.7
2333
2311
2303.6
2310.5
2295.8
2265.5
2271.1
2231.9
2245
2249.7
2300.5
2280.4
2290.7
2261.5
2259.1
2249.8
2271.2
2259
2259.4
2250.2
2243.3
2234.3
2216.5
2197.6
2211.7
2206.7
2214.6
2229.8
2219.5
2213.8
2214.1
2224.1
2229.6
2251.7
2262.9
2268.9
2293.7
2312.4
2342
2327.4
2366.2
2371.8
2364.4
2370.5
2412.8
2447.3
2443.5
2459.3
2480.7
2504.4
2505.5
2534
2538.7
2538.1
2522
2566.4
2572.8
2557.3
2541
2540.7
2508.5
2567.1
2553.6
2522.4
2520.6
2499.4
2470.8
2479.3
2481.8
2470.3
2491
2479.1
2456.6
2456.1
2482.2
2444.7
2425.3
2389.3
2367.7
2339.3
2342.4
2343.6
2346.3
2363.5
2338.7
2369.4
2356
2348.6
2349.7
2371.9
2364.9
2394.1
2399.2
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300991&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
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.
V(Y[t],d=0,D=0)16055.8Range480.8Trim Var.11976.4
V(Y[t],d=1,D=0)393.527Range97.8Trim Var.249.49
V(Y[t],d=2,D=0)769.131Range162.9Trim Var.434.47
V(Y[t],d=3,D=0)2421.88Range285.6Trim Var.1353.04
V(Y[t],d=0,D=1)10534.6Range351.3Trim Var.8385.77
V(Y[t],d=1,D=1)750.918Range126.8Trim Var.478.701
V(Y[t],d=2,D=1)1505.75Range176.6Trim Var.932.042
V(Y[t],d=3,D=1)4865.19Range316.3Trim Var.2991.01
V(Y[t],d=0,D=2)15275.6Range486.2Trim Var.11219.3
V(Y[t],d=1,D=2)2084.41Range200.8Trim Var.1322.23
V(Y[t],d=2,D=2)4609.36Range317.6Trim Var.2675.44
V(Y[t],d=3,D=2)15106.1Range584.7Trim Var.8876.25

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
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. \tabularnewline
V(Y[t],d=0,D=0) & 16055.8 & Range & 480.8 & Trim Var. & 11976.4 \tabularnewline
V(Y[t],d=1,D=0) & 393.527 & Range & 97.8 & Trim Var. & 249.49 \tabularnewline
V(Y[t],d=2,D=0) & 769.131 & Range & 162.9 & Trim Var. & 434.47 \tabularnewline
V(Y[t],d=3,D=0) & 2421.88 & Range & 285.6 & Trim Var. & 1353.04 \tabularnewline
V(Y[t],d=0,D=1) & 10534.6 & Range & 351.3 & Trim Var. & 8385.77 \tabularnewline
V(Y[t],d=1,D=1) & 750.918 & Range & 126.8 & Trim Var. & 478.701 \tabularnewline
V(Y[t],d=2,D=1) & 1505.75 & Range & 176.6 & Trim Var. & 932.042 \tabularnewline
V(Y[t],d=3,D=1) & 4865.19 & Range & 316.3 & Trim Var. & 2991.01 \tabularnewline
V(Y[t],d=0,D=2) & 15275.6 & Range & 486.2 & Trim Var. & 11219.3 \tabularnewline
V(Y[t],d=1,D=2) & 2084.41 & Range & 200.8 & Trim Var. & 1322.23 \tabularnewline
V(Y[t],d=2,D=2) & 4609.36 & Range & 317.6 & Trim Var. & 2675.44 \tabularnewline
V(Y[t],d=3,D=2) & 15106.1 & Range & 584.7 & Trim Var. & 8876.25 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300991&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]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.[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]16055.8[/C][C]Range[/C][C]480.8[/C][C]Trim Var.[/C][C]11976.4[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]393.527[/C][C]Range[/C][C]97.8[/C][C]Trim Var.[/C][C]249.49[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]769.131[/C][C]Range[/C][C]162.9[/C][C]Trim Var.[/C][C]434.47[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]2421.88[/C][C]Range[/C][C]285.6[/C][C]Trim Var.[/C][C]1353.04[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]10534.6[/C][C]Range[/C][C]351.3[/C][C]Trim Var.[/C][C]8385.77[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]750.918[/C][C]Range[/C][C]126.8[/C][C]Trim Var.[/C][C]478.701[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]1505.75[/C][C]Range[/C][C]176.6[/C][C]Trim Var.[/C][C]932.042[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]4865.19[/C][C]Range[/C][C]316.3[/C][C]Trim Var.[/C][C]2991.01[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]15275.6[/C][C]Range[/C][C]486.2[/C][C]Trim Var.[/C][C]11219.3[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]2084.41[/C][C]Range[/C][C]200.8[/C][C]Trim Var.[/C][C]1322.23[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]4609.36[/C][C]Range[/C][C]317.6[/C][C]Trim Var.[/C][C]2675.44[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]15106.1[/C][C]Range[/C][C]584.7[/C][C]Trim Var.[/C][C]8876.25[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=300991&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300991&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
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.
V(Y[t],d=0,D=0)16055.8Range480.8Trim Var.11976.4
V(Y[t],d=1,D=0)393.527Range97.8Trim Var.249.49
V(Y[t],d=2,D=0)769.131Range162.9Trim Var.434.47
V(Y[t],d=3,D=0)2421.88Range285.6Trim Var.1353.04
V(Y[t],d=0,D=1)10534.6Range351.3Trim Var.8385.77
V(Y[t],d=1,D=1)750.918Range126.8Trim Var.478.701
V(Y[t],d=2,D=1)1505.75Range176.6Trim Var.932.042
V(Y[t],d=3,D=1)4865.19Range316.3Trim Var.2991.01
V(Y[t],d=0,D=2)15275.6Range486.2Trim Var.11219.3
V(Y[t],d=1,D=2)2084.41Range200.8Trim Var.1322.23
V(Y[t],d=2,D=2)4609.36Range317.6Trim Var.2675.44
V(Y[t],d=3,D=2)15106.1Range584.7Trim Var.8876.25



Parameters (Session):
par1 = n1862 ; par4 = 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()