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

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,
%  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;


Contact us