Methods to infer transmission risk factors in complex outbreak data