Big-data based decision making for clinical trials