postPredDistMv: Posterior predictive for multivariate data

Description Usage Arguments Value

Description

This function evaluates the posterior predictive distribution for univariate models

Usage

1
postPredDistMv(mix, constrType, res, test, constr, thinsc, ...)

Arguments

mix

type of model. One of "tmog" or "motg"

constrType

type of bounds. One of "simple" or "complex". If "simple", include lower and upper bounds for all dimension

res

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

test

matrix of p-by-N where p is the number of dimensions and N is the total number of observations

constr

function which inputs test and outputs TRUE/FALSE

thinsc

thinning of chain (default is 1, no thinning)

...

input lower and upper bounds for "simple" constraint type

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.