statsmodels.tsa.deterministic.TimeTrendDeterministicTerm

class statsmodels.tsa.deterministic.TimeTrendDeterministicTerm(constant=True, order=0)[source]

所有时间趋势确定项的抽象基类

Attributes:
constant

指示包含常量的标志

is_dummy

指示生成的值是否为虚拟变量的标志

order

时间趋势的阶数

方法

in_sample(index)

生成用于样本内拟合的确定性趋势。

out_of_sample(steps, index[, forecast_index])

为样本外预测生成确定性趋势

属性

constant

指示包含常量的标志

is_dummy

指示生成的值是否为虚拟变量的标志

order

时间趋势的阶数


Last update: Oct 16, 2024