Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates

by

 

generates random variates from over 870 univariate distributions

makeham_pdf(x, eta, zet)
% makeham_pdf.m - evaluates a Gompertz-Makeham Probability Density.
%   See "Dataplot Reference Manual, MAKPDF", NIST, 7/7/04.
%
%  Created by Jim Huntley,  8/03/04
%

function [pdf] = makeham_pdf(x, eta, zet)

pdf = (eta + exp(x-zet)) * exp(exp(-zet) - exp(x-zet) - eta*x);    

return

Contact us