开始使用免费开始使用

From single to annual premium

Miss Cathleen wants to finance her deferred life annuity with annual premiums payable for 25 years beginning at age 40. But since she plans to reduce her teaching hours from age 55 on, the premium should reduce by one-half after 15 years, as shown in the graph below. What will be the initial premium to be paid by Miss Cathleen?

The variables kpx, discount_factors and single_premium computed in the previous exercise are preloaded.

本练习是课程的一部分

Life Insurance Products Valuation in R

查看课程

练习说明

  • Define the premium pattern as rho. This vector should have the same length as kpx.
  • Compute and print the initial_premium by dividing single_premium by the sum of the elementwise multiplication of rho, discount_factors and kpx.
  • Inspect the annual premiums by printing the product of initial_premium and rho.
  • Without taking the time value of money and the mortality into account, compute the total sum that Miss Cathleen has to pay to finance the life annuity.

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Premium pattern rho
rho <- c(rep(1, ___), rep(0.5, ___), rep(0, ___))

# The initial premium
initial_premium <- ___ / ___(___ * ___ * ___)
initial_premium

# The annual premiums 
___ * ___

# Sum of the annual premiums (no actuarial discounting)
___(___ * ___)
编辑并运行代码