Uncovering biosecurity gaps: risk factors for PRRSV seropositivity in Costa Rican pig farms identified through machine learning

Publication date

2026-04-10

Authors

Melendez Arce, RonaldISNI 0000000524208815
Jiménez-Loaiza, Emily
Leiva-Bonilla, Berta
Venegas-Soto, Juan Carlos
Rocha-Palma, Milania
van Nes, A.ISNI 0000000387071225
Stegeman, J AORCID 0000-0003-4361-3846ISNI 0000000388528223
Vernooij, J.C.M.ORCID 0000-0002-2646-9216ISNI 0000000419500013
Romero-Zúñiga, Juan José

Editors

Advisors

Supervisors

Document Type

Article
Open Access logo

License

cc_by

Abstract

Background Porcine Reproductive and Respiratory Syndrome Virus (PRRSV) continues to impose significant economic losses on pig production globally. In Costa Rica, where the virus is endemic, there is limited knowledge of the farm-level risk factors influencing PRRSV spread. This study aimed to identify biosecurity factors associated with PRRSV seroprevalence in Costa Rican pig farms. Methods A cross-sectional survey was conducted on 21 pig farms across Costa Rica. Data on farm management and biosecurity practices were collected using a structured questionnaire and linked to PRRSV seroprevalence data from a companion study. Logistic regression, and machine learning methods like LASSO (Least Absolute Shrinkage and Selection Operator), and Random Forest models were used to identify significant risk factors associated with herd-level PRRSV positivity. Results Three key risk factors were consistently identified by both LASSO and Random Forest models: historical controlled exposure to PRRSV, restrictions on employee access to the farm, and restrictions on employee visits to other pig farms. Additional risk factors identified included topography, disinfection practices for transport vehicles, sanitation measures for visitors, boot and clothing protocols, and feedback procedures. Farms with a history of controlled exposure had an odds ratio of 90 (95% CI: 7.6–3,550) for being PRRSV-positive. Conclusion The findings underscore the importance of internal and external biosecurity measures, particularly in relation to personnel movement and intentional exposure practices. Modeling approaches such as LASSO and Random Forest provided complementary insights into PRRSV risk factors in a tropical production setting. These insights can guide tailored interventions to reduce PRRSV transmission in Costa Rica and similar regions.

Keywords

Biosecurity, Controlled exposure, Costa Rica, LASSO, Machine learning, PRRSV, Pig farms, Random Forest, Risk factors, Seroprevalence, Food Animals, Animal Science and Zoology

Citation

Meléndez-Arce, R, Jiménez-Loaiza, E, Leiva-Bonilla, B, Venegas-Soto, J C, Rocha-Palma, M, Van Nes, A, Stegeman, A, Vernooij, H & Romero-Zúñiga, J J 2026, 'Uncovering biosecurity gaps : risk factors for PRRSV seropositivity in Costa Rican pig farms identified through machine learning', Porcine Health Management, vol. 12, no. 1, 16. https://doi.org/10.1186/s40813-026-00495-4