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

reflpow_cdf(x, a, b, c)
% reflpow_cdf.m - evaluates a Reflected Power Cumulative Distribution.
%   DRM, "RGTCDF", Vol 1 Aux, NIST, 3/5/2008. 
%   Created by Jim Huntley,  11/19/09

function [cdf] = reflpow_cdf(x, a, b, c)

argx = (x-a) ./ (b-a);
cdf = 1 - (1-argx).^c;


Contact us