• 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)
pensionTable.R 13.3 KB