Correlation analysis of climate conditions on rice prices in semarang 2017-2023
Main Article Content
Abstract
Rice is a vital commodity in Indonesia whose price stability is highly sensitive to climate variability. Semarang City, as a coastal urban center prone to floods and extreme rainfall, plays a strategic role in rice production and distribution in Central Java. This research analyzes the correlation between climate variables and rice prices during the 2017–2023 period using Pearson, Spearman, cross-correlation, and autocorrelation methods. The results show that rice prices have weak to moderate correlations with climate factors, with temperature showing a stronger influence compared to rainfall, humidity, or wind speed. Although Pearson and Spearman tests mostly indicate weak correlations, several results are statistically significant, while cross-correlation analysis demonstrates that climate impacts on rice prices often appear indirectly with time lags. Furthermore, autocorrelation reveals that rice prices are characterized by short-term dependencies without clear seasonality, whereas climate parameters exhibit stronger cyclical patterns. These findings provide valuable insights for developing adaptive strategies and policies to strengthen food security in the face of climate change.
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
E. Sondakh, R. Kaunang, dan P. A. Pangemanan, “Faktor-Faktor Yang Mempengaruhi Pendapatan Pedagang Beras Dalam Menghadapi Fluktuasi Harga Di Kota Manado,” gri-Sosioekonomi J. Ilm. Sos. Ekon. Pertania, vol. 12, no. 1A, hal. 103–120, 2016, doi: https://doi.org/10.35791/agrsosek.12.1A.2016.11707.
A. Dhamira dan G. Mada, “Impact of temperature anomalies on rice production in Indonesia,” J. Agric. Econ., vol. 12, no. 3, hal. 145–157, 2020, doi: http://doi.org/10.22146/ae.55153.
D. Dulbari, E. Santosa, Y. Koesmaryono, dan E. Sulistyono, “Cuaca Ekstrim Mengubah Nilai Indeks Ketahanan Tanaman Padi Terhadap Rebah,” J. Planta Simbiosa, vol. 1, no. 1, 2021, doi: 10.25181/jplantasimbiosa.v1i1.1261.
W. Handayani dan P. Nugroho, “Kajian potensi pengembangan pertanian perkotaan di kota semarang,” J. RIPTEK, vol. I, no. 2, hal. 55–68, 2018.
N. Ikhsyan, C. Muryani, dan P. Rintayati, “Analysis of Distribution, Impacts and Adaptation Societies Flood Rob in the Eastern District of Semarang and Semarang Gayamsari District,” vol. 3, no. 2, hal. 145–156, 2017.
R. L. Islami dan P. R. Sihombing, “Interpolasi Curah Hujan Ekstrim Menggunakan Model Spatial Di Provinsi Jawa Barat,” J. Stat. Appl. Comput. Stat., vol. 12, no. 2, 2021, doi: https://doi.org/10.34123/jurnalasks.v13i2.290.
BMKG, “Probabilistik Curah Hujan 20 mm (tiap 24 jam),” [online]. https://www.bmkg.go.id/cuaca/probabilistik-curah-hujan.bmkg (diakses Jun 18, 2024).
B. Kharisma, Z. Mario, dan S. Indrawan, “Analysis of rice price transmission in West Java , Indonesia,” Cogent Food Agric., vol. 9, no. 2, hal. 1–15, 2023, doi: 10.1080/23311932.2023.2266198.
E. Science, “Climate change adaptation strategy of agricultural sector in Southeast Asia,” IOP Publ., 2024, doi: 10.1088/1755-1315/1414/1/012066.
BMKG, “DATA ONLINE - PUSAT DATABASE - BMKG,” [online]. https://dataonline.bmkg.go.id/dataonline-home (diakses Jun 15, 2024).
Sihati, “Sistem Informasi Harga dan Produk Komoditi Provinsi Jawa Tengah,” [online]. https://hargajateng.org/ (diakses Jun 15, 2024).
N. M. Noor, A. S. Yahaya, M. Mustafa, dan A. Bakri, “Filling Missing Data Using Interpolation Methods : Study on the Effect of Fitting Distribution,” Key Eng. Mater., vol. 594–595, no. December, hal. 889–895, 2013, doi: 10.4028/www.scientific.net/KEM.594-595.889.
A. Rayhan dan R. Kinzler, “Advancing Scientific Computing with Python ’ s SciPy Library,” no. August, 2023, doi: 10.13140/RG.2.2.21131.87841.
Scipy.stats.pearsonr, “scipy.stats.pearsonr — SciPy v1.13.1 Manual,” [online]. https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.pearsonr.html (diakses Jun 16, 2024).
Scipy.stats.spearmanr, “scipy.stats.spearmanr — SciPy v1.13.0 Manual,” [online]. https://docs.scipy.org/doc/scipy-1.13.0/reference/generated/scipy.stats.spearmanr.html (diakses Jun 16, 2024).
Numpy.correlate, “numpy.correlate — NumPy v1.26 Manual,” [online]. https://numpy.org/doc/stable/reference/generated/numpy.correlate.html (diakses Jun 16, 2024).
Pandas.plotting.autocorrelation_plot, “pandas.plotting.autocorrelation_plot — pandas 2.2.2 documentation,” [online]. available: https://pandas.pydata.org/docs/reference/api/pandas.plotting.autocorrelation_plot.html (diakses Jun 16, 2024).
R. Salimi dan K. Pakizeh, “The extension of Pearson ’ s correlation coefficient , measuring noise , and selecting features,” hal. 1–24, 2024.
R. Mustamu, F. Y. Rumlawang, dan Y. A. Lesnussa, “Aplikasi Korelasi Spearman Untuk Menganalisis Hubungan Antara Stres Kerja Dengan Kepuasan Kerja Pegawai Berdasarkan Gender (Studi Kasus : Dinas Perhubungan Kota Ambon),” Al-Khwarizmi J. Pendidik. Mat. Dan Ilmu Pengetah. Alam, vol. 3, no. 1, hal. 83–92, 2018, doi: https://doi.org/10.24256/jpmipa.v3i1.220.
A. H. Wigena, A. Djuraidah, dan S. Sahriman, “Statistical Downscaling Dengan Pergeseran Waktu Berdasarkan Korelasi Silang,” J. Meteorol. Dan Geofis., vol. 16, no. 1, 2015, doi: https://doi.org/10.31172/jmg.v16i1.259.
M. Sururudin, “Uji Unit Root Untuk Deteksi Kestasioneran Data Time Series Non Musiman Dan Musiman,” [online]. https://www.semanticscholar.org/paper/UJI-UNIT-ROOT-UNTUK-DETEKSI-KESTASIONERAN-DATA-TIME-Sururudin/fed256b67df391911e8a4a22adbbb8c505743b03 (diakses Jun 16, 2024).