galaxy.pred: Predicted densty values from a Dirichlet process mixture...

Description Usage Format Source Examples

Description

Predicted density values at a grid of new data points from a Dirichlet process scale-location mixture model with normal components fitted to the galaxies dataset.

Usage

1

Format

  1. The column x of length 141 contains a grid of new data points from 5 to 40 by 0.25.

  2. The column fx of length 141 contains the density estimate from the Dirichlet process mixture at each new data point.

Source

Roeder, K. (1990) Density estimation with confidence sets exemplified by superclusters and voids in the galaxies, Journal of the American Statistical Association, 85: 617-624.

Wade, S. and Ghahramani, Z. (2015) Bayesian cluster analysis: Point estimation and credible balls. Submitted. arXiv:1505.03339.

Examples

1
2
3
4
5
6
7
8
data(galaxy.fit)
x=galaxy.fit$x
fx=galaxy.fit$fx
data(galaxy.pred)
xgrid=galaxy.pred$x
fxgrid=galaxy.pred$fx
plot(xgrid,fxgrid,xlab="x",ylab="f(x)",type="l")
points(x,fx)

muschellij2/mcclust.ext documentation built on May 26, 2019, 9:36 a.m.