ead.calc_ead
methods.ead.calc_ead(rp_coef, dms)Calculate the EAD (risk).
From a list of return periods and list of corresponding damages.
Parameters
| Name | Type | Description | Default | 
|---|---|---|---|
| rp_coef | list | List of return period coefficients. | required | 
| dms | list | List of corresponding damages (in the same order of the return periods coefficients). | required | 
Returns
| Name | Type | Description | 
|---|---|---|
| float | The Expected Annual Damage (EAD), or risk, as a log-linear integration over the return periods. |