Predictive: Calculate how well the prior predicts the data.

View source: R/mixing_distribution_predictive.R

Predictive.exponentialR Documentation

Calculate how well the prior predicts the data.

Description

Calculate how well the prior predicts the data.

Usage

## S3 method for class 'exponential'
Predictive(mdObj, x)

Predictive(mdObj, x)

## S3 method for class 'mvnormal'
Predictive(mdObj, x)

## S3 method for class 'normalFixedVariance'
Predictive(mdObj, x)

## S3 method for class 'normal'
Predictive(mdObj, x)

Arguments

mdObj

The distribution

x

The data

Value

The probability of the data being from the prior.


dm13450/dirichletprocess documentation built on Sept. 1, 2023, 3:47 a.m.