Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates


James Huntley


generates random variates from over 870 univariate distributions

haightz_pdf(n, alpha)
% haightz_pdf.m - evaluates a Haight's Zeta Probability Density.
%   See VGAM. 
%  Created by Jim Huntley,  3/19/05

function [pdf] = haightz_pdf(n, alpha)

pdf = (2*n-1)^(-alpha) - (2*n+1)^(-alpha);


Contact us