Multinomial models form the general foundation for analyzing multivariate or multicategory discrete data. We now consider a set of multinomial models with one and two discrete variates. After formulating their distributions in a polynomial form, we describe methods for exact inference and computation for these models. The specific aims of this chapter are:

• To show how to generate fixed size subsets (combinations) of a set, and the compositions and partitions of an integer.