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([a*x, b*x], [x, x0], t), 2)In the solver,
Open in the solvermean(ito_process([a*x, b*x], [x, x0], t), 2)givesx0*e^(2a).variance(ito_process([-x, 1], [x, 0], t), 2)In the solver,
Open in the solvervariance(ito_process([-x, 1], [x, 0], t), 2)gives1/2 - (1/2)/e^4.ito_process(geometric_brownian_motion_process(mu, sigma, x0))In the solver,
Open in the solverito_process(geometric_brownian_motion_process(mu, sigma, x0))givesito_process([mu*X, sigma*X], [X, x0], t).
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.
Related functions
- 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.