postPredDist: Posterior predictive for univariate data

Description Usage Arguments Value

Description

This function evaluates the posterior predictive distribution for univariate models

Usage

1
postPredDist(mix, constrType, res, test, pts, realDens, ...)

Arguments

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

Value

list of prediction at points, prediction of tests, along with error bars


pasudyan/ConstrMixMod documentation built on May 10, 2019, 8:26 a.m.