Machine Learning-Based Prediction of Postmortem Interval Using Conventional Forensic Indicators: A Cross-Sectional Study in Pakistan

Authors

  • Dr. Maria Safdar Assistant Professor, Department of Forensic Medicine, CMH Kharian Medical College, Kharian, Pakistan.
  • Dr. Noureen Kashif Assistant Professor, King Edward Medical University, Lahore, Pakistan.
  • Dr. Abdul Mannan Hashmi Assistant Professor, Department of Forensic Medicine & Toxicology, M. Islam Medical & Dental College, Gujranwala, Pakistan.
  • Dr. Salman Pervaiz Rana Associate Professor, Department of Forensic Medicine, CMH Medical College Lahore Cantt, Lahore, Pakistan.
  • Dr. Syed Talat Iqbal Associate Professor, Department of Forensic Medicine & Toxicology, M. Islam Medical & Dental College, Gujranwala, Pakistan.

Keywords:

Postmortem Interval; Machine Learning; Linear Regression; Random Forest; Forensic Medicine; Rigor Mortis; Livor Mortis.

Abstract

Background: Postmortem interval estimation is central to medicolegal death investigation, but conventional indicators are influenced by biological and environmental variability. Machine-learning approaches may integrate multiple readily available forensic findings to improve early PMI prediction in resource-limited settings.

Objective: To evaluate prediction of postmortem interval within the first 48 hours using conventional forensic indicators and to compare a prespecified linear regression model with a restricted random forest model.

Study Design: Prospective analytical cross-sectional prediction-model development study.

Methodology: A feasibility target of 100 adult medicolegal autopsies with independently documented time of death and reference PMI of 0–48 hours was used. Prespecified predictors were rectal temperature, ambient temperature, rigor mortis, livor mortis, and body mass index. Linear regression was the primary low-complexity model and restricted random forest was exploratory. Internal validation used bootstrap resampling and out-of-fold predictions, with MAE, RMSE, R², calibration, and clinically relevant absolute-error thresholds reported.

Results: Among 100 records, mean reference PMI was 24.00 ± 13.31 hours. Linear regression achieved a median out-of-bag MAE of 3.91 hours, RMSE of 5.14 hours, and R² of 0.85. Restricted random forest produced a median MAE of 3.96 hours, RMSE of 5.13 hours, and R² of 0.85. Prediction errors within ±6 hours were observed in 77.8% and 79.5% of cases, respectively. Accuracy declined in the >36–48-hour subgroup, where MAE reached 5.49 hours and 60.0% of predictions were within ±6 hours.

Conclusion: Conventional forensic indicators provided useful early PMI prediction, with similar performance from linear regression and restricted random forest. Because added algorithmic complexity did not materially improve accuracy, an interpretable linear model may be preferable for practical use, subject to larger external validation across seasons, causes of death, and Pakistani climatic settings.

Downloads

Published

2026-11-25

How to Cite

Dr. Maria Safdar, Dr. Noureen Kashif, Dr. Abdul Mannan Hashmi, Dr. Salman Pervaiz Rana, & Dr. Syed Talat Iqbal. (2026). Machine Learning-Based Prediction of Postmortem Interval Using Conventional Forensic Indicators: A Cross-Sectional Study in Pakistan. International Journal of Pharmacy Research & Technology (IJPRT), 16(2), 9019–9027. Retrieved from https://www.ijprt.org/index.php/pub/article/view/3709

Issue

Section

Research Article

Most read articles by the same author(s)