BINOMIALPDF : Binomial Probability Density function

版本 1.1.0.0 (3.7 KB) 作者: Bruce Raine
BINOMIALPDF Returns the probability that X = k in sample n.
302.0 次下载
更新时间 2011/12/30

查看许可证

Very easy function to use that helps statisticians solve all kinds of problems.
The function does not need the Statistics Toolbox. I have included the BINOMIND function which this one calls but you can
download it separately if you like. I uploaded it to MATLAB Central as well.

EX1: binomialpdf(40,6,0.1,'exact') % = bpdf(X=6) where 0.1 = 10%
% ans = 0.106756244747289

% EX2: binomialpdf(11,2,0.1,'atmost') % = bpdf(X=0)+bpdf(X=1)+bpdf(X=2)
% ans = 0.910438149150000

% EX3: binomialpdf(10,2,0.1,'atleast')% = bpdf(X=2)+...+bpdf(X=10)
% ans = 0.263901070900000

引用格式

Bruce Raine (2024). BINOMIALPDF : Binomial Probability Density function (https://www.mathworks.com/matlabcentral/fileexchange/34387-binomialpdf-binomial-probability-density-function), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Updated the binomind.m file (1 of 2 files) in the zip file with the latest version. I have also uploaded the latest binomind.m file separately.

1.0.0.0