Measure transformation that reduces the variance of Monte Carlo estimators
of E[g(X_t)]: the returned system has an extra state θ(t) with
initial value θ0 and an observed weight(t) ~ θ(t) / θ0, so that
E[g(X_t) weight_t] estimates the same quantity with smaller variance for a
good choice of u. Reference: Kloeden, Platen and Schurz (2012),
Numerical solution of SDE through computer experiments.
Usage
Girsanov_transform(sys, u, theta0 = 1)
Arguments
- sys
A System with noise equations.
- u
A scalar symbolic function of the unknowns defining the
adjustable parameters of the transformation.
- theta0
Initial value of θ (θ0 in ModelingToolkit).
Value
The transformed System.
Examples
t <- t_nounits; D <- D_nounits
variables("x(t)"); parameters("a", "b")
sde <- SDESystem(list(D(x) ~ a * x), list(b * x), t, name = "gbm")
demod <- Girsanov_transform(sde, x, theta0 = 0.1)
equations(demod)
#> [[1]]
#> Derivative(x(t), t) ~ a*x(t) + b^2*x(t)
#>
#> [[2]]
#> Derivative(θ(t), t) ~ 0
#>