bernpdf

Distribution of the sum of independent non-identical Bernoulli random variables using convolution
496 téléchargements
Mise à jour 16 août 2010

Afficher la licence

Y = BERNPDF(P) where P is an N x 1 vector returns the distribution of the sum of N Bernoulli random variables. Y is of length N+1 and Y(j) is equal to the probability that the sum adds to j+1. The vector P comprises the means of Bernoulli random variables, which is to say that P(k) is the probability that the k'th random variable being 1 (and it is otherwise 0).

Citation pour cette source

Peter Cotton (2026). bernpdf (https://fr.mathworks.com/matlabcentral/fileexchange/28488-bernpdf), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2010a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Version Publié le Notes de version
1.0.0.0