Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates


James Huntley (view profile)


generates random variates from over 870 univariate distributions

naor_cdf(n, nn)
% naor_cdf.m - compute Naor Cumulative Distribution Function.
%   See "Uniform Asymptotics of Some Abell Sums ...", H-K Hwang, web.
%  Created by:  Jim Huntley,  08/23/04.

function [cdf] = naor_cdf(n, nn)

sum1 = naor_pdf(0, nn);
for jn = 1:n
    sum1 = sum1 + naor_pdf(jn, nn);
cdf = sum1;

Contact us