Latent class models in financial data analysis