gendir: Generalized Dirichlet (Connor-Mosimann) distribution

dgendirR Documentation

Generalized Dirichlet (Connor-Mosimann) distribution

Description

Generalized Dirichlet (Connor-Mosimann) distribution

Usage

dgendir(x, a, b, log = FALSE)

rgendir(n, a, b)

Arguments

x

simplex vector x of length n

a

parameter vector a of length n-1

b

parameter vector b of length n-1

log

logical indicating whether log density should be returned instead. Default FALSE

n

number of observations to draw

Examples

x <- c(0.15, 0.40, 0.05, 0.40)
a <- c(4.6, 6.7, 1.32)
b <- c(39.4, 7.77, 5.10)
dgendir(x,a,b)
rgendir(1,a,b)

dmi3kno/qpd documentation built on Sept. 29, 2024, 6:39 p.m.