Binomial Inverse (Binary Search)

Binomial inverse cumulative distribution function via binary search
ダウンロード: 297
更新 2016/9/1

ライセンスの表示

X = binoinv_bs(Y,N,P) returns the inverse of the binomial cdf with parameters N and P. Since the binomial distribution is discrete, BINOINV_BS returns the least integer X such that the binomial cdf evaluated at X, equals or exceeds Y. BINOINV_BS utilizes a binary search of BINOCDF to find the inverse of the binomial distribution, which may be faster than BINOINV for large N.

The size of X is the common size of the input arguments. A scalar input functions as a constant matrix of the same size as the other inputs.

Note that X takes the values 0,1,2,...,N.

See also binoinv, binocdf, binofit, binopdf, binornd, binostat, icdf.

引用

Nade Sritanyaratana (2024). Binomial Inverse (Binary Search) (https://www.mathworks.com/matlabcentral/fileexchange/48444-binomial-inverse-binary-search), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2014a
すべてのリリースと互換性あり
プラットフォームの互換性
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.1

Updated license

1.1.0.0

Added MathWorks copyright information