affine_sde_moments_data function
The certified record behind affine_sde_moments: its result, validity, certificate and theorem.
How to write it
affine_sde_moments_data(a, b, sigma, x0, time)
The record that is_ito_certificate and is_validity_certificate read; its result is the answer.
- a
- The constant part of the drift. Takes an expression.
- b
- The rate: the drift is a + b X. Takes an expression.
- sigma
- The noise strength. Takes an expression.
- x0
- The starting value, which does not depend on time. Takes an expression.
- time
- The time, a variable. Takes a variable, or a list of variables.
affine_sde_moments_data(a, b, sigma, x0, time)
The same for up to six states.
- a
- The constant part of the drift of each state, in brackets. Takes a list.
- b
- The matrix of the drift, one row for each state. Takes a matrix, written as a list of rows.
- sigma
- The noise: one row for each state, one column for each driver. Takes a matrix, written as a list of rows.
- x0
- The starting value of each state. Takes a list.
- time
- The time, a variable. Takes a variable, or a list of variables.
Examples
affine_sde_moments_data(a, b, sigma, x0, t)Open in the solveraffine_sde_moments_data(1, 2, 3, 0, t)Open in the solveraffine_sde_moments_data([0, 0], [[-1, 2], [0, -3]], [[1, 0], [0, 1]], [x0, y0], t)Open in the solver
Related functions
- affine_sde_moments
The mean and variance at time t of dX = (a + b X) dt + sigma dW, started at x0.
- 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.
- binomial_distribution
The number of successes in n independent trials that each succeed with chance p.
- cdf
The probability that a variable with a distribution is at most a value.
- wiener_process
Brownian motion with drift mu and noise sigma, started at 0.
- correlation
The correlation coefficient of two lists of the same length.