dprior: dprior workhorse

dpriorR Documentation

dprior workhorse


Evaluates the prior probability density.


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



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.


a npar x nrep matrix of parameters. Each column is treated as an independent parameter set, in correspondence with the corresponding column of x.


additional arguments are ignored.


if TRUE, log probabilities are returned.


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()

pomp documentation built on July 1, 2024, 5:06 p.m.