Statistical analysis of one-dimensional observations from partially grouped data