Prediction of a time-to-event trait using genome wide SNP data