A survival model for the study of the diffusion of multiple technologies