base_measure {copre}R Documentation

Base Measure for Mixture Models

Description

A structure for wrapping base measures as in Escobar and West (1995).

Usage

base_measure(idx, dim, pars, hpars, eval)

Arguments

idx

A unique index for the base measure.

dim

A dimension for the support of the base measure.

pars

A list of parameters used to generate mixture components.

hpars

A list of hyperparameters used to generate pars.

eval

An evaluation function taking phi, a list of mixture parameter matrices, grd, a grid vector, f, a character string indicating whether to calculate the gradient, density, or distribution function, and nthreads, a number of threads to utilize for parallel execution.

Value

A base_measure object for use in the sequence resampling scheme for mixtures.

References

See Also

seqre()


[Package copre version 0.2.0 Index]