x: value in which to evaluate the conditional density.
t: lag or time.
theta: parameter of the process; see details.
log: logical; if TRUE, probabilities p are given as log(p).
d: drift coefficient as a function; see details.
s: diffusion coefficient as a function; see details.
N: number of subintervals; see details.
M: number of Monte Carlo simulations, which should be an even number; see details.
Details
This function returns the value of the conditional density of X(t)∣X(0)=x0 at point x.
The functions d and s, must be functions of t, x, and theta.
Returns
x: a numeric vector
References
Pedersen, A. R. (1995) A new approach to maximum likelihood estimation for stochastic differential equations based on discrete observations, Scand. J. Statist., 22, 55-71.