superstats.transition.stochastic.ornstein_uhlenbeck#
Ornstein-Uhlenbeck transition models.
Classes
|
Ornstein-Uhlenbeck mean-reverting transition. |
- class superstats.transition.stochastic.ornstein_uhlenbeck.OrnsteinUhlenbeck(bounds=None, initial_prior=None, sigma=None, mu=None, theta=None)[source]#
Bases:
StochasticTransitionOrnstein-Uhlenbeck mean-reverting transition.
- Parameters:
- bounds
tupleorNone,optional, default:None Lower and upper bounds for the latent state.
- initial_prior
PriororNone,optional, default:None Prior for the initial latent state.
- sigma
floatorPriororNone,optional, default:None Diffusion scale.
- mu
floatorPriororNone,optional, default:None Long-run mean to revert towards.
- theta
floatorPriororNone,optional, default:None Mean-reversion speed.
- bounds
- Parameters:
Notes
Implements an OU process: x_t = x_{t-1} + theta * (mu - x_{t-1}) + sigma * eps_t.