statsmodels.tsa.deterministic.CalendarSeasonality.out_of_sample

CalendarSeasonality.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