Kernel Density Estimation of Dairy Cow Milk Production at BBPTUHPT Baturraden

Authors

  • Muhammad Ghifari Azzaki Faculty of Mathematics and Natural Sciences, Universitas Jenderal Soedirman, Indonesia Author
  • Novita Eka Chandra Faculty of Mathematics and Natural Sciences, Universitas Jenderal Soedirman, Indonesia Author
  • Indra Herdiana Faculty of Mathematics and Natural Sciences, Universitas Jenderal Soedirman, Indonesia Author
  • Abdul Aziz Faculty of Mathematics and Natural Sciences, Universitas Jenderal Soedirman, Indonesia Author
  • Ari Wardayani Faculty of Mathematics and Natural Sciences, Universitas Jenderal Soedirman, Indonesia Author

Keywords:

Bandwidth selection, Kernel density estimation, Milk production

Abstract

BBPTUHPT Baturraden is a dairy cattle breeding center in Central Java where daily milk production fluctuates and does not consistently follow a specific distribution pattern. Therefore, an appropriate statistical method is needed to estimate the underlying distribution of milk production data. This study aims to estimate the density function of daily dairy cow milk production in 2025 and evaluate the performance of different kernel functions and bandwidth selection methods. The Kernel Density Estimation (KDE) method was applied using Gaussian, Epanechnikov, and Cosine kernels. Optimal bandwidths were determined using Cross-Validation (CV) and Least Squares Cross-Validation (LSCV) methods. The analysis used 365 daily milk production observations. The results showed that all kernel and bandwidth combinations produced unimodal density curves, with peak densities occurring at 930–940 liters/day. Based on Mean Squared Error (MSE) evaluation, the Gaussian kernel with CV bandwidth achieved the lowest MSE value of 0.0000006495397, indicating the best estimation performance. The estimated density function showed that daily milk production was most frequently distributed within the range of 910–950 liters/day. Thus, the Gaussian kernel with CV bandwidth is considered the most suitable model for estimating the milk production distribution at BBPTUHPT Baturraden.

References

Bain, L. J., & Engelhardt, M. (1992). Introduction to Probability and Mathematical Statistics (2nd ed.). Duxbury Press Belmont, CA.

Bowman, A. W. (1984). An Alternative Method of Cross-Validation for The Smoothing of Density Estimates. Biometrika, 71(2), 353–360. https://doi.org/10.1093/biomet/71.2.353

Chacón, J. E., & Duong, T. (2018). Multivariate Kernel Smoothing and Its Applications. CRC Press. https://doi.org/10.1201/9780429485572

Chandra, N. E., Mahyuddin, M., & Rohmaniah, S. A. (2016). Estimasi Densitas Kernel Adjusted: Studi Simulasi. Jurnal Ilmiah Matematika Dan Pendidikan Matematika, 8(2), 33–40. https://doi.org/10.20884/1.jmp.2016.8.2.2885

Chen, Y.-C. (2017). A Tutorial on Kernel Density Estimation and Recent Advances. Biostatistics & Epidemiology, 1(1), 161–187. https://doi.org/10.1080/24709360.2017.1396742

Conover, W. J. (1999). Practical Nonparametric Statistics (3rd ed.). John Wiley & Sons.

Cortés López, J. C., & Jornet Sanz, M. (2020). Improving Kernel Methods for Density Estimation in Random Differential Equations Problems. Mathematical and Computational Applications, 25(2), 33–41. https://doi.org/10.3390/mca25020033

Duong, T. (2007). ks: Kernel Density Estimation and Kernel Discriminant Analysis for Multivariate Data in R. Journal of Statistical Software, 21(7), 1–16. https://doi.org/10.18637/jss.v021.i07

Dyah, R. (2023). Laktasi BBPTUHPT Baturraden. https://bbptusapiperah.ditjenpkh.pertanian.go.id/page/laktasi

Epanechnikov, V. A. (1969). Nonparametric Estimation of A Multivariate Probability Density. Theory of Probability & Its Applications, 14(1), 153–158. https://doi.org/10.1137/1114019

Gramacki, A. (2018). Nonparametric Kernel Density Estimation and Its Computational Aspects. Springer. https://doi.org/10.1007/978-3-319-71688-6

Härdle, W. (1991). Smoothing Techniques: with Implementation in S. Springer Verlag. https://doi.org/10.1007/978-1-4612-4432-5

Harizahayu. (2021). Estimasi Density Kernel dengan Bandwidth yang Berbeda. MAp (Mathematics and Applications) Journal, 3(1), 35–40. https://doi.org/10.15548/map.v3i1.2636

Heidenreich, N.-B., Schindler, A., & Sperlich, S. (2013). Bandwidth Selection for Kernel Density Estimation: A Review of Fully Automatic Selectors. Asta Advances in Statistical Analysis, 97(4), 403–433. https://doi.org/10.1007/s10182-013-0216-y

Pasaribu, A., Firmansyah, & Idris, N. (2015). Analisis Faktor-Faktor yang Mempengaruhi Produksi Susu Sapi Perah di Kabupaten Karo Provinsi Sumatera Utara. Jurnal Ilmiah Ilmu-Ilmu Peternakan, 18(1), 28–35. https://doi.org/https://doi.org/10.22437/jiiip.v18i1.2656

Ramadhani, P., Ispriyanti, D., & Safitri, D. (2018). Kapabilitas Proses dengan Estimasi Fungsi Densitas Kernel pada Produksi Denim di PT Apac Inti Corpora. Jurnal Gaussian, 7(3), 326–336. https://doi.org/10.14710/j.gauss.7.3.326-336

Roberts, D. R., Bahn, V., Ciuti, S., Boyce, M. S., Elith, J., Guillera‐Arroita, G., Hauenstein, S., Lahoz‐Monfort, J. J., Schröder, B., Thuiller, W., Warton, D. I., Wintle, B. A., Hartig, F., & Dormann, C. F. (2017). Cross‐Validation Strategies for Data with Temporal, Spatial, Hierarchical, or Phylogenetic Structure. Ecography, 40(8), 913–929. https://doi.org/10.1111/ecog.02881

Santana, M. L. J., Bignardi, A. B., Pereira, R. J., Menéndez-Buxadera, A., & El Faro, L. (2016). Random Regression Models to Account for the Effect of Genotype by Environment Interaction due to Heat Stress on the Milk Yield of Holstein Cows Under Tropical Conditions. Journal of Applied Genetics, 57(1), 119–127. https://doi.org/10.1007/s13353-015-0301-x

Santoso, S. (2010). Statistik Nonparametrik. Elex Media Komputindo.

Scott, D. W. (2015). Multivariate Density Estimation: Theory, Practice, and Visualization (2nd ed.). John Wiley & Sons. https://doi.org/10.1002/9780470316849

Stefani, G., Brandão Aquaroli, D., Batista Gonçalves Costa Júnior, J., Santana Júnior, M. L., Tonhati, H., Sesana, R. C., & El Faro, L. (2021). Genetic Parameters for Dystocia, Milk Yield, and Age at First Calving in Brazilian Holstein Cows. Journal of Applied Animal Research, 49(1), 1–5. https://doi.org/10.1080/09712119.2020.1856115

Węglarczyk, S. (2018). Kernel Density Estimation and Its Application. ITM Web of Conferences, 23, 00037. https://doi.org/10.1051/itmconf/20182300037

Wu, C. O. (1997). A Cross-Validation Bandwidth Choice for Kernel Density Estimates with Selection Biased Data. Journal of Multivariate Analysis, 61(1), 38–60. https://doi.org/10.1006/jmva.1997.1659

Downloads

Published

2026-11-22