ito_integral function
The Itô integral of an expression of the Wiener value w and the time s, from 0 to t.
How to write it
ito_integral(h, w, s, time)
Gives the law of the integral of a function of s, or its value by Itô's formula; mean and variance read it.
- h
- The integrand, an expression of w and s; ito_integral(w, w, s, t) is the integral of W dW. Takes an expression.
- w
- The Wiener process's value: W(s) in the integrand, W(t) in the answer. Takes a variable, or a list of variables.
- s
- The time in the integrand, the integration variable. Takes a variable, or a list of variables.
- time
- The upper limit t, a variable or a number: the integral runs from 0 to t. Takes a variable, or a list of variables.
Examples
ito_integral(w, w, s, t)In the solver,
Open in the solverito_integral(w, w, s, t)givesw^2/2 - t/2.ito_integral(w^2, w, s, t)In the solver,
Open in the solverito_integral(w^2, w, s, t)givesw^3/3 - brownian_time_integral(w(s), [s, 0, t], w).ito_integral(exp(s), w, s, t)In the solver,
Open in the solverito_integral(exp(s), w, s, t)givesnormal_distribution(0, sqrt(e^(2t)/2 - 1/2)).variance(ito_integral(w, w, s, t))In the solver,
Open in the solvervariance(ito_integral(w, w, s, t))givest^2/2.mean(ito_integral(w^2, w, s, t))In the solver,
Open in the solvermean(ito_integral(w^2, w, s, t))gives0.
Functions its examples use
Related functions
- ito_process
A process given by its drift and diffusion: dX = drift dt + diffusion dW.
- ito_formula_data
The certified record behind ito_formula: its result, validity, certificate and theorem.
- ito_formula
Itô's lemma: the differential of an expression of states that follow an Itô process.
- median
The middle value of a list of numbers, or the mean of the two middle ones.
- geometric_sde_path
The path of dX = mu X dt + sigma X dW, as a function of the Wiener process's value w at time t.
- mode
The most frequent value of a list, or a list of them when several are equally frequent.