Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

ito_process function

A process given by its drift and diffusion: dX = drift dt + diffusion dW.

How to write it

ito_process(process_or_coefficients, state, time)

Stands for itself; mean, variance, pdf and stationary_distribution read it.

process_or_coefficients
The pair [drift, diffusion], written with the state variable. Takes a list.
state
The state variable, or [x, x0] with its starting value. Takes an expression.
time
The time variable, or [t, t0] with its starting time. Takes an expression.

ito_process(process_or_coefficients)

Writes a named process with its drift and diffusion.

process_or_coefficients
A named process such as geometric_brownian_motion_process(mu, sigma, x0). Takes an expression.

Examples

  • mean⁡(ito_process⁡([ax,bx],[x,x0],t),2)=x0e2a\displaystyle \operatorname{mean}(\operatorname{ito\_process}(\left[ a x, b x \right], \left[ x, x_{0} \right], t), 2) = x_{0} e^{2 a}
    mean(ito_process([a*x, b*x], [x, x0], t), 2)

    In the solver, mean(ito_process([a*x, b*x], [x, x0], t), 2) gives x0*e^(2a).

    Open in the solver
  • variance⁡(ito_process⁡([−x,1],[x,0],t),2)=12−12e4\displaystyle \operatorname{variance}(\operatorname{ito\_process}(\left[ -x, 1 \right], \left[ x, 0 \right], t), 2) = \frac{1}{2}-\frac{1}{2 e^{4}}
    variance(ito_process([-x, 1], [x, 0], t), 2)

    In the solver, variance(ito_process([-x, 1], [x, 0], t), 2) gives 1/2 - (1/2)/e^4.

    Open in the solver
  • ito_process⁡(GBM⁡(μ,σ,x0))=ito_process⁡([μX,σX],[X,x0],t)\displaystyle \operatorname{ito\_process}(\operatorname{GBM}(\mu, \sigma, x_{0})) = \operatorname{ito\_process}(\left[ \mu X, \sigma X \right], \left[ X, x_{0} \right], t)
    ito_process(geometric_brownian_motion_process(mu, sigma, x0))

    In the solver, ito_process(geometric_brownian_motion_process(mu, sigma, x0)) gives ito_process([mu*X, sigma*X], [X, x0], t).

    Open in the solver

Functions its examples use

  • mean

    The average of a list of numbers, or the expected value of a distribution.

  • variance

    The sample variance of a list of numbers, or the variance of a distribution.

  • geometric_brownian_motion_process

    A process that grows at rate mu with relative noise sigma, started at x0.

  • ito_integral

    The Itô integral of an expression of the Wiener value w and the time s, from 0 to t.

  • 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.

  • ornstein_uhlenbeck_process

    A process pulled toward mu at rate theta, with noise sigma, started at x0.

  • wiener_process

    Brownian motion with drift mu and noise sigma, started at 0.

  • median

    The middle value of a list of numbers, or the mean of the two middle ones.