A data-driven competing risk compartmental model for COVID-19