Learn R Programming

dirichletprocess (version 0.4.2)

Predictive.exponential: Calculate how well the prior predicts the data.

Description

Calculate how well the prior predicts the data.

Usage

# S3 method for exponential
Predictive(mdObj, x)

Predictive(mdObj, x)

# S3 method for mvnormal Predictive(mdObj, x)

# S3 method for normalFixedVariance Predictive(mdObj, x)

# S3 method for normal Predictive(mdObj, x)

Value

The probability of the data being from the prior.

Arguments

mdObj

The distribution

x

The data