13
votes
What does it mean for a time series to be autocorrelated?
Take the time series without the first observation, $X_2, \dots, X_T$, and the time series without the last observation, $X_1, \dots, X_{T-1}$. You have two vectors of length $T-1$. Calculate their ...
11
votes
Why is the correlation coefficient a limited measure of dependence?
This is explained in the Wikipedia entry for Correlation and Dependence. Correlation basically measures how close two variables are to having a linear relationship between them. Consider now $X \sim U(...
10
votes
Accepted
Interpreting output from cross correlation function in R
To answer your question, here is an example:
...
9
votes
What does it mean for a time series to be autocorrelated?
"Auto-correlation" is correlation "with the self" at different points in time
The prefix "auto" means self or same (from the Greek "autós") so "auto-...
7
votes
Accepted
"Associative" Correlation
None of them are (generally) true, and this is easy to prove by counterexamples.
If $E[XY]\ne0$,$E[YZ]\ne0$ then can we say
$$E[XZ]\ne0$$
Suppose we have: $$X=A+B$$ $$Y=A+C$$ $$Z=C+D$$
where ...
7
votes
Measuring level of uncorrelation from correlation matrix?
Perhaps the tolerance statistic is something that could be helpful for you. It is defined as 1 - R^2 for a given variable, where R^2 is calculated based on a linear regression of that variable on all ...
7
votes
Accepted
Measuring level of uncorrelation from correlation matrix?
It turns out that if you take the inverse of the correlation matrix, then take the reciprocal of the diagonal elements of the inverse, the result is one minus the $R^2$ values from the regression ...
6
votes
Accepted
Cross-correlation between two seasonal series
The essential question is, what problem are you trying to solve?
If you intend to build a good model for the data (and later use the model for hypothesis testing, forecasting or whatever), you need ...
6
votes
Accepted
What is the difference between Cross Correlation and Correlation Matrix
When it comes to correlation, there are several types in the realm of time series analysis.
Cross correlation is only one measure - which is referring to the correlation of one signal with another.
...
6
votes
Accepted
How to analyze correlation of multivariate time series
What you're calculating (the correlation between $A$ and lagged copies of $B$ and $C$) is called the the cross correlation. This isn't typically suitable for testing causality because it neglects the ...
5
votes
Feature selection for time series data
I was also on the search for a list of time series features quite a while ago. There are publications inspecting individual features but I was not able to find a comprehensive list of features.
...
5
votes
How can I make the correct time-series analysis for my data?
You would likely be looking to calculate the residual autocorrelation function (RACF), also called residual cross-correlation function, which is the autocorrelation function on the residuals of fitted ...
5
votes
Accepted
Does the partial version of the Cross Correlation Function exist? If so, how can it be computed?
So, after some research on the topic... I came to realise that if you execute the following code:
pacf(ts(cbind(dx,dy)),lag.max=10)
You get the partial cross ...
5
votes
Accepted
Why are the results of R's ccf and SciPy's correlate different?
The difference is due to different definitions of cross-correlation and autocorrelation in different domains.
See Wikipedia's article on autocorrelation for more information, but here is the gist. ...
4
votes
Interpreting output from cross correlation function in R
I checked the ccf function with a small example from Box and Jenkins (1976, p 374-375).
...
4
votes
Find correlation between two time series. Theory and practice (R)
Your very straightforward simple question has unfortunately both a simple and a complex answer. I will avoid the simple . In summary the whole idea is that one needs to account for / condition for ...
4
votes
Accepted
Reference to equation of correlation of log-normal random variables
You can find it in Johnson and Kotz (1972) p20. [1]
an alternative reference (that refers to Johnson & Kotz) is Lai, Rayner & Hutchinson (1999) [2]
[1] Johnson, N. L. and Kotz, S. (1972).
...
Community wiki
4
votes
Accepted
Testing significance of correlation between time series
Bartlett's theorem is useful for this. If $\{\mathbf{X}_{t}\}$ is a bivariate time series whose components are defined by
$$
X_{t1} = \sum_{k=-\infty}^{\infty} \alpha_k Z_{t-k,1}, \hspace{10mm} \{Z_{...
4
votes
Accepted
Interpretation of logistic regression with normalized features
The interpretation of logistic regression coefficients is similar in the case where you've standardized the data (subtract mean, divide by standard deviation of each feature). By standardizing, you ...
4
votes
What does it mean for a time series to be autocorrelated?
Autocorrelation as a function: is that function random, deterministic?
It's from the point of view of the autocorrelation function and its nature that one could shed some light on the idea of ...
3
votes
Accepted
Pearson correlation coefficient for lagged time series
But when the two variables are arranged in a certain lag and then Pearson correlation coefficient is calculated between them, can we still say that the variance explained will be equal to the square ...
3
votes
Accepted
How to test if I can use cross-correlation?
The sample cross correlation function is useful to identify which variable is leading or lagging. You can learn more about it here. Note that if you have non-stationary data you may find some spurious ...
3
votes
Normalized correlation with a constant vector
Let $\boldsymbol{x}$ and $\boldsymbol{y}$ be your two vectors and let $\boldsymbol{\bar{x}} \equiv \bar{x} \boldsymbol{1}$ and $\boldsymbol{\bar{y}} \equiv \bar{y} \boldsymbol{1}$ be constant vectors ...
3
votes
Statistical test for cross-correlation
For auto-correlation, one can use the Box-Cox or variations (e.g. Ljung–Box) to test if any number of auto-correlations are jointly significant. The basis of these tests is that some weighted sum of ...
3
votes
Partial Cross-correlation in R
Look at my answer to my own question (same as the one you posted).
You can make use of the pacf function in R, extending it to a matrix with 2 or more time series....
3
votes
Accepted
Finding correlations between financial time series
Find correlation between two time series. Theory and practice (R) discusses my road-map which is quite consistent with the very clear presentation that you cited http://svds.com/avoiding-common-...
3
votes
Accepted
Is there any relationship between Granger causality and Cross-correlation diagram?
I just spoke to a great econometrician he informed me the following:
In Granger test, we factor out the auto-correlation coefficients, and hence we only focus our attention on the cross-correlation ...
3
votes
Finding Correlation between Time Series - is it a meaningless value?
Traditional correlation measurements between two time series will not tell you much.
As an example, let's take the issue of height across both cross-sectional and time series data.
Cross-sectional ...
3
votes
Accepted
correlation of predictions and actuals
Toy example:
Z X Y
1 3 100
2 2 200
3 1 300
$cor(X,Z) = -1, cor(Y,Z) = 1$ while $SSE_{xz}<SSE_{yz}$
I'd say it's a matter of scale. ...
3
votes
Cross-correlation of two non-stationary time series?
why don't you post your data and I will try and help you. Box and Jenkins suggested pre-filtering where the differencing operator identified as part of the ARIMA process was used as part of the filter ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cross-correlation × 399time-series × 191
correlation × 141
r × 57
autocorrelation × 34
lags × 18
regression × 16
statistical-significance × 14
stationarity × 13
arima × 12
matlab × 12
granger-causality × 12
hypothesis-testing × 10
signal-processing × 10
python × 9
multivariate-analysis × 9
forecasting × 8
covariance × 8
machine-learning × 7
econometrics × 7
vector-autoregression × 7
similarities × 7
probability × 6
spatial × 6
pearson-r × 6