跳转到内容

This page is also in English.

Read it in English

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

Léela en español

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

日本語で読む

differential_d 函数

ito_process 的方程中某个状态量或时间的形式微分。

怎么写

differential_d(x)

按伊藤引理展开,而不是按链式法则。

x
x(t) 这样的状态量、w(t) 这样的驱动量,或 t。接受一个表达式。

示例

  • ito_process⁡(differential_d⁡(x(t))=2differential_d⁡(w(t)),x(t),[x,3],t,w∼wiener_process⁡(1,3))\displaystyle \operatorname{ito\_process}(\operatorname{differential\_d}(x(t)) = 2 \operatorname{differential\_d}(w(t)), x(t), \left[ x, 3 \right], t, w \sim \operatorname{wiener\_process}(1, 3))
    ito_process(differential_d(x(t)) = 2 differential_d(w(t)), x(t), [x, 3], t, distributed(w, wiener_process(1, 3)))在求解器中打开

示例中用到的函数

  • ito_process

    由漂移项和扩散项给出的过程:dX = drift dt + diffusion dW。

  • distributed

    变量及其所服从的分布,供概率和期望读取。

  • wiener_process

    带漂移 mu 和噪声 sigma、从 0 开始的布朗运动。

  • cvar

    损失的条件风险价值:其在最差的占比 1 - level 上的期望值。

  • expectation

    某变量的表达式在给定分布或过程下的期望值。

  • covariance

    两个等长列表的样本协方差。

  • exponential_distribution

    以速率 lambda 发生的事件的等待时间。

  • correlation

    两个等长列表的相关系数。

  • fit

    用若干函数的组合对点集作最小二乘拟合。