This is a generic function that will generate the the density value of the posterior predictive distribution. i.e. for the model structure: theta|gamma ~ H(gamma) X|theta ~ F(theta) get the probability density/mass of the posterior predictive distribution of a new sample x_new: p(x_new|gamma).
dPosteriorPredictive(obj, ...)A "BayesianBrick" object used to select a method.
further arguments passed to or from other methods.
numeric, the density value
dPosteriorPredictive.GaussianNIW for Gaussian-NIW conjugate structure, dPosteriorPredictive.GaussianNIG for Gaussian-NIG conjugate structure, dPosteriorPredictive.CatDirichlet for Categorical-Dirichlet conjugate structure, dPosteriorPredictive.CatDP for Categorical-DP conjugate structure ...