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 computationFri, 28 Nov 2008 06:13:26 -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/28/t1227878052j1mkgc6rcz14fwu.htm/, Retrieved Sun, 19 May 2024 10:41:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=26080, Retrieved Sun, 19 May 2024 10:41:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact200
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] [58bf45a666dc5198906262e8815a9722]
-   P         [Cross Correlation Function] [Cross Correlation...] [2008-11-28 13:13:26] [63db34dadd44fb018112addcdefe949f] [Current]
F   P           [Cross Correlation Function] [Cross Correlation...] [2008-12-01 18:20:31] [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 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=26080&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=26080&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=26080&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 series0
Degree of non-seasonal differencing (d) of X series0
Degree of seasonal differencing (D) of X series0
Seasonal Period (s)12
Box-Cox transformation parameter (lambda) of Y series0
Degree of non-seasonal differencing (d) of Y series0
Degree of seasonal differencing (D) of Y series0
krho(Y[t],X[t+k])
-14-0.0124980349789936
-130.0188236339733267
-120.424157712865199
-110.156017148083838
-10-0.157569881223324
-90.163226425933707
-80.161674500791162
-7-0.0180595663657289
-60.297100269370301
-50.162769482022679
-40.0673697370473581
-30.256141950078396
-20.0698817641445687
-10.159895213020735
00.906299493670653
10.266374841559612
2-0.0662692566936218
30.309552462006489
40.208773919306907
50.128413420523077
60.292809399008938
70.0239150492163116
80.0196214678038321
90.126897191491610
10-0.068417186234632
110.0497824077197434
120.43152643052607
130.0637657792035708
14-0.144679872943579

\begin{tabular}{lllllllll}
\hline
Cross Correlation Function \tabularnewline
Parameter & Value \tabularnewline
Box-Cox transformation parameter (lambda) of X series & 0 \tabularnewline
Degree of non-seasonal differencing (d) of X series & 0 \tabularnewline
Degree of seasonal differencing (D) of X series & 0 \tabularnewline
Seasonal Period (s) & 12 \tabularnewline
Box-Cox transformation parameter (lambda) of Y series & 0 \tabularnewline
Degree of non-seasonal differencing (d) of Y series & 0 \tabularnewline
Degree of seasonal differencing (D) of Y series & 0 \tabularnewline
k & rho(Y[t],X[t+k]) \tabularnewline
-14 & -0.0124980349789936 \tabularnewline
-13 & 0.0188236339733267 \tabularnewline
-12 & 0.424157712865199 \tabularnewline
-11 & 0.156017148083838 \tabularnewline
-10 & -0.157569881223324 \tabularnewline
-9 & 0.163226425933707 \tabularnewline
-8 & 0.161674500791162 \tabularnewline
-7 & -0.0180595663657289 \tabularnewline
-6 & 0.297100269370301 \tabularnewline
-5 & 0.162769482022679 \tabularnewline
-4 & 0.0673697370473581 \tabularnewline
-3 & 0.256141950078396 \tabularnewline
-2 & 0.0698817641445687 \tabularnewline
-1 & 0.159895213020735 \tabularnewline
0 & 0.906299493670653 \tabularnewline
1 & 0.266374841559612 \tabularnewline
2 & -0.0662692566936218 \tabularnewline
3 & 0.309552462006489 \tabularnewline
4 & 0.208773919306907 \tabularnewline
5 & 0.128413420523077 \tabularnewline
6 & 0.292809399008938 \tabularnewline
7 & 0.0239150492163116 \tabularnewline
8 & 0.0196214678038321 \tabularnewline
9 & 0.126897191491610 \tabularnewline
10 & -0.068417186234632 \tabularnewline
11 & 0.0497824077197434 \tabularnewline
12 & 0.43152643052607 \tabularnewline
13 & 0.0637657792035708 \tabularnewline
14 & -0.144679872943579 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=26080&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]0[/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]0[/C][/ROW]
[ROW][C]Seasonal Period (s)[/C][C]12[/C][/ROW]
[ROW][C]Box-Cox transformation parameter (lambda) of Y series[/C][C]0[/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]0[/C][/ROW]
[ROW][C]k[/C][C]rho(Y[t],X[t+k])[/C][/ROW]
[ROW][C]-14[/C][C]-0.0124980349789936[/C][/ROW]
[ROW][C]-13[/C][C]0.0188236339733267[/C][/ROW]
[ROW][C]-12[/C][C]0.424157712865199[/C][/ROW]
[ROW][C]-11[/C][C]0.156017148083838[/C][/ROW]
[ROW][C]-10[/C][C]-0.157569881223324[/C][/ROW]
[ROW][C]-9[/C][C]0.163226425933707[/C][/ROW]
[ROW][C]-8[/C][C]0.161674500791162[/C][/ROW]
[ROW][C]-7[/C][C]-0.0180595663657289[/C][/ROW]
[ROW][C]-6[/C][C]0.297100269370301[/C][/ROW]
[ROW][C]-5[/C][C]0.162769482022679[/C][/ROW]
[ROW][C]-4[/C][C]0.0673697370473581[/C][/ROW]
[ROW][C]-3[/C][C]0.256141950078396[/C][/ROW]
[ROW][C]-2[/C][C]0.0698817641445687[/C][/ROW]
[ROW][C]-1[/C][C]0.159895213020735[/C][/ROW]
[ROW][C]0[/C][C]0.906299493670653[/C][/ROW]
[ROW][C]1[/C][C]0.266374841559612[/C][/ROW]
[ROW][C]2[/C][C]-0.0662692566936218[/C][/ROW]
[ROW][C]3[/C][C]0.309552462006489[/C][/ROW]
[ROW][C]4[/C][C]0.208773919306907[/C][/ROW]
[ROW][C]5[/C][C]0.128413420523077[/C][/ROW]
[ROW][C]6[/C][C]0.292809399008938[/C][/ROW]
[ROW][C]7[/C][C]0.0239150492163116[/C][/ROW]
[ROW][C]8[/C][C]0.0196214678038321[/C][/ROW]
[ROW][C]9[/C][C]0.126897191491610[/C][/ROW]
[ROW][C]10[/C][C]-0.068417186234632[/C][/ROW]
[ROW][C]11[/C][C]0.0497824077197434[/C][/ROW]
[ROW][C]12[/C][C]0.43152643052607[/C][/ROW]
[ROW][C]13[/C][C]0.0637657792035708[/C][/ROW]
[ROW][C]14[/C][C]-0.144679872943579[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=26080&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=26080&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 series0
Degree of non-seasonal differencing (d) of X series0
Degree of seasonal differencing (D) of X series0
Seasonal Period (s)12
Box-Cox transformation parameter (lambda) of Y series0
Degree of non-seasonal differencing (d) of Y series0
Degree of seasonal differencing (D) of Y series0
krho(Y[t],X[t+k])
-14-0.0124980349789936
-130.0188236339733267
-120.424157712865199
-110.156017148083838
-10-0.157569881223324
-90.163226425933707
-80.161674500791162
-7-0.0180595663657289
-60.297100269370301
-50.162769482022679
-40.0673697370473581
-30.256141950078396
-20.0698817641445687
-10.159895213020735
00.906299493670653
10.266374841559612
2-0.0662692566936218
30.309552462006489
40.208773919306907
50.128413420523077
60.292809399008938
70.0239150492163116
80.0196214678038321
90.126897191491610
10-0.068417186234632
110.0497824077197434
120.43152643052607
130.0637657792035708
14-0.144679872943579



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