get data for regression forecast