Statistical Design and Analysis for Robust Machine Learning: A Case Study from COVID-19