statsmodels.tsa.deterministic.DeterministicProcess.range

DeterministicProcess.range(start, stop)[source]

Deterministic terms spanning a range of observations

Parameters
start{int, str, dt.datetime, pd.Timestamp, np.datetime64}

The first observation.

stop{int, str, dt.datetime, pd.Timestamp, np.datetime64}

The final observation. Inclusive to match most prediction function in statsmodels.

Returns
DataFrame

A data frame of deterministic terms