FD.density: The Flexible Dirichlet Density Function

Description Usage Arguments Details References See Also Examples

Description

Density function on the simplex for the Flexible Dirichlet distribution with parameters a, p and t.

Usage

1
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.

See Also

FD.theorcontours, FD.generate

Examples

1
2
3
4
5
x <- c(0.1,0.25,0.65)
alpha <- c(12,7,15)
prob <- c(0.3,0.4,0.3)
tau <- 8
FD.density(x,alpha,prob,tau)

FlexDir documentation built on May 2, 2019, 5:52 a.m.

Related to FD.density in FlexDir...