concept time series in category haskell

This is an excerpt from Manning's book Get Programming with Haskell.
In this capstone, you’ll model time-series data by using tools you’ll build in Haskell. Time-series data is, in theory, relatively simple: it’s a series of values and dates for each piece of data. Figure 20.1 presents sales data from the Box & Jenkins data set that’s commonly used to demonstrate a time series (the data used in this capstone is also a subset of the first 36 months of this same data).
Basic summary statistics can be helpful but are rarely enough to cover all the details you want to know about a time series. In the case of monthly sales data, you might want to make sure your company is growing. Because time-series data isn’t a simple straight line, it can be surprisingly tricky to answer simple questions such as, “How fast are sales growing?” The most straightforward approach is to look not at the values of the time series itself, but at how the values change over time. Another problem is that time-series data is noisy. To reduce noise, you perform a task called smoothing, which attempts to remove noise from the data to make it easier to understand. Both of these tasks are a way of transforming your original data so that you can extract further insights from it.