Cointegration is often used in statistical abitrage as a way to identify how to combine some tradable instrument to obtain a *mean reverting* one.

learn more… | top users | synonyms

0
votes
0answers
44 views

Cointegration for forex using ARMA model to forecast the spread

I am working on an automatized quantitative strategy that use cointegration in Forex. I am backtesting this strategy in Python. Please see below the python file: ...
0
votes
0answers
51 views

cointegration strategy

If it can be proved that two time series $$S_t^1=\alpha + \beta S_t^2 + \xi_t$$ representing stocks are correlated, with $\beta=-2$ and then are proved to be cointegrated, how a portfolio should be ...
4
votes
1answer
261 views

What does the cointegration coefficient represent in pairs trading when cointegrating log stock prices?

In Pairs Trading by Vidyamurthy, on page 83 (and throughout the book), the author describes an elementary example of trading with log prices. The long run equilibrium of the basic portfolio is given ...
0
votes
0answers
23 views

How to impose restriction on cointegrating vector in R, reproducible example

The code given below estimates a VEC model with 2 cointegrating vectors. It is a reproducible code, so just copy and paste into your R console (or script editor). ...
4
votes
1answer
420 views

What's the practical difference between the Johansen vs Engle-Granger tests for cointegration?

For the two-variable case, what are the practical differences between using the Engle-Granger procedure versus the Johansen test for cointegration? Is one universally more powerful than the other? ...
1
vote
1answer
133 views

Interpretation of Johansen cointegration test in R

I am using urca package of R for Johansen Cointegration test in 2 stocks datas( A and B. My question is very elementar, but have cause some problems for me. How I interpret the critical values, for ...
2
votes
0answers
56 views

Johansen cointegration test interpretation in R

I want to test my time series for cointegration using the Johansen test in R. I got the following result and so I know now that at least 5 out of 9 of my time series are cointegrated. My question is, ...
7
votes
0answers
171 views

Imposing Restrictions on Cointegrating Vectors, R example

The code given below estimates a VEC model with 4 cointegrating vectors. It is a reproducible code, so just copy and paste into your R console (or script editor). ...
1
vote
0answers
36 views

Problem with overlapping data when testing futures market efficiency

In my case non-overlapping data would represent the scenario where futures prices (3 months) do not correspond to the futures spot prices in terms of delivery date. For example, futures settlement ...
1
vote
0answers
54 views

Estimating Daily Dynamics using Hourly Data

This article gives a nice outline of how daily data can be used to estimate cointegration on a monthly horizon. http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1404905 I'd like to use the same ...
11
votes
1answer
575 views

Alternative ways to understand time-varying comovement between two time-series?

I have been looking into ways to better understand how the dependencies/correlations/etc between two time series can vary over time. I first thought about using a Kalman/particle filter over a ...
0
votes
0answers
24 views

Quantifing quality of cointegration

I'm trying to replicate instrument which is untradable. My approach is analysis of cointegration between it and three another time series (four variables in model) which correlates with it. I found ...
2
votes
0answers
85 views

Assets cointegration: optimal inventory for futures market

I'm interested in HFT cointegration stratagies, and recently found interesting article "Algorithmic Trading of Co-Integrated Assets" The article describes mean-reversion strategy for N-assets. ...
2
votes
0answers
31 views

Specifying integration level of time series [closed]

Following model was estimated on 200 observations. How to specify the level of integration of $X_t?$ In brackets there are standard errors and p-value of Breusch-Godfrey test is also shown. ...
17
votes
1answer
9k views

How to interpret the eigenmatrix from a Johansen cointegration test?

I ran a Johansen cointegration test on 3 instruments, A B and C. The results that I got are: ...
7
votes
1answer
17k views

How to interpret results of Johansen Test?

I have two time-series a & b. The objective is to find out whether two series are cointegrated or not. I am using Johansen Test in R to find this out. I am using urca package of R. Here is the ...
0
votes
0answers
45 views

optimal look back period for cointegration analysis on daily prices

I'm running some cointegration tests on 2 stock pairs and was wondering, generally speaking, what would be the optimal look back period to test considering I am using daily prices and the average ...
3
votes
1answer
186 views

Pair trading based on cointegration - equity line

I'm preparing a project at my Uni where I have to make a simple pair trading strategy using cointegration between two stocks. I'm stuck on the equity line calculation. I have prepared opening and ...
0
votes
2answers
217 views

Johansen test on two stocks (for pairs trading) yielding annoying results

I hope you can help me with this one. I am using cointegration to discover potential pairs trading opportunities within stocks and more precisely I am utilizing the Johansen trace test for only two ...
2
votes
2answers
217 views

How to select optimal look back period for statistical arbitrage?

Is it possible to estimate the optimal look back period for OLS from which we test if residuals are stationary? Almost all papers that I read use random look back periods of 100 days, 252 days, 500 ...
1
vote
0answers
388 views

Cointegration Test: Residual is stationary but not random?

I am testing cointegration relationship on various pairs of stocks by this following these steps. Test for I(1) on a pair of stocks, says X and Y, using Dickey-Fuller test. If both time series are ...
2
votes
1answer
1k views

Johansen Cointegration Test

I just performed a Johansen Co-integration test on two stocks. The results I get are: ans = r0 r1 t1 true false I am using Matlab. Can ...
1
vote
1answer
125 views

Cointegration tests: how do you accurately test the necessity of time trends in the Johansen and Engle-Granger Test?

Is there a correct and up to date procedure? I just run the equation in VEC form and test the significance of the time trends? What are the possible problems that I should be aware of?
1
vote
0answers
77 views

Cointegration and variance of time series

Given that $X_t , Y_t$ are two cointegrated random processes, what can we say about the relationship between variance of the two increments $var(X_{t+h}-X_t)$ , $var(Y_{t+h}-Y_t)$ for a given ...
1
vote
1answer
288 views

matlab interpretation of johansen cointegration test

I need some help understanding the results of Johansen Cointegration test run on MATLAB. I am quite new to econometrics and do not fully comprehend what MATLAB has come up with. I would be really in ...
1
vote
1answer
116 views

Different ways to identify a co-integrated series?

I have been reading and trying out stuff until I am totally confused and back to square one. Could someone please explain the difference between the two methods suggested below? Suppose I have 10 ...
2
votes
3answers
525 views

Dou you have an example of implementing Engle-Granger 2-step cointegration?

Does anyone know where to find an example of implementing Engle-Granger 2-step cointegration? Python's ideal, but any language will do. I've skimmed and read many articles, but understand little ...
15
votes
4answers
628 views

Variable Selection in factor models

Let's say you have a dependent variable and many independent variables. What are the preferred metrics for sorting and selecting variables based on explanatory power? Let's say you are not concerned ...
0
votes
1answer
380 views

Cointegration results interpretation validation?

Here is how I am interpreting results of a Johansen Cointegration Test and Engel-Granger Test for A and B. The results:(Using matlab) ...
21
votes
6answers
8k 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 ...
2
votes
2answers
299 views

Need help on cointegration

I tried to test stock pairs for pairs trading. There are two questions I am not sure. I am not using ADF to test the log difference between two stocks. But I also see people using Johansen test. ...
20
votes
1answer
2k views

How do different methods and techniques used in pairs trading compare?

I was going through the paper of Avellaneda (2008) on stat arb and I found it interesting that he uses asset returns vs. their respective ETFs to compute the s-score. I am wondering if anyone has ...
1
vote
1answer
318 views

Simulate non-stationary time series with cointegration

how can I simulate/generate two non-stationary time series (with unit root) so that they can be also cointegrated (using R or Matlab). Thanks in advance.
1
vote
1answer
216 views

High correlation will help detect spurious regression over cointegration?

I'm analyzing two financial time series with Johansen method. A high Correlation coefficient using the Pearson method will help me to detect spurious cointegration models to avoid? If this is not ...
2
votes
1answer
131 views

Replicating the short part of a long-short trade using inverse ETFs

I devised a pair trading strategy going long XXX and short B*YYY. B is the quantity of shares of YYY I need to short. The problem is I can’t go short on YYY, but there is an inverse ETF for YYY ...
7
votes
3answers
994 views

cointegration applied to Portfolio Construction & Risk management

There are all sorts of applications of cointegration to generating alpha on mean-reverting timeseries: comparing spot vs. futures, bond spreads, identifying mean-reverting residuals, etc. But there ...
5
votes
1answer
495 views

What is the correct procedure to choose the lag when preforming Johansen cointegration test?

When preforming Johansen cointegration test for 2 time series (the simple case) you need to decide the lag you want to use. Doing the test for different lag levels returns different results: for some ...
6
votes
2answers
234 views

Co-integration constraints of coint(X,Z) given coint(X,Y) and coint(Y,Z)?

The Augmented Dickey-Fuller Test can be used to measure how well ranked certain pairs are against others for co-integration. So then say we have a known co-integration between ...
2
votes
2answers
4k views

Cointegration tests

I'm trying to figure out how to perform cointegration tests in R between 2 time series. I'm using po.test from the package ...
1
vote
0answers
303 views

pairs trading or long short strategy given volatility of the stocks

Suppose I have 2 stocks and the only thing I know about them is their volatility and that they cointegrate. Let's say vol of stock A is 25% and B is 20%. Will I be able to find a hedge ratio only ...
2
votes
1answer
2k views

ADF test in R yielding perfect cointegration. How is this possible?

I am using the famous conintegrated pairs tutorial to just different stocks for cointegration. The adf.test yeilds perfect cointegration, which I feel must be incorrect. Here is why: When I run ...
2
votes
1answer
194 views

Trend in Cointegration relationship

I was estimating a long-run relationship of exchange rate and purchasing power parity. The residual of the long-run relation which should be $I(0)$, but it is only $I(0)$ when I introduce trend in ...
6
votes
1answer
2k views

Cointegrating relationships - Johansen in R

I read the posts, How to interpret results of Johansen Test? and How to interpret the eigenmatrix from a Johansen cointegration test? But still I am quite confused by the output. I have a project with ...
4
votes
0answers
543 views

How to determine ratios for mean-reverting basket

Suppose I have a basket of 3 securities A, B, and C. I believe that the basket is cointegrated and I want to create a mean-reverting trade. I fit the model: ...
3
votes
1answer
727 views

R Outputs from Johansen test. Linear combination still not stationary?

I am trying to see if house price is cointegrated with interest rate, per capita income and rental vacancy rate and got the following output from ca.jo in R: ...
2
votes
1answer
429 views

Stepwise Cointegration

This is more of a general question at this point, but if my thought process makes sense I will follow up with an R implementation. I have read a number of papers on cointegration analysis for pairs ...
2
votes
0answers
800 views

Philips-Ouliaris test for cointegration

I'm trying to implement cointegration tests using the R urca package. I've figured out the Johansen test (ca.jo), but I'm having trouble with the Philips-Ouliaris test (ca.po). I have two questions: ...
2
votes
1answer
435 views

Using cointegration to prove that a long-short strategy is market neutral (in CAPM sense)

I am trying to prove that a long-short strategy invested according to the cointegrated relationship from Engle-Granger's. So essentially I'm trying to show that the return $r_{XY}$ of the portfolio (X ...
1
vote
0answers
239 views

Modelling long run relationship between dividend and earnings

I am working on a paper where I have to model the long run relationship between earnings and dividends. I have downloaded the raw data from shillers website. I have converted the series to ...
3
votes
1answer
701 views

Pairs trade CDS contracts using cointegration

Recently I have looked at some sovereign CDS spreads (of the Nordic countries to be precise) and have tested for cointegration in the levels (i.e. untransformed) and logs of the spreads. Tests ...