Customer relationship: a survival analysis approach