Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates



generates random variates from over 870 univariate distributions

trunpear6_cdf(x, bet)
% trunpear6_cdf.m - evaluates a Truncated Pearson VI Cumulative Distribution.
%   See "Continuous Univariate Distributions", Johnson, Kemp and Kotz,
%   J. Wiley, v.2, p.347, 1995.
%    Created by:    J. Huntley,  10/11/2007

function [pdf] = trunpear6_cdf(x, bet)

%persistent coef 

    coef = 1 / log(1+bet);

pdf = coef * log(1+bet*x);


Contact us