## reinsurance.solvency2_probability_by_ratio()


The Solvency II probability of default of an unrated insurance or


Usage


``` python
reinsurance.solvency2_probability_by_ratio(scr_ratio)
```


reinsurance undertaking that meets its MCR, by its solvency ratio (Art 199(3)).

Linear in the ratio between the table's points, 196 % (0.01 %), 175 % (0.05 %), 150 % (0.1 %), 125 % (0.2 %), 122 % (0.24 %), 100 % (0.5 %), 95 % (1.2 %) and 75 % (4.2 %); 0.01 % at or above 196 % and 4.2 % at or below 75 %. An undertaking that does not meet its MCR has 4.2 %.


## Parameters


`scr_ratio: float`  
The solvency ratio as a fraction: 1.5 for 150 % (150 would give 0.01 %).


## Returns


`float`  


## Raises


`ValueError`  
For a ratio that is NaN or negative.


## Examples

``` python
>>> from prospicio.reinsurance import solvency2_probability_by_ratio
>>> solvency2_probability_by_ratio(1.25)
```

0.002

``` python
>>> solvency2_probability_by_ratio(0.5)
```

0.042
