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

tapareto_cdf(x, a, bet, theta)
% tapareto_cdf.m - compute Tapered Pareto Cumulative Distribution Function.
%    See "On the Distribution of Wildfire Sizes", F. Schoeberg, R. Peng, J. Woods, UCLA, web. 
%
%  Created by:  Jim Huntley,  03/30/05.
%

function [cdf] = tapareto_cdf(x, a, bet, theta)

cdf = 0;
if(x >= a)
    cdf = 1 - (((a/x)^bet) * exp((a-x)/theta));
end

return



Contact us