Free Statistics

of Irreproducible Research!

Author's title

Cross Correlation Function hoeveelheid uitvoer (x) en hoeveelheid invoer (y...

Author*The author of this computation has been verified*
R Software Modulerwasp_cross.wasp
Title produced by softwareCross Correlation Function
Date of computationThu, 27 Nov 2008 14:51:52 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/27/t12278228918hde4yek4zdd9e6.htm/, Retrieved Mon, 20 May 2024 10:10:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25918, Retrieved Mon, 20 May 2024 10:10:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact196
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Law of Averages] [Random Walk Simul...] [2008-11-25 18:40:39] [b98453cac15ba1066b407e146608df68]
F       [Law of Averages] [Random Walk Simul...] [2008-11-27 19:45:04] [58bf45a666dc5198906262e8815a9722]
- RMPD      [Cross Correlation Function] [Cross Correlation...] [2008-11-27 21:51:52] [63db34dadd44fb018112addcdefe949f] [Current]
-   P         [Cross Correlation Function] [Cross Correlation...] [2008-11-28 13:13:26] [58bf45a666dc5198906262e8815a9722]
F   P           [Cross Correlation Function] [Cross Correlation...] [2008-12-01 18:20:31] [58bf45a666dc5198906262e8815a9722]
F   P         [Cross Correlation Function] [Cross Correlation...] [2008-11-28 13:30:46] [58bf45a666dc5198906262e8815a9722]
Feedback Forum

Post a new message
Dataseries X:
106
82
114
118
105
105
103
107
123
112
104
122
108
94
120
118
117
113
106
108
122
115
110
120
104
96
121
111
120
114
107
108
127
105
119
121
106
97
119
122
121
106
114
112
127
109
118
123
115
105
116
131
121
104
127
126
124
132
117
123
Dataseries Y:
101
88
108
116
104
110
105
107
124
109
102
125
102
101
116
114
115
119
108
110
120
113
111
121
99
104
117
108
122
122
111
111
131
108
118
119
104
105
118
124
123
114
119
116
129
112
123
124
117
110
118
135
127
117
137
130
132
142
122
126




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25918&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25918&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25918&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Cross Correlation Function
ParameterValue
Box-Cox transformation parameter (lambda) of X series1
Degree of non-seasonal differencing (d) of X series1
Degree of seasonal differencing (D) of X series1
Seasonal Period (s)12
Box-Cox transformation parameter (lambda) of Y series1
Degree of non-seasonal differencing (d) of Y series1
Degree of seasonal differencing (D) of Y series1
krho(Y[t],X[t+k])
-13-0.152378293738044
-120.159661518706
-11-0.043237563367411
-10-0.141279317275468
-90.117902049646391
-80.128898649864126
-7-0.288073632921098
-60.246130482987249
-5-0.0901456629928278
-4-0.151866213725013
-30.262648442817544
-2-0.00389566460224433
-1-0.605650608689285
00.94346836200673
1-0.451611334924499
2-0.165040346731082
30.333525008037394
4-0.104342663897598
5-0.190611746015375
60.275575183130982
7-0.171453373617886
8-0.059420365238866
90.208800824102483
10-0.0950124110048779
11-0.115613692088155
120.184444024538540
13-0.0877849463023164

\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 & 1 \tabularnewline
Degree of seasonal differencing (D) of X series & 1 \tabularnewline
Seasonal Period (s) & 12 \tabularnewline
Box-Cox transformation parameter (lambda) of Y series & 1 \tabularnewline
Degree of non-seasonal differencing (d) of Y series & 1 \tabularnewline
Degree of seasonal differencing (D) of Y series & 1 \tabularnewline
k & rho(Y[t],X[t+k]) \tabularnewline
-13 & -0.152378293738044 \tabularnewline
-12 & 0.159661518706 \tabularnewline
-11 & -0.043237563367411 \tabularnewline
-10 & -0.141279317275468 \tabularnewline
-9 & 0.117902049646391 \tabularnewline
-8 & 0.128898649864126 \tabularnewline
-7 & -0.288073632921098 \tabularnewline
-6 & 0.246130482987249 \tabularnewline
-5 & -0.0901456629928278 \tabularnewline
-4 & -0.151866213725013 \tabularnewline
-3 & 0.262648442817544 \tabularnewline
-2 & -0.00389566460224433 \tabularnewline
-1 & -0.605650608689285 \tabularnewline
0 & 0.94346836200673 \tabularnewline
1 & -0.451611334924499 \tabularnewline
2 & -0.165040346731082 \tabularnewline
3 & 0.333525008037394 \tabularnewline
4 & -0.104342663897598 \tabularnewline
5 & -0.190611746015375 \tabularnewline
6 & 0.275575183130982 \tabularnewline
7 & -0.171453373617886 \tabularnewline
8 & -0.059420365238866 \tabularnewline
9 & 0.208800824102483 \tabularnewline
10 & -0.0950124110048779 \tabularnewline
11 & -0.115613692088155 \tabularnewline
12 & 0.184444024538540 \tabularnewline
13 & -0.0877849463023164 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25918&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]1[/C][/ROW]
[ROW][C]Degree of seasonal differencing (D) of X series[/C][C]1[/C][/ROW]
[ROW][C]Seasonal Period (s)[/C][C]12[/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]1[/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]-13[/C][C]-0.152378293738044[/C][/ROW]
[ROW][C]-12[/C][C]0.159661518706[/C][/ROW]
[ROW][C]-11[/C][C]-0.043237563367411[/C][/ROW]
[ROW][C]-10[/C][C]-0.141279317275468[/C][/ROW]
[ROW][C]-9[/C][C]0.117902049646391[/C][/ROW]
[ROW][C]-8[/C][C]0.128898649864126[/C][/ROW]
[ROW][C]-7[/C][C]-0.288073632921098[/C][/ROW]
[ROW][C]-6[/C][C]0.246130482987249[/C][/ROW]
[ROW][C]-5[/C][C]-0.0901456629928278[/C][/ROW]
[ROW][C]-4[/C][C]-0.151866213725013[/C][/ROW]
[ROW][C]-3[/C][C]0.262648442817544[/C][/ROW]
[ROW][C]-2[/C][C]-0.00389566460224433[/C][/ROW]
[ROW][C]-1[/C][C]-0.605650608689285[/C][/ROW]
[ROW][C]0[/C][C]0.94346836200673[/C][/ROW]
[ROW][C]1[/C][C]-0.451611334924499[/C][/ROW]
[ROW][C]2[/C][C]-0.165040346731082[/C][/ROW]
[ROW][C]3[/C][C]0.333525008037394[/C][/ROW]
[ROW][C]4[/C][C]-0.104342663897598[/C][/ROW]
[ROW][C]5[/C][C]-0.190611746015375[/C][/ROW]
[ROW][C]6[/C][C]0.275575183130982[/C][/ROW]
[ROW][C]7[/C][C]-0.171453373617886[/C][/ROW]
[ROW][C]8[/C][C]-0.059420365238866[/C][/ROW]
[ROW][C]9[/C][C]0.208800824102483[/C][/ROW]
[ROW][C]10[/C][C]-0.0950124110048779[/C][/ROW]
[ROW][C]11[/C][C]-0.115613692088155[/C][/ROW]
[ROW][C]12[/C][C]0.184444024538540[/C][/ROW]
[ROW][C]13[/C][C]-0.0877849463023164[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25918&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25918&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 series1
Degree of seasonal differencing (D) of X series1
Seasonal Period (s)12
Box-Cox transformation parameter (lambda) of Y series1
Degree of non-seasonal differencing (d) of Y series1
Degree of seasonal differencing (D) of Y series1
krho(Y[t],X[t+k])
-13-0.152378293738044
-120.159661518706
-11-0.043237563367411
-10-0.141279317275468
-90.117902049646391
-80.128898649864126
-7-0.288073632921098
-60.246130482987249
-5-0.0901456629928278
-4-0.151866213725013
-30.262648442817544
-2-0.00389566460224433
-1-0.605650608689285
00.94346836200673
1-0.451611334924499
2-0.165040346731082
30.333525008037394
4-0.104342663897598
5-0.190611746015375
60.275575183130982
7-0.171453373617886
8-0.059420365238866
90.208800824102483
10-0.0950124110048779
11-0.115613692088155
120.184444024538540
13-0.0877849463023164



Parameters (Session):
par1 = 1 ; par2 = 1 ; par3 = 1 ; par4 = 12 ; par5 = 1 ; par6 = 1 ; par7 = 1 ;
Parameters (R input):
par1 = 1 ; par2 = 1 ; par3 = 1 ; par4 = 12 ; par5 = 1 ; par6 = 1 ; 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')