gasprice: US gasoline prices

gaspriceR Documentation

US gasoline prices

Description

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.

Usage

gasprice

Format

Monthly multiple time series with 191 observations on 2 variables:

GasPrice

Average retail price of gasoline (dollars per gallon).

SpotPrice

Spot price of WTI oil (dollars per barrel).

Source

Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with exponential smoothing: the state space approach, Springer. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/978-3-540-71918-2")}.

References

https://robjhyndman.com/expsmooth/

Examples

autoplot(gasprice, facets = TRUE,
  main = "Gasoline and oil prices",
  ylab = "US dollars", xlab = "Year"
)

expsmooth documentation built on Nov. 22, 2026, 5:06 p.m.