View source: R/dirichlet_process_exponential.R
DirichletProcessExponential | R Documentation |
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.
DirichletProcessExponential(y, g0Priors = c(0.01, 0.01), alphaPriors = c(2, 4))
y |
Data |
g0Priors |
Base Distribution Priors |
alphaPriors |
Alpha prior parameters. See |
G_0(\theta | \alpha _0, \beta_0) = \mathrm{Gamma} \left(\theta | \alpha_0, \beta_0 \right)
Dirichlet process object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.