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

levy2_pdf(x, a, c)
% levy2_pdf.m - evaluates a Levy Probability Density.
%   See "A Compendium of Distributions", ModelRisk 3.0, Vose Software,
%  Created by Jim Huntley,  08/12/11

function [pdf] = levy2_pdf(x, a, c)

coef = sqrt(0.5*c/pi);
pdf = coef .* exp(-0.5.*c./(x-a)) ./ (x-a).^1.5;


Contact us