1. 13 Sep, 2017 2 commits
    • Reinhold Kainhofer's avatar
      More work on pension tables: Specifying and overriding pension age in transitionProbabilities · c6107537
      Reinhold Kainhofer authored
      - Remove apix (pension transition of invalids) and replace it by a invalids.retire flag in the class (default FALSE)
      - Allow the Period argument to transitionProbabilities (=> calls periodTransitionProbabilities)
      - Allow overriding invalids.retire in the call to transitionProbabilities
      - Add a retirement argument (number or mortalityTable) to transitionProbabilities to override the retirement age given in the pension table
      - fix RP2014 improvement factors (young ages are included in improvments, but not in base probabilities)
    • Reinhold Kainhofer's avatar
      Fix docstring (lists) · 92c1602f
      Reinhold Kainhofer authored
  2. 30 Aug, 2017 1 commit
  3. 27 Aug, 2017 1 commit
    • Reinhold Kainhofer's avatar
      Add functions for pension tables and other utility functions · 91ce73d2
      Reinhold Kainhofer authored
      - mortalityTable.zeroes: Generate a mortality table with all zero transition probabilities
      - mortalityTable.once: Generates a (deterministic) mortality table with one transition at a given age
      - pensionTables.list: Lists all pension tables (similar to mortalityTables.list)
      - pensionTables.load: Load a provided pension table (similar to mortalityTables.load)
      - transitionProbabilities: Obtain data.frame containing all transition probabilities for a pension table (given the YOB)
      - anwartschaften: First attempt to calculate all "Anwartschaften" for a given pensionTable - WORK IN PROGRESS, NOT FINISHED
  4. 26 Aug, 2017 1 commit