ClarkLDF#
- class chainladder.ClarkLDF(growth: str = 'loglogistic', groupby=None)[source]#
An Estimator that allows for curve fitting development patterns according to Clark 2003.
The method fits incremental triangle amounts to one of “loglogistic” or “weibull” growth curves. Both of Clark’s methods, LDF and Cape Cod, can be estimated. To invoke the Cape Cod method, include “sample_weight” in when fitting the estimator.
- Parameters:
- growth: {‘loglogistic’, ‘weibull’}
The growth function to be used in curve fitting development patterns. Options are ‘loglogistic’ and ‘weibull’
- groupby:
An option to group levels of the triangle index together for the purposes of estimating patterns. If omitted, each level of the triangle index will receive its own patterns.
- Attributes:
- ldf_: Triangle
The estimated loss development patterns.
- cdf_: Triangle
The estimated cumulative development patterns.
- incremental_fits_: Triangle
The fitted incrementals of the model.
- theta_: DataFrame
Estimates of the theta parameter of the growth curve.
- omega_: DataFrame
Estimates of the omega parameter of the growth curve.
- elr_: DataFrame
The Expected Loss Ratio parameter. This only exists when a
sample_weightis provided to the Estimator.- scale_: DataFrame
The scale parameter of the model.
- norm_resid_: Triangle
The “Normalized” Residuals of the model according to Clark.
- G_(age)[source]#
Growth function of the estimator.
- Parameters:
- ageint, float or array
The age(s) at which to compute the value of the growth curve.
- Returns:
- Triangle
A Triangle object with growth curve values
Inherited Methods
|
Fit to data, then transform it. |
|
Get metadata routing of this object. |
|
Get parameters for this estimator. |
|
|
|
Converts triangle array_backend. |
|
Set output container. |
|
Set the parameters of this estimator. |
|
Serializes triangle object to json format |
|
Serializes triangle object to pickle. |