R/mixing_distribution_predictive.R

Defines functions Predictive

Documented in Predictive

#' Calculate how well the prior predicts the data.
#'
#' @param mdObj The distribution
#' @param x The data
#' @return The probability of the data being from the prior.
#' @export
Predictive <- function(mdObj, x) UseMethod("Predictive", mdObj)
dm13450/dirichletprocess documentation built on Sept. 1, 2023, 3:47 a.m.