pols_if_at¶
- pols_if_at(t, timing)[source]¶
Number of policies in-force
pols_if_at(t, timing)
calculates the number of policies in-force at timet
. The second parametertiming
takes a string value to indicate the timing of in-force, which is either"BEF_MAT"
,"BEF_NB"
or"BEF_DECR"
.BEF_MAT
The number of policies in-force before maturity after lapse and death. At time 0, the value is read from
pols_if_init()
. For time > 0, defined as:pols_if_at(t-1, "BEF_DECR") - pols_lapse(t-1) - pols_death(t-1)
BEF_NB
The number of policies in-force before new business after maturity. Defined as:
pols_if_at(t, "BEF_MAT") - pols_maturity(t)
BEF_DECR
The number of policies in-force before lapse and death after new business. Defined as:
pols_if_at(t, "BEF_NB") + pols_new_biz(t)