Inferences from histogram data