Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates


James Huntley (view profile)


generates random variates from over 870 univariate distributions

trunbur_pdf(x, alpha, lambda, theta, P, Q)
% trunbur_pdf.m - evaluates a Doubly-Truncated Burr XII Probability Density.
%   See "Moments of Order Statistics from Doubly Truncated Burr XII Distribution:
%   A Complementary Note with Applications", S. Adeyemi and M. Ojo, Awolowo U., Ng.
%  Created by Jim Huntley,  08/09/06

function [pdf] = trunbur_pdf(x, alpha, lambda, theta, P, Q)

pdf = lambda * theta * alpha * x^(alpha-1) * (1+theta*x^alpha)^(-lambda-1) / (P-Q);


Contact us