# Questions tagged [time-series]

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

499 questions
6answers
3k views

### How to generate a random price series with a specified range and correlation with an actual price?

I want to generate a mock price series. I want it to be within a certain range and have a defined correlation with the original price series. If I choose, say, oil, I want as many time series which ...
2answers
2k views

### How to detect structural breaks in variance?

I'm looking for a method to automatically detect structural breaks, I tried Chow test, It works good but it doens't work for breaks in variance. Do you know a test to check strucutural break in ...
2answers
833 views

### What's the difference between SA and SAAR?

I've only recently begun working in the quantitative finance field, and I've noticed that some time series I'm given are labeled "seasonally adjusted", and some labeled with "seasonally adjusted ...
0answers
562 views

### Algorithms for predicting a couple points in the future

I'm familiar with supervised learning algorithms like regression and neural networks which look at a bunch of input points and learn a function which outputs a value (the value varying depending on ...
2answers
7k views

### How GARCH/ARCH models are useful to check the volatility?

Below a R code wrote by the moderator @richardh (whom I want to thank again) about ARCH/GARCH models. ...
8answers
35k views

### How to check if a timeseries is stationary?

I'm using KPSS Method to check if the series is stationary, but I would also like to use another test to confirm if the series is stationary or not, what method coudl I use?
0answers
1k views

### Hasbrouck's information share

Given a cointegrated set of price series, I am trying to compute the Hasbrouck's information share, as described in page 12-13 of this article. page 7-8 of this article I have the vector error ...
2answers
1k views

### time series management system

I'm happy how we store a single time series but we somehow lack a system that glues them all together. I'm talking about a few million time series coming from ~50 data vendors and representing maybe ...
2answers
5k views

### Calculating Portfolio Skewness & Kurtosis

I need to calculate the skewness and kurtosis of 2 asset portfolio, can someone please help me with the formulas and definition of terms? Thank you. I have been using the matrices method and I am not ...
3answers
1k views

### How to normalize Futures data(different leverage) for cointegration test?

For example I want to construct 2 time series, one for ES and the other for NQ and test for cointegration. ES one point equal to 50$. NQ one point equal to 20$. If I have the following data: ES[0]=...
0answers
306 views

### What does T statistics of Information Coefficient indicate?

Hi I am looking for a clear explanation of T statistics concept. Especially in quantitative equity portfolio management context, what does T statistics of monthly Information Coefficient for one ...
1answer
1k views

### Why does the following data fail my cointegration test?

I have some closing price data for two Australian banks which track each other very closely. http://dl.dropbox.com/u/12337149/stat/CBA.csv http://dl.dropbox.com/u/12337149/stat/WBC.csv Code from ...
1answer
567 views

### Applying models with normality assumption on tick data?

Beginner question. Having read a couple of papers and book chapters on high-frequency data forecasting, I'm surprised (and confused) that the same time series techniques can be applied to high-...
3answers
2k views

### How to detect regime change when estimating asset correlation from historical time series?

Suppose I have two asset time series, $X_t$ and $Y_t$, and I'm estimating their correlation from historical data. I'd like to apply some systematic criterion to estimate what time window I should use ...
2answers
1k views

### How to forecast expected volatility from high-frequency equity panel data?

I'm wading through the vast sea of literature on realized volatility estimation and expected volatility forecasting (see, e.g. Realized Volatility by Andersen and Benzoni, which cites 120 other papers,...
2answers
440 views

### How to “uncluster” a set of financial data?

I am attempting to evaluate and compare the profit factor of different "test runs" of a FOREX trading strategy. My problem is that, despite an average time between orders of 2hr+, some of these runs ...
1answer
707 views

### Are shorter holding period strategies better?

Consider two statistically identical strategies (identical information ratios, sample size, ratio of transaction costs to total profit, etc.) except that one has a much shorter average holding period. ...
3answers
4k views

### How much data is needed to validate a short-horizon trading strategy?

Suppose one has an idea for a short-horizon trading strategy, which we will define as having an average holding period of under 1 week and a required latency between signal calculation and execution ...
3answers
2k views

### Literature on generating synthetic time series for testing

I have some market data (daily time series) for bond prices and CDS indices and I would like to generate synthetic versions of these which are statistically "similar" for testing trading strategies. ...
2answers
779 views

### Is there any research on applying state-space or dynamic linear models to forecasting equity risk premia?

Is there any research on applying state-space or dynamic linear models to forecasting equity risk premia on a security-by-security basis with a medium term horizon (say 3 month to 12 months horizon)? ...
1answer
419 views

### Techniques for forecasting short-frame data?

I'm having a problem in which a time series of 24 data points is given to forecast the next 12 data points. This 24 data points might be sparse (many are missing). Do you have any suggestion on what ...
1answer
163 views

### How to reconstruct a discontinued economic time series such as the Fed's CP rate?

The old 3-Month Commercial Paper Rate (CP3M) on FRED was discontinued in 1997. I would like to reconstruct this series in a reasonable fashion, so I can use it to analyze more recent events. I was ...
5answers
7k views

### How do I graphically represent the evolution of a covariance matrix over time?

I am working with a set of covariance matrices evaluated at various points in time over some history. Each covariance matrix is $N\times N$ for $N$ financial time-series over $T$ periods. I would ...
3answers
5k views

### How do I calculate the skewness of a portfolio of assets?

I need to calculate the skewness of a portfolio consisting of 6 assets. I know that for that I would need the co-skewness matrix between the assets. Does anybody know the formula for co-skewness or ...
0answers
738 views

### Alternative to Block Bootstrap for Multivariate Time Series

I currently use the following process for bootstrapping a multivariate time series in R: Determine block sizes - run the function b.star in the np package which produces a block size for each series ...
1answer
611 views

### What methods do I need to learn in order forecast asset price movements?

What are the standard models used to forecast asset price movements? For example, if I were to trade an option, what model would I use in conjunction with option pricing models to forecast the stock ...
6answers
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 ...
1answer
4k 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. ...
6answers
22k 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 ...
5answers
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!
9answers
30k 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 ...
2answers
1k 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, ...
3answers
5k 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.
8answers
19k 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 ...
1answer
446 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?
1answer
8k 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 ...
4answers
14k 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 (...
1answer
230 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 ...
4answers
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 ...
8answers
23k 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. ...
5answers
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 ...
2answers
826 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 ...
3answers
250 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 ...
2answers
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 ...
2answers
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? ...
2answers
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 ...
6answers
14k 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 ...
4answers
8k views

### What is a stationary process?

How do you explain what a stationary process is? In the first place, what is meant by process, and then what does the process have to be like so it can be called stationary?
1answer
3k views

### What is a good topic on financial time series analysis for master thesis?

Can someone suggest a topic or some reasonably narrow area in financial time series analysis (e.g. statistical, machine learning, etc.) which can make a good topic for a master thesis? By 'good' I ...