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.


dirichletprocess documentation built on Aug. 25, 2023, 5:19 p.m.