Trainee retention rates defy economic crisis