Resolving spurious regressions and serially correlated errors