Trend#
- class chainladder.Trend(trends=0.0, dates=None, axis='origin')[source]#
Estimator to create and apply trend factors to a Triangle object. Allows for compound trends as well as storage of the trend matrix to be used in other estimators, such as CapeCod.
- Parameters:
- trends: list-like
The list containing the annual trends expressed as a decimal. For example, 5% decrease should be stated as -0.05
- dates: list of date-likes
A list-like of (start, end) dates to correspond to the trend list.
- axis: str (options: [‘origin’, ‘valuation’])
The axis on which to apply the trend
- Attributes:
- trend_:
A triangle representation of the trend factors
Inherited Methods
|
Fit to data, then transform it. |
|
Get metadata routing of this object. |
|
Get parameters for this estimator. |
|
Set output container. |
|
Set the parameters of this estimator. |
|
Serializes triangle object to json format |
|
Serializes triangle object to pickle. |