Pergunta de entrevista da empresa AbbVie

how to formulate the correlation between the binary variable and time-to-event variable?