StateSpaceTimeSeries.predict#
- StateSpaceTimeSeries.predict(X=None, coords=None, out_of_sample=False, **kwargs)[source]#
Predict data given input X.
- Parameters:
X (
DataArray|None) – Input features with dims [“obs_ind”, “coeffs”]. Must have datetime coordinates on obs_ind for out-of-sample predictions. Not required for in-sample predictions.coords (
dict[str,Any] |None) – Not used directly, datetime extracted from X coordinates.out_of_sample (
bool|None) – If True, forecast future values. If False, return in-sample predictions.kwargs (Any)
- Returns:
Posterior predictive samples with y_hat and mu.
- Return type:
az.InferenceData