Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates

by

James Huntley (view profile)

 

generates random variates from over 870 univariate distributions

laval_pdf(n, nn, b)
% laval_pdf.m - evaluates a Lavalette Probability Density.
%   See "On a Zipf's Law Extension to Impact Factors", I. I. Popescu,
%   Glottometrics, 6, 83-93, 2003.
%
%  Created by Jim Huntley,  9/14/06
%

function [pdf] = laval_pdf(n, nn, b)

pdf = (nn*n / (nn-n+1))^(-b);

return

Contact us