Learn R Programming

multinomialLogitMix (version 1.1)

log_dirichlet_pdf: Log-density function of the Dirichlet distribution

Description

Log-density function of the Dirichlet distribution

Usage

log_dirichlet_pdf(alpha, weights)

Value

Log-density of the \(D(\alpha_1,\ldots,\alpha_k)\) evaluated at \(w_1,\ldots,w_k\).

Arguments

alpha

Parameter vector

weights

Vector of weights.

Author

Panagiotis Papastamoulis