| Title: | Data Sets from "Forecasting with Exponential Smoothing" |
|---|---|
| Description: | Data sets from the book "Forecasting with exponential smoothing: the state space approach" by Hyndman, Koehler, Ord and Snyder (Springer, 2008) <doi:10.1007/978-3-540-71918-2>. |
| Authors: | Rob Hyndman [aut, cre, cph] (ORCID: <https://orcid.org/0000-0002-2140-5352>), Justin Carmody [ctb] |
| Maintainer: | Rob Hyndman <[email protected]> |
| License: | GPL-3 |
| Version: | 2.4.0 |
| Built: | 2026-11-22 17:12:15 UTC |
| Source: | https://github.com/cran/expsmooth |
Quarterly Australian GDP per capita, 1971:3 - 1998:1.
ausgdpausgdp
Quarterly time series of length 107.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(ausgdp, main = "Australian GDP per capita", ylab = "dollars", xlab = "Year" )autoplot(ausgdp, main = "Australian GDP per capita", ylab = "dollars", xlab = "Year" )
Monthly US government 10-year bond yields (percent pa) from Jan 1994 to May 2004.
bondsbonds
Monthly time series of length 125.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(bonds, main = "US 10-year bonds yield", ylab = "Percentage per annum", xlab = "Year" )autoplot(bonds, main = "US 10-year bonds yield", ylab = "Percentage per annum", xlab = "Year" )
Monthly Canadian gas production, billions of cubic metres, January 1960 - February 2005.
cangascangas
Monthly time series of length 542.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(cangas, main = "Monthly Canadian gas production", ylab = "billion cubic metres", xlab = "Year" )autoplot(cangas, main = "Monthly Canadian gas production", ylab = "billion cubic metres", xlab = "Year" )
Monthly sales of car parts. 2674 series. Jan 1998 - Mar 2002.
carpartscarparts
Monthly multiple time series with 51 observations on 2674 series. Some series contain missing values.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(carparts[, 2001:2005], facets = TRUE, main = "Monthly car part sales", ylab = "Sales", xlab = "Year" )autoplot(carparts[, 2001:2005], facets = TRUE, main = "Monthly car part sales", ylab = "Sales", xlab = "Year" )
Monthly Dow Jones Index: Open, High, Low, Close. Jan 1990 - Mar 2007.
djidji
Monthly multiple time series with 207 observations on 4 variables:
Open, High, Low and Close.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(dji, main = "Dow Jones Index", ylab = "", xlab = "Year")autoplot(dji, main = "Dow Jones Index", ylab = "", xlab = "Year")
Closing values of the Dow Jones Index on the first day of each month, October 1928 - Dec 2007.
djiclosedjiclose
Monthly multiple time series with 951 observations on 2 variables:
closeClosing value of the index.
pcreturnPercentage return. The first value is missing.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(djiclose, facets = TRUE, main = "Dow Jones Index", ylab = "", xlab = "Year" )autoplot(djiclose, facets = TRUE, main = "Dow Jones Index", ylab = "", xlab = "Year" )
Domestic revenue enplanements (millions), January 1979 - June 2002. Source: US Department of Transportation, Bureau of Transportation Statistics, Air Carrier Traffic Statistics Monthly.
enplanementsenplanements
Monthly time series of length 282.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(enplanements, main = "US domestic enplanements", ylab = "millions", xlab = "Year" )autoplot(enplanements, main = "US domestic enplanements", ylab = "millions", xlab = "Year" )
Sales of a product for 62 weeks starting in early 2003.
fmsalesfmsales
Time series of length 62, indexed by week (frequency 1).
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(fmsales, ylab = "FM sales (thousands)", xlab = "Week")autoplot(fmsales, ylab = "FM sales (thousands)", xlab = "Week")
Annual US new freight cars, 1947-1993. Freight cars, new (excl. rebuilt), new orders, equip. mfrers. Series N0193 from the M3 competition.
freightfreight
Annual time series of length 47.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(freight, main = "New freight cars shipped in USA", ylab = "", xlab = "Year" )autoplot(freight, main = "New freight cars shipped in USA", ylab = "", xlab = "Year" )
Quarterly exports of a French company (in thousands of francs), taken from Makridakis et al. (1998, p.162).
frexportfrexport
Quarterly time series of length 24, indexed by year 1-6.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(frexport, main = "Quarterly exports", ylab = "thousands of francs", xlab = "Year" )autoplot(frexport, main = "Quarterly exports", ylab = "thousands of francs", xlab = "Year" )
Monthly US retail gasoline price (the average price per gallon, in dollars) and the spot price of a barrel of West Texas Intermediate (WTI) oil in dollars as traded at Cushing, Oklahoma. Jan 1991 - Nov 2006. These series were obtained from the US Energy Information Administration website https://www.eia.gov.
gaspricegasprice
Monthly multiple time series with 191 observations on 2 variables:
GasPriceAverage retail price of gasoline (dollars per gallon).
SpotPriceSpot price of WTI oil (dollars per barrel).
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(gasprice, facets = TRUE, main = "Gasoline and oil prices", ylab = "US dollars", xlab = "Year" )autoplot(gasprice, facets = TRUE, main = "Gasoline and oil prices", ylab = "US dollars", xlab = "Year" )
Monthly patient count for products that are related to medical problems. There are 767 time series that had a mean count of at least 10 and no zeros.
hospitalhospital
Monthly multiple time series with 84 observations on 767 series, January 2000 - December 2006.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(hospital[, 1:5], facets = TRUE, main = "Monthly patient count", ylab = "Patients", xlab = "Year" )autoplot(hospital[, 1:5], facets = TRUE, main = "Monthly patient count", ylab = "Patients", xlab = "Year" )
Weekly sales of 314 costume jewelry items over the period week 5, 1998 to week 24, 2000.
jewelryjewelry
Weekly multiple time series (frequency 52) with 124 observations on 314 series.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(jewelry[, 1:5], facets = TRUE, main = "Weekly sales of costume jewelry items", ylab = "Sales", xlab = "Year" )autoplot(jewelry[, 1:5], facets = TRUE, main = "Weekly sales of costume jewelry items", ylab = "Sales", xlab = "Year" )
Monthly copper prices. Copper, grade A, electrolytic wire bars/cathodes, LME, cash (pounds/ton). Source: UNCTAD (https://unctadstat.unctad.org/EN/).
mcoppermcopper
Monthly time series of length 564.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(mcopper, main = "Monthly copper price", ylab = "pounds per ton", xlab = "Year" )autoplot(mcopper, main = "Monthly copper price", ylab = "pounds per ton", xlab = "Year" )
Monthly sales for a product with shortage indicators.
msalesmsales
Monthly multiple time series with 36 observations on 2 variables, indexed by year 1-3:
SalesMonthly sales.
stockoutsIndicator equal to 1 when there was a stock shortage, and 0 otherwise.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
stock <- factor(msales[, "stockouts"], labels = c("Excess stock", "Stock shortage") ) autoplot(msales[, "Sales"], main = "Monthly sales of a product", ylab = "Sales", xlab = "Year" ) + ggplot2::geom_point(ggplot2::aes(shape = stock)) + ggplot2::labs(shape = NULL)stock <- factor(msales[, "stockouts"], labels = c("Excess stock", "Stock shortage") ) autoplot(msales[, "Sales"], main = "Monthly sales of a product", ylab = "Sales", xlab = "Year" ) + ggplot2::geom_point(ggplot2::aes(shape = stock)) + ggplot2::labs(shape = NULL)
Monthly sales of an automobile part.
partxpartx
Monthly time series of length 51, indexed by year 1-5.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(partx, main = "Monthly sales of an automobile part", ylab = "Sales", xlab = "Year" )autoplot(partx, main = "Monthly sales of an automobile part", ylab = "Sales", xlab = "Year" )
Quarterly UK passenger car production (thousands of cars), 1977:1 - 2005:1.
ukcarsukcars
Quarterly time series of length 113.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(ukcars, main = "UK passenger vehicle production", ylab = "Thousands of cars", xlab = "Year" )autoplot(ukcars, main = "UK passenger vehicle production", ylab = "Thousands of cars", xlab = "Year" )
100 monthly observations on the consumer confidence index and seasonally adjusted civilian unemployment in the US, covering the period June 1997 – September 2005.
unemp.cciunemp.cci
Monthly multiple time series with 100 observations on 3 variables:
unempSeasonally adjusted civilian unemployment.
cciConsumer confidence index.
sep11A "terrorism" indicator variable taking value 1 from September 2001, and 0 before.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(unemp.cci[, c("unemp", "cci")], facets = TRUE, main = "Unemployment and the CCI", ylab = "", xlab = "Year" )autoplot(unemp.cci[, c("unemp", "cci")], facets = TRUE, main = "Unemployment and the CCI", ylab = "", xlab = "Year" )
Quarterly US GDP, 1947:1 - 2006:1.
usgdpusgdp
Quarterly time series of length 237.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(usgdp, main = "Quarterly US GDP", ylab = "US dollars", xlab = "Year")autoplot(usgdp, main = "Quarterly US GDP", ylab = "US dollars", xlab = "Year")
Annual US net electricity generation (billion kWh) for 1949-2003.
usnetelecusnetelec
Annual time series of length 55.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(usnetelec, main = "Annual US net electricity generation", ylab = "billion kWh", xlab = "Year" )autoplot(usnetelec, main = "Annual US net electricity generation", ylab = "billion kWh", xlab = "Year" )
Hourly utility demand, mid western USA from 1 Jan 2003.
utilityutility
Hourly time series (frequency 24) of length 3024, covering 126 days.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(utility, main = "Hourly utility demand", ylab = "MW", xlab = "Day")autoplot(utility, main = "Hourly utility demand", ylab = "MW", xlab = "Day")
Hourly vehicle counts on Monash Freeway, outside Melbourne in Victoria, Australia, beginning August 1995.
vehiclesvehicles
Hourly time series (frequency 24) of length 1689, indexed by day.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(vehicles, main = "Hourly vehicle count", ylab = "Number of vehicles", xlab = "Day" )autoplot(vehicles, main = "Hourly vehicle count", ylab = "Number of vehicles", xlab = "Day" )
Monthly Australian short-term overseas visitors (thousands of people), May 1985 - April 2005.
visitorsvisitors
Monthly time series of length 240.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(visitors, main = "Overseas visitors to Australia", ylab = "Thousands of people", xlab = "Year" )autoplot(visitors, main = "Overseas visitors to Australia", ylab = "Thousands of people", xlab = "Year" )
Monthly foreign exchange rates: US dollar and UK pound against the Australian dollar, January 2000 - May 2006.
xratesxrates
Monthly multiple time series with 77 observations on 2 variables:
audusdUSD/AUD exchange rate.
audukpUKP/AUD exchange rate.
Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. doi:10.1007/978-3-540-71918-2.
https://robjhyndman.com/expsmooth/
autoplot(xrates, facets = TRUE, main = "Foreign exchange rates", ylab = "", xlab = "Year" )autoplot(xrates, facets = TRUE, main = "Foreign exchange rates", ylab = "", xlab = "Year" )