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

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 (...

Full description

Saved in:
Bibliographic Details
Main Authors: Md Ajeman, Siti Najihah, Jamil, Qashrina Balqis, Ahmad Hasbullah, Fatin Nurul Izzah
Format: Student Project
Language:English
Published: 2022
Subjects:
Online Access:https://ir.uitm.edu.my/id/eprint/80817/1/80817.pdf
https://ir.uitm.edu.my/id/eprint/80817/
Tags: Add Tag
No Tags, Be the first to tag this record!
id my.uitm.ir.80817
record_format eprints
spelling my.uitm.ir.808172023-07-14T00:12:23Z https://ir.uitm.edu.my/id/eprint/80817/ 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 Jamil, Qashrina Balqis Ahmad Hasbullah, Fatin Nurul Izzah Mathematical statistics. Probabilities 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. 2022 Student Project NonPeerReviewed text en https://ir.uitm.edu.my/id/eprint/80817/1/80817.pdf 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. (2022) [Student Project] (Unpublished)
institution Universiti Teknologi Mara
building Tun Abdul Razak Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Teknologi Mara
content_source UiTM Institutional Repository
url_provider http://ir.uitm.edu.my/
language English
topic Mathematical statistics. Probabilities
spellingShingle Mathematical statistics. Probabilities
Md Ajeman, Siti Najihah
Jamil, Qashrina Balqis
Ahmad Hasbullah, Fatin Nurul Izzah
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
description 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.
format Student Project
author Md Ajeman, Siti Najihah
Jamil, Qashrina Balqis
Ahmad Hasbullah, Fatin Nurul Izzah
author_facet Md Ajeman, Siti Najihah
Jamil, Qashrina Balqis
Ahmad Hasbullah, Fatin Nurul Izzah
author_sort Md Ajeman, Siti Najihah
title 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
title_short 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
title_full 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
title_fullStr 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
title_full_unstemmed 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
title_sort 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
publishDate 2022
url https://ir.uitm.edu.my/id/eprint/80817/1/80817.pdf
https://ir.uitm.edu.my/id/eprint/80817/
_version_ 1772815591059488768
score 13.160551