load_PBS_dataset

load_PBS_dataset(return_array=True)[source]

Load the Pharmaceutical Benefit Scheme univariate time series dataset [1].

Deprecated since version 1.6.0: Deprecated and will be removed in v1.7.0. Use load_airline for a monthly univariate forecasting series.

Parameters:
return_arraybool, default=True

return series as an np.ndarray if True, else as a pd.Series.

Returns:
np.ndarray or pd.Series

PBS time series

Notes

The Pharmaceutical Benefits Scheme (PBS) is the Australian government drugs subsidy scheme. Data comprises of the numbers of scripts sold each month for immune sera and immunoglobulin products in Australia.

Dimensionality: univariate Series length: 204 Frequency: Monthly Number of cases: 1

The time series is intermittent, i.e contains small counts, with many months registering no sales at all, and only small numbers of items sold in other months.

References

[1]

Data for “Forecasting: Principles and Practice” (3rd Edition)

Deprecated since version 1.6.0: load_PBS_dataset and the PBS_dataset dataset are deprecated and will be removed in v1.7.0. It is unused elsewhere in aeon; use load_airline for a monthly univariate forecasting series.

Examples

>>> from aeon.datasets import load_PBS_dataset
>>> y = load_PBS_dataset()