Approximate likelihood inference in latent variable models with application to the Health and Retirement Study