Description Usage Arguments Value
This function evaluates the posterior predictive distribution for univariate models
1 | postPredDist(mix, constrType, res, test, pts, realDens, ...)
|
mix |
one of "tmog" or "motg" |
constrType |
one of "simple" and "complex". If "simple" include lower and upper bounds. |
res |
list of results containing weight (wt), mean (mn), and covariance (cv) matrix for each cluster |
test |
matrix of p-by-N where N are number of observations and p are number of dimension |
pts |
grid points to draw the density distribution |
realDens |
real density values at grid points |
list of prediction at points, prediction of tests, along with error bars
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.