Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

ActuaryAnnualData

ActuaryAnnualData: { age: number; female: ActuaryDatum; male: ActuaryDatum }

Actuary data for one age, for both sexes.

Type declaration

ActuaryDatum

ActuaryDatum: { n: number; p: Probability; years: number }

Type declaration

  • Readonly n: number

    Number of people surviving to this age.

  • Readonly p: Probability

    Probability of surviving one year (birthday to next birthday).

  • Readonly years: number

    Life expectency from this birthday.

Variables

Const SS_2017

SS_2017: ActuaryAnnualData[] = ...

Actuary data from the Social Security Administration based on mortality in calendar year 2017.

Source: Actuarial Life Table (Archive)

Functions

actuary

  • Obtain actuarial data for a person on a particular date.

    Interpolates from the actuarial tables. (Linear interpolation for now, although that is not strictly correct),

    Parameters

    • spouse: IPerson
    • date: Date

      The date on which the age is desired.

    Returns ActuaryDatum

  • Obtain actuarial data for a specified age and sex.

    Interpolates from the actuarial tables. (Linear interpolation for now, although that is not strictly correct),

    Parameters

    • age: number
    • sex: Sex

    Returns ActuaryDatum

compute_probabilities

  • compute_probabilities(spouse: IFPerson, date: Date): Probability[]
  • compute_probabilities(spouse: undefined, date: Date): undefined

Generated using TypeDoc