以 R 估值人壽保險商品
Katrien Antonio, Ph.D.
Professor, KU Leuven and University of Amsterdam
固定資本單位與時間單位:
在時間 $k$ 收付的金額:

# Define the cash flows
cash_flows <- c(500, 400, 300, rep(200, 5))
length(cash_flows)
8

關鍵重點:
現金流時點很重要!
貨幣時間價值很重要!
利率 決定資金成長。
累積

i <- 0.03
1 * (1 + i)
1.03
貼現

v <- 1 / (1 + i)
v
0.9708738
累積

i <- 0.03 ; v <- 1 / (1 + i) ; k <- 2
c((1 + i) ^ k, v ^ -k)
1.0609 1.0609
貼現

i <- 0.03 ; v <- 1 / (1 + i) ; k <- 2
c((1 + i) ^ -k, v ^ k)
0.9425959 0.9425959

此現金流向量在 $k=0$ 的價值是什麼?

此現金流向量在 $k=0$ 的價值是什麼?
也就是 現值(PV)!
# Interest rate i <- 0.03# Discount factor v <- 1 / (1 + i)# Define the discount factors discount_factors <- v ^ (0:7)# Cash flow vector cash_flows <- c(500, 400, 300, rep(200, 5))
# Discounting cash flows
cash_flows * discount_factors
500.0000 388.3495 282.7788 183.0283
177.6974 172.5218 167.4969 162.6183
# Present value of cash flow vector
present_value <-
sum(cash_flows * discount_factors)
present_value
[1] 2034.491
以 R 估值人壽保險商品