Trying to evaluate model for pairs trading. Consider classic formula:

$\frac{dP}{P} = adt+b\frac{dQ}{Q}+dX$,

where $P$ and $Q$ are stock prices, and $X$ is a mean reverting process (MRP) and $a$ is close to zero.

Using real world example I would like to evaluate parameters of MRP. Practically we cannot observe MRP, rather we can derive it from $P$ and $Q$. If we go straightforward and calculate $\hat{b}$ as least squares estimator of $\frac{dP}P$ against $\frac{dQ}Q$, then we have residual estimation including MRP., i.e.

$$ \frac{dP/P}{dQ/Q} = \hat{b}, $$

so that our beta $\hat{b}$ captures change in stock prices together with MRP

$$ \frac{dP/P - dX}{dQ/Q} = \hat{b}. $$

This gives skewed estimation of $\hat{b}$.

My question is: how to get estimation of $\hat{b}$ adjusted for MRP?


1 Answer 1


let define $$ \text{RP}_t = \sum_{u< t} \frac{dP_u}{P_u}$$ $$ \text{RQ}_t =\sum_{u<t} \frac{dP_u}{P_u}$$ $X$ is a mean reverting process so : $$ dX = \alpha (\mu - X)dt + \sigma dB $$ where $B$ is a brownian motion

meanwhile using your relationship you get : $$ X_t = \text{RP}_t - b \text{RQ}_t - a t $$

you use $X$ dynamics with this and you get: $$\begin{split}\frac{dP}{P} &= a dt + b \frac{dQ}{Q} + dX \\ &= (a+\alpha\mu) dt + b \frac{dQ}{Q} - \alpha \text{RP} dt - \alpha b \text{RQ}_t dt - a\alpha t dt + \sigma dB \end{split}$$ you are now in the case of a classical multi dimensionnal linear regression

  • $\begingroup$ MJ73550, thank you for the answer! And how do you estimate coefficients of this regression? Via maximum likelihood? Specifically, how do you estimate $\sigma$? And deal with $dB$? $\endgroup$
    – user20225
    Commented Apr 7, 2016 at 16:11
  • $\begingroup$ Are you familiar with multi-dimensionnal linear regression ? en.wikipedia.org/wiki/… in your case the $Y$ of the linear regression is the $\frac{dP}{P}$, and the $X$ of the linear regression is $(dt,\frac{dQ}{Q},\text{RP},\text{RQ},tdt)$ $\endgroup$ Commented Apr 8, 2016 at 7:35
  • $\begingroup$ MJ73550, got it. Thank you once again! $\endgroup$
    – user20241
    Commented Apr 8, 2016 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.