The economy remained in a reverse gear in October, according to official figures by the Office for National Statistics.