Chapter 15. Time series

This chapter covers

  • Creating a time series
  • Decomposing a time series into components
  • Developing predictive models
  • Forecasting future values

How fast is global warming occurring, and what will the impact be in 10 years? With the exception of repeated measures ANOVA in section 9.6, each of the preceding chapters has focused on cross-sectional data. In a cross-sectional dataset, variables are measured at a single point in time. In contrast, longitudinal data involves measuring variables repeatedly over time. By following a phenomenon over time, it’s possible to learn a great deal about it.

In this chapter, we’ll examine observations that have been recorded at regularly spaced time intervals for a given span of time. ...

Get R in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.