Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

What is the probability mass function of the sum of $n$ i.i.d categorical variables, $X_i$, each taking values $0,1,2$ with probability $(1-p)^2, 2p(1-p), p^2$, respectively?

share|improve this question
Hint: Your $X_i$ have the same distribution as a binomial random variable with parameters $(2,p)$, and the sum of independent binomial $(n_i,p)$ random variables is a binomial random variable with parameters $(\sum n_i, p)$ –  Dilip Sarwate Feb 9 '12 at 17:32
Like @Dilip said, or, for a zero-cleverness solution, use probability generating functions. –  Did Feb 9 '12 at 18:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.