A panel analysis of job changes and unemployment