# Questions tagged [cross-correlation]

A measure of correlation between different time series, at the same or different times.

380 questions
Filter by
Sorted by
Tagged with
17 views

### Cross Correlation Interpretation R

I have cross-correlation, on the left is promo and CVR checkout, and on the right is promo and CVR payment. From this figure, can I interpret that promo has high correlation to CVR payment than to CVR ...
1 vote
13 views

• 5,687
5 views

### Multilevel cross correlation - cross correlate time series nested in participants

I have observed behavioral and questionnaire data for 45 participants over a certain span of time. Now I'd like to find out which point in time of behavioral data best predicts questionnaire data. I ...
• 101
1 vote
19 views

### Kendall correlation is significant but cross correlation is not significant

I have time series data and I am confused about the output of correlation and cross correlation. This is my data: ...
• 11
74 views

### Centering in normalized cross correlation for template matching

Context I'm following Lewis (1995) exposition on normalized cross correlation for template matching (Section 2). The cross-correlation of the image and the feature at $u,v$ is denoted by $c(u,v)$ and ...
15 views

### Best way to compare two binary sequences [duplicate]

I need to compare two binary sequences and get a measure of similarity between them. Seems like the Pearson correlation coefficient is not suitable because it is for continuous signals. Is the ...
21 views

### Correlation of groups in simulating data

I am simulating time series data. Each simulation consists of a group of time series with nodes at lets say 3 levels. To get the data to adhere to the structure I only generate the terminal units (...
1 vote
10 views

### What kind of statistical test might be used to if two datasets contain a non-zero lag or lead hierarchically?

I am aware of Granger causality, cross correlation, and simple methods of computing correlation at each lag/lead timestep. However, I have a dataset with 1000s of users each with a potential lag/lead ...
• 111
25 views

### Correlation within groups

I have a dataset with 200 variables. Each row of my data represents the quarter results of a company. I want to know if variable X is linearly related to variable Y. I computed the correlation matrix ...
45 views

### Finding the vectors/modes "maximally responsible" for the fluctutation of a quantity?

I have a question which I fear might be simple but i am completely unable to figure out. Lets say we have a time-series of a vector of coordinates which define a molecule ( column vector of x,y,z) ...
• 1
1 vote
27 views

### Is vector-autoregression applicable to two series with Granger causality and cross-correlation that has multiple modes, both negative and positive?

Is the vector-autoregression applicable to two series with Granger causality or stationary series where the cross-correlation plot is negative at some parts and also positive in others? If that's the ...
29 views

### Comparing two cross-correlation functions with one another

Say for example I calculated two sets of cross-correlation matrices, one that compared time series A1 and A2 for 10 test subjects and another that compared time series B1 and B2 for the same 10 test ...
• 13
21 views

### Should one examine the cross-correlation plot to rule out performing Granger causality test?

Should one look at cross-correlation plot before performing Granger causality test to avoid type I errors? If we can't find any dependence between two series from the cross-correlation plot, then ...
17 views

### How does the Cross-Correlation Function of these two series suggest "bove average value of SOI is likely to lead to a below average value of..."?

library(astsa) soi= scan("soi.dat") rec = scan("recruit.dat") soi=ts (soi) rec = ts(rec) ccfvalues =ccf (soi, rec) ccfvalues Reproduce these ...
1 vote
177 views

### Cross-correlation of multidimensional time-series and Python function for computing it

So far I know, the cross-correlation of two time-series $a(t)$ and $b(t)$ for which $N$ observations are available is given by $r^N(\tau)=\frac{1}{N} \sum_{t=\tau+1}^Na(t-\tau)b(t)$, where $\tau$ ...
• 113
1 vote
12 views

### Temperature Lag calculation

I am working on a data science project on an industrial machine. This machine has two heating infrastructures. (fuel and electricity). It uses these two heatings at the same time, and I am trying ...
• 21
8 views

### Can you generate correlated ARMA time series with different lag orders?

Is it possible to generate correlated ARMA time series when the ARMA models are different? For example, can you generate two time series which are correlated when one is an AR(5) model and one is an ...
486 views

### Doubts with cross correlation in Python's statsmodels

I have been trying to understand statsmodels.tsa.stattools.ccf, the cross correlation between two random vectors and I tried ...
• 281
1 vote
18 views

### Cross Correlation Techniques for Time Series Data [closed]

I am working with time series data and am currently using cross correlation on my data. I can use different techniques like spearman, pearson, and kendall. I was wondering if beyond that, there are ...
49 views

1 vote
410 views

### Undertanding cross correlation between two time series

I am trying to understand cross correlation between two time series. The time series are just sine and cos of 40 numbers between 0 to 100. When I plot the cross correlation between these two time ...
25 views

### Different periodical lag in two time series and different periodical correlation interpretation

I am working on two stock price movements over 2 years, a minute by minute change (over 1m rows). I ran cross correlation after making them stationary. There is a result that I am kind of confused ...
• 53
22 views

### Detrended Cross Correlation, how sensitive is it to structural break and seasonality?

Is Detrended Cross Correlation(DCC) sensitive to structural break and seasonality? I learned that the approach is for non stationary time series, but I cannot find any information about whether its ...
• 53
1 vote
53 views

### Partial Cross-Correlation, and its relationship to Granger Causality?

Definitions: Granger Causality (GC): To the future of the target channel $y(t)$ fit past values of the target channel $y(t-1)$, ... $y(t-n)$ To the future of the target channel $y(t)$ fit past values ...
• 1,609
1 vote
60 views

### How to compute the confidence interval of a correlation function

What is the best way to compute confidence intervals of a (cross) correlation (function value at lag time $\tau$) $c(\tau)$? Typically one estimates the value $\hat{c}(\tau)$ but the question is what ...
• 197
62 views

### Interpretation of cross correlation

I need some help on the interpretation of crosscorrelation between x=credit and y=GDP, please. Here I have the results of the cc.test function in r. What I know so far, is that if the value of ...
33 views

### Understanding comment about correlation

In a paper that I'm supposed to be deep reading the author's make the statement: "We performed a cross-correlation test among the four measures composing it and found an average cross-...
• 101
17 views

### Preventing certain weights from going to 0

I would like to use a convolutional neural network to study a time series data set. I have experimental measurements taken at three different time intervals. With this I plan to create an input that ...
• 113
57 views

### Mathematical expression for a cross-correlation matrix

Given the matrices $A_{p\times q}$ and $B_{p\times q}$ with $p>q$ the cross-correlation matrix in R is calculated as: cor(A,B) The underlaying code for this is: ...
• 221
35 views

### Estimate correlation with mixed frequency data

I want to compare two mutual funds. I have fund A's weekly performance data. But for fund B, the data is less reliable. For 60% of the time, I can get hold of their weekly data, but other periods, ...
• 791
Let $\boldsymbol{X}\in\mathbb{R}^n$ be a random vector. Then \text{Cov}(\boldsymbol{X}) = E\left[(\boldsymbol{X}-E[\boldsymbol{X}])^T(\boldsymbol{X}-E[\boldsymbol{X}])\right]=E[\boldsymbol{X}\...