Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates



generates random variates from over 870 univariate distributions

genlog2_cdf(x, b)
% genlog2_cdf.m - evaluates a Generalized Logistic Type II Cumulative Distribution.
%   See "Subset Selection from Type-I and Type-II Generalized Logistic Populations",
%   N. J. van der Laan and P. van der Laan, UC Berkeley, 02/19/1996.
%  Created by Jim Huntley,  07/21/06

function [cdf] = genlog2_cdf(x, b)

cdf = 1 - exp(-b*x) / (1+exp(-x))^b;


Contact us