ベルヌーイ試行
A closely related model assumes that each "i" is associated not with a single Bernoulli trial but with "n""i" independent identically distributed trials, where the observation "Y""i" is the number of successes observed (the sum of the individual Bernoulli-distributed random variables), and hence follows a binomial distribution: