INTEGRATED OF WEB APPLICATION RSHINY FOR MARKOV CHAIN AND ITS APPLICATION TO THE DAILY CASES OF COVID-19 IN WEST SUMATERA
Abstract
Discrete-time of Markov chains, starting now referred to as Markov chains, have been widely used by previous researchers in predicting the phenomenon. The predictions were made by manual calculations and using separate software, including Maple, Matlab, and Microsoft Excel. The analysis takes a relatively long time, especially in calculating the number of transitions from each state. This research built an integrated R script for the Markov chain based on the web application RShiny to quickly, easily, and accurately predict a phenomenon. The Markov chain integrated R script is built via command-command to predict the day-n distribution with the n-step distribution and long-term probability using a stationary distribution. The RShiny web application built is limited to state two and three. The integrated web application RShiny for the Markov chain is used to predict the daily cases of COVID-19 in West Sumatra. Based on the analysis carried out in predicting the daily cases of COVID-19 in West Sumatra from March 26, 2020, to October 20, 2020, for the next three days and in the long term, the results show that there is a 51.2% probability of an increase in COVID-19 cases, a 43% probability that cases will decrease, and 5.8% chance of stagnant cases
Downloads
References
M. Ciotti, M. Ciccozzi, A. Terrinoni, W. C. Jiang, C. Bin Wang, and S. Bernardini, “The COVID-19 pandemic,” Crit Rev Clin Lab Sci, pp. 365–388, 2020, doi: 10.1080/10408363.2020.1783198.
S. J. Daniel, “Education and the COVID-19 pandemic,” Prospects (Paris), vol. 49, no. 1–2, pp. 91–96, Oct. 2020, doi: 10.1007/s11125-020-09464-3.
N. A. Putri, A. E. Putra, and R. Mariko, “Hubungan usia, Jenis kelamin dan gejala dengan kejadian COVID-19 di Sumatera Barat,” Majalah Kedokteran Andalas, vol. 44, no. 2, pp. 104–111, 2021, [Online]. Available: http://jurnalmka.fk.unand.ac.id
K. L. Chung, Markov chains. New York: Springer-Verlag, 1967.
S. M. Ross, Introduction to probability models. Academic press, 2014.
S. Osaki, Applied stochastic system modeling. Springer Science & Business Media, 2012.
N. Privault, Understanding markov chains. Examples and Applications. Singapore: Publisher Springer-Verlag, 2013.
L. Zeng et al., “Markov-chain-based probabilistic approach to optimize sensor network against deliberately released pollutants in buildings with ventilation systems,” Build Environ, vol. 168, no. 106534, 2020.
K. J. Doubleday and J. N. Esunge, “Application of Markov chains to stock trends,” ournal of Mathematics and Statistics, vol. 7, no. 2, pp. 103–106, 2011.
F. Kachapova, “Representing markov chains with transition diagrams,” J Math Stat, vol. 9, no. 3, pp. 149–154, May 2013, doi: 10.3844/jmssp.2013.149.154.
P. Studi Matematika, “PERAMALAN INDEKS PRESTASI MAHASISWA MENGGUNAKAN RANTAI MARKOV (STUDI KASUS: INDEKS PRESTASI MAHASISWA,” Jurnal Matematika UNAND, vol. 4, no. 3, pp. 105–111, 2019.
F. N. Masuku, Y. A. R. Langi, and C. Mongi, “ANALISIS RANTAI MARKOV UNTUK MEMPREDIKSI PERPINDAHAN KONSUMEN MASKAPAI PENERBANGAN RUTE MANADO-JAKARTA,” Jurnal Ilmiah Sains, vol. 18, no. 2, 2018.
A. Azizah, R. Welastika, A. N. Falah, B. N. Ruchjana, and A. S. Abdullah, “An Application of Markov Chain for Predicting Rainfall Data at West Java using Data Mining Approach,” in IOP Conference Series: Earth and Environmental Science, Institute of Physics Publishing, Aug. 2019. doi: 10.1088/1755-1315/303/1/012026.
K. Aritonang et al., “Analisis Pertambahan Pasien COVID-19 di Indonesia Menggunakan Metode Rantai Markov,” Jurnal Rekayasa Sistem Industri, vol. 9, no. 2, pp. 69–76, Jul. 2020, doi: 10.26593/jrsi.v9i2.3998.69-76.
A. Luqmanul Hakim Achmad, B. Nurani Ruchjana, S. Supian, and C. Author, “Stationary Distribution Markov Chain for COVID-19 Pandemic,” International Journal of Global Operations Research, vol. 1, no. 2, pp. 71–74, 2020, [Online]. Available: http://www.iorajournal.org/index.php/ijgor/index
Suhartono, Analisis Data Statistik dengan R. Surabaya: Lab. Komputasi Statistik, ITS, 2008.
P. U. Gio and A. R. Effendie, Belajar Bahasa Pemrograman R. 2018.
C. Beeley, Web application development with R using Shiny. Packt Publishing Ltd, 2016.
G. Alfredo Spedicato, T. Seung Kang, S. Bhargav Yalamanchi, D. Yadav, and I. Cordón, “The markovchain Package: A Package for Easily Handling Discrete Markov Chains in R.” [Online]. Available: www.linhi.com
N. Satyahadewi and H. Perdana, “Web Application Development for Inferential Statistics using R Shiny,” 2021.
Copyright (c) 2023 Putri Monika, Budi Nurani Ruchjana, Kankan Parmikanti, Atje Setiawan Abdullah
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this Journal agree to the following terms:
- Author retain copyright and grant the journal right of first publication with the work simultaneously licensed under a creative commons attribution license that allow others to share the work within an acknowledgement of the work’s authorship and initial publication of this journal.
- Authors are able to enter into separate, additional contractual arrangement for the non-exclusive distribution of the journal’s published version of the work (e.g. acknowledgement of its initial publication in this journal).
- Authors are permitted and encouraged to post their work online (e.g. in institutional repositories or on their websites) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published works.