superstats.transition.stochastic.auto_regression#
Autoregressive transition models.
Classes
|
AR(1) autoregressive transition. |
- class superstats.transition.stochastic.auto_regression.AutoRegression(bounds=None, initial_prior=None, sigma=None, phi=None, delta=None)[source]#
Bases:
StochasticTransitionAR(1) autoregressive 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 Standard deviation of the noise.
- phi
floatorPriororNone,optional, default:None Autoregressive coefficient.
- delta
floatorPrior,optional, default: 0.0 Additive drift term.
- bounds
- Parameters:
Notes
Implements an AR(1): x_t = phi * x_{t-1} + delta + sigma * eps_t.