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

% poismix_cdf.m - compute Poisson Mixture Cumulative Distribution Function.
%   See "A Unified Approach to Some Mixed Poisson Distributions", 
%   M.E. Ghitany and S.A. Al-Awadhi, Tamsui Oxford J. of Math. Sciences, p.147, 2001.                 
%  Created by:  Jim Huntley,  04/16/09.

function [cdf] = poismix_cdf(n,lambda,alpha,m,nn)

sum1 = 0;
for jn = 1:n
    sum1 = sum1 + poisdiff_pdf(jn,lambda,alpha,m,nn);
cdf = sum1;


Contact us