Beta Processes and Survival Analysis