diri_norm: Normalization constants for the Dirichlet and generalized...

Description Usage Arguments Value Note Author(s) References See Also Examples

Description

Normalization constants for the Dirichlet and generalized Dirichlet distributions using computationally efficient methods

Usage

1
2

Arguments

x

Vector of parameters in the Dirichlet distribution

a,b

Vectors of parameters in the generalized Dirichlet distribution

Value

Returns the normalization constant:

omitted: see a LaTeXed file

for the Dirichlet and

omitted: see a LaTeXed file

for the generalized Dirichlet.

Note

The functions make use of the logarithmic form of the gamma and beta functions to avoid overflow

Author(s)

Robin K. S. Hankin

References

R. J. Connor and J. E. Mosimann 1969. “Concepts of independence for proportions with a generalization of the Dirichlet distribution”. Journal of the American Statistical Association, volume 64, number 325, pp194-206

See Also

dhyperdirichlet

Examples

1
2
diri_norm(runif(9))
gd_norm(1:3 , 3:1)


Search within the hyperdirichlet package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.