A latent variable approach to forecasting the unemployment rate