Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates


James Huntley


generates random variates from over 870 univariate distributions

neyman_cdf(n, m1, m2)
% thomas_cdf.m - compute Neyman Type A Cumulative Distribution Function.
%   See "Quantitative Spatial Analysis", R. Reich & R. Davis, CSU, 2000, web.
%  Created by:  Jim Huntley,  04/08/05.

function [cdf] = neyman_cdf(n, m1, m2)

sum1 = neyman_pdf(0, m1, m2);
for jn = 1:n
    sum1 = sum1 + neyman_pdf(jn, m1, m2);
cdf = sum1;

Contact us