Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Create a combination of time series and test for each combination a test

1 view (last 30 days)
If I have the following matrix composed from name of stocks and their daily price time series
IBM JPM C
p11 p12 p13
p21 p22 p23
....................
pn1 pn2 pn3
and I want to obtain all possible linear combination (eg C-JPM, JPM-IBM, C-IBM) and test for each couple the cointegration test (adf), to obatin:
C-JPM=result test
JPM-IBM=result test
C-IBM=result test

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!