Inference for Distributions of Categorical Data