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

genhlog_cdf(x, odk)
% genhlog_cdf.m - evaluates a Generalized Half Logistic Cumulative Distribution.
%   See "Continuous Univariate distributions", Johnson, Kotz, & Balakrishnan,
%   Wiley, V. 2, p. 150, 1995.
%
%  Created by Jim Huntley,  02/06/07
%
%

function [cdf] = genhlog_cdf(x, odk)

k = 1 / odk;
cdf = (1 - (1-k*x)^odk)/ (1 + (1-k*x)^odk);

return

Contact us