Determine whether there are detectable trends in Sales-Margin values at a supplier or overall(all suppliers) level over a 10-year period.
Build forecast models to predict Sales-margin percentages for the year 2022-2023.
Understand seasonality, trend and variability of Sales-margin for each individual supplier over a 10-year period to understand their
behavior pattern, in order to make better buisness decisions regarding inventory management and competitive intelligence.
Forecasts:
Features:
Month Year - Shows the month and year for sales, wholesale and aquisition cost, and buy-margin for multiple parent pharmaceutical suppliers.
Parent supplier number - Shows the corresponding parent suplier supplier number associated with each supplier
Buy-margin raw dollar - Shows the original buy-margin amount prior to grouping with wholesale and aquisition cost and sales for each supplier
WAC: Shows the total wholesale and aquisition cost of all drugs/medicines for each supplier
Sales: Shows the total amount of sales of all drugs/medicines by each supplier
These are the major factors affecting the sales-margin value. Additonally, all the values are grouped with sales and parent suppliers number for
a complete analysis of sales-margin value trend, seasonality, variability for parent supplier based on total sales.
We helped the client by:
Identifying trends and seasonality in the overall supplier data in comparison with the top 3 suppliers
Forecast models produced for the top 3 suppliers as well as an overall model for all suppliers
Analyzed long-term trends, behaviors, variability, distributions and transformations of top 3 individual suppliers along with the overall model and
their impact on the future forecast
Analyzed behaviour patterns of each supplier, in order to make better business decisions regarding inventory managemnet and competitive inteliigence.
Creating meaningful impact:
Created a forecasting model by minimizing the error rate from a 10%-15% range to a range of 4%-6% as per the domain and business requirement.
Performance mterics used: MAE and RMSE for the top 3 suppliers and the overall model.
Created a report with crucial insights and takeaways for top suppliers in terms of trends, seasonality, variability and forecast accuracy for critical future business decisions.
This is a POC(Proof of concept) kind-of project. The data used here comes up with no guarantee from the organization. So, please donโt use it for making forecasting decsions. However, this project presents the idea that how we can use Machine learning time-series forecasting into practice and how much impact we can generate from the same.
MOTIVATION ๐ช
Client required sales-margin values, studied and forecasted for each supplier mainly the top 3 suppliers to make future buisness decisions in terms of inventory management.
This was to be done based on the seasonality, trends and behaviour patterns of each of these suppliers in terms of sales values.
Having a huge number of suppliers and each top supplier accounting for $5 million, there was no streamlined way and a forecasting model which could help make future descision making.
We not only seggregated the data from millions of records but classifed it, restructured it, and created the forecast model based on the 10-year data using ARIMA and SARIMAX.
fbprophet library and LSTM architecture were also used. However, best results were obtained by using ARIMA.
Built with ๐ ๏ธ
FORECASTS AND INSIGHTS ๐
Top supplier 1:
Insights:
Seasonality is present in the top 1 individual supplier.
Sales-margin % is stable across time but long-term trends vary.
Shows no long-term trend in monthly sales-margin either.