Tools for analyzing finite mixture models