Tabua.t_qx#
method
- Tabua.t_qx(x: Iterable[int], t: Iterable[int]) ndarray[Any, dtype[float64]] #
Probabilidade de um indivíduo com idade x falhar com idade exatamente igual a x + t.
- Parâmetros
- Retorna
Probabilidade de um indivíduo com idade x falhar com idade exatamente igual a x + t.
- Tipo de retorno
NDArray[float64]
Exemplos
>>> import numpy as np >>> qx = (np.arange(100) + 1)/100 >>> Tabua(qx).t_qx([30], [0, 1, 2, 3, 4, 5]) array([0.31 , 0.2208 , 0.154836 , 0.10688376, 0.07261808, 0.04855038])