The categorical distribution

The categorical distribution is the most general discrete distribution and is parameterized using a parameter specifying the probabilities of each possible outcome. Figure 6.3 represents two possible instances of the categorical distribution. The dots represent the values of the categorical distribution, while the continuous lines are a visual aid to help us easily grasp the shape of the distribution:

Figure 6.3

Get Bayesian Analysis with Python - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.