Skip to main content

names.future_site()

Return the name of the forecast-horizon site of the in-sample site name.

Usage

Source

names.future_site(name)

innovations(), markov_series() and ssoe() sample the horizon steps of name at this site, and predict() samples the forecast suffix at future_site(Site.OBS). The drivers reject a posterior key with values that ends in FUTURE_SUFFIX (issue #161).

Parameters

name: str
Name of the in-sample site.

Returns

str
name followed by FUTURE_SUFFIX.

Examples

>>> from numpyro_forecast.names import future_site
>>> future_site("drift")

‘drift_future’