R로 배우는 생명보험 상품 평가
Roel Verbelen, Ph.D.
Statistician, Finity Consulting
두 가지 질문:
기간 변환 시(예: 연 → 월) 이자율을 어떻게 처리할 것인가?
상수 이자율에서 시간에 따라 변하는 이자율로 어떻게 전환할 것인가?
연이자율 $i$.
$1/m$년 기간에 적용되는 이자율 $i^{\star}_m$을 어떻게 구할 것인가?

$\qquad$ 그러면:
$$ 1+i = (1+i^{\star}_m)^m \quad \Leftrightarrow \quad i^{\star}_m = (1+i)^{1/m}-1. $$

# Yearly interest rate i <- 0.03# Calculate the monthly interest rate (monthly_interest <- (1 + i) ^ (1 / 12) - 1)
0.00246627
# From monthly to yearly interest rate
(1 + monthly_interest) ^ 12 - 1
0.03
관찰 사항:
이자율은 반드시 상수가 아닐 수 있다.
이자율의 기간 구조 또는 수익률 곡선.
이를 표기법과 프레임워크에 반영한다.






# Define the vector containing the interest rates
interest <- c(0.04, 0.03, 0.02, 0.01)
# Define the vector containing the inverse of 1 plus the interest rate
yearly_discount_factors <- (1 + interest) ^ - 1
# Define the discount factors to time 0 using cumprod()
discount_factors <- c(1 , cumprod(yearly_discount_factors))
discount_factors
1.0000000 0.9615385 0.9335325 0.9152279 0.9061663
R로 배우는 생명보험 상품 평가