Learn R Programming

mmppr (version 0.1)

dirichlet.log.pdf: dirichlet.log.pdf

Description

The log of the probability density function for the Dirichlet distribution. Returns the belief that the probabilities of K rival events are x_i given that each event has been observed A_i - 1 times.

Usage

dirichlet.log.pdf(K.probs, A)

Arguments

K.probs
vector of probabilities
A
vector of concentration parameters.