geometric_brownian_motion_process function
A process that grows at rate mu with relative noise sigma, started at x0.
How to write it
geometric_brownian_motion_process(mu, sigma, x0)
Stands for itself; mean, variance, pdf and ito_process read it.
- mu
- The growth rate: dX = mu X dt + sigma X dW. Takes an expression.
- sigma
- The relative noise, above 0. Takes an expression.
- x0
- The starting value. Takes an expression.
Examples
mean(geometric_brownian_motion_process(mu, sigma, x0), t)In the solver,
Open in the solvermean(geometric_brownian_motion_process(mu, sigma, x0), t)givesx0*e^(mu*t).variance(geometric_brownian_motion_process(mu, sigma, x0), t)In the solver,
Open in the solvervariance(geometric_brownian_motion_process(mu, sigma, x0), t)givesx0^2*e^(2mu*t)*(e^(sigma^2*t) - 1).
Functions its examples use
Related functions
- 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.
- ito_process
A process given by its drift and diffusion: dX = drift dt + diffusion dW.
- 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.
- fit
The least-squares fit of a combination of functions through points.
- ito_formula
Itô's lemma: the differential of an expression of states that follow an Itô process.