549. Undefined variable in binomial_distribution

Section: 29.6.8 [rand.dist], 99 [tr.rand.dist.bin] Status: NAD Editorial Submitter: Matt Austern Opened: 2006-01-10 Last modified: 2016-02-10

Priority: Not Prioritized

View all other issues in [rand.dist].

View all issues with NAD Editorial status.


Paragraph 1 says that "A binomial distributon random distribution produces integer values i>0 with p(i) = (n choose i) * p*i * (1-p)^(t-i), where t and p are the parameters of the distribution. OK, that tells us what t, p, and i are. What's n?

Proposed resolution:

Berlin: Typo: "n" replaced by "t" in N1932: see

[ Portland: Subsumed by N2111. ]