BINOMIALPDF : Binomial Probability Density function

BINOMIALPDF Returns the probability that X = k in sample n.
302 téléchargements
Mise à jour 30 déc. 2011

Afficher la licence

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

Citation pour cette source

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

Compatibilité avec les versions de MATLAB
Créé avec R2011a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
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