bmm.component.posterior.predictive.density | R Documentation |
Calculate the posterior predictive density at x in a single dimension for a single component.
bmm.component.posterior.predictive.density(x, mu, alpha, nu, beta, pi, num.samples = 1000)
x |
the scalar at which to evaluate the posterior predictive density |
mu |
a (scalar) shape parameter for the gamma prior distribution over a particular component's u parameter. |
alpha |
a (scalar) rate (i.e., inverse scale) parameter for the gamma prior distribution over a particular component's u parameter. |
nu |
a (scalar) shape parameter for the gamma prior distribution over a particular component's v parameter. |
beta |
a (scalar) rate (i.e., inverse scale) parameter for the gamma prior distribution over a particular component's v parameter. |
pi |
a (scaler) mixing coefficient giving the weight of the component |
num.samples |
the number of samples to use in performing the numerical evaluation of the predictive density |
the posterior preditive density at x for the specified component
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.