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

kuzmin_pdf(n)
% kuzmin_pdf.m - evaluates a Gauss-Kuzmin Probability Density.
%   See "Gauss-Kuzmin Distribution", Wikipedia.
%
%  Created by Jim Huntley,  8/03/06
%

function [pdf] = kuzmin_pdf(n)

pdf = -log2(1 - 1/(1+n)^2);

return

Contact us