Page 170 - Data Science Algorithms in a Week
P. 170

Time Series Analysis


            Analysis:

            To be able to analyze this, we will first graph the data so that we can notice patterns and
            analyze them.


































            From the graph and the table, we notice that, in the long term, the sales increase linearly.
            This is the trend. However, we can also see that the sales for December tend to be higher
            than for the other months. Thus, we have reason to believe that sales are also influenced by
            the month.
            How could we predict the monthly sales for the following years? First, we determine the
            exact long-term trend of the data. Then, we would like to analyze the change across the
            months.















                                                    [ 158 ]
   165   166   167   168   169   170   171   172   173   174   175