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

benkt2_cdf(x, alpha, bet);
% benkt2_cdf.m - evaluates a Benktander II Cumulative Distribution.
%   See "Modern Reserving Techniques for the Insurance Business", 
%   T. Hoedemakers, U. Leuven, 2005.
%  Created by Jim Huntley,  07/19/06

function [y] = benkt2_cdf(x, alpha, bet);

y = 1 - exp(alpha/bet)*x^(1-bet) * exp(-alpha*x^(bet)/bet);


Contact us