Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates

by

James Huntley (view profile)

 

generates random variates from over 870 univariate distributions

qb4_cdf(n,p,phi,nn)
% qb4_cdf.m - compute Quasi Binomial IV Cumulative Distribution Function.
%   See "Some Aspects of a Sub-Class of Modified Power Series Distributions",
%   S. Chakraborty, Dibrugargh U., http://interstat.statjournals.net/YEAR/2006/articles/0604001.pdf                 
%
%  Created by:  Jim Huntley,  01/14/08
%

function [cdf] = qb4_cdf(n,p,phi,nn)

sum1 = qb4_pdf(0,p,phi,nn);
for jn = 1:n
    sum1 = sum1 + qb4_pdf(jn,p,phi,nn);
end
cdf = sum1;

return



Contact us