stationary_distribution function
The law a process settles into over time, when it has one.
How to write it
stationary_distribution(process)
A normal or gamma law for the two classic processes; a note says when it holds.
- process
- A process whose drift and diffusion do not depend on time. Takes an expression.
Examples
stationary_distribution(ornstein_uhlenbeck_process(mu, sigma, theta, x0))In the solver,
Open in the solverstationary_distribution(ornstein_uhlenbeck_process(mu, sigma, theta, x0))givesnormal_distribution(mu, (1/2)sqrt(2)*sigma/sqrt(theta)).stationary_distribution(cox_ingersoll_ross_process(mu, sigma, theta, x0))In the solver,
Open in the solverstationary_distribution(cox_ingersoll_ross_process(mu, sigma, theta, x0))givesgamma_distribution(2mu*theta/sigma^2, (1/2)sigma^2/theta).stationary_distribution(ito_process([-x, 1], [x, 0], t))In the solver,
Open in the solverstationary_distribution(ito_process([-x, 1], [x, 0], t))givesnormal_distribution(0, sqrt(2)/2).
Functions its examples use
- ornstein_uhlenbeck_process
A process pulled toward mu at rate theta, with noise sigma, started at x0.
- ito_process
A process given by its drift and diffusion: dX = drift dt + diffusion dW.
Related functions
- uniform_distribution
The continuous distribution that is equally likely anywhere between a and b.
- weibull_distribution
The lifetime of a unit whose chance of surviving to time x is e^(-(x/scale)^shape).
- poisson_distribution
The number of events in a period when they come at an average rate lambda.
- binomial_distribution
The number of successes in n independent trials that each succeed with chance p.
- normal_distribution
The normal distribution with mean mu and standard deviation sigma.
- exponential_distribution
The waiting time for events that come at rate lambda.