IRIS Toolbox Reference Manual

Probability Distributions (logdist Package)

The logdist package gives quick access to basic univariate distributions, and in particular to functions proportional to the logarithm of those basic distributions. Its primary use is setting up priors in the model/estimate and poster/arwm functions.

The logdist package is called to create function handles that have several different modes of use. The primary use is to compute values that are proportional to the log of the respective density. In addition, the function handles also give you access to extra information (such as the the proper p.d.f., the name, mean, std dev, mode, and stuctural parameters of the distribution), and to a random number generator from the respective distribution.

Logdist methods:

Getting function handles for univariate distributions

Calling the logdist function handles

The function handles F created by the logdist package functions can be called the following ways:

Getting on-line help on logdist functions

help logdist
help logdist/function_name