Note
Go to the end to download the full example code.
Squared Bessel Process#
Simulate and visualise paths
# Author: Dialid Santiago <d.santiago@outlook.com>
# License: MIT
# Description: Simulate and visualise a Bessel process
from aleatory.processes import BESQProcess
from aleatory.styles import qp_style
qp_style() # Use quant-pastel-style
p = BESQProcess(dim=4.0)
fig = p.draw(n=100, N=200, figsize=(12, 7), colormap="viridis", envelope=True)
fig.show()
![Squared Bessel Process $BESQ^{4.0}_{0.0}$, Monte Carlo Simulated Paths $\{{X_t, t \in [t_0, T]\}}$, $X_T$ Marginal](../_images/sphx_glr_plot_besq_001.png)
fig = p.plot(n=100, N=10, figsize=(12, 7))
fig.show()

Total running time of the script: (0 minutes 11.024 seconds)