Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates


James Huntley


generates random variates from over 870 univariate distributions

qccvii_cdf(n, eta, q, b)
% qccvii_cdf.m - compute QCCV-II Cumulative Distribution Function.
%   See "Steady-State Markov Chain models for Certain q-confluent Hypergeometric 
%   Distributions", A.W. Kemp, Journal of Stat. Planning and Inference", 
%   vol.135, 2005, p.107.                 
%  Created by:  Jim Huntley,  02/19/09.

function [cdf] = qccvii_cdf(n, eta, q, b)

sum1 = qccvii_pdf(0, eta, q, b);
for jn = 1:n
    sum1 = sum1 + qccvii_pdf(jn, eta, q, b);
cdf = sum1;


Contact us