dprior function

dprior workhorse

dprior workhorse

Evaluates the prior probability density. methods

## S4 method for signature 'pomp' dprior(object, ..., params = coef(object), log = FALSE)

Arguments

  • object: an object of class pomp , or of a class that extends pomp . This will typically be the output of pomp, simulate, or one of the pomp inference algorithms.
  • ...: additional arguments are ignored.
  • params: a npar x nrep matrix of parameters. Each column is treated as an independent parameter set, in correspondence with the corresponding column of x.
  • log: if TRUE, log probabilities are returned.

Returns

The required density (or log density), as a numeric vector.

See Also

Specification of the prior density evaluator: prior_spec

More on pomp workhorse functions: dinit(), dmeasure(), dprocess(), emeasure(), flow(), partrans(), pomp-package, rinit(), rmeasure(), rprior(), rprocess(), skeleton(), vmeasure(), workhorses

More on Bayesian methods: abc(), bsmc2(), pmcmc(), prior_spec, rprior()

  • Maintainer: Aaron A. King
  • License: GPL-3
  • Last published: 2025-04-16