bernpdf
版本 1.0.0.0 (2.3 KB) 作者:
Peter Cotton
Distribution of the sum of independent non-identical Bernoulli random variables using convolution
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).
引用格式
Peter Cotton (2024). bernpdf (https://www.mathworks.com/matlabcentral/fileexchange/28488-bernpdf), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Continuous Distributions > Extreme Value Distribution >
在 Help Center 和 MATLAB Answers 中查找有关 Extreme Value Distribution 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |