COMPUTATION OF CANONICAL CORRELATION BETWEEN PAST AND FUTURE OF A TIME SERIES