Accounting for long-term serial correlation in a linear regression problem