Stochastic Process¶
This page gives an overview of all Stochastic Processes available in the library.
quantflow.sp.base.StochasticProcess
pydantic-model
¶
Bases: BaseModel, ABC
Base class for stochastic processes in continuous time
sample_from_draws
abstractmethod
¶
sample
abstractmethod
¶
Generate random Paths from the process.
| PARAMETER | DESCRIPTION |
|---|---|
n
|
number of paths
TYPE:
|
time_horizon
|
time horizon
TYPE:
|
time_steps
|
number of time steps to arrive at horizon
TYPE:
|
Source code in quantflow/sp/base.py
characteristic_exponent
abstractmethod
¶
characteristic
¶
Characteristic function at time t for a given input parameter
The characteristic function represents the Fourier transform of the probability density function
| PARAMETER | DESCRIPTION |
|---|---|
t
|
Time horizon
TYPE:
|
u
|
Characteristic function input parameter
TYPE:
|
Source code in quantflow/sp/base.py
convexity_correction
¶
analytical_std
¶
analytical_mean
¶
analytical_variance
¶
analytical_pdf
¶
analytical_cdf
¶
quantflow.sp.base.StochasticProcess1D
pydantic-model
¶
Bases: StochasticProcess
Base class for 1D stochastic process in continuous time
marginal
¶
domain_range
¶
frequency_range
¶
Maximum frequency when calculating characteristic functions
Source code in quantflow/sp/base.py
support
¶
Support of the process at time t
Source code in quantflow/sp/base.py
sample_from_draws
abstractmethod
¶
sample
abstractmethod
¶
Generate random Paths from the process.
| PARAMETER | DESCRIPTION |
|---|---|
n
|
number of paths
TYPE:
|
time_horizon
|
time horizon
TYPE:
|
time_steps
|
number of time steps to arrive at horizon
TYPE:
|
Source code in quantflow/sp/base.py
characteristic_exponent
abstractmethod
¶
characteristic
¶
Characteristic function at time t for a given input parameter
The characteristic function represents the Fourier transform of the probability density function
| PARAMETER | DESCRIPTION |
|---|---|
t
|
Time horizon
TYPE:
|
u
|
Characteristic function input parameter
TYPE:
|
Source code in quantflow/sp/base.py
convexity_correction
¶
analytical_std
¶
analytical_mean
¶
analytical_variance
¶
analytical_pdf
¶
analytical_cdf
¶
quantflow.sp.base.IntensityProcess
pydantic-model
¶
Bases: StochasticProcess1D
Base class for mean reverting 1D processes which can be used as stochastic intensity
Fields:
integrated_log_laplace
abstractmethod
¶
The log-Laplace transform of the cumulative process:
.. math:: e^{\phi_{t, u}} = {\mathbb E} \left[e^{i u \int_0^t x_s ds}\right]
| PARAMETER | DESCRIPTION |
|---|---|
t
|
time horizon
TYPE:
|
u
|
frequency
TYPE:
|
Source code in quantflow/sp/base.py
domain_range
¶
ekt
¶
sample_from_draws
abstractmethod
¶
sample
abstractmethod
¶
Generate random Paths from the process.
| PARAMETER | DESCRIPTION |
|---|---|
n
|
number of paths
TYPE:
|
time_horizon
|
time horizon
TYPE:
|
time_steps
|
number of time steps to arrive at horizon
TYPE:
|
Source code in quantflow/sp/base.py
characteristic_exponent
abstractmethod
¶
characteristic
¶
Characteristic function at time t for a given input parameter
The characteristic function represents the Fourier transform of the probability density function
| PARAMETER | DESCRIPTION |
|---|---|
t
|
Time horizon
TYPE:
|
u
|
Characteristic function input parameter
TYPE:
|
Source code in quantflow/sp/base.py
convexity_correction
¶
analytical_std
¶
analytical_mean
¶
analytical_variance
¶
analytical_pdf
¶
analytical_cdf
¶
marginal
¶
frequency_range
¶
Maximum frequency when calculating characteristic functions
Source code in quantflow/sp/base.py
support
¶
Support of the process at time t