mesmer.stats.auto_regression._select_ar_order_xr#
- mesmer.stats.auto_regression._select_ar_order_xr(data, dim, maxlag, ic='bic')#
Select the order of an autoregressive process - xarray wrapper
- Parameters:
data (DataArray) – A
xr.DataArray
to estimate the auto regression order.dim (str) – Dimension along which to determine the order.
maxlag (int) – The maximum lag to consider.
ic ({‘aic’, ‘hqic’, ‘bic’}, default ‘bic’) – The information criterion to use in the selection.
- Returns:
selected_ar_order (DataArray) – Array indicating the selected order with the same size as the input but
dim
removed.
Notes
Only full models can be selected along one dimension.