Estimation and Inference for Categorical Data