Trainee retention rates defy economic gloom