def test_x13_arima_select_order(self): res = x13_arima_select_order(self.monthly_data) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple)) res = x13_arima_select_order(self.monthly_start_data) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple)) res = x13_arima_select_order(self.monthly_data.co2) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple)) res = x13_arima_select_order(self.monthly_start_data.co2) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple)) res = x13_arima_select_order(self.quarterly_data[["realgdp"]]) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple)) res = x13_arima_select_order(self.quarterly_data.realgdp) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple))
def test_x13_arima_select_order(self): res = x13_arima_select_order(self.monthly_data) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple)) res = x13_arima_select_order(self.monthly_start_data) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple)) res = x13_arima_select_order(self.monthly_data.co2) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple)) res = x13_arima_select_order(self.monthly_start_data.co2) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple)) res = x13_arima_select_order(self.quarterly_data[['realgdp']]) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple)) res = x13_arima_select_order(self.quarterly_data.realgdp) assert_(isinstance(res.order, tuple)) assert_(isinstance(res.sorder, tuple))
def test_x13_arima_select_order(dataset): res = x13_arima_select_order(dataset) assert isinstance(res.order, tuple) assert isinstance(res.sorder, tuple)
def select_model_order(timeseries, x13aspath, freq): mdl_order = smx13.x13_arima_select_order(timeseries, freq=freq, x12path=x13aspath) return mdl_order
def find_best_orders(self): best_orders = x13_arima_select_order(self.raw_time_series, x12path='/home/ewiis3/PowerTac/x13asall_V1.1_B39/x13as') return best_orders