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 computationMon, 01 Dec 2008 11:20:31 -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/Dec/01/t12281556871zo9nhljx2jkvmg.htm/, Retrieved Sun, 05 May 2024 17:01:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=27086, Retrieved Sun, 05 May 2024 17:01:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact243
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] [58bf45a666dc5198906262e8815a9722]
F   P           [Cross Correlation Function] [Cross Correlation...] [2008-12-01 18:20:31] [63db34dadd44fb018112addcdefe949f] [Current]
Feedback Forum
2008-12-04 14:47:50 [Matthieu Blondeau] [reply
Dit is correct.

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27086&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 series0
Degree of seasonal differencing (D) of X series0
Seasonal Period (s)12
Box-Cox transformation parameter (lambda) of Y series1
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.0170800788207035
-130.0270629344236449
-120.418231042820373
-110.137553817300193
-10-0.140833373374793
-90.156926758169604
-80.160417412106477
-7-0.00275558102360061
-60.301156545364183
-50.163716758605665
-40.0769489404032266
-30.270487041659649
-20.0855078278369955
-10.166186792074494
00.908606664874919
10.257022013730373
2-0.0473028843702487
30.331526365496383
40.216590176296879
50.137845019261989
60.294832091106528
70.0320190221812084
80.0267981196946328
90.122135191743719
10-0.0587257289622674
110.0533568694918666
120.421510598894973
130.0572998759907533
14-0.144013034925281

\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 & 0 \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 & 0 \tabularnewline
Degree of seasonal differencing (D) of Y series & 0 \tabularnewline
k & rho(Y[t],X[t+k]) \tabularnewline
-14 & -0.0170800788207035 \tabularnewline
-13 & 0.0270629344236449 \tabularnewline
-12 & 0.418231042820373 \tabularnewline
-11 & 0.137553817300193 \tabularnewline
-10 & -0.140833373374793 \tabularnewline
-9 & 0.156926758169604 \tabularnewline
-8 & 0.160417412106477 \tabularnewline
-7 & -0.00275558102360061 \tabularnewline
-6 & 0.301156545364183 \tabularnewline
-5 & 0.163716758605665 \tabularnewline
-4 & 0.0769489404032266 \tabularnewline
-3 & 0.270487041659649 \tabularnewline
-2 & 0.0855078278369955 \tabularnewline
-1 & 0.166186792074494 \tabularnewline
0 & 0.908606664874919 \tabularnewline
1 & 0.257022013730373 \tabularnewline
2 & -0.0473028843702487 \tabularnewline
3 & 0.331526365496383 \tabularnewline
4 & 0.216590176296879 \tabularnewline
5 & 0.137845019261989 \tabularnewline
6 & 0.294832091106528 \tabularnewline
7 & 0.0320190221812084 \tabularnewline
8 & 0.0267981196946328 \tabularnewline
9 & 0.122135191743719 \tabularnewline
10 & -0.0587257289622674 \tabularnewline
11 & 0.0533568694918666 \tabularnewline
12 & 0.421510598894973 \tabularnewline
13 & 0.0572998759907533 \tabularnewline
14 & -0.144013034925281 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27086&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]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]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]0[/C][/ROW]
[ROW][C]k[/C][C]rho(Y[t],X[t+k])[/C][/ROW]
[ROW][C]-14[/C][C]-0.0170800788207035[/C][/ROW]
[ROW][C]-13[/C][C]0.0270629344236449[/C][/ROW]
[ROW][C]-12[/C][C]0.418231042820373[/C][/ROW]
[ROW][C]-11[/C][C]0.137553817300193[/C][/ROW]
[ROW][C]-10[/C][C]-0.140833373374793[/C][/ROW]
[ROW][C]-9[/C][C]0.156926758169604[/C][/ROW]
[ROW][C]-8[/C][C]0.160417412106477[/C][/ROW]
[ROW][C]-7[/C][C]-0.00275558102360061[/C][/ROW]
[ROW][C]-6[/C][C]0.301156545364183[/C][/ROW]
[ROW][C]-5[/C][C]0.163716758605665[/C][/ROW]
[ROW][C]-4[/C][C]0.0769489404032266[/C][/ROW]
[ROW][C]-3[/C][C]0.270487041659649[/C][/ROW]
[ROW][C]-2[/C][C]0.0855078278369955[/C][/ROW]
[ROW][C]-1[/C][C]0.166186792074494[/C][/ROW]
[ROW][C]0[/C][C]0.908606664874919[/C][/ROW]
[ROW][C]1[/C][C]0.257022013730373[/C][/ROW]
[ROW][C]2[/C][C]-0.0473028843702487[/C][/ROW]
[ROW][C]3[/C][C]0.331526365496383[/C][/ROW]
[ROW][C]4[/C][C]0.216590176296879[/C][/ROW]
[ROW][C]5[/C][C]0.137845019261989[/C][/ROW]
[ROW][C]6[/C][C]0.294832091106528[/C][/ROW]
[ROW][C]7[/C][C]0.0320190221812084[/C][/ROW]
[ROW][C]8[/C][C]0.0267981196946328[/C][/ROW]
[ROW][C]9[/C][C]0.122135191743719[/C][/ROW]
[ROW][C]10[/C][C]-0.0587257289622674[/C][/ROW]
[ROW][C]11[/C][C]0.0533568694918666[/C][/ROW]
[ROW][C]12[/C][C]0.421510598894973[/C][/ROW]
[ROW][C]13[/C][C]0.0572998759907533[/C][/ROW]
[ROW][C]14[/C][C]-0.144013034925281[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27086&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27086&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 series0
Seasonal Period (s)12
Box-Cox transformation parameter (lambda) of Y series1
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.0170800788207035
-130.0270629344236449
-120.418231042820373
-110.137553817300193
-10-0.140833373374793
-90.156926758169604
-80.160417412106477
-7-0.00275558102360061
-60.301156545364183
-50.163716758605665
-40.0769489404032266
-30.270487041659649
-20.0855078278369955
-10.166186792074494
00.908606664874919
10.257022013730373
2-0.0473028843702487
30.331526365496383
40.216590176296879
50.137845019261989
60.294832091106528
70.0320190221812084
80.0267981196946328
90.122135191743719
10-0.0587257289622674
110.0533568694918666
120.421510598894973
130.0572998759907533
14-0.144013034925281



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