Moving average filters and unit roots