ComeçarComece de graça

Estimating effect of convexity on bond price

Now that you've calculated convexity for your bond, you can estimate the effect of convexity on the bond's price.

Specifically, recall from the video that the percentage change based on convexity is given by

$$0.5 * convexity * (\Delta y)^2$$

where \(\Delta y\) is the expected change in yield. The dollar change based on convexity is equal to the percentage change multiplied by the current price \(P\).

For this exercise, assume that yields are expected to decline by 1%.

The convexity object, which you calculated in the previous exercise as 116.521, and the px object, which is the price of the bond of $100, have been preloaded in your workspace.

Este exercício faz parte do curso

Bond Valuation and Analysis in R

Ver curso

Instruções do exercício

  • Estimate percentage change (convexity_pct_change) based on convexity if yields decrease by 1%.
  • Estimate dollar change (convexity_dollar_change) based on convexity if yields decrease by 1%.

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Estimate percentage change
convexity_pct_change <- 0.5 * ___ * (___)^2
convexity_pct_change

# Estimate dollar change
convexity_dollar_change <- ___ * ___
convexity_dollar_change
Editar e executar o código