A Bayesian Approach for Wilcoxon Signed-Rank Test and Its Application to the Farmer’s Exchange Rate in Indonesia
Main Article Content
Abstract
Wilcoxon Signed-Rank Test (WSRT) is a rank-based statistical nonparametric method to test two paired samples. Researchers often use a frequentist approach in testing by utilizing test statistics or p-values. This approach has limitations in providing information about the rejection of the alternative or null hypothesis. These limitations have spurred interest in Bayesian-based testing, known as the Bayes Factor. The advantage of the Bayesian approach is it can measure how much the data support one hypothesis over another. However, there is a problem of using Bayesian approach in WSRT, since there is no distribution of the rank implies no likelihood can be formed from the data rank. Van Doorn proposed a Bayesian approach for this test by using a latent normal approach, by modeling the data rank being come from latent variables that are normally distributed. The objective of this study is to test whether there is difference between farmer exchange rate 2021 and 2022 in Indonesia. We used Wilcoxon Signed Rank Test with Bayesian approach as given by Van Doorn. The test employs Bayes factor to make conclusion, by transforming the rank of data using latent variable that assuming follow normal distribution. The analysis was conducted by constructing a posterior population of difference ( ) of 475,000 using the Gibbs Sampling algorithm. It is obtained the values of Bayes Factor is of 3076.07 and concluded that there is difference of farmer exchange rate in Indonesia between 2021 and 2022. This Bayes Factor indicates extreme evidence of a significant difference in the farmer exchange rate in Indonesia between 2021 and 2022.
Downloads
Article Details
References
Dienes, Z. (2014). Using Bayes to get the most out of non-significant results. Frontiers in Psychology, 5 (July), 1-17. https://doi.org/10.3389/fpsyg.2014.00781
Gamerman, D., & Lopes, H. F. (2006). Markov Chain Monte Carlo: Stochastic Simulation for Bayesian Inference. In Management for Professionals: Vol. Part F525. Second Edition. Chapman & Hall/CRC, USA. https://doi.org/10.1007/978-981-19-1614-4_11
Kelter, R. (2020). Bayesian alternatives to null hypothesis significance testing in biomedical research: a non-technical introduction to Bayesian inference with JASP. Jakarta: Kementerian Pertanian
Kementerian Pertanian. (2015). Rencana Strategis Kemeterian Pertanian. Jakarta: Kementerian Pertanian RI
Quintana, D. S., & Williams, D. R. (2018). Bayesian alternatives for common null-hypothesis significance tests in psychiatry: A non-technical guide using JASP. BMC Psychiatry, 18(1), 1–8. https://doi.org/10.1186/s12888-018-1761-4
van Doorn, J., Ly, A., Marsman, M., & Wagenmakers, E. J. (2020). Bayesian rank-based hypothesis testing for the rank sum test, the signed rank test, and Spearman’s. Journal of Applied Statistics, 47(16), 2984–3006. https://doi.org/10.1080/02664763.2019.1709053
Wahyudi & Agustian, A. (2025). Kajian Kritis Pengukuran Kesejahteraan Petani melalui Metode Nilai Tukar Petani dan Indeks Kesejahteraan Petani. Jurnal Perencanaan Pembangunan Pertanian, 2(1) 44-60
Walsh. (2004). Markov Chain Monte Carlo and Gibbs Sampling. https://doi.org/10.2174/157015909788848875