To cite the forecast package in publications, please use:

Hyndman R, Athanasopoulos G, Bergmeir C, Caceres G, Chhay L, O'Hara-Wild M, Petropoulos F, Razbash S, Wang E, Yasmeen F (2022). forecast: Forecasting functions for time series and linear models. R package version 8.17.0, https://pkg.robjhyndman.com/forecast/.

Hyndman RJ, Khandakar Y (2008). “Automatic time series forecasting: the forecast package for R.” Journal of Statistical Software, 26(3), 1–22. doi:10.18637/jss.v027.i03.

Corresponding BibTeX entries:

  @Manual{,
    title = {{forecast}: Forecasting functions for time series and
      linear models},
    author = {Rob Hyndman and George Athanasopoulos and Christoph
      Bergmeir and Gabriel Caceres and Leanne Chhay and Mitchell
      O'Hara-Wild and Fotios Petropoulos and Slava Razbash and Earo
      Wang and Farah Yasmeen},
    year = {2022},
    note = {R package version 8.17.0},
    url = {https://pkg.robjhyndman.com/forecast/},
  }
  @Article{,
    title = {Automatic time series forecasting: the forecast package
      for {R}},
    author = {Rob J Hyndman and Yeasmin Khandakar},
    journal = {Journal of Statistical Software},
    volume = {26},
    number = {3},
    pages = {1--22},
    year = {2008},
    doi = {10.18637/jss.v027.i03},
  }