Last Update:

Wednesday, April 17, 2024

Opening Value:

58.28

Highest Value:

58.56

Lowest Value:

58.1

Adj. Closing Value:

58.51

  • The forecast plot shows the forecasted Coca-Cola stock prices for the next 18 months.

  • The plot also shows the 80% prediction interval in dark purple and the 95% prediction interval in light purple.

  • The numeric values for these forecasted values and prediction intervals are shown in the next tab.

The table below shows the forecast values and 80% and 95% prediction intervals for the 18 requested forecasts for the Coca-Cola stock.

Point Forecast Lo 80 Hi 80 Lo 95 Hi 95
May 2024 61.10962 59.17527 63.04397 58.15128 64.06795
Jun 2024 61.09572 58.55816 63.63328 57.21486 64.97658
Jul 2024 61.06493 58.20306 63.92680 56.68808 65.44178
Aug 2024 61.25012 58.07832 64.42193 56.39926 66.10098
Sep 2024 61.51243 57.98617 65.03870 56.11948 66.90539
Oct 2024 61.69148 57.82992 65.55304 55.78573 67.59722
Nov 2024 61.80555 57.66365 65.94745 55.47106 68.14004
Dec 2024 61.94052 57.54975 66.33129 55.22542 68.65562
Jan 2025 62.11456 57.48035 66.74876 55.02715 69.20196
Feb 2025 62.29059 57.41644 67.16475 54.83622 69.74497
Mar 2025 62.44777 57.34597 67.54956 54.64524 70.25029
Apr 2025 62.59794 57.28252 67.91336 54.46870 70.72718
May 2025 62.75531 57.23536 68.27526 54.31327 71.19734
Jun 2025 62.91845 57.19956 68.63734 54.17216 71.66474
Jul 2025 63.07984 57.16778 68.99191 54.03812 72.12157
Aug 2025 63.23780 57.13920 69.33639 53.91080 72.56480
Sep 2025 63.39553 57.11653 69.67452 53.79263 72.99842
Oct 2025 63.55491 57.10049 70.00933 53.68373 73.42609
  • These three residual plots allow the analyst to examine the distribution of the residuals of the modeled time series.

This dashboard was created using Quarto in RStudio, and the R Language and Environment.

Data to create this dashboard was downloaded from Yahoo Finance.

Software Citations

Arnold J (2024). ggthemes: Extra Themes, Scales and Geoms for ‘ggplot2’. R package version 5.1.0, https://CRAN.R-project.org/package=ggthemes.

Bache S, Wickham H (2022). magrittr: A Forward-Pipe Operator for R. R package version 2.0.3, https://CRAN.R-project.org/package=magrittr.

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

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

Neuwirth E (2022). RColorBrewer: ColorBrewer Palettes. R package version 1.1-3, https://CRAN.R-project.org/package=RColorBrewer.

Posit team (2024). RStudio: Integrated Development Environment for R. Posit Software, PBC, Boston, MA. URL http://www.posit.co/.

R Core Team (2024). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/.

Rinker, T. W. & Kurkiewicz, D. (2017). pacman: Package Management for R. version 0.5.0. Buffalo, New York. http://github.com/trinker/pacman

Vanderkam D, Allaire J, Owen J, Gromer D, Thieurmel B (2018). dygraphs: Interface to ‘Dygraphs’ Interactive Time Series Charting Library. R package version 1.1.1.6, https://CRAN.R-project.org/package=dygraphs.

Wickham H, Averick M, Bryan J, Chang W, McGowan LD, François R, Grolemund G, Hayes A, Henry L, Hester J, Kuhn M, Pedersen TL, Miller E, Bache SM, Müller K, Ooms J, Robinson D, Seidel DP, Spinu V, Takahashi K, Vaughan D, Wilke C, Woo K, Yutani H (2019). “Welcome to the tidyverse.” Journal of Open Source Software, 4(43), 1686. doi:10.21105/joss.01686 https://doi.org/10.21105/joss.01686.

Xie Y (2023). knitr: A General-Purpose Package for Dynamic Report Generation in R. R package version 1.45, https://yihui.org/knitr/.

Yihui Xie (2015) Dynamic Documents with R and knitr. 2nd edition. Chapman and Hall/CRC. ISBN 978-1498716963

Yihui Xie (2014) knitr: A Comprehensive Tool for Reproducible Research in R. In Victoria Stodden, Friedrich Leisch and Roger D. Peng, editors, Implementing Reproducible Computational Research. Chapman and Hall/CRC. ISBN 978-1466561595