# Questions tagged [time-series]

A temporal sequence of events measured at discrete points in time.

523 questions
3k views

### How random are financial data series?

Pseudorandom number generators are often tested using e.g. a test suite like Diehard tests or Dieharder. If one would run these tests e.g. on stock market time series or other financial data, would ...
5k views

### How to estimate a multivariate GJR or TARCH model in Eviews?

How do I specify the GARCH/TARCH equation in Eviews 6 in the variance regressors frame, if I want to find out whether there are volatilty spillovers from stock markets A and B to stock market C? P.S. ...
23k views

### How are correlation and cointegration related?

In what ways (and under what circumstances) are correlation and cointegration related, if at all? One difference is that one usually thinks of correlation in terms of returns and cointegration in ...
2k views

### Are two identical time series cointegrated?

I did cointegration test on two identical time series, and the result shows that they are not cointegrated, but intuitively, I think they are. Can anyone share some thoughts on this? Thanks!
31k views

### Efficiently storing real-time intraday data in an application agnostic way

What would be the best approach to handle real-time intraday data storage? For personal research I've always imported from flat files only into memory (historical EOD), so I don't have much ...
2k views

### How to annualize Expected Shortfall?

I have a time series with monthly data from which I compute the expected shortfall empirically, following the classical definition which can be found, for example, in wikipedia's definition. That is, ...
6k views

### Can the concept of entropy be applied to financial time series?

I am not familiar with the concept of entropy for time series. I am looking for good reference papers and examples of use.
20k views

### Time-series similarity measures

Suppose I have two time series $X$ and $Y$ of stock prices. How do I measure the "similarity" of $X$ and $Y$? (I'm being deliberately vague as I don't have a particular application, and I'm curious ...
454 views

### What should be considered when selecting a windowing function when smoothing a time series?

If one wants to smooth a time series using a window function such as Hanning, Hamming, Blackman etc. what are the considerations for favouring any one window over another?
9k views

### Time Series Regression with Overlapping Data

I am seeing a regression model which is regressing Year-on-Year stock index returns on lagged (12 months) Year-on-Year returns of the same stock index, credit spread (difference between monthly mean ...
15k views

### Are public historical time series available for ratings of sovereign debt?

The nice list of free online data sources What data sources are available online? does not mention any data from ratings agencies. Are historical time series available for sovereign credit ratings (...
233 views

### Picking from two correlated distributions

Can anyone provide a simple example of picking from two distributions, such that the two generated time series give a specified value of Pearson's correlation coefficient? I would like to do this in ...
2k views

### How to compute momentum from equity time series?

Let's say I have time series of stock prices for many stocks. What's the best way to sort the stocks based on which have been going up/stayed the same relative to others? Can this be done with a ...
24k views

### What is the best data structure/implementation for representing a time series?

I was wondering what is best practice for representing elements in a time series, especially with large amounts of data. The focus/context is in a back testing engine and comparing multiple series. ...
24k views

### Why are GARCH models used to forecast volatility if residuals are often correlated?

The answers to this question on forecast assessment suggest that if the sequence of residuals from the forecast are not properly independent, then the model is missing something and further changes ...
834 views

### How do I incorporate time-variability in a pair trading framework?

Recently I have been looking at pair trading strategies from a cointegration perspective, as described in chapter 5 of Carol Alexander's Market Risk Analysis volume 2. As most quantitative finance ...
251 views

### estimating the accuracy of a method for forecasting the distribution

Say for a stock I want to do a simulation using 30 days of historical returns, and maybe generate 1000 paths, with 2 days as the forecast horizon. Say I have 100 of these 5 day blocks used for ...
4k views

### How to update an exponential moving average with missing values?

Say you have an Exponential Moving Average being continuously updated over a time series using 1-second-long time periods. What should happen if there is no value for the next second, e.g. there were ...
2k views

### How to quickly estimate a lower bound on correlation for a large number of stocks?

I would like to find stock pairs that exhibit low correlation. If the correlation between A and B is 0.9 and the correlation between A and C is 0.9 is there a minimum possible correlation for B and C? ...
3k views

### Is there a standard method for getting a continuous time series from futures data?

I would like to be able to analyse futures prices as one continuous time series, so what kinds of methods exist for combining the prices for the various delivery dates into a single time series? I am ...
15k views

### What is the intuition behind cointegration?

What is the intuition behind cointegration? What does the Dickey-Fuller test do to test for it? Ideally, a non-technical explanation would be appreciated. Say you need to explain it to an investor ...