Skip to contents

Calculate the total log-prior probability for all parameters.

Usage

evaluate_priors(parameters, priors)

Arguments

parameters

A list containing the model parameters.

priors

A list of prior specifications, typically from set_priors.

Value

A numeric value representing the total log-prior probability.

See also

check_priors, which validates hyperparameter lengths before a model is built. Recycling here is explicit rather than silent, but it is not an error, so that models fitted before that check existed still evaluate to the same value.