The section Univariate Distributions (Table 7 through Table 36) lists all univariate distributions that PROC MCMC recognizes. The section Multivariate Distributions (Table 37 through Table 41) lists all multivariate distributions that PROC MCMC recognizes. With the exception of the multinomial distribution, all these distributions can be used in the MODEL, PRIOR, and HYPERPRIOR statements. The multinomial distribution is supported only in the MODEL statement. The RANDOM statement supports a limited number of distributions; see Table 4 for the complete list.
See the section Using Density Functions in the Programming Statements for information about how to use distributions in the programming statements. To specify an arbitrary distribution, you can use the GENERAL and DGENERAL functions. See the section Specifying a New Distribution for more details. See the section Truncation and Censoring for tips about how to work with truncated distributions and censoring data.
Table 7: Beta Distribution
Table 8: Binary Distribution
Table 9: Binomial Distribution
Table 10: Cauchy Distribution
| PROC specification | cauchy(a, b) |
| Density | |
| Parameter restriction | |
| Range | |
| Mean | Does not exist. |
| Variance | Does not exist. |
| Mode | a |
| Random number | Generate |
Table 13: Exponential Exponential Distribution
Table 14: Exponential Gamma Distribution
Table 16: Exponential Inverse Gamma Distribution
Table 18: Exponential Distribution
Table 19: Gamma Distribution
| PROC specification | gamma(a, scale = b ) |
gamma(a, iscale = |
| Density | |
|
| Parameter restriction | |
|
| Range | |
Same |
| Mean | ab | |
| Variance | |
|
| Mode | |
|
| Random number | See (McGrath and Irving 1973). | |
Table 20: Geometric Distribution
Table 22: Inverse Gamma Distribution
Table 23: Laplace (Double Exponential) Distribution
Table 24: Logistic Distribution
Table 25: Lognormal Distribution
Table 26: Negative Binomial Distribution
| PROC specification | negbin(n, p) |
| Density | |
| Parameter restriction | |
| Range | |
| Mean | round |
| Variance | |
| Mode | |
| Random number | Generate |
Table 27: Normal Distribution
Table 28: NormalCAR Distribution
Table 29: Pareto Distribution
Table 30: Poisson Distribution
Table 32: t Distribution
Table 33: Table (Categorical) Distribution
Table 34: Uniform Distribution
Table 35: Wald Distribution
| PROC specification | wald( |
| Density | |
| Parameter restriction | |
| Range | |
| Mean | |
| Variance | |
| Mode | |
| Random number | Generate |
Table 36: Weibull Distribution
Table 37: Dirichlet Distribution
Table 38: Inverse Wishart Distribution
Table 39: Multivariate Normal Distribution
Table 40: Autoregressive Multivariate Normal Distribution
Table 41: Multinomial Distribution