Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates

by

 

generates random variates from over 870 univariate distributions

poisbesl_int_cdf(n,a,b,t,p)
% poisbesl_int_cdf.m - computes a discrete Poisson Bessel Cumulative Distribution Function.
%   See "Laplace Transforms, Mellin Transforms and Mixed Poisson Processes", 
%   P. Albrecht, Scand. Actuarial J., vol.1, p.58, 1984.
%
%  Created by Jim Huntley,  09/22/09
%

function [cdf] = poisbesl_int_cdf(n,a,b,t,p)

sum1 = poisbesl_int_pdf(0, a, b, t, p);
for jn = 1:n
    sum1 = sum1 + poisbesl_int_pdf(jn, a, b, t, p);
end
cdf = sum1;

return



Contact us