Predictive.exponential {dirichletprocess} | R 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.
[Package dirichletprocess version 0.4.2 Index]