Back to models
Dataset (Forecasting)

Longley

Load the Longley dataset for forecasting with exogenous variables.

Quickstart

python
from sktime.datasets.forecasting.longley import Longley

estimator = Longley(y_name: str='TOTEMP')

Parameters(1)

y_name: str, optional (default=”TOTEMP”)
Name of target variable (y)

Examples

>>> from sktime.datasets.forecasting import Longley
>>> y, X = Longley (). load ("y", "X")

References

  1. [1 ] Longley, J.W. (1967) “An Appraisal of Least Squares Programs for the Electronic Computer from the Point of View of the User.” Journal of the American Statistical Association. 62.319, 819-41. (https://www.itl.nist.gov/div898/strd/lls/data/LINKS/DATA/Longley.dat)