A comparative study of Least Square Method, Exponential Smoothing Method and Moving Average to predict future sales of pharmacy / Siti Najihah Md Ajeman, Qashrina Balqis Jamil and Fatin Nurul Izzah Ahmad Hasbullah

Md Ajeman, Siti Najihah and Jamil, Qashrina Balqis and Ahmad Hasbullah, Fatin Nurul Izzah (2022) A comparative study of Least Square Method, Exponential Smoothing Method and Moving Average to predict future sales of pharmacy / Siti Najihah Md Ajeman, Qashrina Balqis Jamil and Fatin Nurul Izzah Ahmad Hasbullah. [Student Project] (Unpublished)

Abstract

The Least Square Method (LSM) is widely utilized in data fitting, with the best fit minimizing the residual squared sum and can be used to forecast pharmacies sales. LSM can be divided into two categories, linear LSM and nonlinear LSM. Apart from LSM, Exponential Smoothing (ESM) and Moving Average (MA) are also used for forecasting. ESM is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component while MA is a statistical method used for forecasting long-term trends. These methods are only accurate when there is a reasonable amount of continuity between the past and the future. This study is to determine a model that fits the pharmacy data using LSM, ESM and MA. This study will compare which method is preferable by comparing their error using Root Mean Square Error (RMSE) and Mean Absolute Percentage Error (MAPE). We can predict the future sales of pharmacy for the next 5 years (2022-2026) using the preferable method. From the results of the study, the function that is obtained from LSM is quartic which is the best fit. It can be concluded that prediction analysis by using quartic can be used to predict the sales for the coming period based on the pharmacies data in the previous years, because it produces the smallest error. It can show that the pharmacies sales are decreasing after the pandemic Covid-19 because due to a price war between other pharmacies offering cheaper prices. The recommendation for the next study is to use Box-Jenkins based ARIMA model, Euler Method and Runge-Kutta to make prediction of pharmacies sales. Not only that, but it is also better to use larger data to make the curve fitting smoother for forecasting.

Metadata

Item Type: Student Project
Creators:
Creators
Email / ID Num.
Md Ajeman, Siti Najihah
UNSPECIFIED
Jamil, Qashrina Balqis
UNSPECIFIED
Ahmad Hasbullah, Fatin Nurul Izzah
UNSPECIFIED
Subjects: Q Science > QA Mathematics > Mathematical statistics. Probabilities
Divisions: Universiti Teknologi MARA, Negeri Sembilan > Seremban Campus > Faculty of Computer and Mathematical Sciences
Programme: Bachelor of Science (Hons.) (Mathematics)
Keywords: Covid-19, Box-Jenkins, Runge-Kutta, pharmacies
Date: 2022
URI: https://ir.uitm.edu.my/id/eprint/80817
Edit Item
Edit Item

Download

[thumbnail of 80817.pdf] Text
80817.pdf

Download (193kB)

Digital Copy

Digital (fulltext) is available at:

Physical Copy

Physical status and holdings:
Item Status:

ID Number

80817

Indexing

Statistic

Statistic details