dprocess {pomp} | R Documentation |
dprocess workhorse
Description
Evaluates the probability density of a sequence of consecutive state transitions.
Usage
## S4 method for signature 'pomp'
dprocess(
object,
x = states(object),
times = time(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 |
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. |
Value
dprocess
returns a matrix of dimensions nrep
x ntimes-1
.
If d
is the returned matrix, d[j,k]
is the likelihood (or the log likelihood if log=TRUE
) of the transition from state x[,j,k-1]
at time times[k-1]
to state x[,j,k]
at time times[k]
.
See Also
Specification of the process-model density evaluator: dprocess_spec
More on pomp workhorse functions:
dinit()
,
dmeasure()
,
dprior()
,
emeasure()
,
flow()
,
partrans()
,
pomp-package
,
rinit()
,
rmeasure()
,
rprior()
,
rprocess()
,
skeleton()
,
vmeasure()
,
workhorses