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

benini_cdf(x, b, x0)
% benini_cdf.m - evaluates a Benini Cumulative Distribution.
%   See "VGAM".
%
%  Created by Jim Huntley,  12/10/07
%

function [cdf] = benini_cdf(x, b, x0)

arg = log(x/x0);
cdf = 1 - exp(-b*(arg^2));

return

Contact us