Questions tagged [cross-correlation]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Can I do Pearson cross-correlation between two time series of Twitter data without violating the assumptions?

I have a dataset of Tweets regarding a given topic (extracted by predefined keywords and hashtags). I aggregated the Tweets in bins of time (e.g. every ten minutes) to generate a time series of the ...
Mim_Tauch's user avatar
0 votes
0 answers
16 views

Null model for cross-correlation

I have two time series $X_t$ and $Y_t$ . The cross-correlation at lag $\tau$ is defined as $$ C(\tau) = \frac{\langle X_t \; Y_{t-\tau}\rangle - \langle X_t \rangle \langle Y_{t-\tau} \rangle }{\...
AbateFaria's user avatar
0 votes
0 answers
8 views

Using cross correlation and an uncorrelated eigenvector basis to minimize exposure

I have the following problem: We are looking at stock market data and have a historic price dataset $X$ with two stock types: \begin{equation} X = \begin{bmatrix} x_1 & x_2 \end{bmatrix} = \begin{...
tbolind's user avatar
  • 43
4 votes
2 answers
142 views

Measuring level of uncorrelation from correlation matrix?

This question might not be completely well defined mathematically, but if so I am hoping that people can help point me in the right direction, since this is not a part of mathematics I have ever had ...
tbolind's user avatar
  • 43
0 votes
0 answers
42 views

Generate correlated random variables with a specific structure

Three random variables, $X_1$, $X_2$, and $X_3$, are complex Gaussian with a correlation matrix $\Sigma$. Additionally, three random variables, $Y_1$, $Y_2$, and $Y_3$, are also complex Gaussian with ...
Frey's user avatar
  • 223
0 votes
0 answers
26 views

How do I choose parameters for WINDOW SIZE and POLYNOMIAL ORDER to calculate the detrended cross-correlation coefficient rho?

In my project I generate synthetic energy demand data using a neural network. I want to check the cross-correlation of those two time-series: the original and the synthetic one. I found, that the ...
Good Question's user avatar
12 votes
3 answers
1k views

What does it mean for a time series to be autocorrelated?

I am trying to become more familiar with time series analysis. I am reading through Dangers and uses of cross-correlation in analyzing time series in perception, performance, movement, and ...
BioPhysicist's user avatar
0 votes
0 answers
81 views

Cross-sectional dependence and second generation unit root tests

Could someone explain me in simpler terms what a cross sectional dependence and panel unit root tests does in practice? How is panel unit root tests different from any other unit root tests such as ...
Julian's user avatar
  • 13
0 votes
0 answers
8 views

When is the sample size of the cross-sectional units N large enough to use a CCE approach in panel data?

My data set consists of time series of consumption of 4 countries, and the average temperature of each country during the time period. I know that consumption is largely dependent on temperature, so ...
eork's user avatar
  • 53
1 vote
0 answers
78 views

Generalizing Inverse Variance Weighting?

Consider a generalization of inverse-variance weighting, where we choose normalized weights $w_i = \dfrac{\sigma_i^{-p}}{W_p}$ for some $p\geq 1$, where $W_p \equiv \sum\sigma_i^{-p}$. Then $p=2$ ...
Erik's user avatar
  • 111
0 votes
1 answer
29 views

Cross Correlation Function: How to handle an Auto-correlated response variable

I am attempting to perform a CCF analysis between a predictor time series(P_a_cm) and a response time series (delta_total_cm) which represent annual precipitation and annual water table elevation ...
istheflesh's user avatar
1 vote
0 answers
17 views

Step type correlation plot: Need to understand correlation between 2 variables

I am struggling analyzing the correlation between two variables in my experiments. It turns out that I now that when the SNR of the signal (the definition of the signal with respect to the noise) is ...
GGChe's user avatar
  • 11
0 votes
0 answers
31 views

Cross correlation between cointegrated time series

I want to test cross correlation between two non stationary time series which are algo cointegrated. I was wondering if to do this I can use the ccf command in R or if I should use another one. As the ...
AltairB's user avatar
0 votes
0 answers
10 views

Correlation analysis on two variables with groups

I have time series data with two variables (x,y) and labeled by user id (1-10). I want to analyze if the x and y are correlated with each other, but those two variables heavily depend on who the user ...
prof31's user avatar
  • 11
2 votes
1 answer
131 views

Initial guess of a GARCH-DCC model?

I’m trying to fit an ECM-GARCH-DCC model for 2 time series, the whole 3 in the same time using log-likelihood estimation. It has 14 parameters to estimate: ECM has 2 gammas and 1 lambda per time ...
Jerem Lachkar's user avatar
0 votes
0 answers
29 views

How to generalise the results of cross correlation?

Data: I have 1000 independent time series. Each of these 1000 contains two variables A & B. Goal: My goal is to find out whether there is a statistically significant correlation between A & B ...
Geom's user avatar
  • 101
1 vote
0 answers
173 views

Using JMP or R to find the correlation between two different time series?

Suppose I'm measuring concentrations of gas over time as well as relative humidity. How can I find the correlation between time series? The author suggests Pearson's correlation and the Cross ...
ManagerHonest2833838's user avatar
0 votes
0 answers
14 views

Data setup for cross correlation analysis

I have a dataset of monthly water quality (various nutrient concentrations) and I would like to compare them to monthly climate indices (i.e. PDO, ENSO, etc.). I thought cross-correlation analysis ...
Paul Julian's user avatar
1 vote
0 answers
28 views

Check correlation between labels in two set of non-binary categorical labels?

I have a dataset with ~6k data points. Each data point has two labels, both categorical (unlike measuring temperature from cold, warm, to hot, my labels in the same category is totally non-continuous)....
user380201's user avatar
0 votes
0 answers
7 views

Can cross-lagged model be applied to a summarized data?

just wondering if it is possible to use summarized data within a month (e.g., frequency of performing behavior A within a month to predict the frequency of performing behavior B within the next month)....
KevinQ's user avatar
  • 1
0 votes
0 answers
9 views

Understanding Peaks and Valleys in CCF Results

I am new to cross-correlation and I'm running an analysis where I'm trying to see if Mentions_t can predict Calls_t at a later date (lags are in days). I got the following results and I am having ...
user379517's user avatar
0 votes
0 answers
21 views

Will Correlation coefficient be impacted by the magnitude of the variables at play?

I am having doubts about whether the correlation between two variables makes sense: We have two variables we are trying to check for correlation: monthly level of engagement of our customer base ...
Guglielmo Grevaso's user avatar
1 vote
0 answers
58 views

Time-lagged cross correlation between two measurements across multiple people

I have collected time-series data from a few hundred people. For each person, I have two measurements that I am interested in correlating. Specifically, I want to identify the time point at which ...
socialresearcher's user avatar
1 vote
1 answer
104 views

Cross-lagged Pearson correlation in R

I have a dataset where I have two recordings (sessions) of two different variables. ...
Inkling's user avatar
  • 289
0 votes
0 answers
46 views

Correlation by group and test for significant

My data has the following form: ...
PTQuoc's user avatar
  • 183
1 vote
0 answers
66 views

Question on the 2002 Engle paper regarding GARCH-DCC model

Paper here, please open using Incognito tab: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=236998 press "Download this paper" button Let me sum up the core of that paper in simple ...
Jerem Lachkar's user avatar
0 votes
0 answers
24 views

Testing cross correlation times series

I'm new to working with time-series, so please forgive my ignorance. I want to see if two variables are correlated over time, for which I used the ccf() function. ...
celia 's user avatar
1 vote
0 answers
27 views

Estimation of time-varying velocity

Objective: Estimate the mechanical tension of a cable using the velocity of the waves travelling along it. Experimental setup: I have a cable in tension equipped with accelerometers. I measure a ...
User327201's user avatar
0 votes
0 answers
36 views

Cross Correlation Alignment for Many Samples

I have a long 30 minute noisy speech signal, which is the concatenation of 150 ten-second samples each with 2 seconds of near silence in between. I would eventually like to scale to much longer ...
Joseph's user avatar
  • 141
0 votes
0 answers
123 views

Cross correlation analysis on Bray-Curtis dissimilarity matrix with environmental variables

I'd like to use a cross correlation analysis to examine whether there are temporal lags between environmental factors and changes in ecological community structure, but I am not sure how to structure ...
Joshua Smith's user avatar
0 votes
0 answers
13 views

Power analysis for cross-corrleation?

I am currently planning a study in which I want to generate time-series and use cross-correlations as a statistical method. Usually I perform power analyses prior to the experiment but I did not find ...
Lennart's user avatar
  • 21
0 votes
0 answers
110 views

Cross-correlation of cumulative sum of cross-correlated random variables

Let's say we have two random variables a and b, which are correlated. Will their cumulative sums (A and B) be correlated too? I find it logical that corr(A,B) = corr(a,b). I am bit rusty in my ...
Orestis's user avatar
1 vote
0 answers
23 views

Given a real matrix $M$, find the closest cross-correlation matrix

Say we have an arbitrary real matrix $M$. I am wondering if we can find a cross-correlation matrix that has the least square distance to $M$. In other words, $$\min_{A,B} \|M-A^TB \|^2_F $$ s.t. $$...
CWC's user avatar
  • 281
1 vote
0 answers
23 views

Name of this "cross-correlation type" quantity?

Suppose I have I have vectors $x_1,\ldots,x_m$ in $\mathbb{R}^d$, with $\|x_i\|=1$ for all $i$ Is there a name or statistical/geometric interpretation of the following quantity? $$\sum_{ij} \langle ...
Yaroslav Bulatov's user avatar
1 vote
0 answers
105 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: ...
yhw2b2d's user avatar
  • 11
3 votes
1 answer
258 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 ...
Simón Ramírez Amaya's user avatar
1 vote
0 answers
17 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 ...
Jack Brookes's user avatar
0 votes
0 answers
87 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 ...
thebabystatistician's user avatar
0 votes
0 answers
47 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) ...
vkj's user avatar
  • 1
1 vote
1 answer
52 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 ...
user avatar
2 votes
1 answer
77 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 ...
user avatar
0 votes
0 answers
32 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 ...
user avatar
1 vote
1 answer
919 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$ ...
Barzi2001's user avatar
  • 113
1 vote
0 answers
30 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 ...
Clankk's user avatar
  • 33
0 votes
1 answer
2k 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 ...
David's user avatar
  • 281
1 vote
0 answers
22 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 ...
devman3211's user avatar
2 votes
1 answer
61 views

Cross-correlation seems defined backwards

Suppose $f$ and $g$ are real. Why $$ C(\tau)=(f\star g)(\tau) = \int_{-\infty}^{\infty} f(t) g(t + \tau)dt \tag{1} $$ and not $$ C(\tau)=(f\star g)(\tau) = \int_{-\infty}^{\infty} f(t) g(t - \tau)dt\...
OverLordGoldDragon's user avatar
0 votes
0 answers
24 views

Cross-covariance in context of Andrews plot

As shown in this Cross-Validated post Close curves on an Andrews plot I don't understand how, in the accepted answer, the cross-covariance can be defined as, $$\int_{-\pi}^{\pi}f_xf_ydt$$ Considering ...
WorseThanEinstein's user avatar
2 votes
0 answers
22 views

Spatial crosscorrelation between a binary and continuous measurement on a graph

I have a graph $G$ with vertex set $V$ and edge set $E$. I measure two signals on the vertices of the graph $X$ and $Y$. If $X$ and $Y$ are both continuous, we can measure spatial crosscorrelations ...
Devil's user avatar
  • 669
1 vote
0 answers
45 views

Hosking test vs Granger Causality for VAR - to use or not to use?

Let's say that we have 2 stationary time series: X and Y. Granger's causality test outputs no granger causality between them, however Hosking cross-correlation test proves there is a relationship ...
Fatafim's user avatar
  • 165

1
2 3 4 5
8