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

kumar4_cdf(x, alpha, bet, a, b)
% kumar4_cdf.m - evaluatets a 4-Parameter Kumaraswamy Cumulative Distribution.
%   See "A Compendium of Distributions", ModelRisk 3.0, Vose Software,
%   http://www.vosesoftware.com/content/ebook.pdf.
%
%  Created by Jim Huntley,  08/12/11
%

function [cdf] = kumar4_cdf(x, alpha, bet, a, b)

z = (x-a) ./ (b-a);
cdf = 1 - (1-z.^alpha).^bet;

return

Contact us