Equal spacing and time alignment
In this section, we explain what an equally spaced time series is and show you how to make time series equally spaced by time alignment. We will cover these topics in the following subsections:
- Introducing the concept of equal spacing
- Performing time alignment for equally spaced time series
Explaining the concept of equal spacing
An equally spaced time series has equal time intervals between the subsequent observations. For example, in daily data, equal spacing means that all days between the first day and the last day in the time series are present. This is often not the case in raw time series, where, for example, a holiday makes a gap in the daily sales data and a system breakdown impedes the sending of signals.
Important Note
The regular sampling intervals do not necessarily reflect regular intervals in terms of the physical time but can also be determined by, for example, trading days in stock market data.
Raw time...