Skip to main content

transforms.inverse()

Undo a resolved chain, giving levels on y’s periods.

Usage

Source

transforms.inverse(
    y,
    chain,
    history=None,
)

history is the untransformed series for the periods before (or overlapping) y: lagged transforms rebuild each level from the one lag periods earlier, taken from history where it has a value. For an in-sample round trip it is the first consumed(chain) values; for a forecast, the observed series.