BINOMIALPDF : Binomial Probability Density function

BINOMIALPDF Returns the probability that X = k in sample n.
302 Downloads
Aktualisiert 30. Dez 2011

Lizenz anzeigen

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

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2011a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
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