models.FittedModel
Base class of the built-in fitted models.
Usage
models.FittedModel(
spec,
y,
X,
*,
params,
cov_params,
fitted_values,
notes=(),
)Holds the specification, the parameters, their covariance, the in-sample fitted values and residuals (y - fitted, on the target’s scale) and the data fingerprint. A subclass implements _predict.
Methods
| Name | Description |
|---|---|
| predict() |
The forecast h periods past the sample, with intervals at levels.
|
| record() | The stored form: specification, parameters, covariance and data fingerprint. |
predict()
The forecast h periods past the sample, with intervals at levels.
Usage
predict(h, X_future=None, levels=DEFAULT_LEVELS)A form with drivers needs X_future: their values for the h periods after the sample, in rows, on that period index or a plain one.
record()
The stored form: specification, parameters, covariance and data fingerprint.
Usage
record()