statsmodels.tsa.deterministic.TimeTrendDeterministicTerm.in_sample¶ abstract TimeTrendDeterministicTerm.in_sample(index)¶ Produce deterministic trends for in-sample fitting. Parameters: indexindex_likeAn index-like object. If not an index, it is converted to an index. Returns: DataFrameA DataFrame containing the deterministic terms.