Compute the probability of data under an EDP population model.
joint_probability(pm, target, given = NULL, log = FALSE)an EDP population model, from popmod(...)
a data frame whose column names are all in names(pm) and
whose types are compatible with schema(pm)
a data frame whose column names are all in names(pm) and
whose types are compatible with schema(pm)
should log-probabilities be returned?
If log = FALSE, a numeric vector of probabilities (or densities) of
the rows of target. If log = TRUE, a numeric vector of log
probabilities (or densities) of the rows of target. If given
is specified, its columns are conditioned on. It must have either one row or
as many rows as target.