prospicio
Latin, I look ahead.
An actuary works from what is known toward what is not: the claims of past years that are still open, the losses of a year not yet written, the bad years that capital has to survive. prospicio is a library for that work, with one Rust core under Python and R.
| Year | 12 | 24 | 36 | 48 | 60 | 72 | 84 | 96 | 108 | 120 | Reserve |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1981 | 5,012 | 8,269 | 10,907 | 11,805 | 13,539 | 16,181 | 18,009 | 18,608 | 18,662 | 18,834 | 0 |
| 1982 | 106 | 4,285 | 5,396 | 10,666 | 13,782 | 15,599 | 15,496 | 16,169 | 16,704 | forecast 16,858 | 154 |
| 1983 | 3,410 | 8,992 | 13,873 | 16,141 | 18,735 | 22,214 | 22,863 | 23,466 | forecast 23,863 | forecast 24,083 | 617 |
| 1984 | 5,655 | 11,555 | 15,766 | 21,266 | 23,425 | 26,083 | 27,067 | forecast 27,967 | forecast 28,441 | forecast 28,703 | 1,636 |
| 1985 | 1,092 | 9,565 | 15,836 | 22,169 | 25,955 | 26,180 | forecast 27,278 | forecast 28,185 | forecast 28,663 | forecast 28,927 | 2,747 |
| 1986 | 1,513 | 6,445 | 11,702 | 12,935 | 15,852 | forecast 17,649 | forecast 18,389 | forecast 19,001 | forecast 19,323 | forecast 19,501 | 3,649 |
| 1987 | 557 | 4,020 | 10,946 | 12,314 | forecast 14,428 | forecast 16,064 | forecast 16,738 | forecast 17,294 | forecast 17,587 | forecast 17,749 | 5,435 |
| 1988 | 1,351 | 6,947 | 13,112 | forecast 16,664 | forecast 19,525 | forecast 21,738 | forecast 22,650 | forecast 23,403 | forecast 23,800 | forecast 24,019 | 10,907 |
| 1989 | 3,133 | 5,395 | forecast 8,759 | forecast 11,132 | forecast 13,043 | forecast 14,521 | forecast 15,130 | forecast 15,634 | forecast 15,898 | forecast 16,045 | 10,650 |
| 1990 | 2,063 | forecast 6,188 | forecast 10,046 | forecast 12,767 | forecast 14,959 | forecast 16,655 | forecast 17,353 | forecast 17,931 | forecast 18,234 | forecast 18,402 | 16,339 |
| Total reserve | 52,135 | ||||||||||