Evaluating the effects of observed and unobserved diffusion processes in survival analysis of longitudinal data