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


dm13450/dirichletprocess documentation built on Sept. 1, 2023, 3:47 a.m.