statsmodels.tsa.deterministic.CalendarFourier.out_of_sample¶ CalendarFourier.out_of_sample(steps, index, forecast_index=None)[source]¶ 为样本外预测生成确定性趋势 Parameters:¶ stepsint预测的步数 indexindex_like一个类似索引的对象。如果不是索引,则将其转换为索引。 forecast_indexindex_like用于预测的索引或类似索引的对象。如果提供,必须包含steps个元素。 Returns:¶ DataFrame包含确定性项的DataFrame。 Last update: Oct 16, 2024