MASTER THESIS

This master thesis stemmed from the desire to put together some topics which meant a lot to me back in those days: Data analysis and Supply chain. In order to merge them together I thought it would be a good idea to bring the financial and econometric model into the supply chain, specifically in the demand planning side. By having multiple approaches in developing a demand market strategy we could offer a better product and service to the customers. Despite some doubts I proceed with this idea. I’ve collected the demand, so the time series of specific electric motors in order to apply some of the most important econometric models. I’ve selected them by looking at specific elements: trends, seasonality, and level. Specifically, six motors sparked my interest as for three years they have shown the same seasonality. The econometric models applied for the thesis have been the ARMA, ARIMA models, in this case by bearing in mind the seasonality the SARIMA model has been applied.

A time series is a series of ordered data points which are subject to serial dependence (e.g. datapoints generated at different times can be dependent on each other). Most time series can be decomposed into 4 main components:

Additionally, time series can fall into two main categories: stationary and non-stationary. A time series can be considered stationary if its main statistical properties (e.g. mean, autocorrelation, variance) do not vary over time (otherwise, is non-stationary). Stationary time series are much easier to model compared to their non-stationary counterparts. Lastly, another important property to take into account when analyzing time series is autocorrelation. In fact, if a time series is autocorrelated, it can show a linear relationship with some of its lagged values (likely leading to overfitting during modelling).

In order to decompose our time series into its fundamental 4 components • Auto-Regressive Integrated Moving Average (ARIMA): ARIMA is a combination of Auto-Regressive and Moving Average models and assumes that future prices are a linear combination of past input data. One of the main advantages of ARIMA is that it can work also with non-stationary time series (which reflects better the true nature of stock data). At this point, we are ready to import the necessary libraries and datasets. Once cleaned the dataset, we can now divide it into training and test subsets and visualize the time series. ARIMA (AutoRegressive Integrated Moving Average) The acronym of ARIMA stands for:

The ARIMA model makes use of three main parameters (p,d,q). These are: ARIMA can lead to particularly good results if applied to short time predictions.