statsmodels.tsa.deterministic.DeterministicProcess.range

DeterministicProcess.range(start: Union[int, numpy.integer, datetime.datetime, pandas._libs.tslibs.timestamps.Timestamp, numpy.datetime64, str], stop: Union[int, numpy.integer, datetime.datetime, pandas._libs.tslibs.timestamps.Timestamp, numpy.datetime64, str]) → pandas.core.frame.DataFrame[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