Created function to streamline model estimation and forecasting