Learn R Programming

AntMAN (version 1.1.0)

IAM_VnkNegBin: Compute the value V(n,k), needed to caclulate the eppf of a Finite Dirichlet process when the prior on the component-weigts of the mixture is a Dirichlet with parameter gamma (i.e. when unnormailized weights are distributed as Gamma(\(\gamma\),1) ) when the prior on the number of componet is Negative Binomial with parameter r and pwith mean is mu =1+ r*p/(1-p) TODO: CHECK THIS FORMULA!!!. See Section 9.1.1 of the Paper Argiento de Iorio 2019 for more details

Description

There are no default values.

Usage

IAM_VnkNegBin(n, r, p, gam)

Arguments

n

The sample size

r

The dispersion parameter r of Negative Binomial

p

The probability of failure parameter p of Negative Binomial

gam

The gamma parameter of the Dirichlet

Value

A vector of length n, reporting the values V(n,k) for k=1,...,n