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

euler_cdf(n,eta,q)
% euler_cdf.m - compute an Euler Cumulative Distribution Function.
%   See "Univariate Discrete Distributions", Johnson, Kemp & Kotz,
%   J. Wiley, p.470, 2005. 
%
%  Created by Jim Huntley,  01/03/07
%

function [cdf] = euler_cdf(n,eta,q)

sum1 = euler_pdf(0,eta,q);
for jn = 1:n
    sum1 = sum1 + euler_pdf(jn,eta,q);
end
cdf = sum1;

return



Contact us