dmeasure {pomp} | R Documentation |
dmeasure
evaluates the probability density of observations given states.
## S4 method for signature 'pomp' dmeasure(object, y, x, times, params, ..., log = FALSE)
object |
an object of class ‘pomp’, or of a class that extends ‘pomp’.
This will typically be the output of |
y |
a matrix containing observations.
The dimensions of |
x |
an array containing states of the unobserved process.
The dimensions of |
times |
a numeric vector (length |
params |
a |
... |
additional arguments are ignored. |
log |
if TRUE, log probabilities are returned. |
dmeasure
returns a matrix of dimensions nreps
x ntimes
.
If d
is the returned matrix, d[j,k]
is the likelihood (or log likelihood if log = TRUE
) of the observation y[,k]
at time times[k]
given the state x[,j,k]
.
Specification of the measurement density evaluator: dmeasure_spec
Other pomp workhorses: dprior
,
dprocess
, flow
,
partrans
, rinit
,
rmeasure
, rprior
,
rprocess
, skeleton
,
workhorses