Financial calculations

Functions and data for financial calculations

tax_parameters

Key income tax parameters for the UK.

liability_tax()

Calculate UK income and/or National Insurance taxes

probability_ruin()

Calculate the probability of retirement ruin

probability_ruin_rate()

Calculate the spend rate for a given probability of retirement ruin

rate_annuity()

Get the latest annuity rates for the UK

Error checking

Functions to check other functions

stop_not_positive()

Stop the function the value entered is (or is below) zero

stop_not_scalar_double()

Stop the function if zero or more than one value is entered