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

View source: R/dirichlet_process_gaussian_fixed_variance.R

DirichletProcessGaussianFixedVarianceR Documentation

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)
)

Arguments

y

Data.

sigma

The fixed variance

g0Priors

Base Distribution Priors.

alphaPriors

Prior parameter distributions for the alpha concentration parameter.

Value

Dirichlet process object


dirichletprocess documentation built on Aug. 25, 2023, 5:19 p.m.