BINOMIALPDF : Binomial Probability Density function

BINOMIALPDF Returns the probability that X = k in sample n.
302 descargas
Actualizado 30 dic 2011

Ver licencia

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

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2011a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
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