postPredMotg: Posterior predictive for univariate MoTG

Description Usage Arguments Value

Description

This function evaluates the posterior predictive distribution for a univariate MoTG model

Usage

1
postPredMotg(res, test, pts, upper, lower, realDens)

Arguments

res

list of results containing weight (wt), mean (mn), and covariance (cv) matrix for each cluster

test

test set where columns are the individual observations and rows are the dimension

pts

grid points to draw the density distribution

upper

upper bound of constraints, only use for unit square

lower

lower bound of constraints, only use for unit square

realDens

real density values at 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.