dcEuler function

Approximated conditional law of a diffusion process

Approximated conditional law of a diffusion process

Approximated conditional densities for X(t)X(t0)=x0X(t) | X(t0) = x0 of a diffusion process.

dcEuler(x, t, x0, t0, theta, d, s, log=FALSE)

Arguments

  • x: vector of quantiles.
  • t: lag or time.
  • x0: the value of the process at time t0; see details.
  • t0: initial time.
  • theta: parameter of the process; see details.
  • log: logical; if TRUE, probabilities pp are given as log(p)log(p).
  • d: drift coefficient as a function; see details.
  • s: diffusion coefficient as a function; see details.

Details

This function returns the value of the conditional density of X(t)X(t0)=x0X(t) | X(t0) = x0 at point x.

The functions d and s must be functions of t, x, and theta.

Returns

  • x: a numeric vector

Author(s)

Stefano Maria Iacus

  • Maintainer: Stefano Maria Iacus
  • License: GPL (>= 2)
  • Last published: 2022-08-09

Useful links