statsmodels.tsa.deterministic.DeterministicTerm.in_sample¶
-
abstract
DeterministicTerm.
in_sample
(index: Sequence[Hashable]) → pandas.core.frame.DataFrame[source]¶ Produce deterministic trends for in-sample fitting.
- Parameters
- index
index_like
An index-like object. If not an index, it is converted to an index.
- index
- Returns
DataFrame
A DataFrame containing the deterministic terms.