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)

Try the dirichletprocess package in your browser

Any scripts or data that you put into this service are public.

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