13.08.2022 Views

advanced-algorithmic-trading

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

160

Figure 12.3: Plot of x t and y t series, each based on underlying random walk z t

Figure 12.4: Plot of comb - the linear combination series - and its correlogram

Let us try applying the three unit root tests to the linear combination series. Firstly, the

Augmented Dickey-Fuller test. For this and other tests it is necessary to import the tseries

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!