Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

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,σ,x0,t)\displaystyle \operatorname{affine\_sde\_moments\_data}(a, b, \sigma, x_{0}, t)
    affine_sde_moments_data(a, b, sigma, x0, t)Open in the solver
  • affine_sde_moments_data⁡(1,2,3,0,t)\displaystyle \operatorname{affine\_sde\_moments\_data}(1, 2, 3, 0, t)
    affine_sde_moments_data(1, 2, 3, 0, t)Open in the solver
  • affine_sde_moments_data⁡([0,0],(−120−3),(1001),[x0,y0],t)\displaystyle \operatorname{affine\_sde\_moments\_data}\left(\left[ 0, 0 \right], \begin{pmatrix} -1 & 2 \\ 0 & -3 \end{pmatrix}, \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}, \left[ x_{0}, y_{0} \right], t\right)
    affine_sde_moments_data([0, 0], [[-1, 2], [0, -3]], [[1, 0], [0, 1]], [x0, y0], t)Open in the solver
  • 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.