dmeasure-pomp: Evaluate the probability density of observations given underlying states in a partially-observed Markov process
Description
The method dmeasure
evaluates the probability density of a set of measurements given the state of the system.
This function is part of the low-level interface to pomp
objects.
This help page does not give instructions on the implementation of models: see pomp
for instructions.Usage
## S3 method for class 'pomp':
dmeasure(object, y, x, times, params, log = FALSE, \dots)
Value
- Returns a matrix of dimensions
nreps
x ntimes
.
If d
is the returned matrix, d[j,k]
is the likelihood of the observation y[,k]
at time times[k]
given the state x[,j,k]
.
Details
This function is essentially a wrapper around the user-supplied dmeasure
slot of the pomp
object.
For specifications on writing such a function, see pomp
.