O'Reilly logo

R for Data Science by Dan Toomey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Predicting Events with Machine Learning

R programming has several tools that can be used when dealing with events in a time series. We can look at the time series from several aspects, evaluate the components involved in the data, construct a model of the time series behavior, and estimate or forecast time series events going forward.

This chapter covers the analysis of time series data with the objective of forecasting. There are several areas in R programming that can be used for time series forecasting:

  • Converting your data into an R-formatted time series
  • Examining seasonality effects
  • Simple smoothing
  • Basic trend analysis, including decomposing your time series into seasonal, trend, and irregular components
  • Exponential smoothing, including ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required