Description Usage Format Source Examples
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.
1 |
The column x
of length 141 contains a grid of new data points from 5
to 40
by 0.25
.
The column fx
of length 141 contains the density estimate from the Dirichlet process mixture at each new data point.
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.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.