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

compbeta_cdf(x, alpha, bet)
% compbeta_cdf.m - evaluates a Complementary Beta Cumulative Distribution.
%   See "On a Class of Distributions defined by the Relationship Between 
%   their Density and Distribution Functions", M.C. Jones,
%  Created by Jim Huntley,  09/17/11

function [cdf] = compbeta_cdf(x, alpha, bet)

oma = 1 - alpha;
omb = 1 - bet;
cdf = betaincinv(x,oma,omb);


Contact us