Learn R Programming

dirichletprocess (version 0.4.2)

DirichletProcessGaussianFixedVariance: Create a Dirichlet Mixture of the Gaussian Distribution with fixed variance.

Description

Create a Dirichlet Mixture of the Gaussian Distribution with fixed variance.

Usage

DirichletProcessGaussianFixedVariance(
  y,
  sigma,
  g0Priors = c(0, 1),
  alphaPriors = c(2, 4)
)

Value

Dirichlet process object

Arguments

y

Data.

sigma

The fixed variance

g0Priors

Base Distribution Priors.

alphaPriors

Prior parameter distributions for the alpha concentration parameter.