DirichletProcessExponential: Create a Dirichlet Mixture of Exponentials

Description Usage Arguments Details Value

View source: R/dirichlet_process_exponential.R

Description

This is the constructor function to produce a dirichletprocess object with a Exponential mixture kernel with unknown rate. The base measure is a Gamma distribution that is conjugate to the posterior distribution.

Usage

1
2
DirichletProcessExponential(y, g0Priors = c(0.01, 0.01),
  alphaPriors = c(2, 4))

Arguments

y

Data

g0Priors

Base Distribution Priors α _0 , β _0)

alphaPriors

Alpha prior parameters. See UpdateAlpha.

Details

G_0(θ | α _0, β_0) = \mathrm{Gamma} ≤ft(θ | α_0, β_0 \right)

Value

Dirichlet process object


dirichletprocess documentation built on July 2, 2020, 2 a.m.