Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_cross.wasp
Title produced by softwareCross Correlation Function
Date of computationMon, 20 Dec 2010 12:46:51 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/20/t1292849094ieoqs75vumnexn9.htm/, Retrieved Sat, 04 May 2024 01:32:02 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=112885, Retrieved Sat, 04 May 2024 01:32:02 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact125
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Cross Correlation Function] [appelen] [2009-12-17 16:17:08] [7773f496f69461f4a67891f0ef752622]
-   P   [Cross Correlation Function] [Appelen kruiscorr...] [2009-12-17 16:28:57] [7773f496f69461f4a67891f0ef752622]
-    D      [Cross Correlation Function] [CCKoffieD1] [2010-12-20 12:46:51] [9be3691a9b6ce074cb51fd18377fce28] [Current]
Feedback Forum

Post a new message
Dataseries X:
1,64
1,65
1,65
1,65
1,66
1,66
1,67
1,67
1,68
1,68
1,68
1,68
1,69
1,69
1,7
1,7
1,71
1,71
1,71
1,71
1,72
1,72
1,72
1,73
1,73
1,73
1,74
1,75
1,75
1,76
1,76
1,77
1,77
1,78
1,79
1,8
1,8
1,81
1,81
1,81
1,81
1,82
1,82
1,82
1,83
1,83
1,83
1,84
1,84
1,85
1,85
1,86
1,86
1,86
1,86
1,86
Dataseries Y:
7,14
7,24
7,33
7,61
7,66
7,69
7,7
7,68
7,71
7,71
7,72
7,68
7,72
7,74
7,76
7,9
7,97
7,96
7,95
7,97
7,93
7,99
7,96
7,92
7,97
7,98
8
8,04
8,17
8,29
8,26
8,3
8,32
8,28
8,27
8,32
8,31
8,34
8,32
8,36
8,33
8,35
8,34
8,37
8,31
8,33
8,34
8,25
8,27
8,31
8,25
8,3
8,3
8,35
8,78
8,9




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 1 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112885&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112885&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112885&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 time1 seconds
R Server'George Udny Yule' @ 72.249.76.132







Cross Correlation Function
ParameterValue
Box-Cox transformation parameter (lambda) of X series1
Degree of non-seasonal differencing (d) of X series0
Degree of seasonal differencing (D) of X series1
Seasonal Period (s)1
Box-Cox transformation parameter (lambda) of Y series1
Degree of non-seasonal differencing (d) of Y series0
Degree of seasonal differencing (D) of Y series1
krho(Y[t],X[t+k])
-14-0.0589869786459909
-13-0.0196623262153315
-12-0.0406231079354482
-11-0.103319959452255
-10-0.0157669597009742
-9-0.0997955802249793
-80.0443329808062645
-70.0122425804736976
-6-0.12743413311257
-50.0853270760287952
-40.0105731376818280
-3-0.0669632053182488
-20.128176107686730
-1-0.0819881904450572
0-0.117788463648443
1-0.081988190445058
20.0382116905694157
30.00908918853350346
4-0.0515672329043593
50.146539978397276
60.0562045739928792
7-0.0767943684259136
80.0517527265478971
9-0.0311629321148627
100.0111296186124504
11-0.000370987287081292
120.0345018176985986
130.0712295591196895
14-0.0608419150814006

\begin{tabular}{lllllllll}
\hline
Cross Correlation Function \tabularnewline
Parameter & Value \tabularnewline
Box-Cox transformation parameter (lambda) of X series & 1 \tabularnewline
Degree of non-seasonal differencing (d) of X series & 0 \tabularnewline
Degree of seasonal differencing (D) of X series & 1 \tabularnewline
Seasonal Period (s) & 1 \tabularnewline
Box-Cox transformation parameter (lambda) of Y series & 1 \tabularnewline
Degree of non-seasonal differencing (d) of Y series & 0 \tabularnewline
Degree of seasonal differencing (D) of Y series & 1 \tabularnewline
k & rho(Y[t],X[t+k]) \tabularnewline
-14 & -0.0589869786459909 \tabularnewline
-13 & -0.0196623262153315 \tabularnewline
-12 & -0.0406231079354482 \tabularnewline
-11 & -0.103319959452255 \tabularnewline
-10 & -0.0157669597009742 \tabularnewline
-9 & -0.0997955802249793 \tabularnewline
-8 & 0.0443329808062645 \tabularnewline
-7 & 0.0122425804736976 \tabularnewline
-6 & -0.12743413311257 \tabularnewline
-5 & 0.0853270760287952 \tabularnewline
-4 & 0.0105731376818280 \tabularnewline
-3 & -0.0669632053182488 \tabularnewline
-2 & 0.128176107686730 \tabularnewline
-1 & -0.0819881904450572 \tabularnewline
0 & -0.117788463648443 \tabularnewline
1 & -0.081988190445058 \tabularnewline
2 & 0.0382116905694157 \tabularnewline
3 & 0.00908918853350346 \tabularnewline
4 & -0.0515672329043593 \tabularnewline
5 & 0.146539978397276 \tabularnewline
6 & 0.0562045739928792 \tabularnewline
7 & -0.0767943684259136 \tabularnewline
8 & 0.0517527265478971 \tabularnewline
9 & -0.0311629321148627 \tabularnewline
10 & 0.0111296186124504 \tabularnewline
11 & -0.000370987287081292 \tabularnewline
12 & 0.0345018176985986 \tabularnewline
13 & 0.0712295591196895 \tabularnewline
14 & -0.0608419150814006 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112885&T=1

[TABLE]
[ROW][C]Cross Correlation Function[/C][/ROW]
[ROW][C]Parameter[/C][C]Value[/C][/ROW]
[ROW][C]Box-Cox transformation parameter (lambda) of X series[/C][C]1[/C][/ROW]
[ROW][C]Degree of non-seasonal differencing (d) of X series[/C][C]0[/C][/ROW]
[ROW][C]Degree of seasonal differencing (D) of X series[/C][C]1[/C][/ROW]
[ROW][C]Seasonal Period (s)[/C][C]1[/C][/ROW]
[ROW][C]Box-Cox transformation parameter (lambda) of Y series[/C][C]1[/C][/ROW]
[ROW][C]Degree of non-seasonal differencing (d) of Y series[/C][C]0[/C][/ROW]
[ROW][C]Degree of seasonal differencing (D) of Y series[/C][C]1[/C][/ROW]
[ROW][C]k[/C][C]rho(Y[t],X[t+k])[/C][/ROW]
[ROW][C]-14[/C][C]-0.0589869786459909[/C][/ROW]
[ROW][C]-13[/C][C]-0.0196623262153315[/C][/ROW]
[ROW][C]-12[/C][C]-0.0406231079354482[/C][/ROW]
[ROW][C]-11[/C][C]-0.103319959452255[/C][/ROW]
[ROW][C]-10[/C][C]-0.0157669597009742[/C][/ROW]
[ROW][C]-9[/C][C]-0.0997955802249793[/C][/ROW]
[ROW][C]-8[/C][C]0.0443329808062645[/C][/ROW]
[ROW][C]-7[/C][C]0.0122425804736976[/C][/ROW]
[ROW][C]-6[/C][C]-0.12743413311257[/C][/ROW]
[ROW][C]-5[/C][C]0.0853270760287952[/C][/ROW]
[ROW][C]-4[/C][C]0.0105731376818280[/C][/ROW]
[ROW][C]-3[/C][C]-0.0669632053182488[/C][/ROW]
[ROW][C]-2[/C][C]0.128176107686730[/C][/ROW]
[ROW][C]-1[/C][C]-0.0819881904450572[/C][/ROW]
[ROW][C]0[/C][C]-0.117788463648443[/C][/ROW]
[ROW][C]1[/C][C]-0.081988190445058[/C][/ROW]
[ROW][C]2[/C][C]0.0382116905694157[/C][/ROW]
[ROW][C]3[/C][C]0.00908918853350346[/C][/ROW]
[ROW][C]4[/C][C]-0.0515672329043593[/C][/ROW]
[ROW][C]5[/C][C]0.146539978397276[/C][/ROW]
[ROW][C]6[/C][C]0.0562045739928792[/C][/ROW]
[ROW][C]7[/C][C]-0.0767943684259136[/C][/ROW]
[ROW][C]8[/C][C]0.0517527265478971[/C][/ROW]
[ROW][C]9[/C][C]-0.0311629321148627[/C][/ROW]
[ROW][C]10[/C][C]0.0111296186124504[/C][/ROW]
[ROW][C]11[/C][C]-0.000370987287081292[/C][/ROW]
[ROW][C]12[/C][C]0.0345018176985986[/C][/ROW]
[ROW][C]13[/C][C]0.0712295591196895[/C][/ROW]
[ROW][C]14[/C][C]-0.0608419150814006[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112885&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112885&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Cross Correlation Function
ParameterValue
Box-Cox transformation parameter (lambda) of X series1
Degree of non-seasonal differencing (d) of X series0
Degree of seasonal differencing (D) of X series1
Seasonal Period (s)1
Box-Cox transformation parameter (lambda) of Y series1
Degree of non-seasonal differencing (d) of Y series0
Degree of seasonal differencing (D) of Y series1
krho(Y[t],X[t+k])
-14-0.0589869786459909
-13-0.0196623262153315
-12-0.0406231079354482
-11-0.103319959452255
-10-0.0157669597009742
-9-0.0997955802249793
-80.0443329808062645
-70.0122425804736976
-6-0.12743413311257
-50.0853270760287952
-40.0105731376818280
-3-0.0669632053182488
-20.128176107686730
-1-0.0819881904450572
0-0.117788463648443
1-0.081988190445058
20.0382116905694157
30.00908918853350346
4-0.0515672329043593
50.146539978397276
60.0562045739928792
7-0.0767943684259136
80.0517527265478971
9-0.0311629321148627
100.0111296186124504
11-0.000370987287081292
120.0345018176985986
130.0712295591196895
14-0.0608419150814006



Parameters (Session):
par1 = 1 ; par2 = 0 ; par3 = 1 ; par4 = 1 ; par5 = 1 ; par6 = 0 ; par7 = 1 ;
Parameters (R input):
par1 = 1 ; par2 = 0 ; par3 = 1 ; par4 = 1 ; par5 = 1 ; par6 = 0 ; par7 = 1 ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.numeric(par4)
par5 <- as.numeric(par5)
par6 <- as.numeric(par6)
par7 <- as.numeric(par7)
if (par1 == 0) {
x <- log(x)
} else {
x <- (x ^ par1 - 1) / par1
}
if (par5 == 0) {
y <- log(y)
} else {
y <- (y ^ par5 - 1) / par5
}
if (par2 > 0) x <- diff(x,lag=1,difference=par2)
if (par6 > 0) y <- diff(y,lag=1,difference=par6)
if (par3 > 0) x <- diff(x,lag=par4,difference=par3)
if (par7 > 0) y <- diff(y,lag=par4,difference=par7)
x
y
bitmap(file='test1.png')
(r <- ccf(x,y,main='Cross Correlation Function',ylab='CCF',xlab='Lag (k)'))
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Cross Correlation Function',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'Value',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Box-Cox transformation parameter (lambda) of X series',header=TRUE)
a<-table.element(a,par1)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degree of non-seasonal differencing (d) of X series',header=TRUE)
a<-table.element(a,par2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degree of seasonal differencing (D) of X series',header=TRUE)
a<-table.element(a,par3)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Seasonal Period (s)',header=TRUE)
a<-table.element(a,par4)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Box-Cox transformation parameter (lambda) of Y series',header=TRUE)
a<-table.element(a,par5)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degree of non-seasonal differencing (d) of Y series',header=TRUE)
a<-table.element(a,par6)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degree of seasonal differencing (D) of Y series',header=TRUE)
a<-table.element(a,par7)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'k',header=TRUE)
a<-table.element(a,'rho(Y[t],X[t+k])',header=TRUE)
a<-table.row.end(a)
mylength <- length(r$acf)
myhalf <- floor((mylength-1)/2)
for (i in 1:mylength) {
a<-table.row.start(a)
a<-table.element(a,i-myhalf-1,header=TRUE)
a<-table.element(a,r$acf[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')