FD.density: The Flexible Dirichlet Density Function
Description
Density function on the simplex for the Flexible Dirichlet distribution with parameters a, p and t.
Usage
FD.density(x, a, p, t)
Arguments
x
vector of a point on the simplex. It must sum to one.
a
vector of the non-negative alpha parameters.
p
vector of the clusters' probabilities. It must sum to one.
t
non-negative scalar tau parameter.
Details
Vectors x, a and p must be of the same length.
References
Ongaro, A. and Migliorati, S. (2013) A generalization of the Dirichlet distribution. Journal of Multivariate Analysis, 114, 412--426. Migliorati, S., Ongaro, A. and Monti, G. S. (2016) A structured Dirichlet mixture model for compositional data: inferential and applicative issues. Statistics and Computing, doi:10.1007/s11222-016-9665-y.