Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Module--
Title produced by softwareVariance Reduction Matrix
Date of computationThu, 20 Dec 2012 14:35:43 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Dec/20/t1356032156570uqxm19nwgu75.htm/, Retrieved Thu, 31 Oct 2024 23:11:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=203054, Retrieved Thu, 31 Oct 2024 23:11:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact139
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Univariate Data Series] [HPC Retail Sales] [2008-03-02 15:42:48] [74be16979710d4c4e7c6647856088456]
- RMPD  [(Partial) Autocorrelation Function] [Autocorrelatiefun...] [2012-11-10 16:56:48] [391561951b5d7f721cfaa4f5575ab127]
- R P     [(Partial) Autocorrelation Function] [] [2012-11-24 00:03:24] [74be16979710d4c4e7c6647856088456]
-   P       [(Partial) Autocorrelation Function] [Langetermijntrend...] [2012-11-24 09:07:33] [74be16979710d4c4e7c6647856088456]
- RMP         [Variance Reduction Matrix] [Variance Reductio...] [2012-11-24 10:29:02] [391561951b5d7f721cfaa4f5575ab127]
- RM              [Variance Reduction Matrix] [] [2012-12-20 19:35:43] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
617
614
647
580
614
636
388
356
639
753
611
639
630
586
695
552
619
681
421
307
754
690
644
643
608
651
691
627
634
731
475
337
803
722
590
724
627
696
825
677
656
785
412
352
839
729
696
641
695
638
762
635
721
854
418
367
824
687
601
676
740
691
683
594
729
731
386
331
706
715
657
653
642
643
718
654
632
731
392
344
792
852
649
629
685
617
715
715
629
916
531
357
917
828
708
858
775
785
1006
789
734
906
532
387
991
841
892
782
811
792
978
773
796
946
594
438
1023
868
791
760
779
852
1001
734
996
869
599
426
1138
1091
830
909




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 2 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=203054&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=203054&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=203054&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 Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Variance Reduction Matrix
V(Y[t],d=0,D=0)27963.6666666667Range831Trim Var.16696.6252354049
V(Y[t],d=1,D=0)41180.6086905461Range1148Trim Var.18793.7068965517
V(Y[t],d=2,D=0)104954.978890877Range1644Trim Var.59601.7580209895
V(Y[t],d=3,D=0)297834.668725775Range2599Trim Var.172358.21006865
V(Y[t],d=0,D=1)5420.04341736695Range414Trim Var.2886.19903080651
V(Y[t],d=1,D=1)9215.85230024213Range516Trim Var.5598.5491095045
V(Y[t],d=2,D=1)28629.1091554397Range888Trim Var.17596.7645103324
V(Y[t],d=3,D=1)96474.924403183Range1692Trim Var.57421.2945054945
V(Y[t],d=0,D=2)12847.8148148148Range613Trim Var.7121.69078947368
V(Y[t],d=1,D=2)21566.9000176336Range769Trim Var.13113.2994400896
V(Y[t],d=2,D=2)65001.9070080863Range1199Trim Var.40718.5696636925
V(Y[t],d=3,D=2)219102.362637363Range2298Trim Var.135232.136044881

\begin{tabular}{lllllllll}
\hline
Variance Reduction Matrix \tabularnewline
V(Y[t],d=0,D=0) & 27963.6666666667 & Range & 831 & Trim Var. & 16696.6252354049 \tabularnewline
V(Y[t],d=1,D=0) & 41180.6086905461 & Range & 1148 & Trim Var. & 18793.7068965517 \tabularnewline
V(Y[t],d=2,D=0) & 104954.978890877 & Range & 1644 & Trim Var. & 59601.7580209895 \tabularnewline
V(Y[t],d=3,D=0) & 297834.668725775 & Range & 2599 & Trim Var. & 172358.21006865 \tabularnewline
V(Y[t],d=0,D=1) & 5420.04341736695 & Range & 414 & Trim Var. & 2886.19903080651 \tabularnewline
V(Y[t],d=1,D=1) & 9215.85230024213 & Range & 516 & Trim Var. & 5598.5491095045 \tabularnewline
V(Y[t],d=2,D=1) & 28629.1091554397 & Range & 888 & Trim Var. & 17596.7645103324 \tabularnewline
V(Y[t],d=3,D=1) & 96474.924403183 & Range & 1692 & Trim Var. & 57421.2945054945 \tabularnewline
V(Y[t],d=0,D=2) & 12847.8148148148 & Range & 613 & Trim Var. & 7121.69078947368 \tabularnewline
V(Y[t],d=1,D=2) & 21566.9000176336 & Range & 769 & Trim Var. & 13113.2994400896 \tabularnewline
V(Y[t],d=2,D=2) & 65001.9070080863 & Range & 1199 & Trim Var. & 40718.5696636925 \tabularnewline
V(Y[t],d=3,D=2) & 219102.362637363 & Range & 2298 & Trim Var. & 135232.136044881 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=203054&T=1

[TABLE]
[ROW][C]Variance Reduction Matrix[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=0)[/C][C]27963.6666666667[/C][C]Range[/C][C]831[/C][C]Trim Var.[/C][C]16696.6252354049[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=0)[/C][C]41180.6086905461[/C][C]Range[/C][C]1148[/C][C]Trim Var.[/C][C]18793.7068965517[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=0)[/C][C]104954.978890877[/C][C]Range[/C][C]1644[/C][C]Trim Var.[/C][C]59601.7580209895[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=0)[/C][C]297834.668725775[/C][C]Range[/C][C]2599[/C][C]Trim Var.[/C][C]172358.21006865[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=1)[/C][C]5420.04341736695[/C][C]Range[/C][C]414[/C][C]Trim Var.[/C][C]2886.19903080651[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=1)[/C][C]9215.85230024213[/C][C]Range[/C][C]516[/C][C]Trim Var.[/C][C]5598.5491095045[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=1)[/C][C]28629.1091554397[/C][C]Range[/C][C]888[/C][C]Trim Var.[/C][C]17596.7645103324[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=1)[/C][C]96474.924403183[/C][C]Range[/C][C]1692[/C][C]Trim Var.[/C][C]57421.2945054945[/C][/ROW]
[ROW][C]V(Y[t],d=0,D=2)[/C][C]12847.8148148148[/C][C]Range[/C][C]613[/C][C]Trim Var.[/C][C]7121.69078947368[/C][/ROW]
[ROW][C]V(Y[t],d=1,D=2)[/C][C]21566.9000176336[/C][C]Range[/C][C]769[/C][C]Trim Var.[/C][C]13113.2994400896[/C][/ROW]
[ROW][C]V(Y[t],d=2,D=2)[/C][C]65001.9070080863[/C][C]Range[/C][C]1199[/C][C]Trim Var.[/C][C]40718.5696636925[/C][/ROW]
[ROW][C]V(Y[t],d=3,D=2)[/C][C]219102.362637363[/C][C]Range[/C][C]2298[/C][C]Trim Var.[/C][C]135232.136044881[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=203054&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=203054&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)27963.6666666667Range831Trim Var.16696.6252354049
V(Y[t],d=1,D=0)41180.6086905461Range1148Trim Var.18793.7068965517
V(Y[t],d=2,D=0)104954.978890877Range1644Trim Var.59601.7580209895
V(Y[t],d=3,D=0)297834.668725775Range2599Trim Var.172358.21006865
V(Y[t],d=0,D=1)5420.04341736695Range414Trim Var.2886.19903080651
V(Y[t],d=1,D=1)9215.85230024213Range516Trim Var.5598.5491095045
V(Y[t],d=2,D=1)28629.1091554397Range888Trim Var.17596.7645103324
V(Y[t],d=3,D=1)96474.924403183Range1692Trim Var.57421.2945054945
V(Y[t],d=0,D=2)12847.8148148148Range613Trim Var.7121.69078947368
V(Y[t],d=1,D=2)21566.9000176336Range769Trim Var.13113.2994400896
V(Y[t],d=2,D=2)65001.9070080863Range1199Trim Var.40718.5696636925
V(Y[t],d=3,D=2)219102.362637363Range2298Trim Var.135232.136044881



Parameters (Session):
par1 = 12 ;
Parameters (R input):
par1 = 12 ; par2 = ; par3 = ; par4 = ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
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)
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,var(myx))
a<-table.element(a,'Range',header=TRUE)
a<-table.element(a,max(myx)-min(myx))
a<-table.element(a,'Trim Var.',header=TRUE)
smyx <- sort(myx)
sn <- length(smyx)
a<-table.element(a,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()