Let there be a bag with arbitrarily many balls in k colours (presume we know k). There is a set (but unknown) probability p1, p2... pk of drawing a ball of a given colour. I take a sample of g balls (replacing each ball after drawing it), and get some frequency count of each colour.
Based on this sample, how might I go about:
- expressing my confidence/uncertainty that the observed frequencies reflect the underlying probabilities p1, p2... pk (i.e., putting error bars around the relative frequencies observed); and
- calculating the expected value of p1, p2... pk.
I understand that this will involve a multinomial distribution, but all examples I can find go the other way round (i.e., determining the probability of making a given draw from a bag with known colour probabilities). This Wikipedia page (https://en.wikipedia.org/wiki/Checking_whether_a_coin_is_fair) provides the relevant formulas for binomial distributions, but I can't see how to extend these to multinomials.
Many thanks for any assistance!