Mixture models for data with unknown distributions